aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-07 12:43:07 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2023-06-08 14:32:36 +0200
commitedff04f5ddcacfb3ae8a00c5eaee8459415bb1c4 (patch)
tree2a06f57b5e54a6a510e50219a995fa68936d298d /gcc/rust/resolve
parentb94c7a9748f51310b010a95009716c739be90484 (diff)
downloadgcc-edff04f5ddcacfb3ae8a00c5eaee8459415bb1c4.zip
gcc-edff04f5ddcacfb3ae8a00c5eaee8459415bb1c4.tar.gz
gcc-edff04f5ddcacfb3ae8a00c5eaee8459415bb1c4.tar.bz2
expand: Make to_derive argument const
This string will never change and can be constified. gcc/rust/ChangeLog: * expand/rust-expand-visitor.cc (derive_item): Add const attribute to the trait name argument. * expand/rust-macro-expand.h (struct MacroExpander): Likewise. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions