]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/type-ascription-instead-of-variant.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / suggestions / type-ascription-instead-of-variant.rs
1 // run-rustfix
2 fn main() {
3     let _ = Option:Some("");
4     //~^ ERROR expected type, found
5 }