diff options
author | badumbatish <tanghocle456@gmail.com> | 2024-07-21 15:41:21 -0700 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:53 +0100 |
commit | af969f521be3f46bbd22e701b4d82e3065b4ecb9 (patch) | |
tree | 599db8802fe4d397240453664baf29c854d394b3 /gcc/rust/ast/rust-fmt.h | |
parent | 75dce4d629249a31bebd5e58e6f13e5d3df04711 (diff) | |
download | gcc-af969f521be3f46bbd22e701b4d82e3065b4ecb9.zip gcc-af969f521be3f46bbd22e701b4d82e3065b4ecb9.tar.gz gcc-af969f521be3f46bbd22e701b4d82e3065b4ecb9.tar.bz2 |
gccrs: Change assertion of constructor
Change the assert of (expr != nullptr) to
(this->expr != nullptr) because we assigned (std::move(expr)) to
this->expr, no need to assert expr
gcc/rust/ChangeLog:
* ast/rust-expr.h (struct AnonConst):
Change assertion of constructor
(struct InlineAsmOperand):
Change assertion of constructor
Diffstat (limited to 'gcc/rust/ast/rust-fmt.h')
0 files changed, 0 insertions, 0 deletions