summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/dont-suggest-doc-hidden-variant-for-enum/hidden-child.rs
blob: 38dabc9d71ff7de70c3efb51c0a15638f60be22a (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:hidden-child.rs

// FIXME(compiler-errors): This currently suggests the wrong thing.
// UI test exists to track the problem.

extern crate hidden_child;

fn main() {
    let x: Option<i32> = 1i32; //~ ERROR mismatched types
}