rust/tests/ui/delegation/ice-issue-124342.rs
2024-06-10 19:25:34 +03:00

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() {}