-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 7 pull requests #83758
Rollup of 7 pull requests #83758
Commits on Mar 15, 2021
-
Rename
#[doc(spotlight)]
to#[doc(notable_trait)]
"spotlight" is not a very specific or self-explaining name. Additionally, the dialog that it triggers is called "Notable traits". So, "notable trait" is a better name. * Rename `#[doc(spotlight)]` to `#[doc(notable_trait)]` * Rename `#![feature(doc_spotlight)]` to `#![feature(doc_notable_trait)]` * Update documentation * Improve documentation
Configuration menu - View commit details
-
Copy full SHA for 34c6cee - Browse repository at this point
Copy the full SHA 34c6ceeView commit details
Commits on Mar 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 770a9cf - Browse repository at this point
Copy the full SHA 770a9cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 525e23a - Browse repository at this point
Copy the full SHA 525e23aView commit details
Commits on Mar 26, 2021
-
Break when there is a mismatch in the type count
When other errors are generated, there can be a mismatch between the amount of input types in MIR, and the amount in the function itself. Break from the comparative loop if this is the case to prevent out-of-bounds.
Configuration menu - View commit details
-
Copy full SHA for 5676bd5 - Browse repository at this point
Copy the full SHA 5676bd5View commit details
Commits on Mar 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c3cf93a - Browse repository at this point
Copy the full SHA c3cf93aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef70d8 - Browse repository at this point
Copy the full SHA 1ef70d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c76a0 - Browse repository at this point
Copy the full SHA c2c76a0View commit details
Commits on Apr 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 42797e2 - Browse repository at this point
Copy the full SHA 42797e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e4215c - Browse repository at this point
Copy the full SHA 2e4215cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a38d3cb - Browse repository at this point
Copy the full SHA a38d3cbView commit details -
add OR_PATTERNS_BACK_COMPAT lint
test: add more cases test: add comments refine msg
Configuration menu - View commit details
-
Copy full SHA for 2c66e15 - Browse repository at this point
Copy the full SHA 2c66e15View commit details -
Add a test that triggers the out-of-bounds ICE.
Add a test that has the right input to trigger an out-of-bounds error when in MIR the local_decls and the normalized_input_tys don't match in amount.
Configuration menu - View commit details
-
Copy full SHA for 2d813b2 - Browse repository at this point
Copy the full SHA 2d813b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f70aaf - Browse repository at this point
Copy the full SHA 5f70aafView commit details -
Rollup merge of rust-lang#80828 - SNCPlay42:opaque-projections, r=est…
…ebank Fix expected/found order on impl trait projection mismatch error fixes rust-lang#68561 This PR adds a new `ObligationCauseCode` used when checking the concrete type of an impl trait satisfies its bounds, and checks for that cause code in the existing test to see if a projection's normalized type should be the "expected" or "found" type. The second commit adds a `peel_derives` to that test, which appears to be necessary in some cases (see projection-mismatch-in-impl-where-clause.rs, which would still give expected/found in the wrong order otherwise). This caused some other changes in diagnostics not involving impl trait, but they look correct to me.
Configuration menu - View commit details
-
Copy full SHA for a0d8ea4 - Browse repository at this point
Copy the full SHA a0d8ea4View commit details -
Rollup merge of rust-lang#80965 - camelid:rename-doc-spotlight, r=jyn514
Rename `#[doc(spotlight)]` to `#[doc(notable_trait)]` Fixes rust-lang#80936. "spotlight" is not a very specific or self-explaining name. Additionally, the dialog that it triggers is called "Notable traits". So, "notable trait" is a better name. * Rename `#[doc(spotlight)]` to `#[doc(notable_trait)]` * Rename `#![feature(doc_spotlight)]` to `#![feature(doc_notable_trait)]` * Update documentation * Improve documentation r? `@Manishearth`
Configuration menu - View commit details
-
Copy full SHA for 1e5ae60 - Browse repository at this point
Copy the full SHA 1e5ae60View commit details -
Rollup merge of rust-lang#83468 - hi-rustin:rustin-patch-lint, r=niko…
…matsakis add OR_PATTERNS_BACK_COMPAT lint close rust-lang#83318
Configuration menu - View commit details
-
Copy full SHA for 81bffb1 - Browse repository at this point
Copy the full SHA 81bffb1View commit details -
Rollup merge of rust-lang#83521 - sexxi-goose:quick-diagnostic-fix, r…
…=nikomatsakis 2229: Fix diagnostic issue when using FakeReads in closures This PR fixes a diagnostic issue caused by rust-lang#82536. A temporary work around was used in this merged PR which involved feature gating the addition of FakeReads introduced as a result of pattern matching in closures. The fix involves adding an optional closure DefId to ForLet and ForMatchedPlace FakeReadCauses. This DefId will only be added if a closure pattern matches a Place starting with an Upvar. r? ``@nikomatsakis``
Configuration menu - View commit details
-
Copy full SHA for 0fc32d7 - Browse repository at this point
Copy the full SHA 0fc32d7View commit details -
Rollup merge of rust-lang#83535 - MidasLamb:mir-type-count-mismatch, …
…r=nikomatsakis Break when there is a mismatch in the type count When other errors are generated, there can be a mismatch between the amount of input types in MIR, and the amount in the function itself. Break from the comparative loop if this is the case to prevent out-of-bounds. Fixes rust-lang#83499
Configuration menu - View commit details
-
Copy full SHA for d101414 - Browse repository at this point
Copy the full SHA d101414View commit details -
Rollup merge of rust-lang#83740 - obi1kenobi:patch-1, r=joshtriplett
Fix comment typo in once.rs I believe I came across a minor typo in a comment. I am not particularly familiar with this part of the codebase, but I have read the surrounding code as well as the referenced `park` and `unpark` functions, and I believe my proposed change is true to the intended meaning of the comment. I intentionally tried to keep the change as minimal as possible. If I have the maintainers' permission, I'd also love to add a comma to improve readability as follows: `Luckily ``park`` comes with the guarantee that if it got an ``unpark`` just before on an unparked thread, it does not park.`
Configuration menu - View commit details
-
Copy full SHA for e333d69 - Browse repository at this point
Copy the full SHA e333d69View commit details -
Rollup merge of rust-lang#83745 - JohnTitor:jtitor-mailmap, r=Mark-Si…
…mulacrum Add my new email address to .mailmap
Configuration menu - View commit details
-
Copy full SHA for fa7e9ea - Browse repository at this point
Copy the full SHA fa7e9eaView commit details