aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.cc')
-rw-r--r--gcc/rust/resolve/rust-ast-resolve-path.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-path.cc b/gcc/rust/resolve/rust-ast-resolve-path.cc
index 9bd836a..a03bfb4 100644
--- a/gcc/rust/resolve/rust-ast-resolve-path.cc
+++ b/gcc/rust/resolve/rust-ast-resolve-path.cc
@@ -99,9 +99,7 @@ ResolvePath::resolve_path (AST::PathInExpression *expr)
// resolve any generic args
if (segment.has_generic_args ())
- {
- ResolveType::type_resolve_generic_args (segment.get_generic_args ());
- }
+ ResolveGenericArgs::go (segment.get_generic_args ());
// logic is awkward here there are a few cases
//
@@ -252,9 +250,7 @@ ResolvePath::resolve_path (AST::QualifiedPathInExpression *expr)
// the job of the type system to figure it out but we can resolve any
// generic arguments used
if (segment.has_generic_args ())
- {
- ResolveType::type_resolve_generic_args (segment.get_generic_args ());
- }
+ ResolveGenericArgs::go (segment.get_generic_args ());
}
}