summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/binder/implicit-return.stderr
blob: 5bfb97113344a1ea4896a216e93105339ab50352 (plain)
1
2
3
4
5
6
7
8
9
10
error: implicit types in closure signatures are forbidden when `for<...>` is present
  --> $DIR/implicit-return.rs:4:34
   |
LL |     let _f = for<'a> |_: &'a ()| {};
   |              -------             ^
   |              |
   |              `for<...>` is here

error: aborting due to previous error