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