File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
compiler/rustc_expand/src Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,6 @@ impl<'a> StripUnconfigured<'a> {
249
249
/// Gives a compiler warning when the `cfg_attr` contains no attributes and
250
250
/// is in the original source file. Gives a compiler error if the syntax of
251
251
/// the attribute is incorrect.
252
- #[ allow( rustc:: untranslatable_diagnostic) ] // FIXME: make this translatable
253
252
pub ( crate ) fn expand_cfg_attr ( & self , attr : & Attribute , recursive : bool ) -> Vec < Attribute > {
254
253
let Some ( ( cfg_predicate, expanded_attrs) ) =
255
254
rustc_parse:: parse_cfg_attr ( attr, & self . sess . psess )
@@ -284,7 +283,6 @@ impl<'a> StripUnconfigured<'a> {
284
283
}
285
284
}
286
285
287
- #[ allow( rustc:: untranslatable_diagnostic) ] // FIXME: make this translatable
288
286
fn expand_cfg_attr_item (
289
287
& self ,
290
288
attr : & Attribute ,
You can’t perform that action at this time.
0 commit comments