-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rollup of 5 pull requests #103841
Rollup of 5 pull requests #103841
Conversation
fix: Don't respond with an error when requesting a shutdown while starting
…e it is being invoked for
fix: Fix standard flycheck command not being executed in the workspace it is being invoked for Fixes rust-lang/rust-analyzer#13477
…, r=flodiebold fix: Test all generic args for trait when finding matching impl Addresses rust-lang/rust-analyzer#13463 (comment) When finding matching impl for a trait method, we've been testing the unifiability of self type. However, there can be multiple impl of a trait for the same type with different generic arguments for the trait. This patch takes it into account and tests the unifiability of all type arguments for the trait (the first being the self type) thus enables rust-analyzer to find the correct impl even in such cases.
Switch to upstream `positionEncoding` Closes rust-lang#13481 This drops support for the custom extension, but that's probably fine. Draft because it's not tested yet.
feat: type inference for generic associated types This PR implements type inference for generic associated types. Basically, this PR lowers generic arguments for associated types in valid places and creates `Substitution`s for them. I focused on the inference for correct Rust programs, so there are cases where we *accidentally* manage to infer things that are actually invalid (which would then be reported by flycheck so I deem them non-fatal). See the following tests and FIXME notes on them: `gats_with_dyn`, `gats_with_impl_trait`. The added tests are rather arbitrary. Let me know if there are cases I'm missing or I should add. Closes rust-lang#9673
…hievink internal: Clarify feature policy CC rust-lang#13495
feat: Clicking the status bar item stops and starts the server
Always set up VSCode commands
…eykril Properly handle vscode workspace changes
Clean up tests and add documentation for GATs related stuff This is a follow-up PR for rust-lang#13494. - addresses rust-lang/rust-analyzer#13494 (comment) - documents the ordering constraint on `Binders` and `Substitution` (which is not really follow-up for the previous PR, but it was introduced to support GATs and I strongly feel it's worth it)
Since the tabs use flexbox instead of float as of 44d9b8d, clearing does nothing.
Link classes use the abbreviation `attr`, so why shouldn't syntax highlighting?
…k, r=petrochenkov Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error r? `@ghost`
resolve: Turn the binding from `#[macro_export]` into a proper `Import` Continuation of rust-lang#91795. ```rust #[macro_export] macro_rules! m { /*...*/ } ``` is desugared to something like ```rust macro_rules! m { /*...*/ } // Non-modularized macro_rules item pub use m; // It's modularized reexport ``` This PR adjusts the internal representation to better match this model.
…-clear-both, r=GuillaumeGomez rustdoc: remove unnecessary CSS `.search-results { clear: both }` Since the tabs use flexbox instead of float as of 44d9b8d, clearing does nothing.
… r=GuillaumeGomez rustdoc: rename syntax highlighting CSS class `attribute` to `attr` Link classes use the abbreviation `attr` ... https://github.com/rust-lang/rust/blob/2afca78a0b03db144c5d8b9f8868feebfe096309/src/librustdoc/html/static/css/rustdoc.css#L255-L259 ... so why does syntax highlighting use the full word? https://github.com/rust-lang/rust/blob/2afca78a0b03db144c5d8b9f8868feebfe096309/src/librustdoc/html/static/css/rustdoc.css#L1095-L1097
…r=lnicola ⬆️ rust-analyzer r? `@ghost`
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 4c736a21ae In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (ab5a2bc): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
The @rust-timer build e418a044dfe47ef6422a4b0bbc28279af757add2 |
Queued e418a044dfe47ef6422a4b0bbc28279af757add2 with parent 4c736a2, future comparison URL. |
Finished benchmarking commit (e418a044dfe47ef6422a4b0bbc28279af757add2): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
Seems like #103760 is the culprit. cc @petrochenkov @cjgillot |
Successful merges:
#[macro_export]
into a properImport
#103760 (resolve: Turn the binding from#[macro_export]
into a properImport
).search-results { clear: both }
#103813 (rustdoc: remove unnecessary CSS.search-results { clear: both }
)attribute
toattr
#103817 (rustdoc: rename syntax highlighting CSS classattribute
toattr
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup