mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00
12 lines
295 B
Rust
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() {}
|