Commit Graph

3545 Commits

Author SHA1 Message Date
David Tolnay
eb0db059f9
Merge pull request #1212 from dtolnay/forclosure
Parse closures with explicit empty lifetime list
2022-09-18 15:29:16 -07:00
David Tolnay
7d6ad91dea
Parse closures with explicit empty lifetime list 2022-09-18 15:20:05 -07:00
David Tolnay
f9455f8509
Merge pull request #1211 from dtolnay/up
Update test suite to nightly-2022-09-18
2022-09-18 15:08:19 -07:00
David Tolnay
125066b850
Categorize all the new parse failures 2022-09-18 14:56:59 -07:00
David Tolnay
8fddb0c508
Move rust-analyzer err tests and fuzz failures to exclude dirs 2022-09-18 14:10:05 -07:00
David Tolnay
e3af9d6e6e
Add currently failing rustc source files to test exclude 2022-09-18 14:04:33 -07:00
David Tolnay
57ee24b8a3
Update test suite to nightly-2022-09-18 2022-09-18 14:04:16 -07:00
David Tolnay
e2ce6e43d9
Factor out a static array of directories to skip testing 2022-09-18 14:03:49 -07:00
David Tolnay
4f4a2671ff
Update test suite to nightly-2022-09-15 2022-09-14 21:35:20 -07:00
David Tolnay
64e34ba69f
Remove default package.readme metadata from Cargo.toml
Since cargo 1.46.0, README.md is recognized by default.
2022-09-14 09:16:01 -07:00
David Tolnay
6e5c4fa1bb
Update test suite to nightly-2022-09-14 2022-09-13 21:17:19 -07:00
David Tolnay
8efb1afc4b
Ignore bool_to_int_with_if clippy lint
error: boolean to int conversion using if
      --> src/punctuated.rs:81:28
       |
    81 |         self.inner.len() + if self.last.is_some() { 1 } else { 0 }
       |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with from: `usize::from(self.last.is_some())`
       |
       = note: `-D clippy::bool-to-int-with-if` implied by `-D clippy::all`
       = note: `self.last.is_some() as usize` or `self.last.is_some().into()` can also be valid options
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_to_int_with_if
2022-09-10 20:12:40 -07:00
David Tolnay
fa1a855ea0
Update test suite to nightly-2022-09-09 2022-09-08 22:26:51 -07:00
David Tolnay
6e89df9f7d
Update test suite to nightly-2022-09-07 2022-09-07 00:01:38 -07:00
David Tolnay
1944b67cff
GitHub Workflows security hardening 2022-09-02 15:09:32 -07:00
David Tolnay
5e35e822b3
Update test suite to nightly-2022-09-02 2022-09-01 22:25:22 -07:00
David Tolnay
13cd0a2f6d
Ignore using destructuring assignment to wildcard pattern 2022-08-31 00:35:49 -07:00
David Tolnay
cf5a71099b
Update test suite to nightly-2022-08-24 2022-08-24 02:14:33 -07:00
David Tolnay
6663483492
Update test suite to nightly-2022-08-23 2022-08-22 23:09:30 -07:00
David Tolnay
0987a2af3c
Update benches to nightly-2022-08-18 2022-08-17 22:02:52 -07:00
David Tolnay
7694f5bb62
Update test suite to nightly-2022-08-18 2022-08-17 21:42:47 -07:00
David Tolnay
9d658e1799
Update test suite to nightly-2022-08-17 2022-08-16 21:34:32 -07:00
David Tolnay
42aed07503
Update test suite to nightly-2022-08-13 2022-08-12 21:43:41 -07:00
David Tolnay
38d3f968bd
Update test suite to nightly-2022-08-12 2022-08-11 21:34:18 -07:00
David Tolnay
60ecbac376
Release 1.0.99 2022-08-02 20:56:05 -07:00
David Tolnay
b8619c8460
Update keywords in crates.io metadata 2022-08-02 10:38:56 -07:00
David Tolnay
18ad352954
Add parser-implementations category to crates.io metadata 2022-08-01 00:15:29 -07:00
David Tolnay
5bb3ccc16a
Add authors to Cargo.toml 2022-07-31 19:25:47 -07:00
David Tolnay
d9da9c991f
Sort package entries in Cargo.toml 2022-07-31 19:19:06 -07:00
David Tolnay
fadc8e989e
Update test suite to nightly-2022-07-31 2022-07-30 19:58:10 -07:00
David Tolnay
f1089e384c
Ignore assertions_on_result_states clippy lint
error: called `assert!` with `Result::is_err`
      --> tests/test_stmt.rs:48:5
       |
    48 |     assert!(syn::parse_str::<Stmt>("let _ = &raw x;").is_err());
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `syn::parse_str::<Stmt>("let _ = &raw x;").unwrap_err()`
       |
       = note: `-D clippy::assertions-on-result-states` implied by `-D clippy::all`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states

    error: called `assert!` with `Result::is_err`
       --> tests/test_derive_input.rs:396:5
        |
    396 |     assert!(input.attrs[0].parse_meta().is_err());
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `input.attrs[0].parse_meta().unwrap_err()`
        |
        = note: `-D clippy::assertions-on-result-states` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states

    error: called `assert!` with `Result::is_err`
       --> tests/test_derive_input.rs:432:5
        |
    432 |     assert!(input.attrs[0].parse_meta().is_err());
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `input.attrs[0].parse_meta().unwrap_err()`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states
2022-07-29 22:09:40 -07:00
David Tolnay
470025cc3c
Merge pull request #1205 from dtolnay/groups
Eliminate allocation of 'groups' vector in TokenBuffer construction
2022-07-24 23:29:31 -07:00
David Tolnay
07a82b32ae
Eliminate allocation of 'groups' vector in TokenBuffer construction 2022-07-24 23:21:49 -07:00
David Tolnay
548332634d
Merge pull request #1204 from dtolnay/prealloc
Preallocate TokenBuffer vector
2022-07-24 23:01:42 -07:00
David Tolnay
fc1a189d11
Preallocate TokenBuffer vector 2022-07-24 22:45:40 -07:00
David Tolnay
93f03d3c4b
Merge pull request #1203 from dtolnay/buffer
Improve variable naming in buffer.rs
2022-07-24 22:33:56 -07:00
David Tolnay
dcc332ca55
Improve variable naming in buffer.rs 2022-07-24 22:27:24 -07:00
David Tolnay
8048b2fd84
Merge pull request #1202 from dtolnay/skipdrop
Skip drop of entry known to be Entry::End placeholder
2022-07-24 22:27:15 -07:00
David Tolnay
73d881348c
Skip drop of entry known to be Entry::End placeholder 2022-07-24 22:19:19 -07:00
David Tolnay
484664c282
Merge pull request #1201 from dtolnay/bench
Add a benchmark of TokenBuffer::inner_new
2022-07-24 21:19:46 -07:00
David Tolnay
6ee9cfd152
Add a benchmark of TokenBuffer::inner_new 2022-07-24 21:09:25 -07:00
David Tolnay
ba040f884f
Merge pull request #1200 from dtolnay/bench
Add baseline benchmark to distinguish TokenStream::clone from syn::parse2
2022-07-24 21:03:41 -07:00
David Tolnay
4225638710
Add baseline benchmark to distinguish TokenStream::clone from syn::parse2 2022-07-24 20:55:59 -07:00
David Tolnay
e9faaef601
Directly install wasm32 target support 2022-07-20 15:03:53 -07:00
David Tolnay
7d45f46b64
Mark syn.json generated for linguist 2022-07-17 11:24:59 -07:00
David Tolnay
196939c42c
Update test suite to nightly-2022-07-15 2022-07-14 21:45:02 -07:00
David Tolnay
4dedca740a
Update test suite to nightly-2022-07-08 2022-07-07 21:39:49 -07:00
David Tolnay
15dc970e07
Ignore explicit_auto_deref clippy lint
error: deref which would be done by auto-deref
       --> src/gen/visit.rs:820:23
        |
    820 |         v.visit_expr(&*(it).1);
        |                       ^^^^^^^ help: try this: `(it).1`
        |
        = note: `-D clippy::explicit-auto-deref` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
       --> src/gen/visit.rs:823:19
        |
    823 |     v.visit_expr(&*node.body);
        |                   ^^^^^^^^^^ help: try this: `node.body`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1245:19
         |
    1245 |     v.visit_expr(&*node.left);
         |                   ^^^^^^^^^^ help: try this: `node.left`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1247:19
         |
    1247 |     v.visit_expr(&*node.right);
         |                   ^^^^^^^^^^^ help: try this: `node.right`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1257:19
         |
    1257 |     v.visit_expr(&*node.left);
         |                   ^^^^^^^^^^ help: try this: `node.left`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1259:19
         |
    1259 |     v.visit_expr(&*node.right);
         |                   ^^^^^^^^^^^ help: try this: `node.right`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1283:19
         |
    1283 |     v.visit_expr(&*node.base);
         |                   ^^^^^^^^^^ help: try this: `node.base`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1295:19
         |
    1295 |     v.visit_expr(&*node.left);
         |                   ^^^^^^^^^^ help: try this: `node.left`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1297:19
         |
    1297 |     v.visit_expr(&*node.right);
         |                   ^^^^^^^^^^^ help: try this: `node.right`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1321:19
         |
    1321 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1336:22
         |
    1336 |         v.visit_expr(&**it);
         |                      ^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1347:19
         |
    1347 |     v.visit_expr(&*node.func);
         |                   ^^^^^^^^^^ help: try this: `node.func`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1365:19
         |
    1365 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1367:19
         |
    1367 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1396:19
         |
    1396 |     v.visit_expr(&*node.body);
         |                   ^^^^^^^^^^ help: try this: `node.body`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1419:19
         |
    1419 |     v.visit_expr(&*node.base);
         |                   ^^^^^^^^^^ help: try this: `node.base`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1437:19
         |
    1437 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1449:19
         |
    1449 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1460:19
         |
    1460 |     v.visit_expr(&*node.cond);
         |                   ^^^^^^^^^^ help: try this: `node.cond`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1464:23
         |
    1464 |         v.visit_expr(&*(it).1);
         |                       ^^^^^^^ help: try this: `(it).1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1475:19
         |
    1475 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1477:19
         |
    1477 |     v.visit_expr(&*node.index);
         |                   ^^^^^^^^^^^ help: try this: `node.index`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1490:19
         |
    1490 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1535:19
         |
    1535 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1549:19
         |
    1549 |     v.visit_expr(&*node.receiver);
         |                   ^^^^^^^^^^^^^^ help: try this: `node.receiver`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1573:19
         |
    1573 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1597:22
         |
    1597 |         v.visit_expr(&**it);
         |                      ^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1601:22
         |
    1601 |         v.visit_expr(&**it);
         |                      ^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1616:19
         |
    1616 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1627:19
         |
    1627 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1629:19
         |
    1629 |     v.visit_expr(&*node.len);
         |                   ^^^^^^^^^ help: try this: `node.len`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1641:22
         |
    1641 |         v.visit_expr(&**it);
         |                      ^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1665:22
         |
    1665 |         v.visit_expr(&**it);
         |                      ^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1676:19
         |
    1676 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1715:19
         |
    1715 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1717:19
         |
    1717 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1728:19
         |
    1728 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1753:19
         |
    1753 |     v.visit_expr(&*node.cond);
         |                   ^^^^^^^^^^ help: try this: `node.cond`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1766:22
         |
    1766 |         v.visit_expr(&**it);
         |                      ^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1798:18
         |
    1798 |     v.visit_pat(&*node.pat);
         |                  ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:1949:19
         |
    1949 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2223:19
         |
    2223 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2225:19
         |
    2225 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2277:20
         |
    2277 |     v.visit_block(&*node.block);
         |                    ^^^^^^^^^^^ help: try this: `node.block`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2316:19
         |
    2316 |     v.visit_type(&*node.self_ty);
         |                   ^^^^^^^^^^^^^ help: try this: `node.self_ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2387:19
         |
    2387 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2389:19
         |
    2389 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2477:19
         |
    2477 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2619:23
         |
    2619 |         v.visit_expr(&*(it).1);
         |                       ^^^^^^^ help: try this: `(it).1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2820:18
         |
    2820 |     v.visit_pat(&*node.pat);
         |                  ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2839:22
         |
    2839 |         v.visit_pat(&*(it).1);
         |                      ^^^^^^^ help: try this: `(it).1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2850:19
         |
    2850 |     v.visit_expr(&*node.expr);
         |                   ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2902:19
         |
    2902 |     v.visit_expr(&*node.lo);
         |                   ^^^^^^^^ help: try this: `node.lo`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2904:19
         |
    2904 |     v.visit_expr(&*node.hi);
         |                   ^^^^^^^^ help: try this: `node.hi`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:2918:18
         |
    2918 |     v.visit_pat(&*node.pat);
         |                  ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3004:18
         |
    3004 |     v.visit_pat(&*node.pat);
         |                  ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3006:19
         |
    3006 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3105:19
         |
    3105 |     v.visit_type(&*node.ty);
         |                   ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3154:26
         |
    3154 |             v.visit_type(&**_binding_1);
         |                          ^^^^^^^^^^^^^ help: try this: `_binding_1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3402:19
         |
    3402 |     v.visit_type(&*node.elem);
         |                   ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3440:19
         |
    3440 |     v.visit_type(&*node.elem);
         |                   ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3523:19
         |
    3523 |     v.visit_type(&*node.elem);
         |                   ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3547:19
         |
    3547 |     v.visit_type(&*node.elem);
         |                   ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3561:19
         |
    3561 |     v.visit_type(&*node.elem);
         |                   ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3569:19
         |
    3569 |     v.visit_type(&*node.elem);
         |                   ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3653:23
         |
    3653 |     v.visit_use_tree(&*node.tree);
         |                       ^^^^^^^^^^ help: try this: `node.tree`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit.rs:3736:19
         |
    3736 |     v.visit_path(&*node.path);
         |                   ^^^^^^^^^^ help: try this: `node.path`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
       --> src/gen/visit_mut.rs:821:31
        |
    821 |         v.visit_expr_mut(&mut *(it).1);
        |                               ^^^^^^^ help: try this: `(it).1`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
       --> src/gen/visit_mut.rs:824:27
        |
    824 |     v.visit_expr_mut(&mut *node.body);
        |                           ^^^^^^^^^^ help: try this: `node.body`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1246:27
         |
    1246 |     v.visit_expr_mut(&mut *node.left);
         |                           ^^^^^^^^^^ help: try this: `node.left`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1248:27
         |
    1248 |     v.visit_expr_mut(&mut *node.right);
         |                           ^^^^^^^^^^^ help: try this: `node.right`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1258:27
         |
    1258 |     v.visit_expr_mut(&mut *node.left);
         |                           ^^^^^^^^^^ help: try this: `node.left`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1260:27
         |
    1260 |     v.visit_expr_mut(&mut *node.right);
         |                           ^^^^^^^^^^^ help: try this: `node.right`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1284:27
         |
    1284 |     v.visit_expr_mut(&mut *node.base);
         |                           ^^^^^^^^^^ help: try this: `node.base`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1296:27
         |
    1296 |     v.visit_expr_mut(&mut *node.left);
         |                           ^^^^^^^^^^ help: try this: `node.left`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1298:27
         |
    1298 |     v.visit_expr_mut(&mut *node.right);
         |                           ^^^^^^^^^^^ help: try this: `node.right`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1322:27
         |
    1322 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1337:26
         |
    1337 |         v.visit_expr_mut(&mut **it);
         |                          ^^^^^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1348:27
         |
    1348 |     v.visit_expr_mut(&mut *node.func);
         |                           ^^^^^^^^^^ help: try this: `node.func`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1366:27
         |
    1366 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1368:27
         |
    1368 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1397:27
         |
    1397 |     v.visit_expr_mut(&mut *node.body);
         |                           ^^^^^^^^^^ help: try this: `node.body`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1420:27
         |
    1420 |     v.visit_expr_mut(&mut *node.base);
         |                           ^^^^^^^^^^ help: try this: `node.base`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1438:27
         |
    1438 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1450:27
         |
    1450 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1461:27
         |
    1461 |     v.visit_expr_mut(&mut *node.cond);
         |                           ^^^^^^^^^^ help: try this: `node.cond`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1465:31
         |
    1465 |         v.visit_expr_mut(&mut *(it).1);
         |                               ^^^^^^^ help: try this: `(it).1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1476:27
         |
    1476 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1478:27
         |
    1478 |     v.visit_expr_mut(&mut *node.index);
         |                           ^^^^^^^^^^^ help: try this: `node.index`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1491:27
         |
    1491 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1536:27
         |
    1536 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1550:27
         |
    1550 |     v.visit_expr_mut(&mut *node.receiver);
         |                           ^^^^^^^^^^^^^^ help: try this: `node.receiver`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1574:27
         |
    1574 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1598:26
         |
    1598 |         v.visit_expr_mut(&mut **it);
         |                          ^^^^^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1602:26
         |
    1602 |         v.visit_expr_mut(&mut **it);
         |                          ^^^^^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1617:27
         |
    1617 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1628:27
         |
    1628 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1630:27
         |
    1630 |     v.visit_expr_mut(&mut *node.len);
         |                           ^^^^^^^^^ help: try this: `node.len`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1642:26
         |
    1642 |         v.visit_expr_mut(&mut **it);
         |                          ^^^^^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1666:26
         |
    1666 |         v.visit_expr_mut(&mut **it);
         |                          ^^^^^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1677:27
         |
    1677 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1716:27
         |
    1716 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1718:27
         |
    1718 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1729:27
         |
    1729 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1754:27
         |
    1754 |     v.visit_expr_mut(&mut *node.cond);
         |                           ^^^^^^^^^^ help: try this: `node.cond`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1767:26
         |
    1767 |         v.visit_expr_mut(&mut **it);
         |                          ^^^^^^^^^ help: try this: `it`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1799:26
         |
    1799 |     v.visit_pat_mut(&mut *node.pat);
         |                          ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:1950:27
         |
    1950 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2223:27
         |
    2223 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2225:27
         |
    2225 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2277:28
         |
    2277 |     v.visit_block_mut(&mut *node.block);
         |                            ^^^^^^^^^^^ help: try this: `node.block`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2316:27
         |
    2316 |     v.visit_type_mut(&mut *node.self_ty);
         |                           ^^^^^^^^^^^^^ help: try this: `node.self_ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2387:27
         |
    2387 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2389:27
         |
    2389 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2477:27
         |
    2477 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2619:31
         |
    2619 |         v.visit_expr_mut(&mut *(it).1);
         |                               ^^^^^^^ help: try this: `(it).1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2820:26
         |
    2820 |     v.visit_pat_mut(&mut *node.pat);
         |                          ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2839:30
         |
    2839 |         v.visit_pat_mut(&mut *(it).1);
         |                              ^^^^^^^ help: try this: `(it).1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2850:27
         |
    2850 |     v.visit_expr_mut(&mut *node.expr);
         |                           ^^^^^^^^^^ help: try this: `node.expr`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2902:27
         |
    2902 |     v.visit_expr_mut(&mut *node.lo);
         |                           ^^^^^^^^ help: try this: `node.lo`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2904:27
         |
    2904 |     v.visit_expr_mut(&mut *node.hi);
         |                           ^^^^^^^^ help: try this: `node.hi`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:2918:26
         |
    2918 |     v.visit_pat_mut(&mut *node.pat);
         |                          ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3004:26
         |
    3004 |     v.visit_pat_mut(&mut *node.pat);
         |                          ^^^^^^^^^ help: try this: `node.pat`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3006:27
         |
    3006 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3105:27
         |
    3105 |     v.visit_type_mut(&mut *node.ty);
         |                           ^^^^^^^^ help: try this: `node.ty`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3154:30
         |
    3154 |             v.visit_type_mut(&mut **_binding_1);
         |                              ^^^^^^^^^^^^^^^^^ help: try this: `_binding_1`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3402:27
         |
    3402 |     v.visit_type_mut(&mut *node.elem);
         |                           ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3440:27
         |
    3440 |     v.visit_type_mut(&mut *node.elem);
         |                           ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3523:27
         |
    3523 |     v.visit_type_mut(&mut *node.elem);
         |                           ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3547:27
         |
    3547 |     v.visit_type_mut(&mut *node.elem);
         |                           ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3561:27
         |
    3561 |     v.visit_type_mut(&mut *node.elem);
         |                           ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3569:27
         |
    3569 |     v.visit_type_mut(&mut *node.elem);
         |                           ^^^^^^^^^^ help: try this: `node.elem`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3653:31
         |
    3653 |     v.visit_use_tree_mut(&mut *node.tree);
         |                               ^^^^^^^^^^ help: try this: `node.tree`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

    error: deref which would be done by auto-deref
        --> src/gen/visit_mut.rs:3736:27
         |
    3736 |     v.visit_path_mut(&mut *node.path);
         |                           ^^^^^^^^^^ help: try this: `node.path`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
2022-07-01 20:12:52 -07:00
David Tolnay
3424444c7f
Release 1.0.98 2022-06-18 17:34:26 -07:00
David Tolnay
c592781b4f
Format examples with rustfmt 1.5.0 2022-06-18 17:33:21 -07:00