Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
higher-ranked
/
well-formed-aliases.rs
blob: 60e013a54bcd57e1cae43b2a8855f3723ff6fa37 [
file
] [
log
] [
blame
] [
edit
]
trait
Trait
{
type
Gat
<
U
:
?
Sized
>;
}
fn
test
<
T
>(
f
:
for
<
'a> fn(<&'
a T
as
Trait
>::
Gat
<&
'a [str]>)) where for<'
a
>
&
'
a T
:
Trait
{}
//~^ ERROR the size for values of type `str` cannot be known at compilation time
fn
main
()
{}