diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-03-07 15:34:14 +0100 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-06-12 09:57:38 +0200 |
| commit | e2afe04e2e45aff24bcc4e78cae04acdba8edcef (patch) | |
| tree | 0c7d3e53ee910521bfba47f227dd708a4efdff79 /compiler/rustc_attr_parsing/src/attributes/deprecation.rs | |
| parent | e6a5f281ec2b78b3089dcd9fd941d9d14921c6fa (diff) | |
| download | rust-e2afe04e2e45aff24bcc4e78cae04acdba8edcef.tar.gz rust-e2afe04e2e45aff24bcc4e78cae04acdba8edcef.zip | |
remove 'static in some places
Diffstat (limited to 'compiler/rustc_attr_parsing/src/attributes/deprecation.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/attributes/deprecation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_attr_parsing/src/attributes/deprecation.rs b/compiler/rustc_attr_parsing/src/attributes/deprecation.rs index ba1bdb9fd02..1faee41c2a9 100644 --- a/compiler/rustc_attr_parsing/src/attributes/deprecation.rs +++ b/compiler/rustc_attr_parsing/src/attributes/deprecation.rs @@ -42,7 +42,7 @@ fn get<S: Stage>( } impl<S: Stage> SingleAttributeParser<S> for DeprecationParser { - const PATH: &'static [Symbol] = &[sym::deprecated]; + const PATH: &[Symbol] = &[sym::deprecated]; const ATTRIBUTE_ORDER: AttributeOrder = AttributeOrder::KeepFirst; const ON_DUPLICATE: OnDuplicate<S> = OnDuplicate::Error; |
