2024-06-17 22:35:25 -04:00

12 lines
295 B
Rust

//@ revisions: real pre_expansion
//@[pre_expansion] check-pass
#![feature(precise_capturing)]
//~^ WARN the feature `precise_capturing` is incomplete
#[cfg(real)]
fn hello<'a>() -> impl Sized + use<'a> + use<'a> {}
//[real]~^ ERROR duplicate `use<...>` precise capturing syntax
fn main() {}