Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
type
/
never-type-inference-fail.rs
blob: 76ee3c5f5d566a4303cb8159d82664f03ca1c6a3 [
file
]
//! regression test for issue #2151
fn
main
()
{
let
x
=
panic
!();
//~ ERROR type annotations needed
x
.
clone
();
}