617a7af704
This change modifies the feature gating of special `#[cfg]` attributes to not require a `#![feature]` directive in the crate-of-use if the source of the macro was declared with `#[allow_internal_unstable]`. This enables the standard library's macro for `thread_local!` to make use of the `#[cfg(target_thread_local)]` attribute despite it being feature gated (e.g. it's a hidden implementation detail). |
||
---|---|---|
.. | ||
diagnostics | ||
errors | ||
ext | ||
parse | ||
util | ||
abi.rs | ||
ast_util.rs | ||
ast.rs | ||
attr.rs | ||
codemap.rs | ||
config.rs | ||
entry.rs | ||
feature_gate.rs | ||
fold.rs | ||
lib.rs | ||
owned_slice.rs | ||
ptr.rs | ||
show_span.rs | ||
std_inject.rs | ||
str.rs | ||
test.rs | ||
visit.rs |