diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-01-16 16:55:56 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-01-21 13:45:16 +0000 |
commit | 9e876359e38d6849c64b7352dc560e0264a7300c (patch) | |
tree | 2563d426ac4560d6abbd728977156f317565ca38 /gcc/gimple-expr.h | |
parent | 9c6e09e2f73c056ad30382a5d000d938e1dfd473 (diff) | |
download | gcc-9e876359e38d6849c64b7352dc560e0264a7300c.zip gcc-9e876359e38d6849c64b7352dc560e0264a7300c.tar.gz gcc-9e876359e38d6849c64b7352dc560e0264a7300c.tar.bz2 |
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/gimple-expr.h')
0 files changed, 0 insertions, 0 deletions