This website requires JavaScript.
Explore
Help
Sign In
dnrops
/
rust
mirror of
https://github.com/rust-lang/rust.git
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f6ab5e997c
rust
/
tests
/
ui
/
imports
/
import-trait-method.rs
8 lines
99 B
Rust
Raw
Blame
History
trait
Foo
{
fn
foo
(
)
;
}
use
Foo
::
foo
;
//~ ERROR not directly importable
fn
main
(
)
{
foo
(
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink