mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
9 lines
172 B
Rust
9 lines
172 B
Rust
trait Foo { }
|
|
|
|
impl<T: std::ops::DerefMut> Foo for T { }
|
|
|
|
impl<T> Foo for &T { }
|
|
//~^ ERROR conflicting implementations of trait `Foo` for type `&_` [E0119]
|
|
|
|
fn main() { }
|