rust/tests/ui/impl-trait/precise-capturing/elided.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
164 B
Rust
Raw Normal View History

2024-04-04 20:36:18 -04:00
//@ check-pass
#![feature(precise_capturing)]
//~^ WARN the feature `precise_capturing` is incomplete
fn elided(x: &()) -> impl use<'_> Sized { x }
fn main() {}