-
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 11 pull requests #80093
Rollup of 11 pull requests #80093
Commits on Dec 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 77d80b2 - Browse repository at this point
Copy the full SHA 77d80b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9cc626 - Browse repository at this point
Copy the full SHA f9cc626View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfaaa21 - Browse repository at this point
Copy the full SHA cfaaa21View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab2080 - Browse repository at this point
Copy the full SHA bab2080View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3d4aa6 - Browse repository at this point
Copy the full SHA f3d4aa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e69bc - Browse repository at this point
Copy the full SHA 61e69bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0917260 - Browse repository at this point
Copy the full SHA 0917260View commit details
Commits on Dec 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7cb74ed - Browse repository at this point
Copy the full SHA 7cb74edView commit details
Commits on Dec 9, 2020
-
Extra assertions in eval_body_using_ecx to disallow queries for
functions that does allocations
Tunahan Karlibas committedDec 9, 2020 Configuration menu - View commit details
-
Copy full SHA for de1cd4b - Browse repository at this point
Copy the full SHA de1cd4bView commit details
Commits on Dec 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c6f2d49 - Browse repository at this point
Copy the full SHA c6f2d49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c0680 - Browse repository at this point
Copy the full SHA 78c0680View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3812f70 - Browse repository at this point
Copy the full SHA 3812f70View commit details -
Remove unnecessary check and fix local_def_id parameter
Tunahan Karlibas committedDec 10, 2020 Configuration menu - View commit details
-
Copy full SHA for b6f7eef - Browse repository at this point
Copy the full SHA b6f7eefView commit details
Commits on Dec 11, 2020
-
Tunahan Karlibas committed
Dec 11, 2020 Configuration menu - View commit details
-
Copy full SHA for a03feaa - Browse repository at this point
Copy the full SHA a03feaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed80815 - Browse repository at this point
Copy the full SHA ed80815View commit details
Commits on Dec 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f30b7d - Browse repository at this point
Copy the full SHA 0f30b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d75618e - Browse repository at this point
Copy the full SHA d75618eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94fd1d3 - Browse repository at this point
Copy the full SHA 94fd1d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09d528e - Browse repository at this point
Copy the full SHA 09d528eView commit details
Commits on Dec 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6c7835e - Browse repository at this point
Copy the full SHA 6c7835eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 357565d - Browse repository at this point
Copy the full SHA 357565dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01c2520 - Browse repository at this point
Copy the full SHA 01c2520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 777ca99 - Browse repository at this point
Copy the full SHA 777ca99View commit details
Commits on Dec 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cfc38d2 - Browse repository at this point
Copy the full SHA cfc38d2View commit details -
Allow
since="TBD"
for rustc_deprecatedbstrie committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 1e1ca28 - Browse repository at this point
Copy the full SHA 1e1ca28View commit details -
Rollup merge of rust-lang#79051 - LeSeulArtichaut:if-let-guard, r=mat…
…thewjasper Implement if-let match guards Implements rust-lang/rfcs#2294 (tracking issue: rust-lang#51114). I probably should do a few more things before this can be merged: - [x] Add tests (added basic tests, more advanced tests could be done in the future?) - [x] Add lint for exhaustive if-let guard (comparable to normal if-let statements) - [x] Fix clippy However since this is a nightly feature maybe it's fine to land this and do those steps in follow-up PRs. Thanks a lot `@matthewjasper` ❤️ for helping me with lowering to MIR! Would you be interested in reviewing this? r? `@ghost` for now
Configuration menu - View commit details
-
Copy full SHA for cec4573 - Browse repository at this point
Copy the full SHA cec4573View commit details -
Rollup merge of rust-lang#79790 - LeSeulArtichaut:issue-79683, r=lcnr
Take into account negative impls in "trait item not found" suggestions This removes the suggestion to implement a trait for a type when that type already has a negative implementation for the trait, and replaces it with a note to point out that the trait is explicitely unimplemented, as suggested by `@scottmcm.` Helps with rust-lang#79683. r? `@scottmcm` do you want to review this?
Configuration menu - View commit details
-
Copy full SHA for 553d632 - Browse repository at this point
Copy the full SHA 553d632View commit details -
Rollup merge of rust-lang#79840 - dvtkrlbs:issue-79667, r=oli-obk
Remove memoization leftovers from constant evaluation machine Closes rust-lang#79667
Configuration menu - View commit details
-
Copy full SHA for 3d8241d - Browse repository at this point
Copy the full SHA 3d8241dView commit details -
Rollup merge of rust-lang#79877 - bstrie:depinfut, r=oli-obk
Allow `since="TBD"` for rustc_deprecated Closes rust-lang#78381. This PR only affects `#[rustc_deprecated]`, not `#[deprecated]`, so there is no effect on any stable language feature. Likewise this PR only implements `since="TBD"`, it does not actually tag any library functions with it, so there is no effect on any stable API. Overview of changes: * `rustc_middle/stability.rs`: * change `deprecation_in_effect` function to return `false` when `since="TBD"` * tidy up the compiler output when a deprecated item has `since="TBD"` * `rustc_passes/stability.rs`: * allow `since="TBD"` to pass the sanity check for stable_version < deprecated_version * refactor the "invalid stability version" and "invalid deprecation version" error into separate errors * rustdoc: make `since="TBD"` message on a deprecated item's page match the command-line deprecation output * tests: * test rustdoc output * test that the `deprecated_in_future` lint fires when `since="TBD"` * test the new "invalid deprecation version" error message
Configuration menu - View commit details
-
Copy full SHA for 88e2ee1 - Browse repository at this point
Copy the full SHA 88e2ee1View commit details -
Rollup merge of rust-lang#79882 - wecing:master, r=oli-obk
Fix issue rust-lang#78496 EarlyOtherwiseBranch finds MIR structures like: ``` bb0: { ... _2 = discriminant(X) ... switchInt(_2) -> [1_isize: bb1, otherwise: bb3] } bb1: { ... _3 = discriminant(Y) ... switchInt(_3) -> [1_isize: bb2, otherwise: bb3] } bb2: {...} bb3: {...} ``` And transforms them into something like: ``` bb0: { ... _2 = discriminant(X) _3 = discriminant(Y) _4 = Eq(_2, _3) switchInt(_4) -> [true: bb4, otherwise: bb3] } bb2: {...} // unchanged bb3: {...} // unchanged bb4: { switchInt(_2) -> [1_isize: bb2, otherwise: bb3] } ``` But that is not always a safe thing to do -- sometimes the early `otherwise` branch is necessary so the later block could assume the value of `discriminant(X)`. I am not totally sure what's the best way to detect that, but fixing rust-lang#78496 should be easy -- we just check if `X` is a sub-expression of `Y`. A more precise test might be to check if `Y` contains a `Downcast(1)` of `X`, but I think this might be good enough. Fix rust-lang#78496
Configuration menu - View commit details
-
Copy full SHA for bd93050 - Browse repository at this point
Copy the full SHA bd93050View commit details -
Rollup merge of rust-lang#79945 - jackh726:existential_trait_ref, r=n…
…ikomatsakis Move binder for dyn to each list item This essentially changes `ty::Binder<&'tcx List<ExistentialTraitRef>>` to `&'tcx List<ty::Binder<ExistentialTraitRef>>`. This is a first step in moving the `dyn Trait` representation closer to Chalk, which we've talked about in ``````@rust-lang/wg-traits.`````` r? ``````@nikomatsakis``````
Configuration menu - View commit details
-
Copy full SHA for 3dafad2 - Browse repository at this point
Copy the full SHA 3dafad2View commit details -
Rollup merge of rust-lang#80003 - Stupremee:fix-zst-vecdeque-conversi…
…on-panic, r=dtolnay Fix overflow when converting ZST Vec to VecDeque ```rust let v = vec![(); 100]; let queue = VecDeque::from(v); println!("{:?}", queue); ``` This code will currently panic with a capacity overflow. This PR resolves this issue and makes the code run fine. Resolves rust-lang#78532
Configuration menu - View commit details
-
Copy full SHA for 69db829 - Browse repository at this point
Copy the full SHA 69db829View commit details -
Rollup merge of rust-lang#80006 - ssomers:btree_cleanup_6, r=Mark-Sim…
…ulacrum BTreeMap: more expressive local variables in merge r? ``````@Mark-Simulacrum``````
Configuration menu - View commit details
-
Copy full SHA for 6afef41 - Browse repository at this point
Copy the full SHA 6afef41View commit details -
Rollup merge of rust-lang#80022 - ssomers:btree_cleanup_8, r=Mark-Sim…
…ulacrum BTreeSet: simplify implementation of pop_first/pop_last …and stop it interfering in rust-lang#79245. r? ``````@Mark-Simulacrum``````
Configuration menu - View commit details
-
Copy full SHA for fe6910e - Browse repository at this point
Copy the full SHA fe6910eView commit details -
Rollup merge of rust-lang#80026 - JohnTitor:separator-insensitive, r=…
…Mark-Simulacrum expand-yaml-anchors: Make the output directory separator-insensitive Fixes rust-lang#75709
Configuration menu - View commit details
-
Copy full SHA for 6c7de3f - Browse repository at this point
Copy the full SHA 6c7de3fView commit details -
Rollup merge of rust-lang#80035 - ChayimFriedman2:patch-1, r=nagisa
Optimization for bool's PartialOrd impl Fix rust-lang#80034.
Configuration menu - View commit details
-
Copy full SHA for 7496c37 - Browse repository at this point
Copy the full SHA 7496c37View commit details