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.

8 lines
88 B
Rust
Raw Permalink Normal View History

2024-09-29 17:41:13 +00:00
//@ check-pass
trait Foo {
2024-06-05 20:18:52 +00:00
fn bar<'a>() -> impl Sized + use<Self>;
}
fn main() {}