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