Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
eagerly-reveal-in-local-body.rs
blob: 1caded0592a24aa91cf5ff5f21fe012eae2809e4 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
);
}