about summary refs log tree commit diff
path: root/tests/ui/closures/binder/implicit-return.stderr
blob: ff39e8841ee710f85558565fb798c914baa699e5 (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:33
   |
LL |     let _f = for<'a> |_: &'a ()| {};
   |              -------            ^
   |              |
   |              `for<...>` is here

error: aborting due to 1 previous error