diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-07 12:43:07 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-08 14:32:36 +0200 |
commit | edff04f5ddcacfb3ae8a00c5eaee8459415bb1c4 (patch) | |
tree | 2a06f57b5e54a6a510e50219a995fa68936d298d /gcc/rust/resolve | |
parent | b94c7a9748f51310b010a95009716c739be90484 (diff) | |
download | gcc-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