]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/item_after_statement.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / item_after_statement.stderr
CommitLineData
f20569fa
XL
1error: adding items after statements is confusing, since items exist from the start of the scope
2 --> $DIR/item_after_statement.rs:12:5
3 |
4LL | / fn foo() {
5LL | | println!("foo");
6LL | | }
7 | |_____^
8 |
9 = note: `-D clippy::items-after-statements` implied by `-D warnings`
10
11error: adding items after statements is confusing, since items exist from the start of the scope
12 --> $DIR/item_after_statement.rs:19:5
13 |
14LL | / fn foo() {
15LL | | println!("foo");
16LL | | }
17 | |_____^
18
19error: adding items after statements is confusing, since items exist from the start of the scope
20 --> $DIR/item_after_statement.rs:32:13
21 |
22LL | / fn say_something() {
23LL | | println!("something");
24LL | | }
25 | |_____________^
26...
27LL | b!();
28 | ----- in this macro invocation
29 |
30 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
31
32error: aborting due to 3 previous errors
33