| |
| running 1 test |
| test $DIR/dead-code-2024.rs - f (line 12) - compile ... FAILED |
| |
| failures: |
| |
| ---- $DIR/dead-code-2024.rs - f (line 12) stdout ---- |
| error: trait `T` is never used |
| --> $DIR/dead-code-2024.rs:13:7 |
| | |
| LL | trait T { fn f(); } |
| | ^ |
| | |
| note: the lint level is defined here |
| --> $DIR/dead-code-2024.rs:11:9 |
| | |
| LL | #![deny(warnings)] |
| | ^^^^^^^^ |
| = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` |
| |
| error: aborting due to 1 previous error |
| |
| Couldn't compile the test. |
| |
| failures: |
| $DIR/dead-code-2024.rs - f (line 12) |
| |
| test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME |
| |