rust/tests/ui/impl-trait/precise-capturing/self-capture.rs

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

11 lines
176 B
Rust
Raw Normal View History

//@ check-pass
#![feature(precise_capturing)]
//~^ WARN the feature `precise_capturing` is incomplete
trait Foo {
2024-06-05 20:18:52 +00:00
fn bar<'a>() -> impl Sized + use<Self>;
}
fn main() {}