]> git.lizzy.rs Git - rust.git/blob - tests/ui/item_after_statement.stderr
Add license header to Rust files
[rust.git] / tests / ui / item_after_statement.stderr
1 error: adding items after statements is confusing, since items exist from the start of the scope
2   --> $DIR/item_after_statement.rs:22:5
3    |
4 22 |     fn foo() { println!("foo"); }
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::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   --> $DIR/item_after_statement.rs:27:5
11    |
12 27 |     fn foo() { println!("foo"); }
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16