mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
15 lines
427 B
Plaintext
15 lines
427 B
Plaintext
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`.
|