]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/reject-specialized-drops-8142.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / reject-specialized-drops-8142.rs
index b12e26fddf6d20a86175441a6aaab8bb8428040f..adc870224037802c1e7c10c1eeb93bc79f64dc42 100644 (file)
@@ -47,7 +47,7 @@ impl              Drop for P<i8>          { fn drop(&mut self) { } } // REJECT
 //~^ ERROR Implementations of Drop cannot be specialized
 
 impl<Adds_bnd:Bound> Drop for Q<Adds_bnd> { fn drop(&mut self) { } } // REJECT
-//~^ ERROR The requirement `Adds_bnd : Bound` is added only by the Drop impl.
+//~^ ERROR The requirement `Adds_bnd: Bound` is added only by the Drop impl.
 
 impl<'rbnd,Adds_rbnd:'rbnd> Drop for R<Adds_rbnd> { fn drop(&mut self) { } } // REJECT
 //~^ ERROR The requirement `Adds_rbnd : 'rbnd` is added only by the Drop impl.