summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/types-mismatch-const-args.full.stderr
diff options
context:
space:
mode:
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`.