Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
never_type
/
never-assign-wrong-type.rs
blob: 9ca1ac7462d4d8f319ca3c8d2465b7da25e041eb [
file
] [
log
] [
blame
]
// Test that we can't use another type in place of !
#![
deny
(
warnings
)]
fn
main
()
{
let
x
:
!
=
"hello"
;
//~ ERROR mismatched types
}