1
Fork 0

rustc_expand: remove some redundant #[allow(rustc::untranslatable_diagnostic)]

This commit is contained in:
Pavel Grigorenko 2024-08-09 00:51:08 +03:00
parent f43cdcea22
commit fbc2459015
2 changed files with 0 additions and 3 deletions

View file

@ -1876,7 +1876,6 @@ impl<'a, 'b> InvocationCollector<'a, 'b> {
// Detect use of feature-gated or invalid attributes on macro invocations
// since they will not be detected after macro expansion.
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
fn check_attributes(&self, attrs: &[ast::Attribute], call: &ast::MacCall) {
let features = self.cx.ecfg.features;
let mut attrs = attrs.iter().peekable();