summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issue-57200.stderr
blob: b44f332d58ccdc9f9cde8ec280a8cfac0e49f4c2 (plain)
1
2
3
4
5
6
7
8
error: lifetimes in impl Trait types in bindings are not currently supported
  --> $DIR/issue-57200.rs:11:12
   |
LL |     let f: impl Fn(&'a T) -> &'b T = |x| x;
   |            ^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error