summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/suggest-full-enum-variant-for-local-module.rs
blob: 1dfc0786668f235dc2d57fec01286d1d880a17e1 (plain)
1
2
3
4
5
6
7
8
9
10
mod option {
    pub enum O<T> {
        Some(T),
        None,
    }
}

fn main() {
    let _: option::O<()> = (); //~ ERROR 9:28: 9:30: mismatched types [E0308]
}