rust/tests/ui/auto-traits/auto-traits.stderr
2024-02-07 10:42:01 +08:00

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