about summary refs log tree commit diff
path: root/src/test/ui/transmutability/primitives/bool.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/transmutability/primitives/bool.stderr')
-rw-r--r--src/test/ui/transmutability/primitives/bool.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/ui/transmutability/primitives/bool.stderr b/src/test/ui/transmutability/primitives/bool.stderr
index f05bb433ec8..dc740251c87 100644
--- a/src/test/ui/transmutability/primitives/bool.stderr
+++ b/src/test/ui/transmutability/primitives/bool.stderr
@@ -1,9 +1,10 @@
-error[E0277]: the trait bound `bool: BikeshedIntrinsicFrom<u8, assert::Context, false, false, false, true>` is not satisfied
+error[E0277]: `u8` cannot be safely transmuted into `bool` in the defining scope of `assert::Context`.
   --> $DIR/bool.rs:22:35
    |
 LL |     assert::is_transmutable::<u8, bool>();
-   |                                   ^^^^ the trait `BikeshedIntrinsicFrom<u8, assert::Context, false, false, false, true>` is not implemented for `bool`
+   |                                   ^^^^ `u8` cannot be safely transmuted into `bool` in the defining scope of `assert::Context`.
    |
+   = help: the trait `BikeshedIntrinsicFrom<u8, assert::Context, false, false, false, true>` is not implemented for `bool`
 note: required by a bound in `is_transmutable`
   --> $DIR/bool.rs:12:14
    |