]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/ufcs-qpath-self-mismatch.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / ufcs-qpath-self-mismatch.rs
index 8e60064beca170487a7b0834d63e90d86f62d4e6..94a98b1582af102c9851de6b226a739bf6db8890 100644 (file)
@@ -12,7 +12,7 @@ use std::ops::Add;
 
 fn main() {
     <i32 as Add<u32>>::add(1, 2);
-    //~^ ERROR the trait `core::ops::Add<u32>` is not implemented for the type `i32`
+    //~^ ERROR `i32: std::ops::Add<u32>` is not satisfied
     <i32 as Add<i32>>::add(1u32, 2);
     //~^ ERROR mismatched types
     <i32 as Add<i32>>::add(1, 2u32);