Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
type-alias-impl-trait
/
privacy.rs
blob: a5386bbec0d23418960637658e7acae02afdc70c [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
type_alias_impl_trait
)]
type
Foo
=
(
impl
Sized
,
u8
);
pub
fn
foo
()
->
Foo
{
//~^ WARNING type alias `Foo` is more private than the item `foo`
(
42
,
42
)
}
fn
main
()
{}