Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize compiler build date note #254

Merged
merged 2 commits into from
Jan 14, 2024
Merged

Normalize compiler build date note #254

merged 2 commits into from
Jan 14, 2024

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jan 14, 2024

Since rust-lang/rust#119088, rustc is putting the compiler build date into diagnostics, which is inappropriate for ui tests.

error[E0658]: `#[used(linker)]` is currently unstable
 --> tests/ui/used-linker.rs:6:5
  |
6 |     #![used(linker)]
  |     ^^^^^^^^^^^^^^^^
  |
  = note: see issue #93798 <https://github.com/rust-lang/rust/issues/93798> for more information
  = help: add `#![feature(used_with_arg)]` to the crate attributes to enable
  = note: this compiler was built on 2024-01-13; consider upgrading it if it is out of date

@dtolnay dtolnay merged commit 840b110 into master Jan 14, 2024
20 checks passed
@dtolnay dtolnay deleted the builddate branch January 14, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant