blob: f53abe53bf13482ee432736980b48c50fe142b0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0308]: mismatched types
--> $DIR/tag-that-dare-not-speak-its-name.rs:11:20
|
LL | let x : char = last(y);
| ---- ^^^^^^^ expected `char`, found `Option<_>`
| |
| expected due to this
|
= note: expected type `char`
found enum `Option<_>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|