rust/compiler/rustc_infer
Matthias Krüger 8309063e0a
Rollup merge of #119506 - compiler-errors:visibilities-for-object-safety-error, r=Nilstrieb
Use `resolutions(()).effective_visiblities` to avoid cycle errors in `report_object_error`

Inside of `report_object_error`, using the `effective_visibilities` query causes cycles since it calls `type_of`, which itself may call `typeck`, which may end up reporting its own object-safety errors.

Fixes #119346
Fixes #119502
2024-01-05 20:39:52 +01:00
..
src Rollup merge of #119506 - compiler-errors:visibilities-for-object-safety-error, r=Nilstrieb 2024-01-05 20:39:52 +01:00
Cargo.toml Replace custom_encodable with encodable. 2023-11-22 18:37:14 +11:00
messages.ftl s/generator/coroutine/ 2023-10-20 21:14:01 +00:00