1 error: adding items after statements is confusing, since items exist from the start of the scope
2 --> $DIR/item_after_statement.rs:12:5
4 12 | fn foo() { println!("foo"); } //~ ERROR adding items after statements is confusing
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: lint level defined here
8 --> $DIR/item_after_statement.rs:3:9
10 3 | #![deny(items_after_statements)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
13 error: adding items after statements is confusing, since items exist from the start of the scope
14 --> $DIR/item_after_statement.rs:17:5
16 17 | fn foo() { println!("foo"); } //~ ERROR adding items after statements is confusing
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 error: aborting due to 2 previous errors