[gcc/devel/rust/master] Merge #1619
Thomas Schwinge
tschwinge@gcc.gnu.org
Thu Oct 27 07:50:33 GMT 2022
https://gcc.gnu.org/g:19461b9e9ca434d69ca2fa00fd3383174841e210
commit 19461b9e9ca434d69ca2fa00fd3383174841e210
Merge: 2bc1c530920 db4b399c25f
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Wed Oct 26 14:53:18 2022 +0000
Merge #1619
1619: parser: Fix ICE in closure parsing r=CohenArthur a=CohenArthur
`pattern` is a `unique_ptr`, which should be set to NULL once `std::move`d, hence causing the ICE as we were dereferencing a NULL pointer to get its location.
Addresses #1612
This should also help bring the MacOS build back to green
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/parse/rust-parse-impl.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
More information about the Gcc-cvs
mailing list