rust/tests/ui/suggestions/suggest-full-enum-variant-for-local-module.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
165 B
Rust
Raw Normal View History

mod option {
pub enum O<T> {
Some(T),
None,
}
}
fn main() {
let _: option::O<()> = (); //~ ERROR 9:28: 9:30: mismatched types [E0308]
}