-
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 6 pull requests #105261
Rollup of 6 pull requests #105261
Conversation
Fix ICE on parsing an invalid variable declaration as a statement like: ``` macro_rules! m { ($s:stmt) => {} } m! { var x } ```
Previously, the `recover_local_after_let` function was called from the body of the `recover_stmt_local` function. Unifying these two functions make it more simple and more readable.
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
This replaces ansi_term with yansi which in turn removes a winapi dependency edge
This removes an autocfg dependency edge
This removes a lazy_static dependency edge
…errors Suggest to use . instead of :: when accessing a method of an object Fixes rust-lang#101749 Fixes rust-lang#101542
…l-in-macro-call, r=compiler-errors Fix ICE on invalid variable declarations in macro calls This fixes ICE that happens with invalid variable declarations in macro calls like: ```rust macro_rules! m { ($s:stmt) => {} } m! { var x } m! { auto x } m! { mut x } ``` Found this is because of not collecting tokens on recovery, so I changed to force collect them. Fixes rust-lang#103529.
…errors Properly substitute inherent associated types. Fixes rust-lang#104240
…errors Add regression test for rust-lang#47814 Closes rust-lang#47814 r? `@compiler-errors` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
…errors Use parent function WfCheckingContext to check RPITIT. WF-check for RPITIT was done in the opaque type's param-env, so it could not benefit from assumed wf types from the function's parameters. cc `@compiler-errors` since you chose that param-env in fd2766e Fixes rust-lang#102682 Fixes rust-lang#104908 Fixes rust-lang#102552 Fixes rust-lang#104529
…n514 Update a couple of rustbuild deps These mostly remove some dependency edges potentially making compilation of rustbuild itself a tiny bit faster. I hoped to be able to completely remove some dependencies, but other than replacing ansi_term with yansi all dependencies are still used.
@bors r+ rollup=never p=6 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 19c250aa12 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (0f0d5d7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. |
Successful merges:
Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup