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