rust/tests/ui/tag-that-dare-not-speak-its-name.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
428 B
Plaintext
Raw Normal View History

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