mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
11 lines
240 B
Rust
11 lines
240 B
Rust
//@ 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
|
|
}
|