aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-12-04 15:27:26 +0000
committerPhilip Herron <philip.herron@embecosm.com>2022-12-04 15:27:26 +0000
commit9da783d1b71bb5e8add0cf74527786d0e4255803 (patch)
tree3875dd8ee1757432a8aac855118a12ce748e2f21 /gcc/rust/backend/rust-compile-resolve-path.h
parent0bf68cf5e6199ce7deb3d0744ced09dd4db1b1c9 (diff)
downloadgcc-9da783d1b71bb5e8add0cf74527786d0e4255803.zip
gcc-9da783d1b71bb5e8add0cf74527786d0e4255803.tar.gz
gcc-9da783d1b71bb5e8add0cf74527786d0e4255803.tar.bz2
Revert "rust: Remove unused variables and fix dangling references"
This reverts commit 9657c328d0cdda49b7985c3ee727781a387e128b.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.h')
-rw-r--r--gcc/rust/backend/rust-compile-resolve-path.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-resolve-path.h b/gcc/rust/backend/rust-compile-resolve-path.h
index 63441b6..f0360bd 100644
--- a/gcc/rust/backend/rust-compile-resolve-path.h
+++ b/gcc/rust/backend/rust-compile-resolve-path.h
@@ -61,7 +61,8 @@ public:
{}
tree resolve (const HIR::PathIdentSegment &final_segment,
- const Analysis::NodeMapping &mappings, Location locus);
+ const Analysis::NodeMapping &mappings, Location locus,
+ bool is_qualified_path);
tree resolved;
};