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

13 lines
244 B
Rust

#![feature(fn_delegation)]
#![allow(incomplete_features)]
trait Trait {
reuse Trait::foo { &self.0 }
//~^ ERROR recursive delegation is not supported yet
}
reuse foo;
//~^ ERROR recursive delegation is not supported yet
fn main() {}