aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-path.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-12-25 11:03:44 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-21 12:55:43 +0100
commitc0640954e1a340764368a10f3b7774696e32a8ae (patch)
tree381ce7ebf2db113cbadf9c5854abb3ab8c71c91a /gcc/rust/resolve/rust-ast-resolve-path.cc
parentf30ba73582e4c53d4936e9c091d60b187a276373 (diff)
downloadgcc-c0640954e1a340764368a10f3b7774696e32a8ae.zip
gcc-c0640954e1a340764368a10f3b7774696e32a8ae.tar.gz
gcc-c0640954e1a340764368a10f3b7774696e32a8ae.tar.bz2
gccrs: resolve: Name resolve trait bounds properly
gcc/rust/ChangeLog: * resolve/rust-ast-resolve-type.cc (ResolveTypeToCanonicalPath::visit): Resolve additional trait bounds. * resolve/rust-late-name-resolver-2.0.cc (Late::visit): Error out properly on unresolved type-path instead of crashing. gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: Exclude additional-trait-bounds2 for different error message. * rust/compile/additional-trait-bounds1.rs: New test. * rust/compile/additional-trait-bounds2.rs: New test. * rust/compile/additional-trait-bounds2nr2.rs: New test.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions