2024-04-04 14:46:26 -04:00
|
|
|
#![feature(precise_capturing)]
|
|
|
|
|
|
|
|
|
|
trait Foo {
|
2024-06-05 16:18:52 -04:00
|
|
|
fn bar<'a>() -> impl Sized + use<Self>;
|
2024-06-20 12:17:42 -04:00
|
|
|
//~^ ERROR `use<...>` precise capturing syntax is currently not allowed in return-position `impl Trait` in traits
|
2024-04-04 14:46:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|