1
Fork 0
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.

8 lines
110 B
Rust
Raw Normal View History

2024-04-04 20:36:18 -04:00
//@ check-pass
#![feature(precise_capturing)]
2024-06-05 16:18:52 -04:00
fn elided(x: &()) -> impl Sized + use<'_> { x }
2024-04-04 20:36:18 -04:00
fn main() {}