Skip to content

Forbid undefined names in macro_use / macro_reexport #21062

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
kmcallister opened this issue Jan 12, 2015 · 0 comments · Fixed by #22167
Closed

Forbid undefined names in macro_use / macro_reexport #21062

kmcallister opened this issue Jan 12, 2015 · 0 comments · Fixed by #22167
Assignees
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)

Comments

@kmcallister
Copy link
Contributor

This compiles with no warnings:

#![allow(unstable)]

#[macro_reexport(bogus)]
#[macro_use(bogus)]
extern crate collections;

fn main() { }
@kmcallister kmcallister added A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-diagnostics Area: Messages for errors, warnings, and lints labels Jan 12, 2015
@kmcallister kmcallister self-assigned this Jan 12, 2015
kmcallister added a commit to kmcallister/rust that referenced this issue Feb 11, 2015
richo added a commit to richo/rust that referenced this issue Feb 11, 2015
alexcrichton added a commit to alexcrichton/rust that referenced this issue Feb 11, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant