aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-03-17 22:46:20 +0000
committerPhilip Herron <philip.herron@embecosm.com>2023-03-20 21:47:57 +0000
commit70b83a23f508d3694aa08cda793bab118a9be768 (patch)
treed3771d4cb743b1e64e6426b82f604e718d4c07ed /gcc/rust/backend
parent1eba43033b139581d7152f9bfc5a0ae6277f9fee (diff)
downloadgcc-70b83a23f508d3694aa08cda793bab118a9be768.zip
gcc-70b83a23f508d3694aa08cda793bab118a9be768.tar.gz
gcc-70b83a23f508d3694aa08cda793bab118a9be768.tar.bz2
gccrs: Return resolved_node_id when possible
To enable use statement to export a name to a path such as the prelude example: use option::Option::{self, None, Some} we need to get the resolved node id of the self, None and Some in order to export the name of None and Some to their respective NodeId. gcc/rust/ChangeLog: * resolve/rust-ast-resolve-path.cc (ResolvePath::ResolvePath): return NodeId (ResolvePath::go): update signiture (ResolvePath::resolve_path): return resolved_node_id * resolve/rust-ast-resolve-path.h: update prototypes Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions