X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Frepeat-to-run-dtor-twice.rs;h=d857178166a88e1f724ab0a58e5583109605e7bd;hb=fc8be08a8e786514819ffff7c4239879afb8ea3c;hp=80eff2acdd27bf978baa493d3610170631037402;hpb=9e78bc5d4f84ca1558c7d91245d0d537af35295b;p=rust.git diff --git a/src/test/ui/repeat-to-run-dtor-twice.rs b/src/test/ui/repeat-to-run-dtor-twice.rs index 80eff2acdd2..d857178166a 100644 --- a/src/test/ui/repeat-to-run-dtor-twice.rs +++ b/src/test/ui/repeat-to-run-dtor-twice.rs @@ -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] }