]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/item_after_statement.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / item_after_statement.stderr
1 error: adding items after statements is confusing, since items exist from the start of the scope
2   --> item_after_statement.rs:12:5
3    |
4 12 |     fn foo() { println!("foo"); }
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D items-after-statements` implied by `-D warnings`
8
9 error: adding items after statements is confusing, since items exist from the start of the scope
10   --> item_after_statement.rs:17:5
11    |
12 17 |     fn foo() { println!("foo"); }
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: `-D items-after-statements` implied by `-D warnings`
16
17 error: aborting due to previous error(s)
18
19
20 To learn more, run the command again with --verbose.