Skip to content

Macros show up in rust docs when pub use'd #40768

Closed
@jrobsonchase

Description

@jrobsonchase

From my understanding, macro re-export is unstable and feature-gated, but macros are showing up in rust docs when, for example, I have:

#[macro_use]
extern crate log;
pub use log::*;

Which would seem to imply that they should be accessible from other crates, even though they can't.

rustc version:
rustc 1.17.0-nightly (134c4a0 2017-03-20)

cc @jseyfried

Metadata

Metadata

Assignees

Labels

A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.T-langRelevant to the language team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions