rustc_attr: remove redundant #[allow(rustc::untranslatable_diagnostic)]
This commit is contained in:
@@ -521,7 +521,6 @@ pub struct Condition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Tests if a cfg-pattern matches the cfg set
|
/// Tests if a cfg-pattern matches the cfg set
|
||||||
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
|
|
||||||
pub fn cfg_matches(
|
pub fn cfg_matches(
|
||||||
cfg: &ast::MetaItem,
|
cfg: &ast::MetaItem,
|
||||||
sess: &Session,
|
sess: &Session,
|
||||||
|
|||||||
Reference in New Issue
Block a user