rustc_attr: remove redundant #[allow(rustc::untranslatable_diagnostic)]

This commit is contained in:
Pavel Grigorenko 2024-08-07 16:41:22 +03:00
parent 7347f8e4e0
commit f83b085a0c

View File

@ -521,7 +521,6 @@ pub struct Condition {
}
/// Tests if a cfg-pattern matches the cfg set
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
pub fn cfg_matches(
cfg: &ast::MetaItem,
sess: &Session,