aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.h')
-rw-r--r--gcc/rust/resolve/rust-ast-resolve-path.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-path.h b/gcc/rust/resolve/rust-ast-resolve-path.h
index cbfe967..fc8785f 100644
--- a/gcc/rust/resolve/rust-ast-resolve-path.h
+++ b/gcc/rust/resolve/rust-ast-resolve-path.h
@@ -40,26 +40,12 @@ private:
void resolve_path (AST::QualifiedPathInExpression *expr);
void resolve_path (AST::SimplePath *expr);
- void resolve_segments (CanonicalPath prefix, size_t offs,
- std::vector<AST::PathExprSegment> &segs,
- NodeId expr_node_id, Location expr_locus);
-
void
resolve_simple_path_segments (CanonicalPath prefix, size_t offs,
const std::vector<AST::SimplePathSegment> &segs,
NodeId expr_node_id, Location expr_locus);
};
-class ResolveSimplePathSegmentToCanonicalPath
-{
-public:
- static CanonicalPath resolve (const AST::SimplePathSegment &seg)
- {
- // FIXME: Since this is so simple, maybe it can simply be a tiny function?
- return CanonicalPath::new_seg (seg.get_node_id (), seg.get_segment_name ());
- }
-};
-
} // namespace Resolver
} // namespace Rust