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