Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
coherence
/
coherence-projection-conflict.rs
blob: daab2a2f8b403f24015403626e5416868fabea7f [
file
] [
log
] [
blame
]
use
std
::
marker
::
PhantomData
;
pub
trait
Foo
<
P
>
{
fn
foo
()
{}
}
pub
trait
Bar
{
type
Output
:
'
static
;
}
impl
Foo
<
i32
>
for
i32
{
}
impl
<
A
:
Bar
>
Foo
<
A
::
Output
>
for
A
{
}
//~^ ERROR E0119
impl
Bar
for
i32
{
type
Output
=
i32
;
}
fn
main
()
{}