]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / 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() { }