aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-03 13:25:20 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-05-17 15:28:30 +0000
commit395aab37873f0f988450f31323e7748ae500745c (patch)
tree399c9f0baafd4b4cf11ca964b5ee39ac896bb642 /gcc/rust/hir
parentfa24d0d08eb385df313beab7dd7c8a1091c216c4 (diff)
downloadgcc-395aab37873f0f988450f31323e7748ae500745c.zip
gcc-395aab37873f0f988450f31323e7748ae500745c.tar.gz
gcc-395aab37873f0f988450f31323e7748ae500745c.tar.bz2
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/rust/hir')
0 files changed, 0 insertions, 0 deletions