blob: 07bb417f9f7f1e18d1b8219de410054679f8239d (
plain)
1
2
3
4
5
6
7
8
|
#![feature(precise_capturing)]
trait Foo {
fn bar<'a>() -> impl Sized + use<Self>;
//~^ ERROR `use<...>` precise capturing syntax is currently not allowed in return-position `impl Trait` in traits
}
fn main() {}
|