diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/lint/lint-missing-copy-implementations.stderr | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/lint/lint-missing-copy-implementations.stderr b/src/test/ui/lint/lint-missing-copy-implementations.stderr new file mode 100644 index 000000000..e5f5ce20d --- /dev/null +++ b/src/test/ui/lint/lint-missing-copy-implementations.stderr @@ -0,0 +1,16 @@ +error: type could implement `Copy`; consider adding `impl Copy` + --> $DIR/lint-missing-copy-implementations.rs:6:5 + | +LL | / pub struct Foo { +LL | | pub field: i32 +LL | | } + | |_____^ + | +note: the lint level is defined here + --> $DIR/lint-missing-copy-implementations.rs:3:9 + | +LL | #![deny(missing_copy_implementations)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + |