mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00
8 lines
162 B
Rust
8 lines
162 B
Rust
trait Foo {
|
|
fn foo();
|
|
}
|
|
|
|
use Foo::foo; //~ ERROR `use` associated items of traits is unstable [E0658]
|
|
|
|
fn main() { foo(); } //~ ERROR type annotations needed
|