mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
11 lines
239 B
Rust
11 lines
239 B
Rust
//@ revisions: real pre_expansion
|
|
//@[pre_expansion] check-pass
|
|
|
|
#![feature(precise_capturing)]
|
|
|
|
#[cfg(real)]
|
|
fn hello<'a>() -> impl Sized + use<'a> + use<'a> {}
|
|
//[real]~^ ERROR duplicate `use<...>` precise capturing syntax
|
|
|
|
fn main() {}
|