[pull] master from rust-lang:master#97
Merged
pull[bot] merged 68 commits intolinyihai:masterfrom May 5, 2025
Merged
Conversation
Enable PGO optimizations when installing rust-analyzer with the --pgo flag. This mirrors functionality already available in dist command, allowing developers to create optimized local builds. Example: cargo xtask install --server --pgo clap-rs/clap PGO code has been extracted to a dedicated module for reuse.
As it is a valid lifetime without escaping. It does need to be escaped as a label, but we have no way to distinguish that.
Add expression fill mode variant for filling with underscore expressions
fix: Address minor FIXME
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Also ensures that attributes on the use item are applied to the new use item when unmerging. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Co-authored-by: Tarek <tareknaser360@gmail.com> Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
refactor: `merge_imports` and `unmerge_imports` to editor
refactor: migrate `let_else_to_match` to editor
refactor: De-arc lang item queries
…etails-to-panic base-db: add more details to panic
fix: Escape raw names in labels properly
refactor: Clean up cache priming cancellation handling
Add PGO support to install
refactor: Cleanup cfg check handling in expression store lowering
…iguatorState` type
refactor: Remove unnecessary extension trait
Sync from downstream again
remove a couple of clones
Render more lifetimes
refactor: Simplify macro call id construction
fix: Correct assoc ty bound var starting index
fix: Implement mut to const ptr cast for method resolution
Improve the let code snippet
Disable fixpoint for variance computation temporarily
Remove global `next_disambiguator` state and handle it with a `DisambiguatorState` type This removes `Definitions.next_disambiguator` as it doesn't guarantee deterministic def paths when `create_def` is called in parallel. Instead a new `DisambiguatorState` type is passed as a mutable reference to `create_def` to help create unique def paths. `create_def` calls with distinct `DisambiguatorState` instances must ensure that that the def paths are unique without its help. Anon associated types did rely on this global state for uniqueness and are changed to use (method they're defined in + their position in the method return type) as the `DefPathData` to ensure uniqueness. This also means that the method they're defined in appears in error messages, which is nicer. `DefPathData::NestedStatic` is added to use for nested data inside statics instead of reusing `DefPathData::AnonConst` to avoid conflicts with those. cc `@oli-obk`
Subtree update of `rust-analyzer` r? `@ghost`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )