aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-18 13:37:03 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-07-20 08:21:00 +0000
commitd6912fb38b96b3989cd009bde1c36e659e0bdd70 (patch)
treed46d4fea3e21379e8f6943a7314cd44cc9e6077b /gcc/combine.cc
parentf715169a6ec1b504354e0fc3e2a46bbf29d8715c (diff)
downloadgcc-d6912fb38b96b3989cd009bde1c36e659e0bdd70.zip
gcc-d6912fb38b96b3989cd009bde1c36e659e0bdd70.tar.gz
gcc-d6912fb38b96b3989cd009bde1c36e659e0bdd70.tar.bz2
proc macro: Detect malformed proc_macro_derive
A derive procedural macro declaration shall always have at least a trait to refer to. We should error out when it doesn't. gcc/rust/ChangeLog: * util/rust-attributes.cc (AttributeChecker::visit): Add attribute input check. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/combine.cc')
0 files changed, 0 insertions, 0 deletions