2024-06-10 13:21:46 -05:00
|
|
|
#![feature(fn_delegation)]
|
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
2024-08-26 11:57:59 -05:00
|
|
|
// FIXME(fn_delegation): `recursive delegation` error should be emitted here
|
2024-06-10 13:21:46 -05:00
|
|
|
trait Trait {
|
|
|
|
reuse Trait::foo { &self.0 }
|
2024-10-20 14:49:11 -05:00
|
|
|
//~^ ERROR recursive delegation is not supported yet
|
2024-06-10 13:21:46 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
reuse foo;
|
2024-05-30 14:00:44 -05:00
|
|
|
//~^ ERROR cycle detected when computing generics of `foo`
|
2024-06-10 13:21:46 -05:00
|
|
|
|
|
|
|
fn main() {}
|