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"); }
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D items-after-statements` implied by `-D warnings`
9 error: adding items after statements is confusing, since items exist from the start of the scope
10 --> $DIR/item_after_statement.rs:17:5
12 17 | fn foo() { println!("foo"); }
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to 2 previous errors