Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
generic-associated-types
/
issue-67510.rs
blob: 5c3150a77ed1bf04803fef48f9f311fa697acb0a [
file
] [
log
] [
blame
]
trait
X
{
type
Y
<
'
a
>;
}
fn
f
(
x
:
Box
<
dyn X
<
Y
<
'a> = &'
a
()>>)
{}
//~^ ERROR: use of undeclared lifetime name `'a`
//~| ERROR: use of undeclared lifetime name `'a`
//~| ERROR: the trait `X` is not dyn compatible [E0038]
fn
main
()
{}