-
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 10 pull requests #69555
Rollup of 10 pull requests #69555
Commits on Feb 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 81e4027 - Browse repository at this point
Copy the full SHA 81e4027View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26fdcbb - Browse repository at this point
Copy the full SHA 26fdcbbView commit details
Commits on Feb 10, 2020
-
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7ab01b2 - Browse repository at this point
Copy the full SHA 7ab01b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32daa2a - Browse repository at this point
Copy the full SHA 32daa2aView commit details
Commits on Feb 23, 2020
-
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com> Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e7a344f - Browse repository at this point
Copy the full SHA e7a344fView commit details
Commits on Feb 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 59261f0 - Browse repository at this point
Copy the full SHA 59261f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2605c1 - Browse repository at this point
Copy the full SHA b2605c1View commit details
Commits on Feb 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9b6e0e8 - Browse repository at this point
Copy the full SHA 9b6e0e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da3a2f - Browse repository at this point
Copy the full SHA 5da3a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e58496c - Browse repository at this point
Copy the full SHA e58496cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d33717 - Browse repository at this point
Copy the full SHA 1d33717View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f6bb7 - Browse repository at this point
Copy the full SHA e9f6bb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1de8f1 - Browse repository at this point
Copy the full SHA b1de8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d234e13 - Browse repository at this point
Copy the full SHA d234e13View commit details
Commits on Feb 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6672a04 - Browse repository at this point
Copy the full SHA 6672a04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 526280a - Browse repository at this point
Copy the full SHA 526280aView commit details
Commits on Feb 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7c84ba1 - Browse repository at this point
Copy the full SHA 7c84ba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1de0b1 - Browse repository at this point
Copy the full SHA c1de0b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d42f4 - Browse repository at this point
Copy the full SHA 13d42f4View commit details
Commits on Feb 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4e0bea3 - Browse repository at this point
Copy the full SHA 4e0bea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85b585d - Browse repository at this point
Copy the full SHA 85b585dView commit details -
remove redundant clones, references to operands, explicit boolean com…
…parisons and filter(x).next() calls.
Configuration menu - View commit details
-
Copy full SHA for ff9341a - Browse repository at this point
Copy the full SHA ff9341aView commit details -
Rollup merge of rust-lang#68989 - XAMPPRocky:relnotes-1.42.0, r=Mark-…
…Simulacrum Update RELEASES.md for 1.42.0 ### [Rendered](https://github.com/XAMPPRocky/rust/blob/relnotes-1.42.0/RELEASES.md) r? @Mark-Simulacrum cc @rust-lang/release
Configuration menu - View commit details
-
Copy full SHA for bbf6eec - Browse repository at this point
Copy the full SHA bbf6eecView commit details -
Rollup merge of rust-lang#69340 - Centril:self-ctor-normalize, r=niko…
…matsakis instantiate_value_path: on `SelfCtor`, avoid unconstrained tyvars Fixes rust-lang#69306. On `Self(...)` (that is, a `Res::SelfCtor`), do not use `self.impl_self_ty(...)`. The problem with that method is that it creates unconstrained inference variables for type parameters in the `impl` (e.g. `impl<T> S0<T>`). These variables then eventually get substituted for something else when they come in contact with the expected type (e.g. `S0<u8>`) or merely the arguments passed to the tuple constructor (e.g. the `0` in `Self(0)`). Instead of using `self.impl_self_ty(...)`, we instead merely use `let ty = self.normalize_ty(span, tcx.at(span).type_of(impl_def_id));` to get the rewritten `res`. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 76fe449 - Browse repository at this point
Copy the full SHA 76fe449View commit details -
Rollup merge of rust-lang#69384 - petrochenkov:nounnorm, r=Centril
parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token` So, after rust-lang#69006, its follow-ups and an attempt to remove `Parser::prev_span` I came to the conclusion that the unnormalized token and its span is what you want in most cases, so it should be default. Normalization only makes difference in few cases where we are checking against `token::Ident` or `token::Lifetime` specifically. This PR uses `normalized_token` for those cases. Using normalization explicitly means that people writing code should remember about `NtIdent` and `NtLifetime` in general. (That is alleviated by the fact that `token.ident()` and `fn parse_ident_*` are already written.) Remembering about `NtIdent`, was, however, already the case, kind of, because the implicit normalization was performed only for the current/previous token, but not for things like `look_ahead`. As a result, most of token classification methods in `token.rs` already take `NtIdent` into account (this PR fixes a few pre-existing minor mistakes though). The next step is removing `normalized(_prev)_token` entirely and replacing it with `token.ident()` (mostly) and `token.normalize()` (occasionally). I want to make it a separate PR for that and run it though perf. `normalized_token` filled on every bump has both a potential to avoid repeated normalization, and to do unnecessary work in advance (it probably doesn't matter anyway, the normalization is very cheap). r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 3828fa2 - Browse repository at this point
Copy the full SHA 3828fa2View commit details -
Rollup merge of rust-lang#69452 - Centril:typeck-pat, r=estebank
typeck: use `Pattern` obligation cause more for better diagnostics r? @estebank
Configuration menu - View commit details
-
Copy full SHA for a245221 - Browse repository at this point
Copy the full SHA a245221View commit details -
Rollup merge of rust-lang#69481 - matthiaskrgr:single_char, r=ecstati…
…c-morse use char instead of &str for single char patterns
Configuration menu - View commit details
-
Copy full SHA for 07d9ed2 - Browse repository at this point
Copy the full SHA 07d9ed2View commit details -
Rollup merge of rust-lang#69522 - Centril:fix-69341, r=petrochenkov
error_derive_forbidden_on_non_adt: be more graceful Fixes rust-lang#69341 which was injected by rust-lang#67052. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 87cc521 - Browse repository at this point
Copy the full SHA 87cc521View commit details -
Rollup merge of rust-lang#69538 - JohnTitor:boxed-slice-try-from, r=C…
…entril Stabilize `boxed_slice_try_from` Closes rust-lang#69202
Configuration menu - View commit details
-
Copy full SHA for e4cedc9 - Browse repository at this point
Copy the full SHA e4cedc9View commit details -
Rollup merge of rust-lang#69539 - Centril:fix-69401, r=petrochenkov
late resolve, visit_fn: bail early if there's no body. Fixes rust-lang#69401 which was injected by rust-lang@b2c6eeb in rust-lang#68788. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for b95945c - Browse repository at this point
Copy the full SHA b95945cView commit details -
Rollup merge of rust-lang#69541 - dotdash:format, r=Mark-Simulacrum
Remove unneeded calls to format!()
Configuration menu - View commit details
-
Copy full SHA for 61b091b - Browse repository at this point
Copy the full SHA 61b091bView commit details -
Rollup merge of rust-lang#69547 - matthiaskrgr:more_misc, r=Mark-Simu…
…lacrum remove redundant clones, references to operands, explicit boolean comparisons and filter(x).next() calls.
Configuration menu - View commit details
-
Copy full SHA for 13e4c6c - Browse repository at this point
Copy the full SHA 13e4c6cView commit details