2020-05-19 18:45:58 -05:00
|
|
|
error[E0425]: cannot find function `f` in this scope
|
|
|
|
--> $DIR/break-token-spans.rs:13:5
|
|
|
|
|
|
|
|
|
LL | f :: < Vec < _ > > ( ) ;
|
|
|
|
| ^ not found in this scope
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/break-token-spans.rs:14:32
|
|
|
|
|
|
|
|
|
LL | let a: Option<Option<u8>>= true;
|
2020-09-02 02:40:56 -05:00
|
|
|
| ------------------ ^^^^ expected enum `Option`, found `bool`
|
2020-05-19 18:45:58 -05:00
|
|
|
| |
|
|
|
|
| expected due to this
|
|
|
|
|
|
2020-09-02 02:40:56 -05:00
|
|
|
= note: expected enum `Option<Option<u8>>`
|
2020-05-19 18:45:58 -05:00
|
|
|
found type `bool`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
Some errors have detailed explanations: E0308, E0425.
|
|
|
|
For more information about an error, try `rustc --explain E0308`.
|