aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/for-loop2.rs
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2025-01-22 20:12:46 -0500
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:07:03 +0100
commitbbf31f8f5a6da20090ae2a5126854e0cf96b9253 (patch)
tree89e05ffad2b9f47b7f64bfc1762c4d25b8baa66b /gcc/testsuite/rust/compile/for-loop2.rs
parentd9a21c1875110711159cc435124493849343532a (diff)
downloadgcc-bbf31f8f5a6da20090ae2a5126854e0cf96b9253.zip
gcc-bbf31f8f5a6da20090ae2a5126854e0cf96b9253.tar.gz
gcc-bbf31f8f5a6da20090ae2a5126854e0cf96b9253.tar.bz2
gccrs: nr2.0: Resolve instances of TypePath more accurately
gcc/rust/ChangeLog: * util/rust-unwrap-segment.cc: New file. * util/rust-unwrap-segment.h: New file. * Make-lang.in: Add rust-unwrap-segment.o to the object list. * resolve/rust-forever-stack.hxx: Include rust-unwrap-segment.h. (ForeverStack::find_starting_point): Use unwrap_type_segment. (ForeverStack::resolve_segments): Likewise. (ForeverStack::resolve_path): Likewise. * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Resolve type paths using NameResolutionContext::resolve_path. * resolve/rust-name-resolution-context.h (NameResolutionContext::resolve_path): Use unwrap_segment_node_id. gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: Remove entries. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/testsuite/rust/compile/for-loop2.rs')
0 files changed, 0 insertions, 0 deletions