1
1
error: unused variable: `a`
2
- --> $DIR/naked-functions-unused.rs:17 :32
2
+ --> $DIR/naked-functions-unused.rs:16 :32
3
3
|
4
4
LL | pub extern "C" fn function(a: usize, b: usize) -> usize {
5
5
| ^ help: if this is intentional, prefix it with an underscore: `_a`
@@ -12,55 +12,55 @@ LL | #![deny(unused)]
12
12
= note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
13
13
14
14
error: unused variable: `b`
15
- --> $DIR/naked-functions-unused.rs:17 :42
15
+ --> $DIR/naked-functions-unused.rs:16 :42
16
16
|
17
17
LL | pub extern "C" fn function(a: usize, b: usize) -> usize {
18
18
| ^ help: if this is intentional, prefix it with an underscore: `_b`
19
19
20
20
error: unused variable: `a`
21
- --> $DIR/naked-functions-unused.rs:28 :38
21
+ --> $DIR/naked-functions-unused.rs:27 :38
22
22
|
23
23
LL | pub extern "C" fn associated(a: usize, b: usize) -> usize {
24
24
| ^ help: if this is intentional, prefix it with an underscore: `_a`
25
25
26
26
error: unused variable: `b`
27
- --> $DIR/naked-functions-unused.rs:28 :48
27
+ --> $DIR/naked-functions-unused.rs:27 :48
28
28
|
29
29
LL | pub extern "C" fn associated(a: usize, b: usize) -> usize {
30
30
| ^ help: if this is intentional, prefix it with an underscore: `_b`
31
31
32
32
error: unused variable: `a`
33
- --> $DIR/naked-functions-unused.rs:36 :41
33
+ --> $DIR/naked-functions-unused.rs:35 :41
34
34
|
35
35
LL | pub extern "C" fn method(&self, a: usize, b: usize) -> usize {
36
36
| ^ help: if this is intentional, prefix it with an underscore: `_a`
37
37
38
38
error: unused variable: `b`
39
- --> $DIR/naked-functions-unused.rs:36 :51
39
+ --> $DIR/naked-functions-unused.rs:35 :51
40
40
|
41
41
LL | pub extern "C" fn method(&self, a: usize, b: usize) -> usize {
42
42
| ^ help: if this is intentional, prefix it with an underscore: `_b`
43
43
44
44
error: unused variable: `a`
45
- --> $DIR/naked-functions-unused.rs:46 :40
45
+ --> $DIR/naked-functions-unused.rs:45 :40
46
46
|
47
47
LL | extern "C" fn trait_associated(a: usize, b: usize) -> usize {
48
48
| ^ help: if this is intentional, prefix it with an underscore: `_a`
49
49
50
50
error: unused variable: `b`
51
- --> $DIR/naked-functions-unused.rs:46 :50
51
+ --> $DIR/naked-functions-unused.rs:45 :50
52
52
|
53
53
LL | extern "C" fn trait_associated(a: usize, b: usize) -> usize {
54
54
| ^ help: if this is intentional, prefix it with an underscore: `_b`
55
55
56
56
error: unused variable: `a`
57
- --> $DIR/naked-functions-unused.rs:54 :43
57
+ --> $DIR/naked-functions-unused.rs:53 :43
58
58
|
59
59
LL | extern "C" fn trait_method(&self, a: usize, b: usize) -> usize {
60
60
| ^ help: if this is intentional, prefix it with an underscore: `_a`
61
61
62
62
error: unused variable: `b`
63
- --> $DIR/naked-functions-unused.rs:54 :53
63
+ --> $DIR/naked-functions-unused.rs:53 :53
64
64
|
65
65
LL | extern "C" fn trait_method(&self, a: usize, b: usize) -> usize {
66
66
| ^ help: if this is intentional, prefix it with an underscore: `_b`
0 commit comments