]> git.lizzy.rs Git - rust.git/blob - src/test/ui/asm/naked-functions-unused.stderr
Apply suggestions from code review
[rust.git] / src / test / ui / asm / naked-functions-unused.stderr
1 error: unused variable: `a`
2   --> $DIR/naked-functions-unused.rs:13:37
3    |
4 LL |     pub extern "sysv64" 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:2: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:13:47
16    |
17 LL |     pub extern "sysv64" 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:22:43
22    |
23 LL |         pub extern "sysv64" 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:22:53
28    |
29 LL |         pub extern "sysv64" 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:28:46
34    |
35 LL |         pub extern "sysv64" 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:28:56
40    |
41 LL |         pub extern "sysv64" 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:36:45
46    |
47 LL |         extern "sysv64" 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:36:55
52    |
53 LL |         extern "sysv64" 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:42:48
58    |
59 LL |         extern "sysv64" 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:42:58
64    |
65 LL |         extern "sysv64" 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