Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
coherence
/
coherence-cross-crate-conflict.rs
blob: bdb76375e012a255fc389c130b71a32149b866ed [
file
] [
log
] [
blame
] [
edit
]
// The error here is strictly due to orphan rules; the impl here
// generalizes the one upstream
//@ aux-build:trait_impl_conflict.rs
extern
crate trait_impl_conflict
;
use
trait_impl_conflict
::
Foo
;
impl
<
A
>
Foo
for
A
{
//~ ERROR E0210
}
fn
main
()
{
}