Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rfcs
/
rfc-2093-infer-outlives
/
explicit-dyn.rs
blob: 419fb0a0e45893697c44ce7525272b357d2462f0 [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
rustc_attrs
)]
trait
Trait
<
'x, T> where T: '
x
{
}
#[
rustc_outlives
]
struct
Foo
<
'
a
,
A
>
//~ ERROR rustc_outlives
{
foo
:
Box
<
dyn
Trait
<
'
a
,
A
>>
}
fn
main
()
{}