]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #53461 - petrochenkov:pmu, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 16 Sep 2018 20:28:21 +0000 (20:28 +0000)
committerbors <bors@rust-lang.org>
Sun, 16 Sep 2018 20:28:21 +0000 (20:28 +0000)
resolve: Do not error on access to proc macros imported with `#[macro_use]`

This error is artificial, but previously, when `#[macro_use] extern crate x;` was stable, but non-derive proc macros were not, it worked like kind of a feature gate. Now both features are stable, so the error is no longer necessary.

This PR simplifies how `#[macro_use] extern crate x;` works - it takes all items from macro namespace of `x`'s root and puts them into macro prelude from which they all can now be accessed.


Trivial merge