aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-buffer.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-02 12:33:20 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:24 +0100
commit6dce8a479a288a64ffa87f3e3549f1dc6900b527 (patch)
tree48daf08531eadceaefae4d70f44f19c8724a28d1 /gcc/diagnostic-buffer.h
parentfa6c5c08a131d108a6a9f927b5154d2db81a84ba (diff)
downloadgcc-6dce8a479a288a64ffa87f3e3549f1dc6900b527.zip
gcc-6dce8a479a288a64ffa87f3e3549f1dc6900b527.tar.gz
gcc-6dce8a479a288a64ffa87f3e3549f1dc6900b527.tar.bz2
gccrs: Change return type of lookup trait defid functions.
Wrap the return type with an optional. gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::resolve_method_address): Update code around lookup return type. * typecheck/rust-tyty-bounds.cc (TypeCheckBase::get_predicate_from_bound): Likewise. * typecheck/rust-tyty.cc (ClosureType::setup_fn_once_output): Likewise. * util/rust-hir-map.cc (Mappings::insert_defid_mapping): Likewise. (Mappings::lookup_trait_item_defid): Update return type with an optional. (Mappings::get_lang_item): Likewise. * util/rust-hir-map.h: Update the functions prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/diagnostic-buffer.h')
0 files changed, 0 insertions, 0 deletions