]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/blacklisted_name.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / blacklisted_name.stderr
CommitLineData
f20569fa
XL
1error: use of a blacklisted/placeholder name `foo`
2 --> $DIR/blacklisted_name.rs:11:9
3 |
4LL | fn test(foo: ()) {}
5 | ^^^
6 |
7 = note: `-D clippy::blacklisted-name` implied by `-D warnings`
8
9error: use of a blacklisted/placeholder name `foo`
10 --> $DIR/blacklisted_name.rs:14:9
11 |
12LL | let foo = 42;
13 | ^^^
14
15error: use of a blacklisted/placeholder name `baz`
16 --> $DIR/blacklisted_name.rs:15:9
17 |
18LL | let baz = 42;
19 | ^^^
20
21error: use of a blacklisted/placeholder name `quux`
22 --> $DIR/blacklisted_name.rs:16:9
23 |
24LL | let quux = 42;
25 | ^^^^
26
27error: use of a blacklisted/placeholder name `foo`
28 --> $DIR/blacklisted_name.rs:27:10
29 |
30LL | (foo, Some(baz), quux @ Some(_)) => (),
31 | ^^^
32
33error: use of a blacklisted/placeholder name `baz`
34 --> $DIR/blacklisted_name.rs:27:20
35 |
36LL | (foo, Some(baz), quux @ Some(_)) => (),
37 | ^^^
38
39error: use of a blacklisted/placeholder name `quux`
40 --> $DIR/blacklisted_name.rs:27:26
41 |
42LL | (foo, Some(baz), quux @ Some(_)) => (),
43 | ^^^^
44
45error: use of a blacklisted/placeholder name `foo`
46 --> $DIR/blacklisted_name.rs:32:19
47 |
48LL | fn issue_1647(mut foo: u8) {
49 | ^^^
50
51error: use of a blacklisted/placeholder name `baz`
52 --> $DIR/blacklisted_name.rs:33:13
53 |
54LL | let mut baz = 0;
55 | ^^^
56
57error: use of a blacklisted/placeholder name `quux`
58 --> $DIR/blacklisted_name.rs:34:21
59 |
60LL | if let Some(mut quux) = Some(42) {}
61 | ^^^^
62
63error: use of a blacklisted/placeholder name `baz`
64 --> $DIR/blacklisted_name.rs:38:13
65 |
66LL | let ref baz = 0;
67 | ^^^
68
69error: use of a blacklisted/placeholder name `quux`
70 --> $DIR/blacklisted_name.rs:39:21
71 |
72LL | if let Some(ref quux) = Some(42) {}
73 | ^^^^
74
75error: use of a blacklisted/placeholder name `baz`
76 --> $DIR/blacklisted_name.rs:43:17
77 |
78LL | let ref mut baz = 0;
79 | ^^^
80
81error: use of a blacklisted/placeholder name `quux`
82 --> $DIR/blacklisted_name.rs:44:25
83 |
84LL | if let Some(ref mut quux) = Some(42) {}
85 | ^^^^
86
87error: aborting due to 14 previous errors
88