Skip to content

Commit f83b085

Browse files
committed
rustc_attr: remove redundant #[allow(rustc::untranslatable_diagnostic)]
1 parent 7347f8e commit f83b085

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_attr/src/builtin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ pub struct Condition {
521521
}
522522

523523
/// Tests if a cfg-pattern matches the cfg set
524-
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
525524
pub fn cfg_matches(
526525
cfg: &ast::MetaItem,
527526
sess: &Session,

0 commit comments

Comments
 (0)