Commit Graph

3210 Commits

Author SHA1 Message Date
David Tolnay
6044282060
Release 1.0.81 2021-10-26 12:28:26 -07:00
David Tolnay
f39a581ef7
Merge pull request #1088 from dtolnay/literalparse
Bypass negative literal workaround on 1.56+
2021-10-26 12:27:39 -07:00
David Tolnay
0ca31d1e12
Delete lit overflow test 2021-10-26 12:18:38 -07:00
David Tolnay
793b1c395e
Pull in proc-macro2 negative literal support 2021-10-26 12:18:38 -07:00
David Tolnay
36093340a3
Link to rustc PR for negative literal parse 2021-10-26 11:17:18 -07:00
David Tolnay
a7eedc1e7e
Locally ignore unnecessary_wraps pedantic clippy lint
error: this function's return value is unnecessarily wrapped by `Option`
        --> src/lit.rs:1542:5
         |
    1542 | /     pub fn to_literal(repr: &str, digits: &str, suffix: &str) -> Option<Literal> {
    1543 | |         #[cfg(syn_no_negative_literal_parse)]
    1544 | |         {
    1545 | |             if repr.starts_with('-') {
    ...    |
    1571 | |         Some(repr.parse::<Literal>().unwrap())
    1572 | |     }
         | |_____^
         |
         = note: `-D clippy::unnecessary-wraps` implied by `-D clippy::pedantic`
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps
    help: remove `Option` from the return type...
         |
    1542 |     pub fn to_literal(repr: &str, digits: &str, suffix: &str) -> proc_macro2::Literal {
         |                                                                  ~~~~~~~~~~~~~~~~~~~~
    help: ...and then change returning expressions
         |
    1571 |         repr.parse::<Literal>().unwrap()
         |
2021-10-26 11:16:30 -07:00
David Tolnay
d9a9ff4398
Bypass negative literal workaround on 1.56+ 2021-10-26 11:14:06 -07:00
David Tolnay
30984ec11f
Merge pull request #1087 from dtolnay/literalparse
Use 'FromStr for Literal' instead of TokenStream workaround
2021-10-26 11:10:48 -07:00
David Tolnay
0fda5ad1a0
Use 'FromStr for Literal' instead of TokenStream workaround 2021-10-26 11:00:46 -07:00
David Tolnay
68e7ab85ab
Suppress no_effect_underscore_binding pedantic Clippy lint in test suite
error: binding to `_` prefixed variable with no side-effect
     --> tests/macros/../debug/gen.rs:8:9
      |
    8 |         let _val = &self.value;
      |         ^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: `-D clippy::no-effect-underscore-binding` implied by `-D clippy::pedantic`
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
      --> tests/macros/../debug/gen.rs:17:21
       |
    17 |                     let _val = &self.0;
       |                     ^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
      --> tests/macros/../debug/gen.rs:31:9
       |
    31 |         let _val = &self.value;
       |         ^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
      --> tests/macros/../debug/gen.rs:53:9
       |
    53 |         let _val = &self.value;
       |         ^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
      --> tests/macros/../debug/gen.rs:66:21
       |
    66 |                     let _val = &self.0;
       |                     ^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
      --> tests/macros/../debug/gen.rs:93:9
       |
    93 |         let _val = &self.value;
       |         ^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:105:9
        |
    105 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:115:9
        |
    115 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:127:21
        |
    127 |                     let _val = &self.0;
        |                     ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:142:9
        |
    142 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:261:9
        |
    261 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:270:9
        |
    270 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:280:9
        |
    280 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:290:9
        |
    290 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:316:21
        |
    316 |                     let _val = &self.0;
        |                     ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:330:9
        |
    330 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:341:9
        |
    341 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:377:9
        |
    377 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:387:9
        |
    387 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:407:9
        |
    407 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:415:9
        |
    415 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:429:9
        |
    429 |         let _val = &self.value;
        |         ^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:510:29
        |
    510 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:542:29
        |
    542 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:558:29
        |
    558 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:649:29
        |
    649 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:681:29
        |
    681 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:717:29
        |
    717 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:766:29
        |
    766 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:811:29
        |
    811 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:845:29
        |
    845 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:869:29
        |
    869 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:886:29
        |
    886 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:938:29
        |
    938 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
       --> tests/macros/../debug/gen.rs:977:29
        |
    977 | ...                   let _val = &self.0;
        |                       ^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1059:29
         |
    1059 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1084:29
         |
    1084 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1101:9
         |
    1101 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1114:9
         |
    1114 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1126:9
         |
    1126 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1139:9
         |
    1139 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1162:9
         |
    1162 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1173:9
         |
    1173 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1186:9
         |
    1186 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1198:21
         |
    1198 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1213:9
         |
    1213 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1224:9
         |
    1224 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1236:21
         |
    1236 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1252:21
         |
    1252 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1266:9
         |
    1266 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1280:9
         |
    1280 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1292:9
         |
    1292 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1343:9
         |
    1343 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1355:21
         |
    1355 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1369:9
         |
    1369 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1381:9
         |
    1381 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1393:21
         |
    1393 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1410:9
         |
    1410 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1421:9
         |
    1421 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1435:21
         |
    1435 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1449:9
         |
    1449 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1461:9
         |
    1461 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1473:9
         |
    1473 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1484:9
         |
    1484 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1496:21
         |
    1496 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1511:9
         |
    1511 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1522:9
         |
    1522 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1536:9
         |
    1536 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1550:21
         |
    1550 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1567:9
         |
    1567 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1578:9
         |
    1578 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1590:21
         |
    1590 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1605:9
         |
    1605 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1617:21
         |
    1617 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1634:21
         |
    1634 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1648:9
         |
    1648 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1671:9
         |
    1671 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1683:9
         |
    1683 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1695:21
         |
    1695 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1709:9
         |
    1709 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1737:21
         |
    1737 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1751:9
         |
    1751 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1762:9
         |
    1762 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1773:9
         |
    1773 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1786:9
         |
    1786 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1798:9
         |
    1798 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1810:9
         |
    1810 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1821:9
         |
    1821 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1833:21
         |
    1833 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1849:9
         |
    1849 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1861:21
         |
    1861 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1875:9
         |
    1875 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1888:21
         |
    1888 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1915:9
         |
    1915 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1939:9
         |
    1939 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1963:9
         |
    1963 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1985:9
         |
    1985 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:1995:9
         |
    1995 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2005:9
         |
    2005 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2014:21
         |
    2014 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2034:9
         |
    2034 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2055:9
         |
    2055 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2130:9
         |
    2130 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2142:9
         |
    2142 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2165:9
         |
    2165 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2190:9
         |
    2190 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2202:9
         |
    2202 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2244:9
         |
    2244 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2265:9
         |
    2265 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2293:9
         |
    2293 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2329:21
         |
    2329 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2343:9
         |
    2343 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2446:9
         |
    2446 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2472:9
         |
    2472 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2495:9
         |
    2495 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2520:9
         |
    2520 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2546:9
         |
    2546 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2554:9
         |
    2554 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2594:29
         |
    2594 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2663:29
         |
    2663 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2716:29
         |
    2716 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2764:29
         |
    2764 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2954:9
         |
    2954 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2968:9
         |
    2968 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2984:9
         |
    2984 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:2998:21
         |
    2998 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3012:9
         |
    3012 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3025:9
         |
    3025 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3039:9
         |
    3039 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3076:21
         |
    3076 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3116:9
         |
    3116 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3128:21
         |
    3128 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3155:9
         |
    3155 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3168:9
         |
    3168 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3182:21
         |
    3182 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3208:9
         |
    3208 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3234:9
         |
    3234 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3260:9
         |
    3260 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3315:9
         |
    3315 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3331:9
         |
    3331 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3345:9
         |
    3345 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3359:9
         |
    3359 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3383:9
         |
    3383 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3391:9
         |
    3391 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3399:9
         |
    3399 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3425:9
         |
    3425 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3462:9
         |
    3462 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3470:9
         |
    3470 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3476:9
         |
    3476 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3482:9
         |
    3482 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3488:9
         |
    3488 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3494:9
         |
    3494 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3500:9
         |
    3500 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3506:9
         |
    3506 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3519:21
         |
    3519 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3533:9
         |
    3533 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3543:9
         |
    3543 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3562:9
         |
    3562 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3583:9
         |
    3583 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3611:9
         |
    3611 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3622:9
         |
    3622 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3631:9
         |
    3631 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3641:9
         |
    3641 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3662:9
         |
    3662 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3673:9
         |
    3673 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3720:29
         |
    3720 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3781:29
         |
    3781 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3911:9
         |
    3911 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3922:9
         |
    3922 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3959:21
         |
    3959 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3973:9
         |
    3973 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3984:9
         |
    3984 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:3995:9
         |
    3995 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4020:9
         |
    4020 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4032:21
         |
    4032 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4047:9
         |
    4047 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4060:9
         |
    4060 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4083:9
         |
    4083 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4093:9
         |
    4093 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4106:9
         |
    4106 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4132:9
         |
    4132 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4145:9
         |
    4145 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4157:9
         |
    4157 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4169:9
         |
    4169 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4179:9
         |
    4179 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4201:9
         |
    4201 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4236:9
         |
    4236 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4245:9
         |
    4245 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4254:9
         |
    4254 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4265:9
         |
    4265 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4274:21
         |
    4274 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4292:9
         |
    4292 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4313:9
         |
    4313 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4328:9
         |
    4328 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4340:21
         |
    4340 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4388:9
         |
    4388 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4401:9
         |
    4401 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4446:21
         |
    4446 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4467:21
         |
    4467 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4482:9
         |
    4482 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4515:9
         |
    4515 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4537:21
         |
    4537 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4552:9
         |
    4552 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4564:9
         |
    4564 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4580:29
         |
    4580 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4604:29
         |
    4604 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4656:29
         |
    4656 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4700:9
         |
    4700 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4714:21
         |
    4714 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4728:9
         |
    4728 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4751:9
         |
    4751 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4764:21
         |
    4764 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4790:9
         |
    4790 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4819:21
         |
    4819 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4833:9
         |
    4833 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4850:29
         |
    4850 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4878:29
         |
    4878 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4897:29
         |
    4897 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4948:29
         |
    4948 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:4998:29
         |
    4998 | ...                   let _val = &self.0;
         |                       ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5066:9
         |
    5066 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5075:9
         |
    5075 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5084:21
         |
    5084 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5112:21
         |
    5112 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5131:21
         |
    5131 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5146:9
         |
    5146 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5154:9
         |
    5154 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5164:9
         |
    5164 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5171:9
         |
    5171 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5179:9
         |
    5179 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5186:9
         |
    5186 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5226:21
         |
    5226 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5240:9
         |
    5240 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5261:9
         |
    5261 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5269:9
         |
    5269 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5278:21
         |
    5278 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5293:9
         |
    5293 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5325:9
         |
    5325 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5334:21
         |
    5334 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5361:9
         |
    5361 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5369:9
         |
    5369 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5391:9
         |
    5391 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5401:9
         |
    5401 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5420:9
         |
    5420 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5427:9
         |
    5427 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5437:9
         |
    5437 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5445:9
         |
    5445 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5454:9
         |
    5454 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5463:9
         |
    5463 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5505:9
         |
    5505 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5515:9
         |
    5515 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5529:21
         |
    5529 |                     let _val = &self.0;
         |                     ^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5543:9
         |
    5543 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5550:9
         |
    5550 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5557:9
         |
    5557 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5577:9
         |
    5577 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5610:9
         |
    5610 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    error: binding to `_` prefixed variable with no side-effect
        --> tests/macros/../debug/gen.rs:5620:9
         |
    5620 |         let _val = &self.value;
         |         ^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding
2021-10-22 19:26:04 -07:00
David Tolnay
40758d17c7
Fix unused import warning in no-default-features mode
$ cargo check --no-default-features

    warning: unused import: `crate::__private::private`
       --> src/lib.rs:827:5
        |
    827 | use crate::__private::private;
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = note: `#[warn(unused_imports)]` on by default
2021-10-09 06:17:50 +01:00
David Tolnay
317e6fee6a
Add actions job to notice outdated dependencies 2021-10-08 01:46:42 -04:00
David Tolnay
3255bbffe4
Release 1.0.80 2021-10-05 23:11:31 -04:00
David Tolnay
92173e48aa
Merge pull request #1083 from dtolnay/tildeconst
Parse ~const in where-clause
2021-10-05 23:10:57 -04:00
David Tolnay
f2dbe27670
Parse ~const in where-clause 2021-10-05 22:58:34 -04:00
David Tolnay
a7ad30199b
Merge pull request #1082 from dtolnay/punctuated
d->p variable naming in Punctuated implementation
2021-10-05 22:31:49 -04:00
David Tolnay
d19182538a
d->p variable naming in Punctuated implementation 2021-10-05 22:19:29 -04:00
David Tolnay
7d976183bf
Release 1.0.79 2021-10-05 21:41:35 -04:00
David Tolnay
0beb488c5c
Share some logic between impl Trait and dyn Trait parser 2021-10-05 21:37:09 -04:00
David Tolnay
cfff4f5059
Remove link to a concluded impl Trait discussion
The outcome was the behavior already currently implemented by syn.
2021-10-05 21:34:45 -04:00
David Tolnay
eefccf6129
Reject impl Trait containing only lifetimes 2021-10-05 21:30:20 -04:00
David Tolnay
0f9940494e
Tweak TraitObject parser to work like ImplTrait parser 2021-10-05 21:29:32 -04:00
David Tolnay
3d6b666143
Merge pull request #1081 from dtolnay/allowplus
Propagate allow_plus from Type::parse to dyn and impl
2021-10-05 21:26:07 -04:00
David Tolnay
3bd7299b63
Propagate allow_plus from Type::parse to dyn and impl 2021-10-05 21:17:45 -04:00
David Tolnay
5da813215e
Merge pull request #1080 from dtolnay/withoutplus
Add a without_plus parser for TypeImplTrait
2021-10-05 21:17:39 -04:00
David Tolnay
7e1c9acfc9
Add a without_plus parser for TypeImplTrait 2021-10-05 21:08:04 -04:00
David Tolnay
ac497516e5
Name the allow_plus args 2021-10-05 21:06:12 -04:00
David Tolnay
55e4a7351a
Fill in doc cfg for without_plus parsers 2021-10-05 21:04:04 -04:00
David Tolnay
98e063597a
Merge pull request #1079 from dtolnay/trailingplus
Fix bare non-dyn trait object trailing plus exit condition
2021-10-05 21:02:41 -04:00
David Tolnay
d30f972ec2
Fix bare non-dyn trait object trailing plus exit condition 2021-10-05 20:53:42 -04:00
David Tolnay
1e79cc1d33
Add test of trailing plus on bare (non-dyn) trait object
Currently fails with:

    thread 'test_trailing_plus' panicked at 'called `Result::unwrap()` on
    an `Err` value: Error("unexpected end of input, expected identifier")',
    tests/test_ty.rs:334:5
2021-10-05 20:53:42 -04:00
David Tolnay
97598d1e73
Merge pull request #1078 from dtolnay/trailingplus
Invert TypeTraitObject exit condition to match TypeImplTrait
2021-10-05 20:52:45 -04:00
David Tolnay
45e6edb2cc
Prevent rustfmt from destroying trailing plus test case 2021-10-05 20:36:23 -04:00
David Tolnay
e630c9cb0a
Invert TypeTraitObject exit condition to match TypeImplTrait 2021-10-05 20:36:23 -04:00
David Tolnay
ff899fa01e
Merge pull request #1077 from dtolnay/trailingplus
Fix TypeTraitObject parser to handle trailing plus at end of input
2021-10-05 20:36:12 -04:00
David Tolnay
2dfd2fffe6
Fix TypeTraitObject parser to handle trailing plus at end of input 2021-10-05 20:24:14 -04:00
David Tolnay
2373180d5f
Add test of trailing plus in dyn Trait type
Currently fails with:

    thread 'test_trailing_plus' panicked at 'called `Result::unwrap()` on
    an `Err` value: Error("unexpected end of input, expected identifier")',
    tests/test_ty.rs:311:5
2021-10-05 20:23:20 -04:00
David Tolnay
30204febdc
Add test of trailing plus in impl Trait type 2021-10-05 20:21:42 -04:00
David Tolnay
1c60e42f05
Make hidden type parse functions crate private
I don't know why these were originally pub. Probably they date back to
before `pub(crate)` syntax.
2021-10-05 20:02:25 -04:00
David Tolnay
b52e7aacf6
Merge pull request #1076 from dtolnay/parsequote
Delete unneeded From conversion from parse_quote
2021-10-05 15:35:32 -04:00
David Tolnay
5b3593aed8
Delete unneeded From conversion from parse_quote 2021-10-04 23:46:21 -04:00
David Tolnay
7a946ff89d
Release 1.0.78 2021-10-02 18:41:16 -07:00
David Tolnay
c480344a07
Merge pull request #1074 from dtolnay/impltraitplus
Support trailing plus on impl trait type
2021-10-02 21:40:25 -04:00
David Tolnay
caea567cd5
Support trailing plus on impl trait type 2021-10-02 18:09:10 -07:00
David Tolnay
a153bc9464
Add regression test for issue 1073 2021-10-02 18:08:43 -07:00
David Tolnay
a1096c2fbe
Declare minimum Rust version in Cargo metadata 2021-10-02 02:09:37 -04:00
David Tolnay
fc28611f95
Clippy component also needs to be installed 2021-09-30 02:43:35 -04:00
David Tolnay
2ec6afb6d8
Install rustc_ast crate for the clippy CI job
error[E0463]: can't find crate for `rustc_ast`
     --> tests/test_round_trip.rs:6:1
      |
    6 | extern crate rustc_ast;
      | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
      |
      = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
2021-09-30 02:25:44 -04:00
David Tolnay
37b3aaa7b3
Resolve wildcard_imports pedantic clippy lint
error: usage of wildcard import
     --> tests/test_size.rs:5:5
      |
    5 | use syn::*;
      |     ^^^^^^ help: try: `syn::{Expr, Item, Lit, Pat, Type}`
      |
      = note: `-D clippy::wildcard-imports` implied by `-D clippy::pedantic`
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports

    error: usage of wildcard import
       --> tests/test_precedence.rs:350:9
        |
    350 |     use syn::fold::*;
        |         ^^^^^^^^^^^^ help: try: `syn::fold::{Fold, fold_expr, fold_generic_argument, fold_generic_method_argument}`
        |
        = note: `-D clippy::wildcard-imports` implied by `-D clippy::pedantic`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports

    error: usage of wildcard import
       --> tests/test_precedence.rs:351:9
        |
    351 |     use syn::*;
        |         ^^^^^^ help: try: `syn::{Expr, ExprParen, GenericArgument, GenericMethodArgument, Pat, Stmt, Type, token}`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports

    error: usage of wildcard import
       --> tests/test_precedence.rs:427:9
        |
    427 |     use syn::fold::*;
        |         ^^^^^^^^^^^^ help: try: `syn::fold::Fold`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports

    error: usage of wildcard import
       --> tests/test_precedence.rs:429:9
        |
    429 |     use syn::*;
        |         ^^^^^^ help: try: `syn::{Expr, ExprTuple, token}`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
2021-09-30 02:24:39 -04:00
David Tolnay
4366423bfe
Resolve needless_borrow clippy lint
error: this expression borrows a reference (`&syn::parse::ParseBuffer`) that is immediately dereferenced by the compiler
      --> tests/test_parse_buffer.rs:15:35
       |
    15 |                 input1.advance_to(&input2);
       |                                   ^^^^^^^ help: change this to: `input2`
       |
       = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
2021-09-30 02:07:25 -04:00