1
Fork 0

Implement RTN in resolve_bound_vars and HIR ty lowering

This commit is contained in:
Michael Goulet 2024-08-26 15:03:30 -04:00
parent 19881b5a5a
commit 51b51bb570
11 changed files with 411 additions and 177 deletions

View file

@ -790,6 +790,7 @@ impl<'ra: 'ast, 'ast, 'tcx> Visitor<'ast> for LateResolutionVisitor<'_, 'ast, 'r
TyKind::Path(qself, path) => {
self.diag_metadata.current_type_path = Some(ty);
// TODO:
let source = if let Some(seg) = path.segments.last()
&& let Some(args) = &seg.args
&& matches!(**args, GenericArgs::ParenthesizedElided(..))