Skip to content

Commit

Permalink
tests: Bless rustc_abi::Abi::Aggregate => ::Memory
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Oct 30, 2024
1 parent 9bd64a1 commit e25916c
Show file tree
Hide file tree
Showing 27 changed files with 164 additions and 97 deletions.
6 changes: 3 additions & 3 deletions tests/ui/abi/c-zst.aarch64-darwin.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -58,7 +58,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/c-zst.powerpc-linux.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/c-zst.s390x-linux.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/c-zst.sparc64-linux.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/c-zst.x86_64-linux.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -58,7 +58,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/c-zst.x86_64-pc-windows-gnu.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
24 changes: 12 additions & 12 deletions tests/ui/abi/debug.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ error: fn_abi_of(test_generic) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -317,7 +317,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -387,7 +387,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -426,7 +426,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Array {
Expand Down Expand Up @@ -464,7 +464,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -497,7 +497,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Array {
Expand Down Expand Up @@ -535,7 +535,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -610,7 +610,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -680,7 +680,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -756,7 +756,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -826,7 +826,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -929,7 +929,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/abi/sysv64-zst.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/win64-zst.x86_64-linux.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -58,7 +58,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: X86_64Win64,
can_unwind: false,
}
--> $DIR/win64-zst.rs:11:1
--> $DIR/win64-zst.rs:24:1
|
LL | extern "win64" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/abi/win64-zst.x86_64-windows-gnu.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand Down Expand Up @@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
Expand All @@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: X86_64Win64,
can_unwind: false,
}
--> $DIR/win64-zst.rs:11:1
--> $DIR/win64-zst.rs:24:1
|
LL | extern "win64" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading

0 comments on commit e25916c

Please sign in to comment.