about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-16 20:28:21 +0000
committerbors <bors@rust-lang.org>2018-09-16 20:28:21 +0000
commitcb6d2dfa8923902b0992a1522dc4a45a9d3ba690 (patch)
tree337d98311749fe6d210a91153d4f4407523a4ed8 /src/libstd
parent8a2dec6e583bc6425a91b277bdc6c602088845f1 (diff)
parente411bb33f828fd8e63ca5e9e6f011e50828e23bd (diff)
downloadrust-cb6d2dfa8923902b0992a1522dc4a45a9d3ba690.tar.gz
rust-cb6d2dfa8923902b0992a1522dc4a45a9d3ba690.zip
Auto merge of #53461 - petrochenkov:pmu, r=alexcrichton
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.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions