• Home
  • Raw
  • Download

Lines Matching +full:unused +full:- +full:variable

2 // needs-asm-support
3 //[x86_64] only-x86_64
4 //[aarch64] only-aarch64
5 #![deny(unused)]
10 extern "C" fn trait_associated(a: usize, b: usize) -> usize; in trait_associated()
11 extern "C" fn trait_method(&self, a: usize, b: usize) -> usize; in trait_method()
17 pub extern "C" fn function(a: usize, b: usize) -> usize { in function()
18 //~^ ERROR unused variable: `a` in function()
19 //~| ERROR unused variable: `b` in function()
26 pub extern "C" fn associated(a: usize, b: usize) -> usize { in associated()
27 //~^ ERROR unused variable: `a` in associated()
28 //~| ERROR unused variable: `b` in associated()
32 pub extern "C" fn method(&self, a: usize, b: usize) -> usize { in method()
33 //~^ ERROR unused variable: `a` in method()
34 //~| ERROR unused variable: `b` in method()
40 extern "C" fn trait_associated(a: usize, b: usize) -> usize { in trait_associated()
41 //~^ ERROR unused variable: `a` in trait_associated()
42 //~| ERROR unused variable: `b` in trait_associated()
46 extern "C" fn trait_method(&self, a: usize, b: usize) -> usize { in trait_method()
47 //~^ ERROR unused variable: `a` in trait_method()
48 //~| ERROR unused variable: `b` in trait_method()
58 pub extern "C" fn function(a: usize, b: usize) -> usize { in function()
66 pub extern "C" fn associated(a: usize, b: usize) -> usize { in associated()
71 pub extern "C" fn method(&self, a: usize, b: usize) -> usize { in method()
78 extern "C" fn trait_associated(a: usize, b: usize) -> usize { in trait_associated()
83 extern "C" fn trait_method(&self, a: usize, b: usize) -> usize { in trait_method()