aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2025-01-16 16:55:56 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:06:51 +0100
commitecb0e17c41944d340595816e2890f2a7d2053044 (patch)
treec1ecd2868adde9faf88cfab8256116559b5e9a44 /gcc/rust/backend
parent75df481fcc381d6aaefdbe2ef1d66927e30b5743 (diff)
downloadgcc-ecb0e17c41944d340595816e2890f2a7d2053044.zip
gcc-ecb0e17c41944d340595816e2890f2a7d2053044.tar.gz
gcc-ecb0e17c41944d340595816e2890f2a7d2053044.tar.bz2
gccrs: typecheck: Separate assemble_builtin_candidate in two
This paves the way for adding trait bounds that aren't necessarily Sized. gcc/rust/ChangeLog: * typecheck/rust-tyty-bounds.cc (TypeBoundsProbe::add_trait_bound): New function. * typecheck/rust-hir-type-bounds.h: Declare it. (TypeBoundsProbe::assemble_builtin_candidate): Call into add_trait_bound.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions