diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-03 13:25:20 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:24 +0100 |
commit | d75c82ef1750a60c6cbdd41f01ed814a07faaeec (patch) | |
tree | 45a97d10688c41393bcd9af9c16820c31e793b83 /gcc/diagnostic-buffer.h | |
parent | 16bf7555b6f4ab0d588ec26b7b1a9001ae59928f (diff) | |
download | gcc-d75c82ef1750a60c6cbdd41f01ed814a07faaeec.zip gcc-d75c82ef1750a60c6cbdd41f01ed814a07faaeec.tar.gz gcc-d75c82ef1750a60c6cbdd41f01ed814a07faaeec.tar.bz2 |
gccrs: Change lookup_module function return type
Wrap the return type into an optional.
gcc/rust/ChangeLog:
* checks/errors/privacy/rust-visibility-resolver.cc: Update function
call to match the new return type.
* typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_root_path):
Likewise.
* typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path):
Likewise.
* util/rust-hir-map.cc (Mappings::insert_module): Likewise.
(Mappings::lookup_module): Change the function's return type.
* util/rust-hir-map.h: Update the function's 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