aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-gcc.cc
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2025-03-24 22:49:12 -0400
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2025-04-01 09:19:04 +0000
commitbdfdaef9069a557ac47384c1a845a9e3dcf02ccc (patch)
tree69bcece9c064f5911ef0019aadbb693ec518dbb1 /gcc/rust/rust-gcc.cc
parentb8ef598308e7bd08fb40651bf4c17490ccbb855f (diff)
downloadgcc-bdfdaef9069a557ac47384c1a845a9e3dcf02ccc.zip
gcc-bdfdaef9069a557ac47384c1a845a9e3dcf02ccc.tar.gz
gcc-bdfdaef9069a557ac47384c1a845a9e3dcf02ccc.tar.bz2
nr2.0: Handle global paths
gcc/rust/ChangeLog: * resolve/rust-forever-stack.h (ForeverStack::ForeverStack): Initialize extern_prelude. (ForeverStack::resolve_path): Add parameter has_opening_scope_resolution. (ForeverStack::extern_prelude): Add field. * resolve/rust-forever-stack.hxx: Include rust-edition.h. (ForeverStacl::resolve_path): Handle global paths (paths with an opening scope resolution operator). * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Handle global paths. * resolve/rust-name-resolution-context.h (NameResolutionContext::resolve_path): Handle global paths. gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: Remove entries. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/rust-gcc.cc')
0 files changed, 0 insertions, 0 deletions