-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 15 pull requests #90159
Rollup of 15 pull requests #90159
Commits on Oct 1, 2021
-
nice_region_error: Include lifetime placeholders in error output
As you can see in src/test/ui/traits/self-without-lifetime-constraint.stderr you can get very confusing type names if you don't have this. Fixes rust-lang#87763
Configuration menu - View commit details
-
Copy full SHA for 82348ef - Browse repository at this point
Copy the full SHA 82348efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 729ff2d - Browse repository at this point
Copy the full SHA 729ff2dView commit details
Commits on Oct 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1bb399c - Browse repository at this point
Copy the full SHA 1bb399cView commit details
Commits on Oct 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bd1a1e4 - Browse repository at this point
Copy the full SHA bd1a1e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a697aa6 - Browse repository at this point
Copy the full SHA a697aa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffdd5a0 - Browse repository at this point
Copy the full SHA ffdd5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4333091 - Browse repository at this point
Copy the full SHA 4333091View commit details
Commits on Oct 17, 2021
-
rustc_ast: Turn
MutVisitor::token_visiting_enabled
into a constantIt's a visitor property rather than something that needs to be determined at runtime
Configuration menu - View commit details
-
Copy full SHA for d2470e7 - Browse repository at this point
Copy the full SHA d2470e7View commit details
Commits on Oct 19, 2021
-
Fix const qualification when executed after promotion
The const qualification was so far performed before the promotion and the implementation assumed that it will never encounter a promoted. With `const_precise_live_drops` feature, checking for live drops is delayed until after drop elaboration, which in turn runs after promotion. so the assumption is no longer true. When evaluating `NeedsNonConstDrop` it is now possible to encounter promoteds. Use type base qualification for the promoted. It is a sound approximation in general, and in the specific case of promoteds and `NeedsNonConstDrop` it is precise.
Configuration menu - View commit details
-
Copy full SHA for 7581bae - Browse repository at this point
Copy the full SHA 7581baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c97cf7f - Browse repository at this point
Copy the full SHA c97cf7fView commit details
Commits on Oct 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 21d02bf - Browse repository at this point
Copy the full SHA 21d02bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 396a4f4 - Browse repository at this point
Copy the full SHA 396a4f4View commit details -
Change
Duration::from_secs_*
underflow errorNow explicitly says negative value.
Configuration menu - View commit details
-
Copy full SHA for fe060bf - Browse repository at this point
Copy the full SHA fe060bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6469fba - Browse repository at this point
Copy the full SHA 6469fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a81e489 - Browse repository at this point
Copy the full SHA a81e489View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83a1834 - Browse repository at this point
Copy the full SHA 83a1834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f23779 - Browse repository at this point
Copy the full SHA 8f23779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a8bd2d - Browse repository at this point
Copy the full SHA 7a8bd2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c75d8cb - Browse repository at this point
Copy the full SHA c75d8cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7a9e82 - Browse repository at this point
Copy the full SHA e7a9e82View commit details
Commits on Oct 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 74c6636 - Browse repository at this point
Copy the full SHA 74c6636View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab44e46 - Browse repository at this point
Copy the full SHA ab44e46View commit details -
triagebot: Treat
I-*nominated
likeI-nominated
rustbot doesn't allow unauthenticated users to set `I-nominated`; apply the same permissions to the new `I-*nominated` labels.
Configuration menu - View commit details
-
Copy full SHA for d50832b - Browse repository at this point
Copy the full SHA d50832bView commit details -
Clarify undefined behaviour for binary heap, btree and hashset
Previously, it wasn't clear whether "This could include" was referring to logic errors, or undefined behaviour. Tweak wording to clarify this sentence does not relate to UB.
Configuration menu - View commit details
-
Copy full SHA for 04c1ec5 - Browse repository at this point
Copy the full SHA 04c1ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dba9d0 - Browse repository at this point
Copy the full SHA 0dba9d0View commit details
Commits on Oct 22, 2021
-
Rollup merge of rust-lang#87537 - Wilfred:improve-min-heap-docs, r=Ma…
…rk-Simulacrum Clarify undefined behaviour in binary heap, btree and hashset docs Previously, it wasn't clear whether "This could include" was referring to logic errors, or undefined behaviour. Tweak wording to clarify this sentence does not relate to UB.
Configuration menu - View commit details
-
Copy full SHA for 121411d - Browse repository at this point
Copy the full SHA 121411dView commit details -
Rollup merge of rust-lang#88624 - kellerkindt:master, r=JohnTitor
Stabilize feature `saturating_div` for rust 1.58.0 The tracking issue is rust-lang#89381 This seems like a reasonable simple change(?). The feature `saturating_div` was added as part of the ongoing effort to implement a `Saturating` integer type (see rust-lang#87921). The implementation has been discussed [here](rust-lang#87921 (comment)) and [here](rust-lang#87921 (comment)). It extends the list of saturating operations on integer types (like `saturating_add`, `saturating_sub`, `saturating_mul`, ...) by the function `fn saturating_div(self, rhs: Self) -> Self`. The stabilization of the feature `saturating_int_impl` (for the `Saturating` type) needs to have this stabilized first. Closes rust-lang#89381
Configuration menu - View commit details
-
Copy full SHA for 0c7b513 - Browse repository at this point
Copy the full SHA 0c7b513View commit details -
Rollup merge of rust-lang#89257 - aDotInTheVoid:macro-error-2, r=este…
…bank Give better error for `macro_rules name` follow up to rust-lang#89221 r? `@estebank` `@rustbot` modify labels: +A-diagnostics +A-parser
Configuration menu - View commit details
-
Copy full SHA for 1585730 - Browse repository at this point
Copy the full SHA 1585730View commit details -
Rollup merge of rust-lang#89416 - notriddle:notriddle/do-not-elide-li…
…fetimes-in-region-errors, r=jackh726 nice_region_error: Include lifetime placeholders in error output As you can see in src/test/ui/traits/self-without-lifetime-constraint.stderr you can get very confusing type names if you don't have this. Fixes rust-lang#87763
Configuration menu - View commit details
-
Copy full SHA for 0cc8b39 - Browse repository at this point
Copy the full SHA 0cc8b39View commit details -
Rollup merge of rust-lang#89665 - seanyoung:push-empty, r=m-ou-se
Ensure that pushing empty path works as before on verbatim paths Fixes: rust-lang#89658 Signed-off-by: Sean Young <sean@mess.org>
Configuration menu - View commit details
-
Copy full SHA for 0d70763 - Browse repository at this point
Copy the full SHA 0d70763View commit details -
Rollup merge of rust-lang#89895 - camsteffen:for-loop-head-span, r=da…
…vidtwco Don't mark for loop iter expression as desugared We typically don't mark spans of lowered things as desugared. This helps Clippy rightly discern when code is (not) from expansion. This was discovered by `@flip1995` at rust-lang/rust-clippy#7789 (comment).
Configuration menu - View commit details
-
Copy full SHA for 01f7352 - Browse repository at this point
Copy the full SHA 01f7352View commit details -
Rollup merge of rust-lang#89922 - JohnTitor:update-e0637, r=jackh726
Update E0637 description to mention `&` w/o an explicit lifetime name Deal with rust-lang#89824 (comment). Another solution would be splitting the error code into two as (I think) it's a bit unclear to users why they have the same error code.
Configuration menu - View commit details
-
Copy full SHA for 8c210e0 - Browse repository at this point
Copy the full SHA 8c210e0View commit details -
Rollup merge of rust-lang#89944 - mbartlett21:patch-2, r=Mark-Simulacrum
Change `Duration::[try_]from_secs_{f32, f64}` underflow error The error message now says that it was a negative value. Fixes rust-lang#89913.
Configuration menu - View commit details
-
Copy full SHA for 5256761 - Browse repository at this point
Copy the full SHA 5256761View commit details -
Rollup merge of rust-lang#89991 - petrochenkov:visitok2, r=jackh726
rustc_ast: Turn `MutVisitor::token_visiting_enabled` into a constant It's a visitor property rather than something that needs to be determined at runtime
Configuration menu - View commit details
-
Copy full SHA for 05e0281 - Browse repository at this point
Copy the full SHA 05e0281View commit details -
Rollup merge of rust-lang#90028 - tmiasko:structural-match-closure, r…
…=spastorino Reject closures in patterns Fixes rust-lang#90013.
Configuration menu - View commit details
-
Copy full SHA for a93e7e0 - Browse repository at this point
Copy the full SHA a93e7e0View commit details -
Rollup merge of rust-lang#90069 - tmiasko:promoted-const-qualif, r=ol…
…i-obk Fix const qualification when executed after promotion The const qualification was so far performed before the promotion and the implementation assumed that it will never encounter a promoted. With `const_precise_live_drops` feature, checking for live drops is delayed until after drop elaboration, which in turn runs after promotion. so the assumption is no longer true. When evaluating `NeedsNonConstDrop` it is now possible to encounter promoteds. Use type base qualification for the promoted. It is a sound approximation in general, and in the specific case of promoteds and `NeedsNonConstDrop` it is precise. Fixes rust-lang#89938.
Configuration menu - View commit details
-
Copy full SHA for efdb8e5 - Browse repository at this point
Copy the full SHA efdb8e5View commit details -
Rollup merge of rust-lang#90078 - JohnTitor:test-83479, r=Mark-Simula…
…crum Add a regression test for issue-83479 Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
Configuration menu - View commit details
-
Copy full SHA for 7bcc6be - Browse repository at this point
Copy the full SHA 7bcc6beView commit details -
Rollup merge of rust-lang#90114 - BoxyUwU:cg_defaults_tests, r=lcnr
Add some tests for const_generics_defaults I think this covers some of the stuff required for stabilisation report, some of these tests are probably covering stuff we already have but it can't hurt to have more :) r? ```@lcnr```
Configuration menu - View commit details
-
Copy full SHA for 61e4e3b - Browse repository at this point
Copy the full SHA 61e4e3bView commit details -
Rollup merge of rust-lang#90115 - samlich:test-issue-78561, r=oli-obk
Add test for issue rust-lang#78561 Adds test for and closes rust-lang#78561 which previously crashed compiler.
Configuration menu - View commit details
-
Copy full SHA for c24e75a - Browse repository at this point
Copy the full SHA c24e75aView commit details -
Rollup merge of rust-lang#90129 - joshtriplett:triagebot-nominated, r…
…=Mark-Simulacrum triagebot: Treat `I-*nominated` like `I-nominated` rustbot doesn't allow unauthenticated users to set `I-nominated`; apply the same permissions to the new `I-*nominated` labels.
Configuration menu - View commit details
-
Copy full SHA for 1fbce5c - Browse repository at this point
Copy the full SHA 1fbce5cView commit details