mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
13 lines
244 B
Rust
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() {}
|