We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a5b55 commit 8a8b31aCopy full SHA for 8a8b31a
compiler/rustc_builtin_macros/src/eii.rs
@@ -425,6 +425,9 @@ fn generate_attribute_macro_to_implement(
425
// errors for eii's in std.
426
macro_attrs.extend_from_slice(attrs_from_decl);
427
428
+ // Avoid "missing stability attribute" errors for eiis in std. See #146993.
429
+ macro_attrs.push(ecx.attr_name_value_str(sym::rustc_macro_transparency, sym::semiopaque, span));
430
+
431
// #[builtin_macro(eii_shared_macro)]
432
macro_attrs.push(ecx.attr_nested_word(sym::rustc_builtin_macro, sym::eii_shared_macro, span));
433
0 commit comments