Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
impl-trait
/
eagerly-reveal-in-local-body.rs
blob: a08c2c8765ba6e53377cc74211844545517d8810 [
file
] [
log
] [
blame
]
// check-pass
// compile-flags: -Znext-solver
#![
feature
(
type_alias_impl_trait
)]
fn
main
()
{
type
Tait
=
impl
Sized
;
struct
S
{
i
:
i32
,
}
let
x
:
Tait
=
S
{
i
:
0
};
println
!(
"{}"
,
x
.
i
);
}