rust/tests/ui/suggestions/dont-suggest-doc-hidden-var.../hidden-parent.rs

8 lines
133 B
Rust

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