error[E0308]: mismatched types | |
--> $DIR/tag-that-dare-not-speak-its-name.rs:11:20 | |
| | |
LL | let x : char = last(y); | |
| ^^^^^^^ expected char, found enum `std::option::Option` | |
| | |
= note: expected type `char` | |
found type `std::option::Option<_>` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0308`. |