rustc_expand: remove some redundant #[allow(rustc::untranslatable_diagnostic)]
This commit is contained in:
parent
f43cdcea22
commit
fbc2459015
2 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue