diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-08-25 15:24:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 15:24:50 +0000 |
commit | 595cbafdf342369ceaffd8fb4d909a9c31bef207 (patch) | |
tree | cc0e66719f83235aac3c4aa63addbc5df541404f /gcc/rust/backend/rust-constexpr.cc | |
parent | 1416b85322cd9cd74c7a79e3270bb334ceb3a44c (diff) | |
parent | 727afe64d6c6ccc6c360da0707de4b2bd74a96d9 (diff) | |
download | gcc-595cbafdf342369ceaffd8fb4d909a9c31bef207.zip gcc-595cbafdf342369ceaffd8fb4d909a9c31bef207.tar.gz gcc-595cbafdf342369ceaffd8fb4d909a9c31bef207.tar.bz2 |
Merge #1507
1507: Desugar double borrows into two HIR:BorrowExpr's r=philberty a=philberty
We simply hit a gcc_unreachable() on double borrows but it seems reasonable
to just desugar the AST into a borrow of a borrow to foo. Instead of a
borrow expression with a flag to be respected.
Fixes #1506
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-constexpr.cc')
0 files changed, 0 insertions, 0 deletions