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.
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
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