]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/method-help-unsatisfied-bound.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / method-help-unsatisfied-bound.rs
index 375d5076ea2f8e9c6bc432f629a26a5ae87133ff..6416d5467c8903ad3e8a1ec9901b30c6143b6ff9 100644 (file)
@@ -13,6 +13,6 @@ struct Foo;
 fn main() {
     let a: Result<(), Foo> = Ok(());
     a.unwrap();
-    //~^ ERROR no method named `unwrap` found for type `core::result::Result<(), Foo>`
-    //~| NOTE the following trait bounds were not satisfied: `Foo : core::fmt::Debug`
+    //~^ ERROR no method named `unwrap` found for type `std::result::Result<(), Foo>`
+    //~| NOTE the following trait bounds were not satisfied: `Foo : std::fmt::Debug`
 }