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
..
2024-01-05 09:30:27 +00:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-12-10 10:56:22 +08:00
2023-12-20 22:53:56 -05:00
2024-01-05 10:00:59 +00:00
2023-12-14 15:22:37 +01:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-12-23 00:09:37 +08:00
2024-01-05 10:00:59 +00:00
2023-12-10 14:25:57 +01:00
2024-01-05 10:00:59 +00:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-12-15 16:12:27 +00:00
2024-01-05 10:00:59 +00:00
2024-01-05 09:30:27 +00:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2023-12-10 10:56:22 +08:00
2023-12-15 16:12:27 +00:00
2023-12-14 15:22:37 +01:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2024-01-05 09:30:27 +00:00
2024-01-05 09:30:27 +00:00
2024-01-05 10:00:59 +00:00
2023-12-19 13:35:37 -05:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-12-19 13:35:37 -05:00
2023-12-10 10:56:22 +08:00