diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-04 03:44:35 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-05-17 15:28:30 +0000 |
commit | f13cb854c049ff9bb2ea0911ddc1b1b6282ffe88 (patch) | |
tree | c3fcae0e90a75f9fb74a54516185ca07884b983e /gcc/rust/hir | |
parent | 435f227c2501d1d5a72905d30a5a90848be11481 (diff) | |
download | gcc-f13cb854c049ff9bb2ea0911ddc1b1b6282ffe88.zip gcc-f13cb854c049ff9bb2ea0911ddc1b1b6282ffe88.tar.gz gcc-f13cb854c049ff9bb2ea0911ddc1b1b6282ffe88.tar.bz2 |
Change lookup_visibility's return type
Wrap the return type within an optional.
gcc/rust/ChangeLog:
* checks/errors/privacy/rust-privacy-reporter.cc: Change call site
to accomodate new return type.
* checks/errors/privacy/rust-pub-restricted-visitor.cc: Likewise.
* util/rust-hir-map.cc (Mappings::lookup_visibility): 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