]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-22645.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-22645.rs
index aa7fa82fa29ba843654586c2f5ad14681770ddfd..402b9a04496e9a4aeaa73652ca9bfd1cbfb905f3 100644 (file)
@@ -22,6 +22,6 @@ impl<RHS: Scalar> Add <RHS> for Bob {
 
 fn main() {
   let b = Bob + 3.5;
-  b + 3 //~ ERROR: is not implemented
+  b + 3 //~ ERROR E0277
   //~^ ERROR: mismatched types
 }