diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-25 11:03:44 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:55:43 +0100 |
commit | c0640954e1a340764368a10f3b7774696e32a8ae (patch) | |
tree | 381ce7ebf2db113cbadf9c5854abb3ab8c71c91a /gcc/rust/resolve/rust-ast-resolve-path.cc | |
parent | f30ba73582e4c53d4936e9c091d60b187a276373 (diff) | |
download | gcc-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