]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-ascription-instead-of-variant.rs
Rollup merge of #106888 - GuillaumeGomez:tidy-gui-test, r=notriddle
[rust.git] / tests / ui / suggestions / type-ascription-instead-of-variant.rs
1 // run-rustfix
2 fn main() {
3     let _ = Option:Some("");
4     //~^ ERROR expected type, found
5 }