rust/tests/ui/impl-trait/precise-capturing/dyn-use.rs

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

3 lines
124 B
Rust
Raw Permalink Normal View History

2024-06-05 20:31:12 +00:00
fn dyn() -> &'static dyn use<> { &() }
//~^ ERROR expected one of `!`, `(`, `::`, `<`, `where`, or `{`, found keyword `use`