Sign in
rust
/
rust
/
c021d2ddd49f8ff07d27fa772d88a3eb229e63ec
/
.
/
tests
/
ui
/
type
/
type-shadow.rs
blob: 48a68a3907a9aad05bd055337a66c95f4e6bc4b6 [
file
]
fn
main
()
{
type
X
=
isize
;
type
Y
=
X
;
if
true
{
type
X
=
&
'
static
str
;
let
y
:
Y
=
"hello"
;
//~ ERROR mismatched types
}
}