]> git.lizzy.rs Git - rust.git/blob - tests/ui/blacklisted_name.stderr
rustup and compile-fail -> ui test move
[rust.git] / tests / ui / blacklisted_name.stderr
1 error: use of a blacklisted/placeholder name `foo`
2  --> $DIR/blacklisted_name.rs:9:9
3   |
4 9 | fn test(foo: ()) {} //~ERROR use of a blacklisted/placeholder name `foo`
5   |         ^^^
6   |
7 note: lint level defined here
8  --> $DIR/blacklisted_name.rs:7:9
9   |
10 7 | #![deny(blacklisted_name)]
11   |         ^^^^^^^^^^^^^^^^
12
13 error: use of a blacklisted/placeholder name `foo`
14   --> $DIR/blacklisted_name.rs:12:9
15    |
16 12 |     let foo = 42; //~ERROR use of a blacklisted/placeholder name `foo`
17    |         ^^^
18
19 error: use of a blacklisted/placeholder name `bar`
20   --> $DIR/blacklisted_name.rs:13:9
21    |
22 13 |     let bar = 42; //~ERROR use of a blacklisted/placeholder name `bar`
23    |         ^^^
24
25 error: use of a blacklisted/placeholder name `baz`
26   --> $DIR/blacklisted_name.rs:14:9
27    |
28 14 |     let baz = 42; //~ERROR use of a blacklisted/placeholder name `baz`
29    |         ^^^
30
31 error: use of a blacklisted/placeholder name `foo`
32   --> $DIR/blacklisted_name.rs:20:10
33    |
34 20 |         (foo, Some(bar), baz @ Some(_)) => (),
35    |          ^^^
36
37 error: use of a blacklisted/placeholder name `bar`
38   --> $DIR/blacklisted_name.rs:20:20
39    |
40 20 |         (foo, Some(bar), baz @ Some(_)) => (),
41    |                    ^^^
42
43 error: use of a blacklisted/placeholder name `baz`
44   --> $DIR/blacklisted_name.rs:20:26
45    |
46 20 |         (foo, Some(bar), baz @ Some(_)) => (),
47    |                          ^^^^^^^^^^^^^
48
49 error: aborting due to 7 previous errors
50