Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
explicit-projection.rs
blob: 00b89528865a9dc16711793e79399e1842ab28a3 [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
trait
Trait
<
'x, T> where T: '
x
{
type
Type
;
}
#[
rustc_outlives
]
struct
Foo
<
'a, A, B> where A: Trait<'
a
,
B
>
//~ ERROR rustc_outlives
{
foo
:
<
A
as
Trait
<
'
a
,
B
>>::
Type
}
fn
main
()
{}