Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4e4fa2a

Browse files
committedFeb 5, 2025·
tests: error strings for ABI stability now match
1 parent ba5e201 commit 4e4fa2a

24 files changed

+140
-140
lines changed
 

‎tests/ui/feature-gates/feature-gate-abi-avr-interrupt.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,43 @@ trait Sized { }
99
// feature gate is not used.
1010

1111
extern "avr-non-blocking-interrupt" fn fu() {}
12-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
12+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental
1313
extern "avr-interrupt" fn f() {}
14-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
14+
//~^ ERROR avr-interrupt ABI is experimental
1515

1616
trait T {
1717
extern "avr-interrupt" fn m();
18-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
18+
//~^ ERROR avr-interrupt ABI is experimental
1919
extern "avr-non-blocking-interrupt" fn mu();
20-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
20+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental
2121

2222
extern "avr-interrupt" fn dm() {}
23-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
23+
//~^ ERROR avr-interrupt ABI is experimental
2424
extern "avr-non-blocking-interrupt" fn dmu() {}
25-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
25+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental
2626
}
2727

2828
struct S;
2929
impl T for S {
3030
extern "avr-interrupt" fn m() {}
31-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
31+
//~^ ERROR avr-interrupt ABI is experimental
3232
extern "avr-non-blocking-interrupt" fn mu() {}
33-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
33+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental
3434
}
3535

3636
impl S {
3737
extern "avr-interrupt" fn im() {}
38-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
38+
//~^ ERROR avr-interrupt ABI is experimental
3939
extern "avr-non-blocking-interrupt" fn imu() {}
40-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
40+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental
4141
}
4242

4343
type TA = extern "avr-interrupt" fn();
44-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
44+
//~^ ERROR avr-interrupt ABI is experimental
4545
type TAU = extern "avr-non-blocking-interrupt" fn();
46-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
46+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental
4747

4848
extern "avr-interrupt" {}
49-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
49+
//~^ ERROR avr-interrupt ABI is experimental
5050
extern "avr-non-blocking-interrupt" {}
51-
//~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
51+
//~^ ERROR avr-non-blocking-interrupt ABI is experimental

‎tests/ui/feature-gates/feature-gate-abi-avr-interrupt.stderr

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
1+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
22
--> $DIR/feature-gate-abi-avr-interrupt.rs:11:8
33
|
44
LL | extern "avr-non-blocking-interrupt" fn fu() {}
@@ -8,7 +8,7 @@ LL | extern "avr-non-blocking-interrupt" fn fu() {}
88
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

11-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
11+
error[E0658]: avr-interrupt ABI is experimental and subject to change
1212
--> $DIR/feature-gate-abi-avr-interrupt.rs:13:8
1313
|
1414
LL | extern "avr-interrupt" fn f() {}
@@ -18,7 +18,7 @@ LL | extern "avr-interrupt" fn f() {}
1818
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
21+
error[E0658]: avr-interrupt ABI is experimental and subject to change
2222
--> $DIR/feature-gate-abi-avr-interrupt.rs:17:12
2323
|
2424
LL | extern "avr-interrupt" fn m();
@@ -28,7 +28,7 @@ LL | extern "avr-interrupt" fn m();
2828
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

31-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
31+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
3232
--> $DIR/feature-gate-abi-avr-interrupt.rs:19:12
3333
|
3434
LL | extern "avr-non-blocking-interrupt" fn mu();
@@ -38,7 +38,7 @@ LL | extern "avr-non-blocking-interrupt" fn mu();
3838
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
3939
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040

41-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
41+
error[E0658]: avr-interrupt ABI is experimental and subject to change
4242
--> $DIR/feature-gate-abi-avr-interrupt.rs:22:12
4343
|
4444
LL | extern "avr-interrupt" fn dm() {}
@@ -48,7 +48,7 @@ LL | extern "avr-interrupt" fn dm() {}
4848
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
4949
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050

51-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
51+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
5252
--> $DIR/feature-gate-abi-avr-interrupt.rs:24:12
5353
|
5454
LL | extern "avr-non-blocking-interrupt" fn dmu() {}
@@ -58,7 +58,7 @@ LL | extern "avr-non-blocking-interrupt" fn dmu() {}
5858
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
5959
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6060

61-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
61+
error[E0658]: avr-interrupt ABI is experimental and subject to change
6262
--> $DIR/feature-gate-abi-avr-interrupt.rs:30:12
6363
|
6464
LL | extern "avr-interrupt" fn m() {}
@@ -68,7 +68,7 @@ LL | extern "avr-interrupt" fn m() {}
6868
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
6969
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
7070

71-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
71+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
7272
--> $DIR/feature-gate-abi-avr-interrupt.rs:32:12
7373
|
7474
LL | extern "avr-non-blocking-interrupt" fn mu() {}
@@ -78,7 +78,7 @@ LL | extern "avr-non-blocking-interrupt" fn mu() {}
7878
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
7979
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
8080

81-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
81+
error[E0658]: avr-interrupt ABI is experimental and subject to change
8282
--> $DIR/feature-gate-abi-avr-interrupt.rs:37:12
8383
|
8484
LL | extern "avr-interrupt" fn im() {}
@@ -88,7 +88,7 @@ LL | extern "avr-interrupt" fn im() {}
8888
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
8989
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
9090

91-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
91+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
9292
--> $DIR/feature-gate-abi-avr-interrupt.rs:39:12
9393
|
9494
LL | extern "avr-non-blocking-interrupt" fn imu() {}
@@ -98,7 +98,7 @@ LL | extern "avr-non-blocking-interrupt" fn imu() {}
9898
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
9999
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
100100

101-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
101+
error[E0658]: avr-interrupt ABI is experimental and subject to change
102102
--> $DIR/feature-gate-abi-avr-interrupt.rs:43:18
103103
|
104104
LL | type TA = extern "avr-interrupt" fn();
@@ -108,7 +108,7 @@ LL | type TA = extern "avr-interrupt" fn();
108108
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
109109
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
110110

111-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
111+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
112112
--> $DIR/feature-gate-abi-avr-interrupt.rs:45:19
113113
|
114114
LL | type TAU = extern "avr-non-blocking-interrupt" fn();
@@ -118,7 +118,7 @@ LL | type TAU = extern "avr-non-blocking-interrupt" fn();
118118
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
119119
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
120120

121-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
121+
error[E0658]: avr-interrupt ABI is experimental and subject to change
122122
--> $DIR/feature-gate-abi-avr-interrupt.rs:48:8
123123
|
124124
LL | extern "avr-interrupt" {}
@@ -128,7 +128,7 @@ LL | extern "avr-interrupt" {}
128128
= help: add `#![feature(abi_avr_interrupt)]` to the crate attributes to enable
129129
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
130130

131-
error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to change
131+
error[E0658]: avr-non-blocking-interrupt ABI is experimental and subject to change
132132
--> $DIR/feature-gate-abi-avr-interrupt.rs:50:8
133133
|
134134
LL | extern "avr-non-blocking-interrupt" {}

‎tests/ui/feature-gates/feature-gate-abi-riscv-interrupt.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ trait Sized {}
99
// feature gate is not used.
1010

1111
extern "riscv-interrupt-m" fn f() {}
12-
//~^ ERROR riscv-interrupt ABIs are experimental
12+
//~^ ERROR riscv-interrupt-m ABI is experimental
1313
extern "riscv-interrupt-s" fn f_s() {}
14-
//~^ ERROR riscv-interrupt ABIs are experimental
14+
//~^ ERROR riscv-interrupt-s ABI is experimental
1515

1616
trait T {
1717
extern "riscv-interrupt-m" fn m();
18-
//~^ ERROR riscv-interrupt ABIs are experimental
18+
//~^ ERROR riscv-interrupt-m ABI is experimental
1919
}
2020

2121
struct S;
2222
impl T for S {
2323
extern "riscv-interrupt-m" fn m() {}
24-
//~^ ERROR riscv-interrupt ABIs are experimental
24+
//~^ ERROR riscv-interrupt-m ABI is experimental
2525
}
2626

2727
impl S {
2828
extern "riscv-interrupt-m" fn im() {}
29-
//~^ ERROR riscv-interrupt ABIs are experimental
29+
//~^ ERROR riscv-interrupt-m ABI is experimental
3030
}
3131

3232
type TA = extern "riscv-interrupt-m" fn();
33-
//~^ ERROR riscv-interrupt ABIs are experimental
33+
//~^ ERROR riscv-interrupt-m ABI is experimental

‎tests/ui/feature-gates/feature-gate-abi-riscv-interrupt.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: riscv-interrupt ABIs are experimental and subject to change
1+
error[E0658]: riscv-interrupt-m ABI is experimental and subject to change
22
--> $DIR/feature-gate-abi-riscv-interrupt.rs:11:8
33
|
44
LL | extern "riscv-interrupt-m" fn f() {}
@@ -8,7 +8,7 @@ LL | extern "riscv-interrupt-m" fn f() {}
88
= help: add `#![feature(abi_riscv_interrupt)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

11-
error[E0658]: riscv-interrupt ABIs are experimental and subject to change
11+
error[E0658]: riscv-interrupt-s ABI is experimental and subject to change
1212
--> $DIR/feature-gate-abi-riscv-interrupt.rs:13:8
1313
|
1414
LL | extern "riscv-interrupt-s" fn f_s() {}
@@ -18,7 +18,7 @@ LL | extern "riscv-interrupt-s" fn f_s() {}
1818
= help: add `#![feature(abi_riscv_interrupt)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21-
error[E0658]: riscv-interrupt ABIs are experimental and subject to change
21+
error[E0658]: riscv-interrupt-m ABI is experimental and subject to change
2222
--> $DIR/feature-gate-abi-riscv-interrupt.rs:17:12
2323
|
2424
LL | extern "riscv-interrupt-m" fn m();
@@ -28,7 +28,7 @@ LL | extern "riscv-interrupt-m" fn m();
2828
= help: add `#![feature(abi_riscv_interrupt)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

31-
error[E0658]: riscv-interrupt ABIs are experimental and subject to change
31+
error[E0658]: riscv-interrupt-m ABI is experimental and subject to change
3232
--> $DIR/feature-gate-abi-riscv-interrupt.rs:23:12
3333
|
3434
LL | extern "riscv-interrupt-m" fn m() {}
@@ -38,7 +38,7 @@ LL | extern "riscv-interrupt-m" fn m() {}
3838
= help: add `#![feature(abi_riscv_interrupt)]` to the crate attributes to enable
3939
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040

41-
error[E0658]: riscv-interrupt ABIs are experimental and subject to change
41+
error[E0658]: riscv-interrupt-m ABI is experimental and subject to change
4242
--> $DIR/feature-gate-abi-riscv-interrupt.rs:28:12
4343
|
4444
LL | extern "riscv-interrupt-m" fn im() {}
@@ -48,7 +48,7 @@ LL | extern "riscv-interrupt-m" fn im() {}
4848
= help: add `#![feature(abi_riscv_interrupt)]` to the crate attributes to enable
4949
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050

51-
error[E0658]: riscv-interrupt ABIs are experimental and subject to change
51+
error[E0658]: riscv-interrupt-m ABI is experimental and subject to change
5252
--> $DIR/feature-gate-abi-riscv-interrupt.rs:32:18
5353
|
5454
LL | type TA = extern "riscv-interrupt-m" fn();

‎tests/ui/feature-gates/feature-gate-abi.rs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,49 +11,49 @@ trait Sized { }
1111
trait Tuple { }
1212

1313
// Functions
14-
extern "rust-intrinsic" fn f1() {} //~ ERROR intrinsics are subject to change
14+
extern "rust-intrinsic" fn f1() {} //~ ERROR rust-intrinsic ABI is an implementation detail
1515
//~^ ERROR intrinsic must be in
16-
extern "rust-intrinsic" fn f2() {} //~ ERROR intrinsics are subject to change
16+
extern "rust-intrinsic" fn f2() {} //~ ERROR rust-intrinsic ABI is an implementation detail
1717
//~^ ERROR intrinsic must be in
18-
extern "rust-call" fn f4(_: ()) {} //~ ERROR rust-call ABI is subject to change
18+
extern "rust-call" fn f4(_: ()) {} //~ ERROR rust-call ABI is experimental and subject to change
1919

2020
// Methods in trait definition
2121
trait Tr {
22-
extern "rust-intrinsic" fn m1(); //~ ERROR intrinsics are subject to change
22+
extern "rust-intrinsic" fn m1(); //~ ERROR rust-intrinsic ABI is an implementation detail
2323
//~^ ERROR intrinsic must be in
24-
extern "rust-intrinsic" fn m2(); //~ ERROR intrinsics are subject to change
24+
extern "rust-intrinsic" fn m2(); //~ ERROR rust-intrinsic ABI is an implementation detail
2525
//~^ ERROR intrinsic must be in
26-
extern "rust-call" fn m4(_: ()); //~ ERROR rust-call ABI is subject to change
26+
extern "rust-call" fn m4(_: ()); //~ ERROR rust-call ABI is experimental and subject to change
2727

28-
extern "rust-call" fn dm4(_: ()) {} //~ ERROR rust-call ABI is subject to change
28+
extern "rust-call" fn dm4(_: ()) {} //~ ERROR rust-call ABI is experimental and subject to change
2929
}
3030

3131
struct S;
3232

3333
// Methods in trait impl
3434
impl Tr for S {
35-
extern "rust-intrinsic" fn m1() {} //~ ERROR intrinsics are subject to change
35+
extern "rust-intrinsic" fn m1() {} //~ ERROR rust-intrinsic ABI is an implementation detail
3636
//~^ ERROR intrinsic must be in
37-
extern "rust-intrinsic" fn m2() {} //~ ERROR intrinsics are subject to change
37+
extern "rust-intrinsic" fn m2() {} //~ ERROR rust-intrinsic ABI is an implementation detail
3838
//~^ ERROR intrinsic must be in
39-
extern "rust-call" fn m4(_: ()) {} //~ ERROR rust-call ABI is subject to change
39+
extern "rust-call" fn m4(_: ()) {} //~ ERROR rust-call ABI is experimental and subject to change
4040
}
4141

4242
// Methods in inherent impl
4343
impl S {
44-
extern "rust-intrinsic" fn im1() {} //~ ERROR intrinsics are subject to change
44+
extern "rust-intrinsic" fn im1() {} //~ ERROR rust-intrinsic ABI is an implementation detail
4545
//~^ ERROR intrinsic must be in
46-
extern "rust-intrinsic" fn im2() {} //~ ERROR intrinsics are subject to change
46+
extern "rust-intrinsic" fn im2() {} //~ ERROR rust-intrinsic ABI is an implementation detail
4747
//~^ ERROR intrinsic must be in
48-
extern "rust-call" fn im4(_: ()) {} //~ ERROR rust-call ABI is subject to change
48+
extern "rust-call" fn im4(_: ()) {} //~ ERROR rust-call ABI is experimental and subject to change
4949
}
5050

5151
// Function pointer types
52-
type A1 = extern "rust-intrinsic" fn(); //~ ERROR intrinsics are subject to change
53-
type A2 = extern "rust-intrinsic" fn(); //~ ERROR intrinsics are subject to change
54-
type A4 = extern "rust-call" fn(_: ()); //~ ERROR rust-call ABI is subject to change
52+
type A1 = extern "rust-intrinsic" fn(); //~ ERROR rust-intrinsic ABI is an implementation detail
53+
type A2 = extern "rust-intrinsic" fn(); //~ ERROR rust-intrinsic ABI is an implementation detail
54+
type A4 = extern "rust-call" fn(_: ()); //~ ERROR rust-call ABI is experimental and subject to change
5555

5656
// Foreign modules
57-
extern "rust-intrinsic" {} //~ ERROR intrinsics are subject to change
58-
extern "rust-intrinsic" {} //~ ERROR intrinsics are subject to change
59-
extern "rust-call" {} //~ ERROR rust-call ABI is subject to change
57+
extern "rust-intrinsic" {} //~ ERROR rust-intrinsic ABI is an implementation detail
58+
extern "rust-intrinsic" {} //~ ERROR rust-intrinsic ABI is an implementation detail
59+
extern "rust-call" {} //~ ERROR rust-call ABI is experimental and subject to change

‎tests/ui/feature-gates/feature-gate-abi.stderr

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: intrinsics are subject to change
1+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
22
--> $DIR/feature-gate-abi.rs:14:8
33
|
44
LL | extern "rust-intrinsic" fn f1() {}
@@ -7,7 +7,7 @@ LL | extern "rust-intrinsic" fn f1() {}
77
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
88
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
99

10-
error[E0658]: intrinsics are subject to change
10+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
1111
--> $DIR/feature-gate-abi.rs:16:8
1212
|
1313
LL | extern "rust-intrinsic" fn f2() {}
@@ -16,7 +16,7 @@ LL | extern "rust-intrinsic" fn f2() {}
1616
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
1717
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1818

19-
error[E0658]: rust-call ABI is subject to change
19+
error[E0658]: rust-call ABI is experimental and subject to change
2020
--> $DIR/feature-gate-abi.rs:18:8
2121
|
2222
LL | extern "rust-call" fn f4(_: ()) {}
@@ -26,7 +26,7 @@ LL | extern "rust-call" fn f4(_: ()) {}
2626
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
2727
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2828

29-
error[E0658]: intrinsics are subject to change
29+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
3030
--> $DIR/feature-gate-abi.rs:22:12
3131
|
3232
LL | extern "rust-intrinsic" fn m1();
@@ -35,7 +35,7 @@ LL | extern "rust-intrinsic" fn m1();
3535
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
3636
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3737

38-
error[E0658]: intrinsics are subject to change
38+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
3939
--> $DIR/feature-gate-abi.rs:24:12
4040
|
4141
LL | extern "rust-intrinsic" fn m2();
@@ -44,7 +44,7 @@ LL | extern "rust-intrinsic" fn m2();
4444
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
4545
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4646

47-
error[E0658]: rust-call ABI is subject to change
47+
error[E0658]: rust-call ABI is experimental and subject to change
4848
--> $DIR/feature-gate-abi.rs:26:12
4949
|
5050
LL | extern "rust-call" fn m4(_: ());
@@ -54,7 +54,7 @@ LL | extern "rust-call" fn m4(_: ());
5454
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
5555
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5656

57-
error[E0658]: rust-call ABI is subject to change
57+
error[E0658]: rust-call ABI is experimental and subject to change
5858
--> $DIR/feature-gate-abi.rs:28:12
5959
|
6060
LL | extern "rust-call" fn dm4(_: ()) {}
@@ -64,7 +64,7 @@ LL | extern "rust-call" fn dm4(_: ()) {}
6464
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
6565
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6666

67-
error[E0658]: intrinsics are subject to change
67+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
6868
--> $DIR/feature-gate-abi.rs:35:12
6969
|
7070
LL | extern "rust-intrinsic" fn m1() {}
@@ -73,7 +73,7 @@ LL | extern "rust-intrinsic" fn m1() {}
7373
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
7474
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
7575

76-
error[E0658]: intrinsics are subject to change
76+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
7777
--> $DIR/feature-gate-abi.rs:37:12
7878
|
7979
LL | extern "rust-intrinsic" fn m2() {}
@@ -82,7 +82,7 @@ LL | extern "rust-intrinsic" fn m2() {}
8282
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
8383
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
8484

85-
error[E0658]: rust-call ABI is subject to change
85+
error[E0658]: rust-call ABI is experimental and subject to change
8686
--> $DIR/feature-gate-abi.rs:39:12
8787
|
8888
LL | extern "rust-call" fn m4(_: ()) {}
@@ -92,7 +92,7 @@ LL | extern "rust-call" fn m4(_: ()) {}
9292
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
9393
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
9494

95-
error[E0658]: intrinsics are subject to change
95+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
9696
--> $DIR/feature-gate-abi.rs:44:12
9797
|
9898
LL | extern "rust-intrinsic" fn im1() {}
@@ -101,7 +101,7 @@ LL | extern "rust-intrinsic" fn im1() {}
101101
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
102102
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
103103

104-
error[E0658]: intrinsics are subject to change
104+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
105105
--> $DIR/feature-gate-abi.rs:46:12
106106
|
107107
LL | extern "rust-intrinsic" fn im2() {}
@@ -110,7 +110,7 @@ LL | extern "rust-intrinsic" fn im2() {}
110110
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
111111
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
112112

113-
error[E0658]: rust-call ABI is subject to change
113+
error[E0658]: rust-call ABI is experimental and subject to change
114114
--> $DIR/feature-gate-abi.rs:48:12
115115
|
116116
LL | extern "rust-call" fn im4(_: ()) {}
@@ -120,7 +120,7 @@ LL | extern "rust-call" fn im4(_: ()) {}
120120
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
121121
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
122122

123-
error[E0658]: intrinsics are subject to change
123+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
124124
--> $DIR/feature-gate-abi.rs:52:18
125125
|
126126
LL | type A1 = extern "rust-intrinsic" fn();
@@ -129,7 +129,7 @@ LL | type A1 = extern "rust-intrinsic" fn();
129129
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
130130
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
131131

132-
error[E0658]: intrinsics are subject to change
132+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
133133
--> $DIR/feature-gate-abi.rs:53:18
134134
|
135135
LL | type A2 = extern "rust-intrinsic" fn();
@@ -138,7 +138,7 @@ LL | type A2 = extern "rust-intrinsic" fn();
138138
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
139139
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
140140

141-
error[E0658]: rust-call ABI is subject to change
141+
error[E0658]: rust-call ABI is experimental and subject to change
142142
--> $DIR/feature-gate-abi.rs:54:18
143143
|
144144
LL | type A4 = extern "rust-call" fn(_: ());
@@ -148,7 +148,7 @@ LL | type A4 = extern "rust-call" fn(_: ());
148148
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
149149
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
150150

151-
error[E0658]: intrinsics are subject to change
151+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
152152
--> $DIR/feature-gate-abi.rs:57:8
153153
|
154154
LL | extern "rust-intrinsic" {}
@@ -157,7 +157,7 @@ LL | extern "rust-intrinsic" {}
157157
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
158158
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
159159

160-
error[E0658]: intrinsics are subject to change
160+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
161161
--> $DIR/feature-gate-abi.rs:58:8
162162
|
163163
LL | extern "rust-intrinsic" {}
@@ -166,7 +166,7 @@ LL | extern "rust-intrinsic" {}
166166
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
167167
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
168168

169-
error[E0658]: rust-call ABI is subject to change
169+
error[E0658]: rust-call ABI is experimental and subject to change
170170
--> $DIR/feature-gate-abi.rs:59:8
171171
|
172172
LL | extern "rust-call" {}

‎tests/ui/feature-gates/feature-gate-abi_ptx.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
#[lang="sized"]
66
trait Sized { }
77

8-
extern "ptx-kernel" fn fu() {} //~ ERROR PTX ABIs are experimental
8+
extern "ptx-kernel" fn fu() {} //~ ERROR ptx-kernel ABI is experimental
99

1010
trait T {
11-
extern "ptx-kernel" fn mu(); //~ ERROR PTX ABIs are experimental
12-
extern "ptx-kernel" fn dmu() {} //~ ERROR PTX ABIs are experimental
11+
extern "ptx-kernel" fn mu(); //~ ERROR ptx-kernel ABI is experimental
12+
extern "ptx-kernel" fn dmu() {} //~ ERROR ptx-kernel ABI is experimental
1313
}
1414

1515
struct S;
1616
impl T for S {
17-
extern "ptx-kernel" fn mu() {} //~ ERROR PTX ABIs are experimental
17+
extern "ptx-kernel" fn mu() {} //~ ERROR ptx-kernel ABI is experimental
1818
}
1919

2020
impl S {
21-
extern "ptx-kernel" fn imu() {} //~ ERROR PTX ABIs are experimental
21+
extern "ptx-kernel" fn imu() {} //~ ERROR ptx-kernel ABI is experimental
2222
}
2323

24-
type TAU = extern "ptx-kernel" fn(); //~ ERROR PTX ABIs are experimental
24+
type TAU = extern "ptx-kernel" fn(); //~ ERROR ptx-kernel ABI is experimental
2525

26-
extern "ptx-kernel" {} //~ ERROR PTX ABIs are experimental
26+
extern "ptx-kernel" {} //~ ERROR ptx-kernel ABI is experimental

‎tests/ui/feature-gates/feature-gate-abi_ptx.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: PTX ABIs are experimental and subject to change
1+
error[E0658]: ptx-kernel ABI is experimental and subject to change
22
--> $DIR/feature-gate-abi_ptx.rs:8:8
33
|
44
LL | extern "ptx-kernel" fn fu() {}
@@ -8,7 +8,7 @@ LL | extern "ptx-kernel" fn fu() {}
88
= help: add `#![feature(abi_ptx)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

11-
error[E0658]: PTX ABIs are experimental and subject to change
11+
error[E0658]: ptx-kernel ABI is experimental and subject to change
1212
--> $DIR/feature-gate-abi_ptx.rs:11:12
1313
|
1414
LL | extern "ptx-kernel" fn mu();
@@ -18,7 +18,7 @@ LL | extern "ptx-kernel" fn mu();
1818
= help: add `#![feature(abi_ptx)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21-
error[E0658]: PTX ABIs are experimental and subject to change
21+
error[E0658]: ptx-kernel ABI is experimental and subject to change
2222
--> $DIR/feature-gate-abi_ptx.rs:12:12
2323
|
2424
LL | extern "ptx-kernel" fn dmu() {}
@@ -28,7 +28,7 @@ LL | extern "ptx-kernel" fn dmu() {}
2828
= help: add `#![feature(abi_ptx)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

31-
error[E0658]: PTX ABIs are experimental and subject to change
31+
error[E0658]: ptx-kernel ABI is experimental and subject to change
3232
--> $DIR/feature-gate-abi_ptx.rs:17:12
3333
|
3434
LL | extern "ptx-kernel" fn mu() {}
@@ -38,7 +38,7 @@ LL | extern "ptx-kernel" fn mu() {}
3838
= help: add `#![feature(abi_ptx)]` to the crate attributes to enable
3939
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040

41-
error[E0658]: PTX ABIs are experimental and subject to change
41+
error[E0658]: ptx-kernel ABI is experimental and subject to change
4242
--> $DIR/feature-gate-abi_ptx.rs:21:12
4343
|
4444
LL | extern "ptx-kernel" fn imu() {}
@@ -48,7 +48,7 @@ LL | extern "ptx-kernel" fn imu() {}
4848
= help: add `#![feature(abi_ptx)]` to the crate attributes to enable
4949
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050

51-
error[E0658]: PTX ABIs are experimental and subject to change
51+
error[E0658]: ptx-kernel ABI is experimental and subject to change
5252
--> $DIR/feature-gate-abi_ptx.rs:24:19
5353
|
5454
LL | type TAU = extern "ptx-kernel" fn();
@@ -58,7 +58,7 @@ LL | type TAU = extern "ptx-kernel" fn();
5858
= help: add `#![feature(abi_ptx)]` to the crate attributes to enable
5959
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6060

61-
error[E0658]: PTX ABIs are experimental and subject to change
61+
error[E0658]: ptx-kernel ABI is experimental and subject to change
6262
--> $DIR/feature-gate-abi_ptx.rs:26:8
6363
|
6464
LL | extern "ptx-kernel" {}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
extern "rust-intrinsic" { //~ ERROR intrinsics are subject to change
1+
extern "rust-intrinsic" { //~ ERROR rust-intrinsic ABI is an implementation detail
22
fn bar(); //~ ERROR unrecognized intrinsic function: `bar`
33
}
44

5-
extern "rust-intrinsic" fn baz() {} //~ ERROR intrinsics are subject to change
5+
extern "rust-intrinsic" fn baz() {} //~ ERROR rust-intrinsic ABI is an implementation detail
66
//~^ ERROR intrinsic must be in
77

88
fn main() {}

‎tests/ui/feature-gates/feature-gate-intrinsics.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: intrinsics are subject to change
1+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
22
--> $DIR/feature-gate-intrinsics.rs:1:8
33
|
44
LL | extern "rust-intrinsic" {
@@ -7,7 +7,7 @@ LL | extern "rust-intrinsic" {
77
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
88
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
99

10-
error[E0658]: intrinsics are subject to change
10+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
1111
--> $DIR/feature-gate-intrinsics.rs:5:8
1212
|
1313
LL | extern "rust-intrinsic" fn baz() {}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
#![crate_type = "lib"]
22

3-
extern "rust-cold" fn fu() {} //~ ERROR rust-cold is experimental
3+
extern "rust-cold" fn fu() {} //~ ERROR rust-cold ABI is experimental
44

55
trait T {
6-
extern "rust-cold" fn mu(); //~ ERROR rust-cold is experimental
7-
extern "rust-cold" fn dmu() {} //~ ERROR rust-cold is experimental
6+
extern "rust-cold" fn mu(); //~ ERROR rust-cold ABI is experimental
7+
extern "rust-cold" fn dmu() {} //~ ERROR rust-cold ABI is experimental
88
}
99

1010
struct S;
1111
impl T for S {
12-
extern "rust-cold" fn mu() {} //~ ERROR rust-cold is experimental
12+
extern "rust-cold" fn mu() {} //~ ERROR rust-cold ABI is experimental
1313
}
1414

1515
impl S {
16-
extern "rust-cold" fn imu() {} //~ ERROR rust-cold is experimental
16+
extern "rust-cold" fn imu() {} //~ ERROR rust-cold ABI is experimental
1717
}
1818

19-
type TAU = extern "rust-cold" fn(); //~ ERROR rust-cold is experimental
19+
type TAU = extern "rust-cold" fn(); //~ ERROR rust-cold ABI is experimental
2020

21-
extern "rust-cold" {} //~ ERROR rust-cold is experimental
21+
extern "rust-cold" {} //~ ERROR rust-cold ABI is experimental

‎tests/ui/feature-gates/feature-gate-rust_cold_cc.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: rust-cold is experimental and subject to change
1+
error[E0658]: rust-cold ABI is experimental and subject to change
22
--> $DIR/feature-gate-rust_cold_cc.rs:3:8
33
|
44
LL | extern "rust-cold" fn fu() {}
@@ -8,7 +8,7 @@ LL | extern "rust-cold" fn fu() {}
88
= help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

11-
error[E0658]: rust-cold is experimental and subject to change
11+
error[E0658]: rust-cold ABI is experimental and subject to change
1212
--> $DIR/feature-gate-rust_cold_cc.rs:6:12
1313
|
1414
LL | extern "rust-cold" fn mu();
@@ -18,7 +18,7 @@ LL | extern "rust-cold" fn mu();
1818
= help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21-
error[E0658]: rust-cold is experimental and subject to change
21+
error[E0658]: rust-cold ABI is experimental and subject to change
2222
--> $DIR/feature-gate-rust_cold_cc.rs:7:12
2323
|
2424
LL | extern "rust-cold" fn dmu() {}
@@ -28,7 +28,7 @@ LL | extern "rust-cold" fn dmu() {}
2828
= help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

31-
error[E0658]: rust-cold is experimental and subject to change
31+
error[E0658]: rust-cold ABI is experimental and subject to change
3232
--> $DIR/feature-gate-rust_cold_cc.rs:12:12
3333
|
3434
LL | extern "rust-cold" fn mu() {}
@@ -38,7 +38,7 @@ LL | extern "rust-cold" fn mu() {}
3838
= help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
3939
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040

41-
error[E0658]: rust-cold is experimental and subject to change
41+
error[E0658]: rust-cold ABI is experimental and subject to change
4242
--> $DIR/feature-gate-rust_cold_cc.rs:16:12
4343
|
4444
LL | extern "rust-cold" fn imu() {}
@@ -48,7 +48,7 @@ LL | extern "rust-cold" fn imu() {}
4848
= help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
4949
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050

51-
error[E0658]: rust-cold is experimental and subject to change
51+
error[E0658]: rust-cold ABI is experimental and subject to change
5252
--> $DIR/feature-gate-rust_cold_cc.rs:19:19
5353
|
5454
LL | type TAU = extern "rust-cold" fn();
@@ -58,7 +58,7 @@ LL | type TAU = extern "rust-cold" fn();
5858
= help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
5959
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6060

61-
error[E0658]: rust-cold is experimental and subject to change
61+
error[E0658]: rust-cold ABI is experimental and subject to change
6262
--> $DIR/feature-gate-rust_cold_cc.rs:21:8
6363
|
6464
LL | extern "rust-cold" {}

‎tests/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ impl Fn<()> for Foo {
1111
//~| ERROR manual implementations of `Fn` are experimental
1212
//~| ERROR expected a `FnMut()` closure, found `Foo`
1313
extern "rust-call" fn call(self, args: ()) -> () {}
14-
//~^ ERROR rust-call ABI is subject to change
14+
//~^ ERROR rust-call ABI is experimental and subject to change
1515
//~| ERROR `call` has an incompatible type for trait
1616
}
1717
struct Foo1;
@@ -20,15 +20,15 @@ impl FnOnce() for Foo1 {
2020
//~| ERROR manual implementations of `FnOnce` are experimental
2121
//~| ERROR not all trait items implemented
2222
extern "rust-call" fn call_once(self, args: ()) -> () {}
23-
//~^ ERROR rust-call ABI is subject to change
23+
//~^ ERROR rust-call ABI is experimental and subject to change
2424
}
2525
struct Bar;
2626
impl FnMut<()> for Bar {
2727
//~^ ERROR the precise format of `Fn`-family traits' type parameters is subject to change
2828
//~| ERROR manual implementations of `FnMut` are experimental
2929
//~| ERROR expected a `FnOnce()` closure, found `Bar`
3030
extern "rust-call" fn call_mut(&self, args: ()) -> () {}
31-
//~^ ERROR rust-call ABI is subject to change
31+
//~^ ERROR rust-call ABI is experimental and subject to change
3232
//~| ERROR incompatible type for trait
3333
}
3434
struct Baz;
@@ -37,7 +37,7 @@ impl FnOnce<()> for Baz {
3737
//~| ERROR manual implementations of `FnOnce` are experimental
3838
//~| ERROR not all trait items implemented
3939
extern "rust-call" fn call_once(&self, args: ()) -> () {}
40-
//~^ ERROR rust-call ABI is subject to change
40+
//~^ ERROR rust-call ABI is experimental and subject to change
4141
}
4242

4343
fn main() {}

‎tests/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: rust-call ABI is subject to change
1+
error[E0658]: rust-call ABI is experimental and subject to change
22
--> $DIR/feature-gate-unboxed-closures-manual-impls.rs:13:12
33
|
44
LL | extern "rust-call" fn call(self, args: ()) -> () {}
@@ -8,7 +8,7 @@ LL | extern "rust-call" fn call(self, args: ()) -> () {}
88
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

11-
error[E0658]: rust-call ABI is subject to change
11+
error[E0658]: rust-call ABI is experimental and subject to change
1212
--> $DIR/feature-gate-unboxed-closures-manual-impls.rs:22:12
1313
|
1414
LL | extern "rust-call" fn call_once(self, args: ()) -> () {}
@@ -18,7 +18,7 @@ LL | extern "rust-call" fn call_once(self, args: ()) -> () {}
1818
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21-
error[E0658]: rust-call ABI is subject to change
21+
error[E0658]: rust-call ABI is experimental and subject to change
2222
--> $DIR/feature-gate-unboxed-closures-manual-impls.rs:30:12
2323
|
2424
LL | extern "rust-call" fn call_mut(&self, args: ()) -> () {}
@@ -28,7 +28,7 @@ LL | extern "rust-call" fn call_mut(&self, args: ()) -> () {}
2828
= help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

31-
error[E0658]: rust-call ABI is subject to change
31+
error[E0658]: rust-call ABI is experimental and subject to change
3232
--> $DIR/feature-gate-unboxed-closures-manual-impls.rs:39:12
3333
|
3434
LL | extern "rust-call" fn call_once(&self, args: ()) -> () {}

‎tests/ui/feature-gates/feature-gate-unboxed-closures.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ impl FnOnce<(u32, u32)> for Test {
1010
extern "rust-call" fn call_once(self, (a, b): (u32, u32)) -> u32 {
1111
a + b
1212
}
13-
//~^^^ ERROR rust-call ABI is subject to change
13+
//~^^^ ERROR rust-call ABI is experimental and subject to change
1414
}
1515

1616
fn main() {

‎tests/ui/feature-gates/feature-gate-unboxed-closures.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: rust-call ABI is subject to change
1+
error[E0658]: rust-call ABI is experimental and subject to change
22
--> $DIR/feature-gate-unboxed-closures.rs:10:12
33
|
44
LL | extern "rust-call" fn call_once(self, (a, b): (u32, u32)) -> u32 {

‎tests/ui/feature-gates/feature-gate-vectorcall.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ trait Sized { }
99
// Test that the "vectorcall" ABI is feature-gated, and cannot be used when
1010
// the `vectorcall` feature gate is not used.
1111

12-
extern "vectorcall" fn f() {} //~ ERROR vectorcall is experimental
12+
extern "vectorcall" fn f() {} //~ ERROR vectorcall ABI is experimental
1313

1414
trait T {
15-
extern "vectorcall" fn m(); //~ ERROR vectorcall is experimental
15+
extern "vectorcall" fn m(); //~ ERROR vectorcall ABI is experimental
1616

17-
extern "vectorcall" fn dm() {} //~ ERROR vectorcall is experimental
17+
extern "vectorcall" fn dm() {} //~ ERROR vectorcall ABI is experimental
1818
}
1919

2020
struct S;
2121
impl T for S {
22-
extern "vectorcall" fn m() {} //~ ERROR vectorcall is experimental
22+
extern "vectorcall" fn m() {} //~ ERROR vectorcall ABI is experimental
2323
}
2424

2525
impl S {
26-
extern "vectorcall" fn im() {} //~ ERROR vectorcall is experimental
26+
extern "vectorcall" fn im() {} //~ ERROR vectorcall ABI is experimental
2727
}
2828

29-
type TA = extern "vectorcall" fn(); //~ ERROR vectorcall is experimental
29+
type TA = extern "vectorcall" fn(); //~ ERROR vectorcall ABI is experimental
3030

31-
extern "vectorcall" {} //~ ERROR vectorcall is experimental
31+
extern "vectorcall" {} //~ ERROR vectorcall ABI is experimental

‎tests/ui/feature-gates/feature-gate-vectorcall.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: vectorcall is experimental and subject to change
1+
error[E0658]: vectorcall ABI is experimental and subject to change
22
--> $DIR/feature-gate-vectorcall.rs:12:8
33
|
44
LL | extern "vectorcall" fn f() {}
@@ -8,7 +8,7 @@ LL | extern "vectorcall" fn f() {}
88
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

11-
error[E0658]: vectorcall is experimental and subject to change
11+
error[E0658]: vectorcall ABI is experimental and subject to change
1212
--> $DIR/feature-gate-vectorcall.rs:15:12
1313
|
1414
LL | extern "vectorcall" fn m();
@@ -18,7 +18,7 @@ LL | extern "vectorcall" fn m();
1818
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21-
error[E0658]: vectorcall is experimental and subject to change
21+
error[E0658]: vectorcall ABI is experimental and subject to change
2222
--> $DIR/feature-gate-vectorcall.rs:17:12
2323
|
2424
LL | extern "vectorcall" fn dm() {}
@@ -28,7 +28,7 @@ LL | extern "vectorcall" fn dm() {}
2828
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

31-
error[E0658]: vectorcall is experimental and subject to change
31+
error[E0658]: vectorcall ABI is experimental and subject to change
3232
--> $DIR/feature-gate-vectorcall.rs:22:12
3333
|
3434
LL | extern "vectorcall" fn m() {}
@@ -38,7 +38,7 @@ LL | extern "vectorcall" fn m() {}
3838
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
3939
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040

41-
error[E0658]: vectorcall is experimental and subject to change
41+
error[E0658]: vectorcall ABI is experimental and subject to change
4242
--> $DIR/feature-gate-vectorcall.rs:26:12
4343
|
4444
LL | extern "vectorcall" fn im() {}
@@ -48,7 +48,7 @@ LL | extern "vectorcall" fn im() {}
4848
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
4949
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050

51-
error[E0658]: vectorcall is experimental and subject to change
51+
error[E0658]: vectorcall ABI is experimental and subject to change
5252
--> $DIR/feature-gate-vectorcall.rs:29:18
5353
|
5454
LL | type TA = extern "vectorcall" fn();
@@ -58,7 +58,7 @@ LL | type TA = extern "vectorcall" fn();
5858
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
5959
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6060

61-
error[E0658]: vectorcall is experimental and subject to change
61+
error[E0658]: vectorcall ABI is experimental and subject to change
6262
--> $DIR/feature-gate-vectorcall.rs:31:8
6363
|
6464
LL | extern "vectorcall" {}

‎tests/ui/feature-gates/feature-gated-feature-in-macro-arg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
fn main() {
66
let a = &[1, 2, 3];
77
println!("{}", {
8-
extern "rust-intrinsic" { //~ ERROR intrinsics are subject to change
8+
extern "rust-intrinsic" { //~ ERROR rust-intrinsic ABI is an implementation detail
99
fn atomic_fence();
1010
}
1111
atomic_fence(); //~ ERROR: is unsafe

‎tests/ui/feature-gates/feature-gated-feature-in-macro-arg.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: intrinsics are subject to change
1+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
22
--> $DIR/feature-gated-feature-in-macro-arg.rs:8:16
33
|
44
LL | extern "rust-intrinsic" {

‎tests/ui/intrinsics/incorrect-read_via_copy-defn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ fn main() {
33
}
44

55
extern "rust-intrinsic" fn read_via_copy() {}
6-
//~^ ERROR intrinsics are subject to change
6+
//~^ ERROR rust-intrinsic ABI is an implementation detail
77
//~| ERROR intrinsic must be in `extern "rust-intrinsic" { ... }` block

‎tests/ui/intrinsics/incorrect-read_via_copy-defn.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: intrinsics are subject to change
1+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
22
--> $DIR/incorrect-read_via_copy-defn.rs:5:8
33
|
44
LL | extern "rust-intrinsic" fn read_via_copy() {}

‎tests/ui/intrinsics/incorrect-transmute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ fn main() {
33
}
44

55
extern "rust-intrinsic" fn transmute() {}
6-
//~^ ERROR intrinsics are subject to change
6+
//~^ ERROR rust-intrinsic ABI is an implementation detail
77
//~| ERROR intrinsic must be in `extern "rust-intrinsic" { ... }` block

‎tests/ui/intrinsics/incorrect-transmute.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0658]: intrinsics are subject to change
1+
error[E0658]: rust-intrinsic ABI is an implementation detail and perma-unstable
22
--> $DIR/incorrect-transmute.rs:5:8
33
|
44
LL | extern "rust-intrinsic" fn transmute() {}

0 commit comments

Comments
 (0)
Please sign in to comment.