Fix some pub(crate) that were undetected bc of instrument

This commit is contained in:
Michael Goulet 2024-10-04 14:02:09 -04:00
parent 267cf8d3b2
commit be2540a1f0
16 changed files with 31 additions and 29 deletions

View file

@ -40,7 +40,7 @@ mod rustc {
/// This method begins by converting `src` and `dst` from `Ty`s to `Tree`s,
/// then computes an answer using those trees.
#[instrument(level = "debug", skip(self), fields(src = ?self.src, dst = ?self.dst))]
pub fn answer(self) -> Answer<<TyCtxt<'tcx> as QueryContext>::Ref> {
pub(crate) fn answer(self) -> Answer<<TyCtxt<'tcx> as QueryContext>::Ref> {
let Self { src, dst, assume, context } = self;
let layout_cx = LayoutCx::new(context, ParamEnv::reveal_all());