]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/typeck-default-trait-impl-trait-where-clause-2.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / typeck-default-trait-impl-trait-where-clause-2.rs
index ad58ae92b46e2139eadfde8c3881550d16f61ff3..3085f45a83dd1f3d393376232ec540dbb445ea72 100644 (file)
@@ -29,7 +29,7 @@ fn bar<T:NotImplemented>() { }
 
 fn test() {
     bar::<Option<i32>>();
-    //~^ ERROR the trait `NotImplemented` is not implemented for the type `core::option::Option<i32>`
+    //~^ ERROR `std::option::Option<i32>: NotImplemented` is not satisfied
 }
 
 fn main() {