]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-full-enum-variant-for-local-module.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / ui / suggestions / suggest-full-enum-variant-for-local-module.rs
1 mod option {
2     pub enum O<T> {
3         Some(T),
4         None,
5     }
6 }
7
8 fn main() {
9     let _: option::O<()> = (); //~ ERROR 9:28: 9:30: mismatched types [E0308]
10 }