Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/TraitRef/projection
This commit is contained in:
parent
06c072f158
commit
f26cc349d9
35 changed files with 144 additions and 84 deletions
|
@ -109,7 +109,7 @@ impl<'tcx> LateLintPass<'tcx> for OpaqueHiddenInferredBound {
|
|||
return;
|
||||
}
|
||||
|
||||
let proj_ty = Ty::new_projection(
|
||||
let proj_ty = Ty::new_projection_from_args(
|
||||
cx.tcx,
|
||||
proj.projection_term.def_id,
|
||||
proj.projection_term.args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue