]>
git.proxmox.com Git - rustc.git/blob - src/test/compile-fail/use-from-trait.rs
1 use Trait
::foo
; //~ ERROR cannot import from a trait or type implementation
2 //~^ ERROR failed to resolve import
3 use Foo
::new
; //~ ERROR cannot import from a trait or type implementation
4 //~^ ERROR failed to resolve import