]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/exclusive-drop-and-copy.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / exclusive-drop-and-copy.stderr
index 1c5e62e21a891d79fba8f0c38122c6a382ce488e..2fbeaec23a79875ac3783d1ab770bd4a777cdaad 100644 (file)
@@ -1,11 +1,11 @@
 error[E0184]: the trait `Copy` may not be implemented for this type; the type has a destructor
-  --> $DIR/exclusive-drop-and-copy.rs:13:10
+  --> $DIR/exclusive-drop-and-copy.rs:3:10
    |
 LL | #[derive(Copy, Clone)] //~ ERROR the trait `Copy` may not be implemented
    |          ^^^^ Copy not allowed on types with destructors
 
 error[E0184]: the trait `Copy` may not be implemented for this type; the type has a destructor
-  --> $DIR/exclusive-drop-and-copy.rs:20:10
+  --> $DIR/exclusive-drop-and-copy.rs:10:10
    |
 LL | #[derive(Copy, Clone)] //~ ERROR the trait `Copy` may not be implemented
    |          ^^^^ Copy not allowed on types with destructors