diff options
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-expr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.h b/gcc/rust/backend/rust-compile-expr.h index 4658295..80cdc5e 100644 --- a/gcc/rust/backend/rust-compile-expr.h +++ b/gcc/rust/backend/rust-compile-expr.h @@ -629,6 +629,11 @@ public: expr.get_locus ()); } + void visit (HIR::QualifiedPathInExpression &expr) override + { + translated = ResolvePathRef::Compile (expr, ctx); + } + void visit (HIR::PathInExpression &expr) override { translated = ResolvePathRef::Compile (expr, ctx); |