Skip to content

Commit

Permalink
Bless UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdittr committed Mar 3, 2025
1 parent 310f837 commit 6657aa9
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 54 deletions.
20 changes: 10 additions & 10 deletions tests/ui/abi/unsupported.aarch64.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ error: aborting due to 19 previous errors; 10 warnings emitted
For more information about this error, try `rustc --explain E0570`.
Future incompatibility report: Future breakage diagnostic:
warning: the calling convention "ptx-kernel" is not supported on this target
--> $DIR/unsupported.rs:36:15
--> $DIR/unsupported.rs:35:15
|
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -219,7 +219,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {

Future breakage diagnostic:
warning: the calling convention "aapcs" is not supported on this target
--> $DIR/unsupported.rs:52:17
--> $DIR/unsupported.rs:51:17
|
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -230,7 +230,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {

Future breakage diagnostic:
warning: the calling convention "msp430-interrupt" is not supported on this target
--> $DIR/unsupported.rs:74:18
--> $DIR/unsupported.rs:73:18
|
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -241,7 +241,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "avr-interrupt" is not supported on this target
--> $DIR/unsupported.rs:84:15
--> $DIR/unsupported.rs:83:15
|
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -252,7 +252,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "riscv-interrupt-m" is not supported on this target
--> $DIR/unsupported.rs:97:17
--> $DIR/unsupported.rs:96:17
|
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -263,7 +263,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {

Future breakage diagnostic:
warning: the calling convention "x86-interrupt" is not supported on this target
--> $DIR/unsupported.rs:119:15
--> $DIR/unsupported.rs:118:15
|
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -274,7 +274,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "thiscall" is not supported on this target
--> $DIR/unsupported.rs:142:20
--> $DIR/unsupported.rs:141:20
|
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -285,7 +285,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {

Future breakage diagnostic:
warning: the calling convention "stdcall" is not supported on this target
--> $DIR/unsupported.rs:168:19
--> $DIR/unsupported.rs:167:19
|
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -296,7 +296,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
--> $DIR/unsupported.rs:188:21
--> $DIR/unsupported.rs:187:21
|
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -307,7 +307,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
--> $DIR/unsupported.rs:196:22
--> $DIR/unsupported.rs:195:22
|
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
18 changes: 9 additions & 9 deletions tests/ui/abi/unsupported.arm.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ error: aborting due to 17 previous errors; 9 warnings emitted
For more information about this error, try `rustc --explain E0570`.
Future incompatibility report: Future breakage diagnostic:
warning: the calling convention "ptx-kernel" is not supported on this target
--> $DIR/unsupported.rs:36:15
--> $DIR/unsupported.rs:35:15
|
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -198,7 +198,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {

Future breakage diagnostic:
warning: the calling convention "msp430-interrupt" is not supported on this target
--> $DIR/unsupported.rs:74:18
--> $DIR/unsupported.rs:73:18
|
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -209,7 +209,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "avr-interrupt" is not supported on this target
--> $DIR/unsupported.rs:84:15
--> $DIR/unsupported.rs:83:15
|
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -220,7 +220,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "riscv-interrupt-m" is not supported on this target
--> $DIR/unsupported.rs:97:17
--> $DIR/unsupported.rs:96:17
|
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -231,7 +231,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {

Future breakage diagnostic:
warning: the calling convention "x86-interrupt" is not supported on this target
--> $DIR/unsupported.rs:119:15
--> $DIR/unsupported.rs:118:15
|
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -242,7 +242,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "thiscall" is not supported on this target
--> $DIR/unsupported.rs:142:20
--> $DIR/unsupported.rs:141:20
|
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -253,7 +253,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {

Future breakage diagnostic:
warning: the calling convention "stdcall" is not supported on this target
--> $DIR/unsupported.rs:168:19
--> $DIR/unsupported.rs:167:19
|
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -264,7 +264,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
--> $DIR/unsupported.rs:188:21
--> $DIR/unsupported.rs:187:21
|
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -275,7 +275,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
--> $DIR/unsupported.rs:196:22
--> $DIR/unsupported.rs:195:22
|
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
14 changes: 7 additions & 7 deletions tests/ui/abi/unsupported.i686.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ error: aborting due to 13 previous errors; 7 warnings emitted
For more information about this error, try `rustc --explain E0570`.
Future incompatibility report: Future breakage diagnostic:
warning: the calling convention "ptx-kernel" is not supported on this target
--> $DIR/unsupported.rs:36:15
--> $DIR/unsupported.rs:35:15
|
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -156,7 +156,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {

Future breakage diagnostic:
warning: the calling convention "aapcs" is not supported on this target
--> $DIR/unsupported.rs:52:17
--> $DIR/unsupported.rs:51:17
|
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -167,7 +167,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {

Future breakage diagnostic:
warning: the calling convention "msp430-interrupt" is not supported on this target
--> $DIR/unsupported.rs:74:18
--> $DIR/unsupported.rs:73:18
|
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -178,7 +178,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "avr-interrupt" is not supported on this target
--> $DIR/unsupported.rs:84:15
--> $DIR/unsupported.rs:83:15
|
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -189,7 +189,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "riscv-interrupt-m" is not supported on this target
--> $DIR/unsupported.rs:97:17
--> $DIR/unsupported.rs:96:17
|
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -200,7 +200,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
--> $DIR/unsupported.rs:188:21
--> $DIR/unsupported.rs:187:21
|
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -211,7 +211,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
--> $DIR/unsupported.rs:196:22
--> $DIR/unsupported.rs:195:22
|
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
18 changes: 9 additions & 9 deletions tests/ui/abi/unsupported.riscv32.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ error: aborting due to 17 previous errors; 9 warnings emitted
For more information about this error, try `rustc --explain E0570`.
Future incompatibility report: Future breakage diagnostic:
warning: the calling convention "ptx-kernel" is not supported on this target
--> $DIR/unsupported.rs:36:15
--> $DIR/unsupported.rs:35:15
|
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -198,7 +198,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {

Future breakage diagnostic:
warning: the calling convention "aapcs" is not supported on this target
--> $DIR/unsupported.rs:52:17
--> $DIR/unsupported.rs:51:17
|
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -209,7 +209,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {

Future breakage diagnostic:
warning: the calling convention "msp430-interrupt" is not supported on this target
--> $DIR/unsupported.rs:74:18
--> $DIR/unsupported.rs:73:18
|
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -220,7 +220,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "avr-interrupt" is not supported on this target
--> $DIR/unsupported.rs:84:15
--> $DIR/unsupported.rs:83:15
|
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -231,7 +231,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "x86-interrupt" is not supported on this target
--> $DIR/unsupported.rs:119:15
--> $DIR/unsupported.rs:118:15
|
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -242,7 +242,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "thiscall" is not supported on this target
--> $DIR/unsupported.rs:142:20
--> $DIR/unsupported.rs:141:20
|
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -253,7 +253,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {

Future breakage diagnostic:
warning: the calling convention "stdcall" is not supported on this target
--> $DIR/unsupported.rs:168:19
--> $DIR/unsupported.rs:167:19
|
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -264,7 +264,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
--> $DIR/unsupported.rs:188:21
--> $DIR/unsupported.rs:187:21
|
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -275,7 +275,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
--> $DIR/unsupported.rs:196:22
--> $DIR/unsupported.rs:195:22
|
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
18 changes: 9 additions & 9 deletions tests/ui/abi/unsupported.riscv64.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ error: aborting due to 17 previous errors; 9 warnings emitted
For more information about this error, try `rustc --explain E0570`.
Future incompatibility report: Future breakage diagnostic:
warning: the calling convention "ptx-kernel" is not supported on this target
--> $DIR/unsupported.rs:36:15
--> $DIR/unsupported.rs:35:15
|
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -198,7 +198,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {

Future breakage diagnostic:
warning: the calling convention "aapcs" is not supported on this target
--> $DIR/unsupported.rs:52:17
--> $DIR/unsupported.rs:51:17
|
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
| ^^^^^^^^^^^^^^^^^^^
Expand All @@ -209,7 +209,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {

Future breakage diagnostic:
warning: the calling convention "msp430-interrupt" is not supported on this target
--> $DIR/unsupported.rs:74:18
--> $DIR/unsupported.rs:73:18
|
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -220,7 +220,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "avr-interrupt" is not supported on this target
--> $DIR/unsupported.rs:84:15
--> $DIR/unsupported.rs:83:15
|
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -231,7 +231,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "x86-interrupt" is not supported on this target
--> $DIR/unsupported.rs:119:15
--> $DIR/unsupported.rs:118:15
|
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -242,7 +242,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {

Future breakage diagnostic:
warning: the calling convention "thiscall" is not supported on this target
--> $DIR/unsupported.rs:142:20
--> $DIR/unsupported.rs:141:20
|
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -253,7 +253,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {

Future breakage diagnostic:
warning: the calling convention "stdcall" is not supported on this target
--> $DIR/unsupported.rs:168:19
--> $DIR/unsupported.rs:167:19
|
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -264,7 +264,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
--> $DIR/unsupported.rs:188:21
--> $DIR/unsupported.rs:187:21
|
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -275,7 +275,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {

Future breakage diagnostic:
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
--> $DIR/unsupported.rs:196:22
--> $DIR/unsupported.rs:195:22
|
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading

0 comments on commit 6657aa9

Please sign in to comment.