]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/repeat-to-run-dtor-twice.rs
Add test for issue-57200
[rust.git] / src / test / ui / repeat-to-run-dtor-twice.rs
index 80eff2acdd27bf978baa493d3610170631037402..d857178166a88e1f724ab0a58e5583109605e7bd 100644 (file)
@@ -15,5 +15,5 @@ fn drop(&mut self) {
 fn main() {
     let a = Foo { x: 3 };
     let _ = [ a; 5 ];
-    //~^ ERROR `Foo: std::marker::Copy` is not satisfied
+    //~^ ERROR the trait bound `Foo: std::marker::Copy` is not satisfied [E0277]
 }