Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
different_defining_uses_never_type-3.rs
blob: 2b30a9cd57cf687fb06761dc137bd0a1c77ffcdf [
file
] [
log
] [
blame
]
#![
feature
(
type_alias_impl_trait
)]
type
Tait
<
T
>
=
impl
Sized
;
fn
foo
<
T
,
U
>()
{
if
false
{
if
{
return
}
{
let
y
:
Tait
<
U
>
=
1i32
;
//~^ ERROR concrete type differs from previous defining opaque type use
}
}
let
x
:
Tait
<
T
>
=
();
}
fn
main
()
{}