-
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 12 pull requests #121859
Rollup of 12 pull requests #121859
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75da582 - Browse repository at this point
Copy the full SHA 75da582View commit details
Commits on Feb 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 748c615 - Browse repository at this point
Copy the full SHA 748c615View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a9907b1 - Browse repository at this point
Copy the full SHA a9907b1View commit details
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4996194 - Browse repository at this point
Copy the full SHA 4996194View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba50b3 - Browse repository at this point
Copy the full SHA 3ba50b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc13f82 - Browse repository at this point
Copy the full SHA cc13f82View commit details -
Make the success arms of
if lhs || rhs
meet up in a separate blockIn the previous code, the success block of `lhs` would jump directly to the success block of `rhs`. However, `rhs_success_block` could already contain statements that are specific to the RHS, and the direct goto causes them to be executed in the LHS success path as well. This patch therefore creates a fresh block that the LHS and RHS success blocks can both jump to.
Configuration menu - View commit details
-
Copy full SHA for a7832b1 - Browse repository at this point
Copy the full SHA a7832b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f11713b - Browse repository at this point
Copy the full SHA f11713bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ee457 - Browse repository at this point
Copy the full SHA 19ee457View commit details -
Remove unnecessary
Level::
qualifiers.We have `use Level::*;` in this file.
Configuration menu - View commit details
-
Copy full SHA for 721c741 - Browse repository at this point
Copy the full SHA 721c741View commit details -
CFI: Remove unused
typeid_for_fnsig
Removes unused `typeid_for_fnsig` for simplifying the compiler CFI API.
Configuration menu - View commit details
-
Copy full SHA for 7e64163 - Browse repository at this point
Copy the full SHA 7e64163View commit details -
Handle stashing of delayed bugs.
By just emitting them immediately, because it does happen in practice, when errors are downgraded to delayed bugs. We already had one case in `lint.rs` where we handled this at the callsite. This commit changes things so it's handled within `stash_diagnostic` instead, because rust-lang#121812 identified a second case, and it's possible there are more. Fixes rust-lang#121812.
Configuration menu - View commit details
-
Copy full SHA for 44f0043 - Browse repository at this point
Copy the full SHA 44f0043View commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2064c19 - Browse repository at this point
Copy the full SHA 2064c19View commit details -
Configuration menu - View commit details
-
Copy full SHA for beac5b1 - Browse repository at this point
Copy the full SHA beac5b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d2607 - Browse repository at this point
Copy the full SHA f6d2607View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0700ec0 - Browse repository at this point
Copy the full SHA 0700ec0View commit details -
Rollup merge of rust-lang#120646 - clubby789:uninit-destructuring-sug…
…g, r=michaelwoerister Fix incorrect suggestion for uninitialized binding in pattern Fixes rust-lang#120634
Configuration menu - View commit details
-
Copy full SHA for 80549a8 - Browse repository at this point
Copy the full SHA 80549a8View commit details -
Rollup merge of rust-lang#121416 - veera-sivarajan:bugfix-120785, r=n…
…nethercote Improve error messages for generics with default parameters Fixes rust-lang#120785 Issue: Previously, all type parameters with default types were deliberately ignored to simplify error messages. For example, an error message for Box type would display `Box<T>` instead of `Box<T, _>`. But, this resulted in unclear error message when a concrete type was used instead of the default type. Fix: This PR fixes it by checking if a concrete type is specified after a default type to display the entire type name or the simplified type name.
Configuration menu - View commit details
-
Copy full SHA for f23c6dd - Browse repository at this point
Copy the full SHA f23c6ddView commit details -
Rollup merge of rust-lang#121475 - jieyouxu:tidy-stderr-check, r=the8…
…472,compiler-errors Add tidy check for .stderr/.stdout files for non-existent test revisions Closes rust-lang#77498.
Configuration menu - View commit details
-
Copy full SHA for dcde08f - Browse repository at this point
Copy the full SHA dcde08fView commit details -
Rollup merge of rust-lang#121580 - Suyashtnt:issue-121502-fix, r=mich…
…aelwoerister make unused_imports less assertive in test modules closes rust-lang#121502 This is a fairly small change and I used the fix suggested in the example expected error message. Not sure if I should've rather used the alternatives but this one seems the most descriptive. Some alternatives: - if this is meant to be a test module, add `#[cfg(test)]` to the containing module - try adding #[cfg(test)] to this test module - consider adding #[allow(unused_imports)] if you want to silent the lint on the unused import - consider removing the unused import
Configuration menu - View commit details
-
Copy full SHA for 58825b4 - Browse repository at this point
Copy the full SHA 58825b4View commit details -
Rollup merge of rust-lang#121736 - HTGAzureX1212:HTGAzureX1212/remove…
…-mutex-unlock, r=jhpratt Remove `Mutex::unlock` Function As of the completion of the FCP in rust-lang#81872 (comment), it has come to the conclusion to be closed. This PR removes the function entirely in light of the above. Closes rust-lang#81872.
Configuration menu - View commit details
-
Copy full SHA for 90ca049 - Browse repository at this point
Copy the full SHA 90ca049View commit details -
Rollup merge of rust-lang#121784 - Zalathar:if-or-converge, r=Nadrieril
Make the success arms of `if lhs || rhs` meet up in a separate block Extracted from rust-lang#118305, where this is necessary to avoid introducing a bug when injecting marker statements into the then/else arms. --- In the previous code (rust-lang#111752), the success block of `lhs` would jump directly to the success block of `rhs`. However, `rhs_success_block` could already contain statements that are specific to the RHS, and the direct goto causes them to be executed in the LHS success path as well. This patch therefore creates a fresh block that the LHS and RHS success blocks can both jump to. --- I think the reason we currently get away with this is that `rhs_success_block` usually doesn't contain anything other than StorageDead statements for locals used by the RHS, and those statements don't seem to cause problems in the LHS success path (which never makes those locals live). But if we start adding meaningful statements for branch coverage (or MC/DC coverage), it's important to keep the LHS and RHS blocks separate.
Configuration menu - View commit details
-
Copy full SHA for 1a4c93e - Browse repository at this point
Copy the full SHA 1a4c93eView commit details -
Rollup merge of rust-lang#121818 - rcvalle:rust-cfi-remove-unused-typ…
…eid-for-fnsig, r=workingjubilee CFI: Remove unused `typeid_for_fnsig` Removes unused `typeid_for_fnsig` for simplifying the compiler CFI API.
Configuration menu - View commit details
-
Copy full SHA for b5ef517 - Browse repository at this point
Copy the full SHA b5ef517View commit details -
Rollup merge of rust-lang#121819 - nnethercote:fix-121812, r=oli-obk
Handle stashing of delayed bugs By just emitting them immediately, because it does happen in practice, when errors are downgraded to delayed bugs. We already had one case in `lint.rs` where we handled this at the callsite. This commit changes things so it's handled within `stash_diagnostic` instead, because rust-lang#121812 identified a second case, and it's possible there are more. Fixes rust-lang#121812. r? ````@oli-obk````
Configuration menu - View commit details
-
Copy full SHA for 47a491d - Browse repository at this point
Copy the full SHA 47a491dView commit details -
Rollup merge of rust-lang#121828 - mu001999:clean, r=Nilstrieb
Remove unused fluent messages Unused fluent messages after rust-lang#121779
Configuration menu - View commit details
-
Copy full SHA for 01b58bd - Browse repository at this point
Copy the full SHA 01b58bdView commit details -
Rollup merge of rust-lang#121831 - gurry:fix-typo, r=oli-obk
Fix typo in comment "pop" should have been "prop"
Configuration menu - View commit details
-
Copy full SHA for 96e3777 - Browse repository at this point
Copy the full SHA 96e3777View commit details -
Rollup merge of rust-lang#121850 - reitermarkus:generic-nonzero-unsaf…
…e-trait, r=Nilstrieb Make `ZeroablePrimitive` trait unsafe. Tracking issue: rust-lang#120257 r? `@dtolnay`
Configuration menu - View commit details
-
Copy full SHA for 68dd5e6 - Browse repository at this point
Copy the full SHA 68dd5e6View commit details -
Rollup merge of rust-lang#121853 - lcnr:normalizes_to-polarity, r=com…
…piler-errors normalizes-to: handle negative impls necessary to build the stage 2 compiler in rust-lang#121848 😁 r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for ff22925 - Browse repository at this point
Copy the full SHA ff22925View commit details