rust/tests/ui/suggestions/dont-suggest-doc-hidden-variant-for-enum/hidden-parent.rs

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

8 lines
133 B
Rust
Raw Normal View History

//@ aux-build:hidden-parent.rs
2021-12-21 16:03:51 -06:00
extern crate hidden_parent;
fn main() {
let x: Option<i32> = 1i32; //~ ERROR mismatched types
}