mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
32 lines
795 B
Plaintext
32 lines
795 B
Plaintext
warning: the feature `fn_delegation` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
--> $DIR/target-expr-pass.rs:3:12
|
|
|
|
|
LL | #![feature(fn_delegation)]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #118212 <https://github.com/rust-lang/rust/issues/118212> for more information
|
|
= note: `#[warn(incomplete_features)]` on by default
|
|
|
|
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: 4 warnings emitted
|
|
|