]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-14915.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / issue-14915.rs
index 3754d669be6a2970f6274a8f59766a5a0ed9698b..75b9626a6596f4590823b0e5962fdfd16181cc6b 100644 (file)
@@ -15,8 +15,8 @@ fn main() {
     let y: Gc<int> = box (GC) 0;
 
     println!("{}", x + 1); //~ ERROR binary operation `+` cannot be applied to type `Box<int>`
-    //~^ ERROR cannot determine a type for this bounded type parameter: unconstrained type
+    //~^ ERROR unable to infer enough type information
     println!("{}", y + 1);
     //~^ ERROR binary operation `+` cannot be applied to type `Gc<int>`
-    //~^^ ERROR cannot determine a type for this bounded type parameter: unconstrained type
+    //~^^ ERROR unable to infer enough type information
 }