Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
ui
/
fully-qualified-type
/
fully-qualified-type-name3.rs
blob: 22faa66d9fb039cd9c08322e1736f1590076024c [
file
] [
log
] [
blame
]
// Test that we use fully-qualified type names in error messages.
// ignore-test
type
T1
=
usize
;
type
T2
=
isize
;
fn
bar
(
x
:
T1
)
->
T2
{
return
x
;
//~^ ERROR mismatched types: expected `T2`, found `T1`
}
fn
main
()
{
}