mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
11 lines
239 B
Rust
11 lines
239 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
|
|
}
|