]>
Commit | Line | Data |
---|---|---|
c295e0f8 | 1 | error: unused variable: `a` |
ee023bcb | 2 | --> $DIR/naked-functions-unused.rs:17:32 |
c295e0f8 XL |
3 | | |
4 | LL | pub extern "C" fn function(a: usize, b: usize) -> usize { | |
5 | | ^ help: if this is intentional, prefix it with an underscore: `_a` | |
6 | | | |
7 | note: the lint level is defined here | |
ee023bcb | 8 | --> $DIR/naked-functions-unused.rs:5:9 |
c295e0f8 XL |
9 | | |
10 | LL | #![deny(unused)] | |
11 | | ^^^^^^ | |
12 | = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]` | |
13 | ||
14 | error: unused variable: `b` | |
ee023bcb | 15 | --> $DIR/naked-functions-unused.rs:17:42 |
c295e0f8 XL |
16 | | |
17 | LL | pub extern "C" fn function(a: usize, b: usize) -> usize { | |
18 | | ^ help: if this is intentional, prefix it with an underscore: `_b` | |
19 | ||
20 | error: unused variable: `a` | |
ee023bcb | 21 | --> $DIR/naked-functions-unused.rs:26:38 |
c295e0f8 XL |
22 | | |
23 | LL | pub extern "C" fn associated(a: usize, b: usize) -> usize { | |
24 | | ^ help: if this is intentional, prefix it with an underscore: `_a` | |
25 | ||
26 | error: unused variable: `b` | |
ee023bcb | 27 | --> $DIR/naked-functions-unused.rs:26:48 |
c295e0f8 XL |
28 | | |
29 | LL | pub extern "C" fn associated(a: usize, b: usize) -> usize { | |
30 | | ^ help: if this is intentional, prefix it with an underscore: `_b` | |
31 | ||
32 | error: unused variable: `a` | |
ee023bcb | 33 | --> $DIR/naked-functions-unused.rs:32:41 |
c295e0f8 XL |
34 | | |
35 | LL | pub extern "C" fn method(&self, a: usize, b: usize) -> usize { | |
36 | | ^ help: if this is intentional, prefix it with an underscore: `_a` | |
37 | ||
38 | error: unused variable: `b` | |
ee023bcb | 39 | --> $DIR/naked-functions-unused.rs:32:51 |
c295e0f8 XL |
40 | | |
41 | LL | pub extern "C" fn method(&self, a: usize, b: usize) -> usize { | |
42 | | ^ help: if this is intentional, prefix it with an underscore: `_b` | |
43 | ||
44 | error: unused variable: `a` | |
ee023bcb | 45 | --> $DIR/naked-functions-unused.rs:40:40 |
c295e0f8 XL |
46 | | |
47 | LL | extern "C" fn trait_associated(a: usize, b: usize) -> usize { | |
48 | | ^ help: if this is intentional, prefix it with an underscore: `_a` | |
49 | ||
50 | error: unused variable: `b` | |
ee023bcb | 51 | --> $DIR/naked-functions-unused.rs:40:50 |
c295e0f8 XL |
52 | | |
53 | LL | extern "C" fn trait_associated(a: usize, b: usize) -> usize { | |
54 | | ^ help: if this is intentional, prefix it with an underscore: `_b` | |
55 | ||
56 | error: unused variable: `a` | |
ee023bcb | 57 | --> $DIR/naked-functions-unused.rs:46:43 |
c295e0f8 XL |
58 | | |
59 | LL | extern "C" fn trait_method(&self, a: usize, b: usize) -> usize { | |
60 | | ^ help: if this is intentional, prefix it with an underscore: `_a` | |
61 | ||
62 | error: unused variable: `b` | |
ee023bcb | 63 | --> $DIR/naked-functions-unused.rs:46:53 |
c295e0f8 XL |
64 | | |
65 | LL | extern "C" fn trait_method(&self, a: usize, b: usize) -> usize { | |
66 | | ^ help: if this is intentional, prefix it with an underscore: `_b` | |
67 | ||
68 | error: aborting due to 10 previous errors | |
69 |