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