summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lifetimes/nested-binder-print.stderr
blob: 32dd896932d2e0646f325d8184133b42744fb4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0308]: mismatched types
  --> $DIR/nested-binder-print.rs:6:18
   |
LL |     let x: u32 = y;
   |            ---   ^ expected `u32`, found fn pointer
   |            |
   |            expected due to this
   |
   = note:    expected type `u32`
           found fn pointer `for<'a> fn(for<'b> fn(TwoLt<'b, 'a>))`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.