]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/typeck/typeck-default-trait-impl-cross-crate-coherence.stderr
Rollup merge of #100861 - RalfJung:const-ice, r=oli-obk
[rust.git] / src / test / ui / typeck / typeck-default-trait-impl-cross-crate-coherence.stderr
index cf5c15df7051cee43b705213b501dd19fdea6d8d..fc3778b796745283c6a11c7928efc1f232047b06 100644 (file)
@@ -26,7 +26,7 @@ error[E0321]: cross-crate traits with a default impl, like `DefaultedTrait`, can
 LL | impl DefaultedTrait for Box<C> { }
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait for type in another crate
 
-error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
+error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate
   --> $DIR/typeck-default-trait-impl-cross-crate-coherence.rs:22:1
    |
 LL | impl DefaultedTrait for lib::Something<C> { }