blob: 3e0a5b36ddcf3e1315675ba661709b54f93ffc3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(fn_delegation)]
#![allow(incomplete_features)]
// FIXME(fn_delegation): `recursive delegation` error should be emitted here
trait Trait {
reuse Trait::foo { &self.0 }
}
reuse foo;
//~^ ERROR cycle detected when computing generics of `foo`
fn main() {}
|