I tried this code:
// inside any publicly visible module of `std`
// (not `core` or `alloc`)
#[doc(hidden)] // or any docs you want
#[unstable(feature = "foobar", issue = "none")] // or any stability you want
pub macro foo {() => {},}
I expected to see this happen: It compiles
Instead, this happened: 934 instances of error: ... has missing stability attribute, from items all over std
Meta
stage1 build of 15283f6 (./x build library/std)
@rustbot label requires-nightly requires-internal-features F-staged_api F-decl_macro A-decl-macros-2-0 T-compiler A-hygiene
I tried this code:
I expected to see this happen: It compiles
Instead, this happened: 934 instances of
error: ... has missing stability attribute, from items all overstdMeta
stage1 build of 15283f6 (
./x build library/std)@rustbot label requires-nightly requires-internal-features F-staged_api F-decl_macro A-decl-macros-2-0 T-compiler A-hygiene