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

8 lines
132 B
Rust
Raw Normal View History

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