Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
impl-trait
/
universal_wrong_hrtb.rs
blob: 48561710143b6cc26e3db6cc6d5468062119bac0 [
file
] [
log
] [
blame
]
trait
Trait
<
'
a
>
{
type
Assoc
;
}
fn
test_argument_position
(
x
:
impl
for
<
'a> Trait<'
a
,
Assoc
=
impl
Copy
+
'
a
>)
{}
//~^ ERROR `impl Trait` can only mention lifetimes from an fn or impl
fn
main
()
{}