aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorbadumbatish <tanghocle456@gmail.com>2024-07-21 15:41:21 -0700
committerCohenArthur <arthur.cohen@embecosm.com>2024-07-24 07:41:34 +0000
commit440b82882b0eb1ca3a36e43cc914929556bc125b (patch)
tree8a535f799072b2e2adc95b498b747aa7cd6560a0 /gcc/rust/hir/rust-hir-dump.cc
parentbfee9e02cdc267311a23b352d5028e619fdabaa0 (diff)
downloadgcc-440b82882b0eb1ca3a36e43cc914929556bc125b.zip
gcc-440b82882b0eb1ca3a36e43cc914929556bc125b.tar.gz
gcc-440b82882b0eb1ca3a36e43cc914929556bc125b.tar.bz2
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/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions