]> git.proxmox.com Git - rustc.git/blob - src/test/ui/asm/naked-functions-unused.aarch64.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / asm / naked-functions-unused.aarch64.stderr
1 error: unused variable: `a`
2 --> $DIR/naked-functions-unused.rs:17:32
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
8 --> $DIR/naked-functions-unused.rs:5:9
9 |
10 LL | #![deny(unused)]
11 | ^^^^^^
12 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
13
14 error: unused variable: `b`
15 --> $DIR/naked-functions-unused.rs:17:42
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`
21 --> $DIR/naked-functions-unused.rs:26:38
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`
27 --> $DIR/naked-functions-unused.rs:26:48
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`
33 --> $DIR/naked-functions-unused.rs:32:41
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`
39 --> $DIR/naked-functions-unused.rs:32:51
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`
45 --> $DIR/naked-functions-unused.rs:40:40
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`
51 --> $DIR/naked-functions-unused.rs:40:50
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`
57 --> $DIR/naked-functions-unused.rs:46:43
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`
63 --> $DIR/naked-functions-unused.rs:46:53
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