X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fexclusive-drop-and-copy.stderr;h=8649c8abbfa7f9035ef618bb3e0d30cb88a8ebaa;hb=a88717cef051b8ebbed0e74c57fc0a714bd893dc;hp=36ee6570e42cd8a363c5a055878e5102476865c3;hpb=358a01829229427d9efaf89a05881a0ef86e9e8a;p=rust.git diff --git a/src/test/ui/exclusive-drop-and-copy.stderr b/src/test/ui/exclusive-drop-and-copy.stderr index 36ee6570e42..8649c8abbfa 100644 --- a/src/test/ui/exclusive-drop-and-copy.stderr +++ b/src/test/ui/exclusive-drop-and-copy.stderr @@ -2,7 +2,7 @@ error[E0184]: the trait `Copy` may not be implemented for this type; the type ha --> $DIR/exclusive-drop-and-copy.rs:3:10 | LL | #[derive(Copy, Clone)] - | ^^^^ Copy not allowed on types with destructors + | ^^^^ `Copy` not allowed on types with destructors | = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) @@ -10,7 +10,7 @@ error[E0184]: the trait `Copy` may not be implemented for this type; the type ha --> $DIR/exclusive-drop-and-copy.rs:10:10 | LL | #[derive(Copy, Clone)] - | ^^^^ Copy not allowed on types with destructors + | ^^^^ `Copy` not allowed on types with destructors | = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)