diff options
Diffstat (limited to 'gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h')
-rw-r--r-- | gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h b/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h index e226c79..fb16866 100644 --- a/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h +++ b/gcc/rust/resolve/rust-toplevel-name-resolver-2.0.h @@ -108,8 +108,9 @@ private: // Call this on all the paths of a UseDec - so each flattened path in a // UseTreeList for example // FIXME: Should that return `found`? - bool handle_use_dec (AST::SimplePath path); - bool handle_use_glob (AST::SimplePath glob); + bool handle_use_dec (AST::SimplePath &path); + bool handle_use_glob (AST::SimplePath &glob); + bool handle_rebind (std::pair<AST::SimplePath, AST::UseTreeRebind> &pair); void visit (AST::UseDeclaration &use) override; }; |