summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/types-mismatch-const-args.full.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/const-generics/types-mismatch-const-args.full.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/const-generics/types-mismatch-const-args.full.stderr')
-rw-r--r--src/test/ui/const-generics/types-mismatch-const-args.full.stderr34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/test/ui/const-generics/types-mismatch-const-args.full.stderr b/src/test/ui/const-generics/types-mismatch-const-args.full.stderr
deleted file mode 100644
index b6a22df74..000000000
--- a/src/test/ui/const-generics/types-mismatch-const-args.full.stderr
+++ /dev/null
@@ -1,34 +0,0 @@
-error[E0308]: mismatched types
- --> $DIR/types-mismatch-const-args.rs:14:41
- |
-LL | let _: A<'a, u32, {2u32}, {3u32}> = A::<'a, u32, {2u32 + 2u32}, {3u32}> { data: PhantomData };
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `2`, found `4`
- |
- = note: expected constant `2`
- found constant `4`
-
-error[E0308]: mismatched types
- --> $DIR/types-mismatch-const-args.rs:16:41
- |
-LL | let _: A<'a, u16, {2u32}, {3u32}> = A::<'b, u32, {2u32}, {3u32}> { data: PhantomData };
- | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u32`
- | |
- | expected due to this
- |
- = note: expected struct `A<'a, u16, _, _>`
- found struct `A<'b, u32, _, _>`
-
-error[E0308]: mismatched types
- --> $DIR/types-mismatch-const-args.rs:18:41
- |
-LL | let _: A<'a, u16, {4u32}, {3u32}> = A::<'b, u32, {2u32}, {3u32}> { data: PhantomData };
- | -------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u32`
- | |
- | expected due to this
- |
- = note: expected struct `A<'a, u16, 4, _>`
- found struct `A<'b, u32, 2, _>`
-
-error: aborting due to 3 previous errors
-
-For more information about this error, try `rustc --explain E0308`.