-
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 8 pull requests #121469
Rollup of 8 pull requests #121469
Commits on Feb 3, 2024
-
No need to validate_alias_bound_self_from_param_env in assemble_alias…
…_bound_candidates
Configuration menu - View commit details
-
Copy full SHA for 6dea155 - Browse repository at this point
Copy the full SHA 6dea155View commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 31478cd - Browse repository at this point
Copy the full SHA 31478cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66bd645 - Browse repository at this point
Copy the full SHA 66bd645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00234f0 - Browse repository at this point
Copy the full SHA 00234f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c9d580 - Browse repository at this point
Copy the full SHA 5c9d580View commit details -
Configuration menu - View commit details
-
Copy full SHA for a181bdc - Browse repository at this point
Copy the full SHA a181bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a0607 - Browse repository at this point
Copy the full SHA b1a0607View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0610f59 - Browse repository at this point
Copy the full SHA 0610f59View commit details
Commits on Feb 22, 2024
-
Fix panic when compiling
Rocket
.`Rustc::emit_diagnostic` reconstructs a diagnostic passed in from the macro machinery. Currently it uses the type `DiagnosticBuilder<'_, ErrorGuaranteed>`, which is incorrect, because the diagnostic might be a warning. And if it is a warning, because of the `ErrorGuaranteed` we end up calling into `emit_producing_error_guaranteed` and the assertion within that function (correctly) fails because the level is not an error level. The fix is simple: change the type to `DiagnosticBuilder<'_, ()>`. Using `()` works no matter what the diagnostic level is, and we don't need an `ErrorGuaranteed` here. The panic was reported in rust-lang#120576.
Configuration menu - View commit details
-
Copy full SHA for 326b44e - Browse repository at this point
Copy the full SHA 326b44eView commit details -
Make some
IntoDiagnostic
impls generic.PR rust-lang#119097 made the decision to make all `IntoDiagnostic` impls generic, because this allowed a bunch of nice cleanups. But four hand-written impls were unintentionally overlooked. This commit makes them generic.
Configuration menu - View commit details
-
Copy full SHA for 02423a5 - Browse repository at this point
Copy the full SHA 02423a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c276af2 - Browse repository at this point
Copy the full SHA c276af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7921ce3 - Browse repository at this point
Copy the full SHA 7921ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e016a8 - Browse repository at this point
Copy the full SHA 9e016a8View commit details -
Add new maintainers to nto-qnx.md
Ferrous Systems are volunteering myself and Jorge as co-maintainers of the QNX targets.
Configuration menu - View commit details
-
Copy full SHA for a2a6e47 - Browse repository at this point
Copy the full SHA a2a6e47View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3021eb - Browse repository at this point
Copy the full SHA e3021ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4622e0 - Browse repository at this point
Copy the full SHA e4622e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1efb747 - Browse repository at this point
Copy the full SHA 1efb747View commit details -
Rollup merge of rust-lang#120598 - compiler-errors:no-rigid-check, r=…
…lcnr No need to `validate_alias_bound_self_from_param_env` in `assemble_alias_bound_candidates` We already fully normalize the self type before we reach `assemble_alias_bound_candidates`, so there's no reason to double check that a projection is truly rigid by checking param-env bounds. I think this is also blocked on us making sure to always normalize opaques: rust-lang#120549. r? lcnr
Configuration menu - View commit details
-
Copy full SHA for 702225e - Browse repository at this point
Copy the full SHA 702225eView commit details -
Rollup merge of rust-lang#121386 - oli-obk:no_higher_ranked_opaques, …
…r=lcnr test that we do not support higher-ranked regions in opaque type inference We already do all the right checks in `check_opaque_type_parameter_valid`, and we have done so since at least 2 years. I collected the tests from rust-lang#116935 and rust-lang#100503 and added some more cc rust-lang#96146 r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 379ef9b - Browse repository at this point
Copy the full SHA 379ef9bView commit details -
Rollup merge of rust-lang#121393 - Nadrieril:match-lowering-testcase,…
… r=matthewjasper match lowering: Introduce a `TestCase` enum to replace most matching on `PatKind` Introduces `TestCase` that represents the specific outcome of a test. It complements `TestKind` which represents a test. In `MatchPair::new()` we select the appropriate `TestCase` for the pattern, and after that we almost never have to inspect the pattern directly during match lowering. Together with rust-lang#120904, this makes `MatchPair` into a standalone abstraction that hides the details of `thir::Pat`. This will become even truer in the next PR where I make `TestCase` handle or patterns. This opens the door to a lot of future simplifications. r? `@matthewjasper`
Configuration menu - View commit details
-
Copy full SHA for 5a87e13 - Browse repository at this point
Copy the full SHA 5a87e13View commit details -
Rollup merge of rust-lang#121401 - eltociear:patch-25, r=nnethercote
Fix typo in serialized.rs accomodate -> accommodate
Configuration menu - View commit details
-
Copy full SHA for 47bf8a6 - Browse repository at this point
Copy the full SHA 47bf8a6View commit details -
Rollup merge of rust-lang#121427 - nnethercote:fix-Rocket, r=oli-obk
Fix panic when compiling `Rocket`. This panic was reported [here](rust-lang#120576 (comment)). r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 01ec4eb - Browse repository at this point
Copy the full SHA 01ec4ebView commit details -
Rollup merge of rust-lang#121439 - jrudolph:patch-1, r=bjorn3
Fix typo in metadata.rs doc comment
Configuration menu - View commit details
-
Copy full SHA for e064bf6 - Browse repository at this point
Copy the full SHA e064bf6View commit details -
Rollup merge of rust-lang#121441 - lcnr:typesystem-cleanup, r=compile…
…r-errors `DefId` to `LocalDefId`
Configuration menu - View commit details
-
Copy full SHA for 5401098 - Browse repository at this point
Copy the full SHA 5401098View commit details -
Rollup merge of rust-lang#121452 - jonathanpallant:patch-1, r=Amanieu
Add new maintainers to nto-qnx.md [Ferrous Systems](https://ferrous-systems.com) are volunteering myself and `@japaric` as co-maintainers of the QNX targets.
Configuration menu - View commit details
-
Copy full SHA for 4537e6d - Browse repository at this point
Copy the full SHA 4537e6dView commit details