]> git.lizzy.rs Git - rust.git/blob - tests/ui/item_after_statement.stderr
Auto merge of #3533 - phansch:add_to_doc_valid_idents, r=phansch
[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:21:5
3    |
4 21 | /     fn foo() {
5 22 | |         println!("foo");
6 23 | |     }
7    | |_____^
8    |
9    = note: `-D clippy::items-after-statements` implied by `-D warnings`
10
11 error: adding items after statements is confusing, since items exist from the start of the scope
12   --> $DIR/item_after_statement.rs:28:5
13    |
14 28 | /     fn foo() {
15 29 | |         println!("foo");
16 30 | |     }
17    | |_____^
18
19 error: aborting due to 2 previous errors
20