about summary refs log tree commit diff
path: root/tests/ui/transmutability
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-03-09 22:08:48 +0000
committerMichael Goulet <michael@errs.io>2023-03-23 19:09:34 +0000
commit6c6bd014210aa4a5cd4a2bb5ab4cc7174e82d74b (patch)
treef936c5c8d0f168cccdaa8713ef81ad4a3acc40d6 /tests/ui/transmutability
parente55f73ae47dd3b508edaf8403ca26ca9dbb1097e (diff)
downloadrust-6c6bd014210aa4a5cd4a2bb5ab4cc7174e82d74b.tar.gz
rust-6c6bd014210aa4a5cd4a2bb5ab4cc7174e82d74b.zip
Note type mismatch on ConstArgHasType
Diffstat (limited to 'tests/ui/transmutability')
-rw-r--r--tests/ui/transmutability/issue-101739-1.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/transmutability/issue-101739-1.stderr b/tests/ui/transmutability/issue-101739-1.stderr
index f0fa93722b8..bf947d0ea4a 100644
--- a/tests/ui/transmutability/issue-101739-1.stderr
+++ b/tests/ui/transmutability/issue-101739-1.stderr
@@ -8,7 +8,7 @@ error: the constant `ASSUME_ALIGNMENT` is not of type `Assume`
   --> $DIR/issue-101739-1.rs:8:14
    |
 LL |         Dst: BikeshedIntrinsicFrom<Src, Context, ASSUME_ALIGNMENT>,
-   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Assume`, found `bool`
    |
 note: required by a bound in `BikeshedIntrinsicFrom`
   --> $SRC_DIR/core/src/mem/transmutability.rs:LL:COL