diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-03-28 13:55:19 +0200 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-29 21:14:15 +0000 |
commit | ff4d4570b44baf6a106cb0cfde3a1fe9ff0ed09f (patch) | |
tree | f98c53ac0a4a6f4d9fdb9884c8cfaecc863cef34 /gcc/rust/ast | |
parent | 9af9a69367f7f714d303aa35f8d39d27c3c9df54 (diff) | |
download | gcc-ff4d4570b44baf6a106cb0cfde3a1fe9ff0ed09f.zip gcc-ff4d4570b44baf6a106cb0cfde3a1fe9ff0ed09f.tar.gz gcc-ff4d4570b44baf6a106cb0cfde3a1fe9ff0ed09f.tar.bz2 |
resolver: Allow SimplePath to resolve to their root segment
SimplePath are allowed to resolve to their root segment even if it is `crate`
or `super` when checking visibilities. We now have to make sure that this
is allowed everywhere a SimplePath is kept.
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-path.cc (ResolvePath::resolve_path): Set
resolved_node_id when visiting root segment of SimplePath.
Diffstat (limited to 'gcc/rust/ast')
0 files changed, 0 insertions, 0 deletions