mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
13 lines
254 B
Rust
13 lines
254 B
Rust
#![feature(fn_delegation)]
|
|
#![allow(incomplete_features)]
|
|
|
|
mod to_reuse {}
|
|
|
|
trait Trait {
|
|
reuse to_reuse::foo { foo }
|
|
//~^ ERROR cannot find function `foo` in module `to_reuse`
|
|
//~| ERROR cannot find value `foo` in this scope
|
|
}
|
|
|
|
fn main() {}
|