Skip to content

Commit eee478c

Browse files
committed
fixup! Convert uses of BuiltinLintDiag::Normal to custom variants
1 parent 349be0f commit eee478c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_expand/src/config.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ impl<'a> StripUnconfigured<'a> {
249249
/// Gives a compiler warning when the `cfg_attr` contains no attributes and
250250
/// is in the original source file. Gives a compiler error if the syntax of
251251
/// the attribute is incorrect.
252-
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
253252
pub(crate) fn expand_cfg_attr(&self, attr: &Attribute, recursive: bool) -> Vec<Attribute> {
254253
let Some((cfg_predicate, expanded_attrs)) =
255254
rustc_parse::parse_cfg_attr(attr, &self.sess.psess)
@@ -284,7 +283,6 @@ impl<'a> StripUnconfigured<'a> {
284283
}
285284
}
286285

287-
#[allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable
288286
fn expand_cfg_attr_item(
289287
&self,
290288
attr: &Attribute,

0 commit comments

Comments
 (0)