-
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 #67505
Rollup of 6 pull requests #67505
Commits on Dec 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 44603a5 - Browse repository at this point
Copy the full SHA 44603a5View commit details
Commits on Dec 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3a93a0e - Browse repository at this point
Copy the full SHA 3a93a0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d99e4e - Browse repository at this point
Copy the full SHA 7d99e4eView commit details -
lower_pattern_unadjusted
: remove dead code.The code is dead because `check_pat_slice` will never have `expected = ty::Ref(...)` due to default-binding-modes (see `is_non_ref_pat`, `peel_off_references`). Moreover, if the type is not `ty::Array(_) | ty::Slice(_)` then `check_pat_slice` enters an error branch.
Configuration menu - View commit details
-
Copy full SHA for 13b7101 - Browse repository at this point
Copy the full SHA 13b7101View commit details -
check_pat_slice
: extractcheck_aray_pat_len
.Also use `types.err` when matching on `expected.kind`s which don't match `ty::Array(..) | ty::Slice(_)`.
Configuration menu - View commit details
-
Copy full SHA for ceaec1d - Browse repository at this point
Copy the full SHA ceaec1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9f1f8 - Browse repository at this point
Copy the full SHA 2a9f1f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b0af1d - Browse repository at this point
Copy the full SHA 3b0af1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for be6381e - Browse repository at this point
Copy the full SHA be6381eView commit details -
lower_pattern_unadjusted
: simplifyBinding(..)
branch.Avoid calling `.node_type(...)` again.
Configuration menu - View commit details
-
Copy full SHA for eb020bc - Browse repository at this point
Copy the full SHA eb020bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d63c324 - Browse repository at this point
Copy the full SHA d63c324View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc3160b - Browse repository at this point
Copy the full SHA cc3160bView commit details -
slice_or_array_pattern
: remove dead code.After rust-lang#62550, it is no longer possible for `slice` to be other than `None | Some(Binding(..) | Wild)`. In particular, `lower_pat_slice` may never generate `Some(Array(..) | Slice(..))` and so there is nothing to flatten into `slice`.
Configuration menu - View commit details
-
Copy full SHA for 6286a1d - Browse repository at this point
Copy the full SHA 6286a1dView commit details
Commits on Dec 20, 2019
-
SliceKind::VarLen
: make doc-comment render correctly.(The backticks were rendering badly in VSCode.)
Configuration menu - View commit details
-
Copy full SHA for 7353ff2 - Browse repository at this point
Copy the full SHA 7353ff2View commit details
Commits on Dec 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f7256d2 - Browse repository at this point
Copy the full SHA f7256d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3ef4a4 - Browse repository at this point
Copy the full SHA f3ef4a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c67c30d - Browse repository at this point
Copy the full SHA c67c30dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3838b60 - Browse repository at this point
Copy the full SHA 3838b60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 211560d - Browse repository at this point
Copy the full SHA 211560dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e08886d - Browse repository at this point
Copy the full SHA e08886dView commit details -
Configuration menu - View commit details
-
Copy full SHA for edb7b96 - Browse repository at this point
Copy the full SHA edb7b96View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7071f2 - Browse repository at this point
Copy the full SHA b7071f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d3ed9 - Browse repository at this point
Copy the full SHA 85d3ed9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1f6a6 - Browse repository at this point
Copy the full SHA 6f1f6a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b1fab8 - Browse repository at this point
Copy the full SHA 3b1fab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f499a9 - Browse repository at this point
Copy the full SHA 3f499a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b484fae - Browse repository at this point
Copy the full SHA b484faeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a11252a - Browse repository at this point
Copy the full SHA a11252aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e61cb44 - Browse repository at this point
Copy the full SHA e61cb44View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd89104 - Browse repository at this point
Copy the full SHA fd89104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a9a992 - Browse repository at this point
Copy the full SHA 8a9a992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e5b2f - Browse repository at this point
Copy the full SHA 18e5b2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cfeb56 - Browse repository at this point
Copy the full SHA 1cfeb56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50e00c7 - Browse repository at this point
Copy the full SHA 50e00c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b073a1 - Browse repository at this point
Copy the full SHA 4b073a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f215ca9 - Browse repository at this point
Copy the full SHA f215ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4625ba4 - Browse repository at this point
Copy the full SHA 4625ba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5f00be - Browse repository at this point
Copy the full SHA b5f00beView commit details -
Configuration menu - View commit details
-
Copy full SHA for f221b39 - Browse repository at this point
Copy the full SHA f221b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for d010560 - Browse repository at this point
Copy the full SHA d010560View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6f37c6 - Browse repository at this point
Copy the full SHA d6f37c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52fa020 - Browse repository at this point
Copy the full SHA 52fa020View commit details -
Configuration menu - View commit details
-
Copy full SHA for db4818f - Browse repository at this point
Copy the full SHA db4818fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62714f8 - Browse repository at this point
Copy the full SHA 62714f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e84b0 - Browse repository at this point
Copy the full SHA 30e84b0View commit details
Commits on Dec 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a34c267 - Browse repository at this point
Copy the full SHA a34c267View commit details -
Rollup merge of rust-lang#67148 - Centril:ty-polish, r=estebank
Refactor type & bounds parsing thoroughly PR is based on rust-lang#67131 with first one from this PR being ` extract parse_ty_tuple_or_parens`. Also fixes rust-lang#67146. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 616373e - Browse repository at this point
Copy the full SHA 616373eView commit details -
Rollup merge of rust-lang#67410 - mati865:mingw_link_fix, r=Mark-Simu…
…lacrum Reenable static linking of libstdc++ on windows-gnu Fixes rust-lang#67408 Verified locally that `rustc_driver` is now statically linked to libstdc++.
Configuration menu - View commit details
-
Copy full SHA for 35ff2f1 - Browse repository at this point
Copy the full SHA 35ff2f1View commit details -
Rollup merge of rust-lang#67439 - Centril:clean-hair-slice, r=matthew…
…jasper Cleanup `lower_pattern_unadjusted` & Improve slice pat typeck Following up on rust-lang#67318, in this PR, the HAIR lowering of patterns (`lower_pattern_unadjusted`) is cleaned up with a focus on slice patterns (in particular, some dead code is removed). Moreover, `check_pat_slice` is refactored some more. r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 877dc9d - Browse repository at this point
Copy the full SHA 877dc9dView commit details -
Rollup merge of rust-lang#67480 - rossmacarthur:fix-41260-avoid-issue…
…-0-part-2, r=Centril Require issue = "none" over issue = "0" in unstable attributes These changes make the use of `issue = "none"` required in unstable attributes throughout the compiler. Notes: - rust-lang#66299 is now in beta so `issue = "none"` is accepted. - The `tidy` tool now fails on `issue = "0"`. - Tests that used `issue = "0"` were changed to use `issue = "none"`, except for _one_ that asserts `issue = "0"` can still be used. - The compiler still allows `issue = "0"` because some submodules require it, this could be disallowed once these are updated. Resolves rust-lang#41260 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for eaeb113 - Browse repository at this point
Copy the full SHA eaeb113View commit details -
Rollup merge of rust-lang#67500 - JohnTitor:non-shorthand-field-patte…
…rns, r=Centril Tweak non_shorthand_field_patterns' suggestion Fixes rust-lang#66434 r? @estebank
Configuration menu - View commit details
-
Copy full SHA for c355463 - Browse repository at this point
Copy the full SHA c355463View commit details -
Rollup merge of rust-lang#67504 - Mark-Simulacrum:note-data-offset, r…
…=Centril Warn against relying on ?Sized being last Fixes rust-lang#62522
Configuration menu - View commit details
-
Copy full SHA for ca528fc - Browse repository at this point
Copy the full SHA ca528fcView commit details