]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/dead-code/lint-dead-code-6.rs
3 struct UnusedStruct
; //~ ERROR struct `UnusedStruct` is never constructed
5 fn unused_impl_fn_1() { //~ ERROR associated function `unused_impl_fn_1` is never used
9 fn unused_impl_fn_2(var
: i32) { //~ ERROR associated function `unused_impl_fn_2` is never used
10 println
!("foo {}", var
);
13 fn unused_impl_fn_3( //~ ERROR associated function `unused_impl_fn_3` is never used
16 println
!("bar {}", var
);