]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix ICE during path probe
authorPhilip Herron <herron.philip@googlemail.com>
Mon, 3 Feb 2025 15:15:40 +0000 (15:15 +0000)
committerPhilip Herron <philip.herron@embecosm.com>
Mon, 3 Feb 2025 19:20:26 +0000 (19:20 +0000)
commit218df42d73bb853c3ee080ffaafb12f6522fc31c
treed8000aab7d555cfe70534c473887340583f571f2
parent9449c935b39d963f62be2a41df91671fc163685b
gccrs: Fix ICE during path probe

It is valid for the query to fail here so its valid to not assert here.

gcc/rust/ChangeLog:

* typecheck/rust-hir-path-probe.cc (PathProbeType::visit): remove assertion

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/typecheck/rust-hir-path-probe.cc