mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 23:31:07 +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() {}
|