Simplify more FnCtxt normalization
This commit is contained in:
parent
52cd342696
commit
06786227fd
10 changed files with 46 additions and 111 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue