]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/impl-bounds-checking.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / impl-bounds-checking.rs
index 00c415a860d4fe385913c33d09b6be67768aed7b..69a35bcbd7b1153a7a105a67e3b86719847b3cb5 100644 (file)
@@ -17,7 +17,7 @@ trait Getter<T: Clone2> {
     fn get(&self) -> T;
 }
 
-impl Getter<int> for int { //~ ERROR failed to find an implementation of trait Clone2 for int
+impl Getter<int> for int { //~ ERROR the trait `Clone2` is not implemented
     fn get(&self) -> int { *self }
 }