diff options
| author | bors <bors@rust-lang.org> | 2024-01-13 20:06:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-13 20:06:03 +0000 |
| commit | d78329b92e8d141d19505e7c1527181c4ab87ed4 (patch) | |
| tree | b7abe068dd5b9e167e8c8bca6de4bdad2096de2f /tests/ui/c-variadic | |
| parent | 23148b175bb912dfced55b1ffdefcc8d2945702b (diff) | |
| parent | d56cdd48cba336c4c18e81792871ea39556af847 (diff) | |
| download | rust-d78329b92e8d141d19505e7c1527181c4ab87ed4.tar.gz rust-d78329b92e8d141d19505e7c1527181c4ab87ed4.zip | |
Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, r=Nilstrieb
Suggest Upgrading Compiler for Gated Features This PR addresses #117318 I have a few questions: 1. Do we want to specify the current version and release date of the compiler? I have added this in via environment variables, which I found in the code for the rustc cli where it handles the `--version` flag a. How can I handle the changing message in the tests? 3. Do we want to only show this message when the compiler is old? a. How can we determine when the compiler is old? I'll wait until we figure out the message to bless the tests
Diffstat (limited to 'tests/ui/c-variadic')
| -rw-r--r-- | tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.stderr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.stderr b/tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.stderr index 5b97b396fb1..94e9628f0f0 100644 --- a/tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.stderr +++ b/tests/ui/c-variadic/feature-gate-extended_varargs_abi_support.stderr @@ -6,6 +6,7 @@ LL | fn efiapi(f: extern "efiapi" fn(usize, ...)) { | = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl` --> $DIR/feature-gate-extended_varargs_abi_support.rs:1:14 @@ -21,6 +22,7 @@ LL | fn sysv(f: extern "sysv64" fn(usize, ...)) { | = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl` --> $DIR/feature-gate-extended_varargs_abi_support.rs:6:12 @@ -36,6 +38,7 @@ LL | fn win(f: extern "win64" fn(usize, ...)) { | = note: see issue #100189 <https://github.com/rust-lang/rust/issues/100189> for more information = help: add `#![feature(extended_varargs_abi_support)]` to the crate attributes to enable + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl` --> $DIR/feature-gate-extended_varargs_abi_support.rs:11:11 |
