diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-03-31 17:33:59 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2025-04-01 10:43:12 +0000 |
commit | 20c8539a23e0a0462e3763c3983ffb3ca9b7e709 (patch) | |
tree | 340b1cb711cb874cbb8b6bd0ce4144323c9e272a /gcc/rust/hir | |
parent | eecf0cd6857d269fc9be9a858f2ba02189d756cc (diff) | |
download | gcc-20c8539a23e0a0462e3763c3983ffb3ca9b7e709.zip gcc-20c8539a23e0a0462e3763c3983ffb3ca9b7e709.tar.gz gcc-20c8539a23e0a0462e3763c3983ffb3ca9b7e709.tar.bz2 |
gccrs: Fix ICE when resolving lifetimes without name
We dont need to assert here the lifetime code already supports this case.
Fixes Rust-GCC#3657
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-base.cc: remove assertion
gcc/testsuite/ChangeLog:
* rust/compile/issue-3657.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions