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