]> 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)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:07:01 +0000 (13:07 +0100)
commit3057b8a897aad30e1028cffb61e6568703b1fc09
treec289e54066301f9f03af4105dced792659b40de5
parent0eddc297f03ae2a0830ad444f1f4d2a4264f5ad7
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