]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/use-from-trait-xc.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / use-from-trait-xc.rs
index e6c9b1b41c0486bebef3aa6c1e04b86309658a8a..687cdba1542bdce4c9be2889ac2bd453bb5f7da9 100644 (file)
@@ -31,6 +31,6 @@ use use_from_trait_xc::Bar::new as bnew;
 //~^ ERROR unresolved import `use_from_trait_xc::Bar::new`
 
 use use_from_trait_xc::Baz::new as baznew;
-//~^ ERROR `baznew` is not directly importable
+//~^ ERROR unresolved import `use_from_trait_xc::Baz::new`
 
 fn main() {}