[COMMITTED 017/144] gccrs: Add location to BIR::Statement of kind RETURN

2025-03-26 Thread arthur . cohen
From: Kushal Pal This commit adds location_t to BIR::Statement where type is RETURN. gcc/rust/ChangeLog: * checks/errors/borrowck/rust-bir-builder-expr-stmt.cc (ExprStmtBuilder::visit): Add location parameter. * checks/errors/borrowck/rust-bir-builder.h: Likewise.

☠ Buildbot (Sourceware): gccrust - failed '! grep ...' (failure) (master)

2025-03-26 Thread builder
A failed build has been detected on builder gccrust-bootstrap-debian-amd64 while building gccrust. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/107/builds/816 Build state: failed '! grep ...' (failure) Revision: 75ef9fd3ffc6ef0759cf9fa359c94bfa4fde1235 Wo

[COMMITTED 001/146] gccrs: Fix bad recursive operator overload call

2025-03-26 Thread arthur . cohen
From: Philip Herron When we are typechecking the impl block for DerefMut for &mut T the implementation follows the usual operator overload check but this ended up just resolving directly to the Trait definition which ends up being recursive which we usually handle. The issue we had is that a dere