about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-05 20:39:52 +0100
committerGitHub <noreply@github.com>2024-01-05 20:39:52 +0100
commit8309063e0a92c5602cb17da3135b8fda870360d2 (patch)
tree2fb53485c91faf8f79bf8b67e7543caa42f1a3e1 /compiler/rustc_codegen_gcc/example/example.rs
parentea6129084eff284ea730d89eb9866b5af76e1b47 (diff)
parent6a2bd5acd664e6bd118563ea9033245c624fec2e (diff)
downloadrust-8309063e0a92c5602cb17da3135b8fda870360d2.tar.gz
rust-8309063e0a92c5602cb17da3135b8fda870360d2.zip
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
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions