diff options
Diffstat (limited to 'src/test/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.stderr')
-rw-r--r-- | src/test/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.stderr b/src/test/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.stderr new file mode 100644 index 000000000..c25c43692 --- /dev/null +++ b/src/test/ui/coherence/coherence-blanket-conflicts-with-specific-cross-crate.stderr @@ -0,0 +1,13 @@ +error[E0119]: conflicting implementations of trait `go_trait::GoMut` for type `MyThingy` + --> $DIR/coherence-blanket-conflicts-with-specific-cross-crate.rs:15:1 + | +LL | impl GoMut for MyThingy { + | ^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: conflicting implementation in crate `go_trait`: + - impl<G> GoMut for G + where G: Go; + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0119`. |