-
Notifications
You must be signed in to change notification settings - Fork 12.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
Rollup of 6 pull requests #107853
Rollup of 6 pull requests #107853
Conversation
…d code previously, we would warn like this: ```` warning: lifetime parameter `'s` never used --> /tmp/unusedlif/code.rs:6:62 | 5 | #[derive(Clone)] | - help: elide the unused lifetime 6 | struct ShimMethod4<T: Trait2 + 'static>(pub &'static dyn for<'s> Fn(&'s mut T::As)); | ^^ | = note: requested on the command line with `-W unused-lifetimes` ```` Fixes rust-lang#104432
…2_fix, r=cjgillot unused-lifetimes: don't warn about lifetimes originating from expanded code previously, we would warn like this: ```` warning: lifetime parameter `'s` never used --> /tmp/unusedlif/code.rs:6:62 | 5 | #[derive(Clone)] | - help: elide the unused lifetime 6 | struct ShimMethod4<T: Trait2 + 'static>(pub &'static dyn for<'s> Fn(&'s mut T::As)); | ^^ | = note: requested on the command line with `-W unused-lifetimes` ```` Fixes rust-lang#104432
…de, r=GuillaumeGomez rustdoc: use the same URL escape rules for fragments as for examples Carries over improvements from rust-lang#107284
test: snapshot for derive suggestion in diff files fixed rust-lang#107649
…eaks, r=lcnr Implement some tweaks in the new solver I've been testing the new solver on some small codebases, and these are a few small changes I've needed to make. The most "controversial" here is implementing `trait_candidate_should_be_dropped_in_favor_of`, which I just implemented to always return false. This surprisingly allows some code to compile, without us having to actually decide on any semantics yet. r? `@rust-lang/initiative-trait-system-refactor`
…pertraits_into_scope, r=compiler-errors Do not bring trait alias supertraits into scope Fixes rust-lang#107747 cc rust-lang#41517
…-if-impl, r=lcnr Disqualify `auto trait` built-in impl in new solver if explicit `impl` exists
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 8cca42a47f In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (8996ea9): 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:
auto trait
built-in impl in new solver if explicitimpl
exists #107815 (Disqualifyauto trait
built-in impl in new solver if explicitimpl
exists)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup