Simplify more FnCtxt normalization

This commit is contained in:
Michael Goulet 2022-11-25 18:00:27 +00:00
parent 52cd342696
commit 06786227fd
10 changed files with 46 additions and 111 deletions

View file

@ -109,7 +109,7 @@ pub trait AstConv<'tcx> {
) -> Ty<'tcx>;
/// Normalize an associated type coming from the user.
///
///
/// This should only be used by astconv. Use `FnCtxt::normalize`
/// or `ObligationCtxt::normalize` in downstream crates.
fn normalize_ty(&self, span: Span, ty: Ty<'tcx>) -> Ty<'tcx>;