rust/src/libsyntax
Alex Crichton 617a7af704 syntax: Respect allow_internal_unstable in macros
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).
2015-12-21 22:05:37 -08:00
..
diagnostics remove Tt prefix from TokenType variants 2015-11-06 14:52:02 +01:00
errors test errors 2015-12-17 10:00:16 +13:00
ext Rollup merge of #30420 - petrochenkov:owned2, r=nrc 2015-12-18 20:02:12 +05:30
parse Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakis 2015-12-19 02:45:15 +00:00
print Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakis 2015-12-19 02:45:15 +00:00
util Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakis 2015-12-19 02:45:15 +00:00
abi.rs Port the standard crates to PNaCl/NaCl. 2015-10-28 17:23:28 -05:00
ast_util.rs Deprecate name OwnedSlice and don't use it 2015-12-18 00:52:56 +03:00
ast.rs Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakis 2015-12-19 02:45:15 +00:00
attr.rs Rollup merge of #30384 - nrc:diagnostics, r=@nikomatsakis 2015-12-18 16:47:37 +05:30
codemap.rs Added pretty-printing for span expansion chains through span_to_expanded_string. 2015-12-08 15:35:28 +13:00
config.rs move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* 2015-12-17 09:35:50 +13:00
entry.rs
feature_gate.rs syntax: Respect allow_internal_unstable in macros 2015-12-21 22:05:37 -08:00
fold.rs Auto merge of #30184 - petrochenkov:ascr, r=nikomatsakis 2015-12-19 02:45:15 +00:00
lib.rs move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* 2015-12-17 09:35:50 +13:00
owned_slice.rs Deprecate name OwnedSlice and don't use it 2015-12-18 00:52:56 +03:00
ptr.rs libsyntax: Merge OwnedSlice into ptr::P 2015-12-18 00:51:10 +03:00
show_span.rs move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* 2015-12-17 09:35:50 +13:00
std_inject.rs
str.rs
test.rs Rollup merge of #30420 - petrochenkov:owned2, r=nrc 2015-12-18 20:02:12 +05:30
visit.rs Add ExprType to HIR and make everything compile 2015-12-16 17:13:16 +03:00