error: function `unused` is never used --> $DIR/newline-span.rs:3:4 | LL | fn unused() { | ^^^^^^ | note: the lint level is defined here --> $DIR/newline-span.rs:1:9 | LL | #![deny(dead_code)] | ^^^^^^^^^ error: function `unused2` is never used --> $DIR/newline-span.rs:7:4 | LL | fn unused2(var: i32) { | ^^^^^^^ error: function `unused3` is never used --> $DIR/newline-span.rs:11:4 | LL | fn unused3( | ^^^^^^^ error: aborting due to 3 previous errors