-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 16 pull requests #73528
Rollup of 16 pull requests #73528
Commits on May 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b3aa5e3 - Browse repository at this point
Copy the full SHA b3aa5e3View commit details
Commits on Jun 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for df996e8 - Browse repository at this point
Copy the full SHA df996e8View commit details -
Add FIXME to comment regarding local patterns
Co-authored-by: Bastian Kauschke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4ddd91 - Browse repository at this point
Copy the full SHA b4ddd91View commit details
Commits on Jun 14, 2020
-
Diagnose use of incompatible sanitizers
Emit an error when incompatible sanitizer are configured through command line options. Previously the last one configured prevailed and others were silently ignored. Additionally use a set to represent configured sanitizers, making it possible to enable multiple sanitizers at once. At least in principle, since currently all of them are considered to be incompatible with others.
Configuration menu - View commit details
-
Copy full SHA for 0a65f28 - Browse repository at this point
Copy the full SHA 0a65f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99d30da - Browse repository at this point
Copy the full SHA 99d30daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9014df5 - Browse repository at this point
Copy the full SHA 9014df5View commit details -
It does the same thing as `Deref` now
Configuration menu - View commit details
-
Copy full SHA for 26e17ae - Browse repository at this point
Copy the full SHA 26e17aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58062e1 - Browse repository at this point
Copy the full SHA 58062e1View commit details -
The `Call` terminator only works with `FnDef` and `FnPtr` types. It happened to work with `Self` so far because it was always substituted with the real type before being used.
Configuration menu - View commit details
-
Copy full SHA for af97a11 - Browse repository at this point
Copy the full SHA af97a11View commit details
Commits on Jun 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4cb26ad - Browse repository at this point
Copy the full SHA 4cb26adView commit details
Commits on Jun 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5fbef22 - Browse repository at this point
Copy the full SHA 5fbef22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 991dfe7 - Browse repository at this point
Copy the full SHA 991dfe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1265e7 - Browse repository at this point
Copy the full SHA d1265e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e13935 - Browse repository at this point
Copy the full SHA 5e13935View commit details
Commits on Jun 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bde1ccf - Browse repository at this point
Copy the full SHA bde1ccfView commit details -
Add src/librustdoc as an alias for src/tools/rustdoc
No one actually works with src/tools/librustdoc, it's almost empty.
Configuration menu - View commit details
-
Copy full SHA for 936ecad - Browse repository at this point
Copy the full SHA 936ecadView commit details -
Unify region variables when projecting associated types
This is required to avoid cycles when evaluating auto trait predicates.
Configuration menu - View commit details
-
Copy full SHA for ba2ef58 - Browse repository at this point
Copy the full SHA ba2ef58View commit details -
Configuration menu - View commit details
-
Copy full SHA for f488dfc - Browse repository at this point
Copy the full SHA f488dfcView commit details
Commits on Jun 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e9b0ce8 - Browse repository at this point
Copy the full SHA e9b0ce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa11704 - Browse repository at this point
Copy the full SHA aa11704View commit details
Commits on Jun 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0b5007e - Browse repository at this point
Copy the full SHA 0b5007eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b47586 - Browse repository at this point
Copy the full SHA 9b47586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06a237f - Browse repository at this point
Copy the full SHA 06a237fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b2a20 - Browse repository at this point
Copy the full SHA f4b2a20View commit details -
pretty/mir: const value enums with no variants
This commit modifies the pretty printer and const eval in the MIR so that `destructure_const` (used in `pretty_print_const_value`) can handle enums with no variants (or types containing enums with no variants). Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fa7dc6 - Browse repository at this point
Copy the full SHA 6fa7dc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f9d338 - Browse repository at this point
Copy the full SHA 2f9d338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 014e605 - Browse repository at this point
Copy the full SHA 014e605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f48465 - Browse repository at this point
Copy the full SHA 1f48465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96031e2 - Browse repository at this point
Copy the full SHA 96031e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f0bd5f - Browse repository at this point
Copy the full SHA 8f0bd5fView commit details -
The `E` type parameter was unnecessary, so it's now removed. The folding closure now has reduced parametricity on just `T = Self::Item`, rather than the whole `Self` iterator type. There's otherwise no functional change in this.
Configuration menu - View commit details
-
Copy full SHA for db0d70e - Browse repository at this point
Copy the full SHA db0d70eView commit details
Commits on Jun 20, 2020
-
Rollup merge of rust-lang#71420 - RalfJung:specialization-incomplete,…
… r=matthewjasper Specialization is unsound As discussed in rust-lang#31844 (comment), it might be a good idea to warn users of specialization that the feature they are using is unsound. I also expanded the "incomplete feature" warning to link the user to the tracking issue.
Configuration menu - View commit details
-
Copy full SHA for 203305d - Browse repository at this point
Copy the full SHA 203305dView commit details -
Rollup merge of rust-lang#71899 - cuviper:try_find_map, r=dtolnay
Refactor `try_find` a little ~~This works like `find_map`, but mapping to a `Try` type. It stops when `Ok` is `Some(value)`, with an additional short-circuit on `Try::Error`. This is similar to the unstable `try_find`, but has the advantage of being able to directly return the user's `R: Try` type directly, rather than converting to `Result`.~~ (removed -- `try_find_map` was declined in review) This PR also refactors `try_find` a little to match style. The `E` type parameter was unnecessary, so it's now removed. The folding closure now has reduced parametricity on just `T = Self::Item`, rather than the whole `Self` iterator type. There's otherwise no functional change in this.
Configuration menu - View commit details
-
Copy full SHA for 5c9cd82 - Browse repository at this point
Copy the full SHA 5c9cd82View commit details -
Rollup merge of rust-lang#72689 - lcnr:common_str, r=estebank
add str to common types I already expected this to be the case and it may slightly improve perf. Afaict if we ever want to change str into a lang item this would have to get reverted. As that would be fairly simple I don't believe this to cause any problems in the future.
Configuration menu - View commit details
-
Copy full SHA for 218b90f - Browse repository at this point
Copy the full SHA 218b90fView commit details -
Rollup merge of rust-lang#72791 - lcnr:coerce-refactor, r=estebank
update coerce docs and unify relevant tests Merges `test/ui/coerce` with `test/ui/coercion`. Updates the documentation of `librustc_typeck/check/coercion.rs`. Adds 2 new coercion tests.
Configuration menu - View commit details
-
Copy full SHA for c0a25be - Browse repository at this point
Copy the full SHA c0a25beView commit details -
Rollup merge of rust-lang#72934 - christianpoveda:mut-borrows-in-cons…
…ts, r=oli-obk forbid mutable references in all constant contexts except for const-fns PR to address rust-lang#71212 cc: @ecstatic-morse
Configuration menu - View commit details
-
Copy full SHA for dac512e - Browse repository at this point
Copy the full SHA dac512eView commit details -
Rollup merge of rust-lang#73027 - doctorn:issue-72690, r=estebank
Make `need_type_info_err` more conservative Makes sure arg patterns we are going to suggest on are actually contained within the span of the obligation that caused the inference error (credit to @lcnr for suggesting this fix). There's a subtle trade-off regarding the handling of local patterns which I've left a comment about. Resolves rust-lang#72690
Configuration menu - View commit details
-
Copy full SHA for 2d1bd57 - Browse repository at this point
Copy the full SHA 2d1bd57View commit details -
Rollup merge of rust-lang#73347 - tmiasko:incompatible-sanitizers, r=…
…nikic Diagnose use of incompatible sanitizers Emit an error when incompatible sanitizer are configured through command line options. Previously the last one configured prevailed and others were silently ignored. Additionally use a set to represent configured sanitizers, making it possible to enable multiple sanitizers at once. At least in principle, since currently all of them are considered to be incompatible with others.
Configuration menu - View commit details
-
Copy full SHA for 17b80d9 - Browse repository at this point
Copy the full SHA 17b80d9View commit details -
Rollup merge of rust-lang#73359 - jonas-schievink:do-the-shimmy, r=ma…
…tthewjasper shim.rs: avoid creating `Call` terminators calling `Self` Also contains some cleanup and doc comment additions so I could make sense of the code. Fixes rust-lang#73109 Closes rust-lang#73175 r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for fe4b485 - Browse repository at this point
Copy the full SHA fe4b485View commit details -
Rollup merge of rust-lang#73399 - GuillaumeGomez:cleanup-e0668, r=Dyl…
…an-DPC Clean up E0668 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 2dbb8b6 - Browse repository at this point
Copy the full SHA 2dbb8b6View commit details -
Rollup merge of rust-lang#73436 - GuillaumeGomez:cleanup-e0670, r=Dyl…
…an-DPC Clean up E0670 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 2377a50 - Browse repository at this point
Copy the full SHA 2377a50View commit details -
Rollup merge of rust-lang#73440 - jyn514:bootstrap/build-rustdoc, r=M…
…ark-Simulacrum Add src/librustdoc as an alias for src/tools/rustdoc No one actually works with src/tools/rustdoc, it's almost empty. Closes rust-lang#73439
Configuration menu - View commit details
-
Copy full SHA for d69d4c3 - Browse repository at this point
Copy the full SHA d69d4c3View commit details -
Rollup merge of rust-lang#73442 - davidtwco:issue-72181-pretty-print-…
…const-val-enum-no-variants, r=oli-obk pretty/mir: const value enums with no variants Fixes rust-lang#72181. This PR modifies the pretty printer and const eval in the MIR so that `destructure_const` (used in `pretty_print_const_value`) can handle enums with no variants (or types containing enums with no variants). I'm not convinced that this is the correct approach, folks more familiar with `destructure_const` would be able to say - happy to adjust the PR. Looking through `destructure_const` and the functions that it invokes, it didn't seem like it was written to handle zero-variant-enums - I assume that case is handled earlier in some way so `destructure_const` doesn't need to under normal circumstances. It didn't seem like it would be straightforward to make `destructure_const` handle this case in a first-class-feeling way (e.g. adding a `Variants::None` variant), so this PR makes some minimal changes to avoid ICEs.
Configuration menu - View commit details
-
Copy full SHA for db7203d - Browse repository at this point
Copy the full SHA db7203dView commit details -
Rollup merge of rust-lang#73452 - matthewjasper:auto-rec, r=nikomatsakis
Unify region variables when projecting associated types This is required to avoid cycles when evaluating auto trait predicates. Notably, this is required to be able add Chalk types to `CtxtInterners` for `cfg(parallel_compiler)`. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 61f8c3e - Browse repository at this point
Copy the full SHA 61f8c3eView commit details -
Rollup merge of rust-lang#73458 - tmiasko:arena-layout, r=matthewjasper
Use alloc::Layout in DroplessArena API
Configuration menu - View commit details
-
Copy full SHA for fd1c783 - Browse repository at this point
Copy the full SHA fd1c783View commit details -
Rollup merge of rust-lang#73484 - poliorcetics:use-prelude-doc, r=sfa…
…ckler Update the doc for std::prelude to the correct behavior Fixes rust-lang#64686. One line change to ensure the docs are correct about the behavior of the compiler when inserting`std::prelude::v1`. I don't think examples are necessary but I can add some (especially those from the original issue) if needed.
Configuration menu - View commit details
-
Copy full SHA for 7777b0b - Browse repository at this point
Copy the full SHA 7777b0bView commit details -
Rollup merge of rust-lang#73506 - Xanewok:update-rls, r=Xanewok
Bump Rustfmt and RLS Fixes rust-lang#73406 Fixes rust-lang#73199 Fixes rust-lang#73407 Fixes rust-lang#73200 cc @calebcartwright @topecongiro r? @ghost Let's see what CI says first
Configuration menu - View commit details
-
Copy full SHA for 3e40cca - Browse repository at this point
Copy the full SHA 3e40ccaView commit details