aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-diagnostics.h
diff options
context:
space:
mode:
authorCohenArthur <arthur.cohen@epita.fr>2021-04-25 15:01:29 +0200
committerCohenArthur <arthur.cohen@epita.fr>2021-04-25 17:07:34 +0200
commit8ee80abd2fb2bb6870c539a7e407b9944e1c2c46 (patch)
tree01a4893167cda26e3576017e9aee5c06eb390b09 /gcc/rust/rust-diagnostics.h
parentde9af784e79926d01e8c030e999becc4b8bfad0f (diff)
downloadgcc-8ee80abd2fb2bb6870c539a7e407b9944e1c2c46.zip
gcc-8ee80abd2fb2bb6870c539a7e407b9944e1c2c46.tar.gz
gcc-8ee80abd2fb2bb6870c539a7e407b9944e1c2c46.tar.bz2
IfLetExpr: Assign outer_attrs in constructor
The `outer_attrs` member was not used in the IfLetExpr type, as it was believed to be forbidden. However, that assumption was false and outer_attrs are indeed allowed here. This commit also fixes the unused warning for the `outer_attrs` constructor's argument, which was not assigned before.
Diffstat (limited to 'gcc/rust/rust-diagnostics.h')
0 files changed, 0 insertions, 0 deletions