mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
23 lines
422 B
Plaintext
23 lines
422 B
Plaintext
warning: trait `Trait` is never used
|
|
--> $DIR/target-expr-pass.rs:17:7
|
|
|
|
|
LL | trait Trait {
|
|
| ^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: struct `F` is never constructed
|
|
--> $DIR/target-expr-pass.rs:21:8
|
|
|
|
|
LL | struct F;
|
|
| ^
|
|
|
|
warning: struct `S` is never constructed
|
|
--> $DIR/target-expr-pass.rs:24:8
|
|
|
|
|
LL | struct S(F);
|
|
| ^
|
|
|
|
warning: 3 warnings emitted
|
|
|