Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
coherence
/
coherence-projection-ok.rs
blob: c5c145be7e5490a013d83ecdc215041f04e60c62 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
pub
trait
Foo
<
P
>
{}
pub
trait
Bar
{
type
Output
:
'
static
;
}
impl
Foo
<
i32
>
for
i32
{
}
impl
<
A
:
Bar
>
Foo
<
A
::
Output
>
for
A
{
}
impl
Bar
for
i32
{
type
Output
=
u32
;
}
fn
main
()
{}