rust/tests/ui/auto-traits/auto-traits.stderr

17 lines
396 B
Plaintext

warning: trait `AutoInner` is never used
--> $DIR/auto-traits.rs:22:16
|
LL | auto trait AutoInner {}
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: trait `AutoUnsafeInner` is never used
--> $DIR/auto-traits.rs:23:23
|
LL | unsafe auto trait AutoUnsafeInner {}
| ^^^^^^^^^^^^^^^
warning: 2 warnings emitted