mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
0af35f6a3b
Do not use effective_visibilities query for Adt types of a local trait while proving a where-clause Partially fix rust-lang/rust#145611, but we should do something make cycle in this situation ICE. Instead of using a query, call `&tcx.resolutions(()).effective_visibilities`. r? `````@lcnr````` cc `````@compiler-errors`````