Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
explicit-dyn.rs
blob: e33d57d642b32de6d41fefe26f822df60a917bb0 [
file
] [
log
] [
blame
]
#![
feature
(
dyn_trait
)]
#![
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
()
{}