summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/apit.stderr
blob: 96548f5732f5719aba04413175e28885c992c527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
warning: the feature `precise_capturing` is incomplete and may not be safe to use and/or cause compiler crashes
  --> $DIR/apit.rs:1:12
   |
LL | #![feature(precise_capturing)]
   |            ^^^^^^^^^^^^^^^^^
   |
   = note: see issue #123432 <https://github.com/rust-lang/rust/issues/123432> for more information
   = note: `#[warn(incomplete_features)]` on by default

error: `use<...>` precise capturing syntax not allowed on argument-position `impl Trait`
  --> $DIR/apit.rs:4:18
   |
LL | fn hello(_: impl use<> Sized) {}
   |                  ^^^^^

error: aborting due to 1 previous error; 1 warning emitted