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> {
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 ,
You can’t perform that action at this time.
0 commit comments