summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-rust_cold_cc.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-rust_cold_cc.stderr')
-rw-r--r--src/test/ui/feature-gates/feature-gate-rust_cold_cc.stderr66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-rust_cold_cc.stderr b/src/test/ui/feature-gates/feature-gate-rust_cold_cc.stderr
new file mode 100644
index 000000000..ab7e5f036
--- /dev/null
+++ b/src/test/ui/feature-gates/feature-gate-rust_cold_cc.stderr
@@ -0,0 +1,66 @@
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:3:8
+ |
+LL | extern "rust-cold" fn fu() {}
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:6:12
+ |
+LL | extern "rust-cold" fn mu();
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:7:12
+ |
+LL | extern "rust-cold" fn dmu() {}
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:12:12
+ |
+LL | extern "rust-cold" fn mu() {}
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:16:12
+ |
+LL | extern "rust-cold" fn imu() {}
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:19:19
+ |
+LL | type TAU = extern "rust-cold" fn();
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error[E0658]: rust-cold is experimental and subject to change
+ --> $DIR/feature-gate-rust_cold_cc.rs:21:8
+ |
+LL | extern "rust-cold" {}
+ | ^^^^^^^^^^^
+ |
+ = note: see issue #97544 <https://github.com/rust-lang/rust/issues/97544> for more information
+ = help: add `#![feature(rust_cold_cc)]` to the crate attributes to enable
+
+error: aborting due to 7 previous errors
+
+For more information about this error, try `rustc --explain E0658`.