mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
31 lines
764 B
Plaintext
31 lines
764 B
Plaintext
|
|
running 1 test
|
|
test $DIR/dead-code-module.rs - my_mod::f (line 16) - compile ... FAILED
|
|
|
|
failures:
|
|
|
|
---- $DIR/dead-code-module.rs - my_mod::f (line 16) stdout ----
|
|
error: trait `T` is never used
|
|
--> $DIR/dead-code-module.rs:17:7
|
|
|
|
|
LL | trait T { fn f(); }
|
|
| ^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/dead-code-module.rs:15: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-module.rs - my_mod::f (line 16)
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
|
|
|
all doctests ran in $TIME; merged doctests compilation took $TIME
|