Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
suggestions
/
dont-suggest-doc-hidden-variant-for-enum
/
hidden-child.rs
blob: cec66214978bbcf72044c94bf50eb66d6051260c [
file
] [
log
] [
blame
]
//@ 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
}