aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-constexpr.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-12-25 11:03:44 +0000
committerCohenArthur <arthur.cohen@embecosm.com>2024-12-31 17:00:14 +0000
commit5ab3543b1b0753f48ba364f4b6ea29c5a3f80ffa (patch)
tree0ef5cc1f47628673a07bf2f1b1d9441a114cf389 /gcc/rust/backend/rust-constexpr.cc
parentb33f6348b7bfd7d9060f0614d54af2fb98d8bc2a (diff)
downloadgcc-5ab3543b1b0753f48ba364f4b6ea29c5a3f80ffa.zip
gcc-5ab3543b1b0753f48ba364f4b6ea29c5a3f80ffa.tar.gz
gcc-5ab3543b1b0753f48ba364f4b6ea29c5a3f80ffa.tar.bz2
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/backend/rust-constexpr.cc')
0 files changed, 0 insertions, 0 deletions