Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
coherence
/
coherence-overlap-negate-not-use-feature-gate.rs
blob: a067736f63a248d5167006c42bc53dc6efcafc1f [
file
] [
log
] [
blame
] [
edit
]
use
std
::
ops
::
DerefMut
;
trait
Foo
{}
impl
<
T
:
DerefMut
>
Foo
for
T
{}
impl
<
U
>
Foo
for
&
U
{}
//~^ ERROR: conflicting implementations of trait `Foo` for type `&_` [E0119]
fn
main
()
{}