diff options
author | Alberto Planas <aplanas@suse.com> | 2021-09-17 11:34:11 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-11-26 02:36:23 +0100 |
commit | 04f5c0715832feee6c059128cd5cd70056e861f7 (patch) | |
tree | 016cfe995140081fa587878a3c3b25a43ac88ea3 /src/regex_set.rs | |
parent | 302b4842a39ed3a50d3d4dc8b3d2ce066b40fd83 (diff) |
Drop 'static for pub const strings for rustc>1.17
Constant and static declaration have a 'static live time by default,
that is already elided since 1.17.
Clippy complains on this kind of strings that are present in the
generated code.
This patch remove the 'static live time for those strings when rustc >
1.17 via a new added RustFeature.
Fix #1612
Signed-off-by: Alberto Planas <aplanas@suse.com>
Diffstat (limited to 'src/regex_set.rs')
0 files changed, 0 insertions, 0 deletions