blob: ad62f6bd54af926cb4154f86556cc1ceb1dce0fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![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() {}
|