diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-02-03 15:14:48 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-02-03 20:35:50 +0000 |
commit | 842c1cf95d6e731e72449b36539d85624fa77161 (patch) | |
tree | c2c930aae1be2f48305201ee0e232f1ee09b2937 /gcc/rust/expand/rust-macro-builtins.cc | |
parent | 12e9f5d02a0da7c98d8a5de9a2036b8930802e5e (diff) | |
download | gcc-842c1cf95d6e731e72449b36539d85624fa77161.zip gcc-842c1cf95d6e731e72449b36539d85624fa77161.tar.gz gcc-842c1cf95d6e731e72449b36539d85624fa77161.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/rust/expand/rust-macro-builtins.cc')
0 files changed, 0 insertions, 0 deletions