Skip to content

Commit 65f132f

Browse files
committedSep 19, 2024
Bless rustc_abi::obj_size_bound tests
1 parent f4cb6ef commit 65f132f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎tests/ui/const-generics/issue-112505-overflow.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
44
LL | unsafe { std::mem::transmute(v) }
55
| ^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: source type: `[[[u32; 8888888]; 9999999]; 777777777]` (values of the type `[[u32; 8888888]; 9999999]` are too big for the current architecture)
8-
= note: target type: `[[[u32; 9999999]; 777777777]; 239]` (values of the type `[[u32; 9999999]; 777777777]` are too big for the current architecture)
7+
= note: source type: `[[[u32; 8888888]; 9999999]; 777777777]` (values of the type `[[[u32; 8888888]; 9999999]; 777777777]` are too big for the current architecture)
8+
= note: target type: `[[[u32; 9999999]; 777777777]; 239]` (values of the type `[[[u32; 9999999]; 777777777]; 239]` are too big for the current architecture)
99

1010
error: aborting due to 1 previous error
1111

‎tests/ui/const-generics/transmute-fail.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ error[E0512]: cannot transmute between types of different sizes, or dependently-
3434
LL | std::mem::transmute(v)
3535
| ^^^^^^^^^^^^^^^^^^^
3636
|
37-
= note: source type: `[[[u32; 8888888]; 9999999]; 777777777]` (values of the type `[[u32; 8888888]; 9999999]` are too big for the current architecture)
38-
= note: target type: `[[[u32; 9999999]; 777777777]; 8888888]` (values of the type `[[u32; 9999999]; 777777777]` are too big for the current architecture)
37+
= note: source type: `[[[u32; 8888888]; 9999999]; 777777777]` (values of the type `[[[u32; 8888888]; 9999999]; 777777777]` are too big for the current architecture)
38+
= note: target type: `[[[u32; 9999999]; 777777777]; 8888888]` (values of the type `[[[u32; 9999999]; 777777777]; 8888888]` are too big for the current architecture)
3939

4040
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
4141
--> $DIR/transmute-fail.rs:36:9

‎tests/ui/limits/huge-struct.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: values of the type `SXX<SXX<SXX<u32>>>` are too big for the current architecture
1+
error: values of the type `SXX<SXX<S1k<SXX<SXX<u32>>>>>` are too big for the current architecture
22
--> $DIR/huge-struct.rs:46:9
33
|
44
LL | let fat: Option<SXX<SXX<SXX<u32>>>> = None;

0 commit comments

Comments
 (0)
Please sign in to comment.