]> git.lizzy.rs Git - rust.git/blob - tests/ui/tag-that-dare-not-speak-its-name.stderr
Rollup merge of #107615 - notriddle:notriddle/nbsp, r=GuillaumeGomez
[rust.git] / tests / ui / tag-that-dare-not-speak-its-name.stderr
1 error[E0308]: mismatched types
2   --> $DIR/tag-that-dare-not-speak-its-name.rs:11:20
3    |
4 LL |     let x : char = last(y);
5    |             ----   ^^^^^^^ expected `char`, found `Option<_>`
6    |             |
7    |             expected due to this
8    |
9    = note: expected type `char`
10               found enum `Option<_>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.