-
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 6 pull requests #121458
Rollup of 6 pull requests #121458
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
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 -
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 -
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 490ee5a - Browse repository at this point
Copy the full SHA 490ee5aView 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 24e8155 - Browse repository at this point
Copy the full SHA 24e8155View 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 8bf05b1 - Browse repository at this point
Copy the full SHA 8bf05b1View 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 f9aeaa6 - Browse repository at this point
Copy the full SHA f9aeaa6View 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 25aac34 - Browse repository at this point
Copy the full SHA 25aac34View 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 20e862e - Browse repository at this point
Copy the full SHA 20e862eView commit details