]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.rs
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / coherence / coherence-blanket-conflicts-with-specific-cross-crate.rs
1 // aux-build:go_trait.rs
2
3 extern crate go_trait;
4
5 use go_trait::{Go,GoMut};
6 use std::fmt::Debug;
7 use std::default::Default;
8
9 struct MyThingy;
10
11 impl Go for MyThingy {
12     fn go(&self, arg: isize) { }
13 }
14
15 impl GoMut for MyThingy {
16 //~^ ERROR E0119
17     fn go_mut(&mut self, arg: isize) { }
18 }
19
20 fn main() { }