Commit Graph

3387 Commits

Author SHA1 Message Date
David Tolnay
650fcfff0b
Fix parsing trait impl with qself in trait type 2021-12-22 15:32:03 -08:00
David Tolnay
7fad27f4a6
Add regression test for issue 1108 2021-12-22 15:32:03 -08:00
David Tolnay
c585502d81
Add a regression test harness using automod 2021-12-22 15:25:59 -08:00
David Tolnay
ab0ed46784
Ignore return_self_not_must_use clippy lint
error: missing `#[must_use]` attribute on a method returning `Self`
       --> src/parse.rs:915:5
        |
    915 | /     pub fn fork(&self) -> Self {
    916 | |         ParseBuffer {
    917 | |             scope: self.scope,
    918 | |             cell: self.cell.clone(),
    ...   |
    923 | |         }
    924 | |     }
        | |_____^
        |
        = note: `-D clippy::return-self-not-must-use` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use
2021-12-17 18:27:28 -08:00
David Tolnay
e23e46a06e
Resolve useless_vec clippy lint in benchmark runner
error: useless use of `vec!`
       --> benches/rust.rs:120:13
        |
    120 | /             vec![
    121 | |                 $(
    122 | |                     $(#[$cfg])*
    123 | |                     (stringify!($name), $name::bench as fn(&str) -> Result<(), ()>),
    124 | |                 )*
    125 | |             ]
        | |_____________^ help: you can use a slice directly: `&[(stringify!($name), $name::bench as fn(&str) -> Result<(), ()>)]`
    ...
    141 |       for (name, f) in testcases!(
        |  ______________________-
    142 | |         #[cfg(not(syn_only))]
    143 | |         read_from_disk,
    144 | |         #[cfg(not(syn_only))]
    ...   |
    148 | |         librustc_parse,
    149 | |     ) {
        | |_____- in this macro invocation
        |
        = note: `-D clippy::useless-vec` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
        = note: this error originates in the macro `testcases` (in Nightly builds, run with -Z macro-backtrace for more info)
2021-12-12 13:56:23 -08:00
David Tolnay
22b36c31c3
Run clippy on benches as well 2021-12-12 13:54:33 -08:00
David Tolnay
7a19c8ca77
Touch up some formatting in Cursor::token_tree 2021-12-11 15:34:57 -08:00
David Tolnay
3ca0ded128
Update token group terminology in TokenBuffer implementation
I believe "seq" was the original name of what eventually got stabilized
as "group" in libproc_macro.
2021-12-11 15:32:00 -08:00
David Tolnay
0842b581d9
Must not pass through &[T] prior to Box::from_raw 2021-12-11 15:23:47 -08:00
David Tolnay
0abfcbbaa1
Maintain provenance over all of entries in seq_up computation 2021-12-11 15:23:47 -08:00
David Tolnay
70a535799e
Fix typo in a TokenBuffer comment 2021-12-11 15:14:55 -08:00
David Tolnay
6ab8fbc751
Downcase a needlessly all caps comment 2021-12-11 15:11:18 -08:00
David Tolnay
5ccc98edc8
Add a miri test job in CI 2021-12-11 12:57:22 -08:00
David Tolnay
51f0f43607
Convert TokenBuffer implementation from boxed slice to ptr/len
There is something in here that was previously tripping up miri.

    error: Undefined Behavior: trying to reborrow for SharedReadOnly at alloc155475+0x40, but parent tag <399858> does not have an appropriate item in the borrow stack
       --> /git/syn/src/buffer.rs:118:59
        |
    118 |         unsafe { Cursor::create(&self.data[0], &self.data[self.data.len() - 1]) }
        |                                                           ^^^^^^^^^^^^^^^ trying to reborrow for SharedReadOnly at alloc155475+0x40, but parent tag <399858> does not have an appropriate item in the borrow stack
        |
        = help: this indicates a potential bug in the program: it performed an invalid operation, but the rules it violated are still experimental
        = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information

        = note: inside `syn::buffer::TokenBuffer::begin` at /git/syn/src/buffer.rs:118:59
        = note: inside `syn::buffer::Cursor::group` at /git/syn/src/buffer.rs:240:30
        = note: inside `syn::parse::span_of_unexpected_ignoring_nones` at /git/syn/src/parse.rs:448:44
        = note: inside `<syn::parse::ParseBuffer as std::ops::Drop>::drop` at /git/syn/src/parse.rs:269:40
        = note: inside `std::ptr::drop_in_place::<syn::parse::ParseBuffer> - shim(Some(syn::parse::ParseBuffer))` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:188:1
        = note: inside `syn::item::parsing::<impl syn::parse::Parse for syn::Item>::parse` at /git/syn/src/item.rs:1165:9
        = note: inside `<for<'r> fn(&'r syn::parse::ParseBuffer<'r>) -> std::result::Result<syn::Item, syn::Error> {<syn::Item as syn::parse::Parse>::parse} as std::ops::FnOnce<(&syn::parse::ParseBuffer,)>>::call_once - shim(for<'r> fn(&'r syn::parse::ParseBuffer<'r>) -> std::result::Result<syn::Item, syn::Error> {<syn::Item as syn::parse::Parse>::parse})` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
        = note: inside `<for<'r> fn(&'r syn::parse::ParseBuffer<'r>) -> std::result::Result<syn::Item, syn::Error> {<syn::Item as syn::parse::Parse>::parse} as syn::parse::Parser>::parse2` at /git/syn/src/parse.rs:1209:20
        = note: inside `syn::parse2::<syn::Item>` at /git/syn/src/lib.rs:912:5
    note: inside `<proc_macro2::TokenStream as macros::Tokens>::parse::<syn::Item>` at tests/macros/mod.rs:79:9
       --> tests/macros/mod.rs:79:9
        |
    79  |         syn::parse2(self)
        |         ^^^^^^^^^^^^^^^^^
    note: inside `test_macro_variable_attr` at tests/macros/mod.rs:40:21
       --> tests/macros/mod.rs:40:21
        |
    40  |           let $expr = crate::macros::Tokens::parse::<$t>($expr).unwrap();
        |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
       ::: tests/test_item.rs:20:5
        |
    20  | /     snapshot!(tokens as Item, @r###"
    21  | |     Item::Fn {
    22  | |         attrs: [
    23  | |             Attribute {
    ...   |
    43  | |     }
    44  | |     "###);
        | |_________- in this macro invocation
    note: inside closure at tests/test_item.rs:10:1
       --> tests/test_item.rs:10:1
        |
    9   |   #[test]
        |   ------- in this procedural macro expansion
    10  | / fn test_macro_variable_attr() {
    11  | |     // mimics the token stream corresponding to `$attr fn f() {}`
    12  | |     let tokens = TokenStream::from_iter(vec![
    13  | |         TokenTree::Group(Group::new(Delimiter::None, quote! { #[test] })),
    ...   |
    44  | |     "###);
    45  | | }
        | |_^
        = note: inside `<[closure@tests/test_item.rs:10:1: 45:2] as std::ops::FnOnce<()>>::call_once - shim` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
        = note: inside `<fn() as std::ops::FnOnce<()>>::call_once - shim(fn())` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
        = note: inside `test::__rust_begin_short_backtrace::<fn()>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:585:5
        = note: inside closure at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:576:30
        = note: inside `<[closure@test::run_test::{closure#2}] as std::ops::FnOnce<()>>::call_once - shim(vtable)` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
        = note: inside `<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send> as std::ops::FnOnce<()>>::call_once` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1811:9
        = note: inside `<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>> as std::ops::FnOnce<()>>::call_once` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:271:9
        = note: inside `std::panicking::r#try::do_call::<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>>, ()>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:406:40
        = note: inside `std::panicking::r#try::<(), std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>>>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:370:19
        = note: inside `std::panic::catch_unwind::<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>>, ()>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:133:14
        = note: inside `test::run_test_in_process` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:608:18
        = note: inside closure at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:500:39
        = note: inside `test::run_test::run_test_inner` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:538:13
        = note: inside `test::run_test` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:572:28
        = note: inside `test::run_tests::<[closure@test::run_tests_console::{closure#2}]>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:313:17
        = note: inside `test::run_tests_console` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/console.rs:290:5
        = note: inside `test::test_main` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:124:15
        = note: inside `test::test_main_static` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:143:5
        = note: inside `main`
        = note: inside `<fn() as std::ops::FnOnce<()>>::call_once - shim(fn())` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
        = note: inside `std::sys_common::backtrace::__rust_begin_short_backtrace::<fn(), ()>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:123:18
        = note: inside closure at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:145:18
        = note: inside `std::ops::function::impls::<impl std::ops::FnOnce<()> for &dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe>::call_once` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:259:13
        = note: inside `std::panicking::r#try::do_call::<&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe, i32>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:406:40
        = note: inside `std::panicking::r#try::<i32, &dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:370:19
        = note: inside `std::panic::catch_unwind::<&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe, i32>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:133:14
        = note: inside closure at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:128:48
        = note: inside `std::panicking::r#try::do_call::<[closure@std::rt::lang_start_internal::{closure#2}], isize>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:406:40
        = note: inside `std::panicking::r#try::<isize, [closure@std::rt::lang_start_internal::{closure#2}]>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:370:19
        = note: inside `std::panic::catch_unwind::<[closure@std::rt::lang_start_internal::{closure#2}], isize>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:133:14
        = note: inside `std::rt::lang_start_internal` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:128:20
        = note: inside `std::rt::lang_start::<()>` at /home/david/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:144:17
        = note: this error originates in the macro `snapshot_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
2021-12-11 12:57:01 -08:00
David Tolnay
e526bfef90
Disable insta snapshot tests on miri 2021-12-11 12:30:02 -08:00
David Tolnay
36db3c4767
Disable rustc repo tests on miri which are too slow 2021-12-11 12:29:46 -08:00
David Tolnay
7bf8df69b3
Ignore cast_lossless Clippy pedantic lint
error: casting `bool` to `usize` is more cleanly stated with `usize::from(_)`
      --> src/bigint.rs:34:19
       |
    34 |             len + !self.digits.ends_with(&[0, 0]) as usize + !self.digits.ends_with(&[0]) as usize;
       |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(!self.digits.ends_with(&[0, 0]))`
       |
       = note: `-D clippy::cast-lossless` implied by `-D clippy::pedantic`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless

    error: casting `bool` to `usize` is more cleanly stated with `usize::from(_)`
      --> src/bigint.rs:34:62
       |
    34 |             len + !self.digits.ends_with(&[0, 0]) as usize + !self.digits.ends_with(&[0]) as usize;
       |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(!self.digits.ends_with(&[0]))`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless

    error: casting `bool` to `usize` is more cleanly stated with `usize::from(_)`
        --> src/lit.rs:1458:21
         |
    1458 |         let start = (*bytes.get(0)? == b'-') as usize;
         |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `usize::from(*bytes.get(0)? == b'-')`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
2021-12-07 18:53:34 -08:00
David Tolnay
3418c84345
Update test suite to nightly-2021-12-02 2021-12-01 18:53:57 -08:00
David Tolnay
96563b70d3
Update test suite to nightly-2021-11-26 2021-11-26 16:13:44 -08:00
David Tolnay
5697be5300
Release 1.0.82 2021-11-24 18:33:37 -08:00
David Tolnay
809ab0faed
Merge pull request #1099 from dtolnay/coloncolonparen
Parse parenthesized path arguments with disambiguator
2021-11-24 18:32:55 -08:00
David Tolnay
ef11688b9f
Parse parenthesized path arguments with disambiguator 2021-11-24 18:18:54 -08:00
David Tolnay
8648f5a6a6
Add test for parenthesized path arguments with disambiguator
Currently fails with:

    ---- parse_parenthesized_path_arguments_with_disambiguator stdout ----
    thread 'parse_parenthesized_path_arguments_with_disambiguator' panicked at 'called `Result::unwrap()` on an `Err` value: Error("expected identifier")', tests/test_path.rs:110:5
2021-11-24 18:18:31 -08:00
David Tolnay
c859588bdb
Install newest build of cargo-outdated
The old version available by default in the GitHub Actions image fails
with:

    thread 'main' panicked at 'package cache lock is not currently held, Cargo forgot to call `acquire_package_cache_lock` before we got to this stack frame', /usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.57.0/src/cargo/util/config/mod.rs:1542:9
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2021-11-17 13:35:08 -08:00
David Tolnay
ce9ded795f
Update test suite to nightly-2021-11-13 2021-11-12 18:25:47 -08:00
David Tolnay
3978948969
Update test suite to nightly-2021-11-08 2021-11-07 18:40:22 -08:00
David Tolnay
39ac201b19
Clippy if_then_panic lint has been renamed to manual_assert 2021-11-04 19:41:10 -07:00
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