diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-02-03 15:14:48 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-24 13:07:01 +0100 |
commit | ea913186d45967d6a4fa29c5b9a7833eeeee5770 (patch) | |
tree | aaf8a2300df72e26d9bec0f16be142cbde0b9b08 /gcc/testsuite/rust/compile/nr2/exclude | |
parent | b767d01f17d69602ce69ff623e32510ac2673343 (diff) | |
download | gcc-ea913186d45967d6a4fa29c5b9a7833eeeee5770.zip gcc-ea913186d45967d6a4fa29c5b9a7833eeeee5770.tar.gz gcc-ea913186d45967d6a4fa29c5b9a7833eeeee5770.tar.bz2 |
gccrs: Fix crash in privay reporter for placeholder types
This guards against a crash but i think this should actually be treated
as if its a generic type like below. But for now this addresses a crash which can occur.
gcc/rust/ChangeLog:
* checks/errors/privacy/rust-privacy-reporter.cc (PrivacyReporter::check_base_type_privacy):
Add guard for placeholder
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/testsuite/rust/compile/nr2/exclude')
0 files changed, 0 insertions, 0 deletions