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

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

8 lines
230 B
Rust
Raw Normal View History

2024-04-05 00:36:18 +00:00
#![feature(precise_capturing)]
//~^ WARN the feature `precise_capturing` is incomplete
2024-06-05 20:18:52 +00:00
fn hello(_: impl Sized + use<>) {}
2024-04-05 00:36:18 +00:00
//~^ ERROR `use<...>` precise capturing syntax not allowed on argument-position `impl Trait`
fn main() {}