-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Rust: upgrade rust-analyzer to 0.0.273
#19233
base: main
Are you sure you want to change the base?
Conversation
@@ -14,4 +14,4 @@ members = [ | |||
[patch.crates-io] | |||
# patch for build script bug preventing bazel build | |||
# see https://github.com/rust-lang/rustc_apfloat/pull/17 | |||
rustc_apfloat = { git = "https://github.com/redsun82/rustc_apfloat.git", rev = "096d585100636bc2e9f09d7eefec38c5b334d47b" } | |||
rustc_apfloat = { git = "https://github.com/redsun82/rustc_apfloat.git", rev = "32968f16ef1b082243f9bf43a3fbd65c381b3e27" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like your PR was merged 4 days ago. rust-lang/rustc_apfloat#17 I suppose we still need this patch for a little while, but hopefully we can drop it once a new version of rustc_apfloat is published
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I don't know how long it will be till my patch gets released
Previously we would unconditionally set the edition to the latest stable according to rust-analyzer (2021 at the moment). Now we ask rust-analyzer itself to pick the correct edition for the file.
…attern We were interpreting the absolute path of a workspace as a glob pattern, which doesn't work if the path has some special characters (e.g. `[` or `]`).
The new
is_unsafe
predicate added to struct fields is an experimental addition, more details in https://rust-lang.github.io/rust-project-goals/2025h1/unsafe-fields.html.Commit by commit review is encouraged.
This includes #19291 which should therefore be merged before this.