rust/tests/ui/delegation/ice-issue-124342.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
254 B
Rust
Raw Normal View History

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