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/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs | |
| 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/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs')
| -rw-r--r-- | tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs b/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs index ce94a06c39e..832f129fab2 100644 --- a/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs +++ b/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs @@ -5,3 +5,4 @@ //~^ ERROR unknown lint //~| NOTE lint is unstable //~| NOTE see issue +//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
