summary refs log tree commit diff
path: root/src/libsyntax/config.rs
AgeCommit message (Expand)AuthorLines
2018-06-08Deny #[cfg] and #[cfg_attr] on generic parameters.kennytm-0/+16
2018-04-06Rename `ast::Variant_::name` into `ident` + Fix rebaseVadim Petrochenkov-1/+1
2018-04-02Expand attribute macros on statements and expressions.Austin Bonander-10/+17
2018-03-20rename epoch to editionKurtis Nusbaum-3/+3
2018-03-08Make it possible to ungate features by epochManish Goregaokar-2/+3
2018-02-17fix more typos found by codespell.Matthias Krüger-1/+1
2017-12-17syntax: Rename `P::unwrap` into `P::into_inner`Vadim Petrochenkov-2/+2
2017-08-30Make fields of `Span` privateVadim Petrochenkov-3/+2
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-5/+5
2017-06-15Remove struct_field_attributes feature gateWonwoo Choi-28/+0
2017-05-12Fix some clippy warnings in libsyntaxAndre Bogus-4/+4
2017-03-14Liberalize attributes.Jeffrey Seyfried-40/+32
2017-03-14Refactor `Attribute` to use `Path` and `TokenStream` instead of `MetaItem`.Jeffrey Seyfried-3/+5
2017-01-11syntax: struct field attributes and cfgBenjamin Saunders-5/+64
2016-11-20Move `MetaItemKind`'s `Name` to a field of `MetaItem`.Jeffrey Seyfried-1/+1
2016-11-20Refactor away `ast::Attribute_`.Jeffrey Seyfried-6/+7
2016-11-11Change implementation of syntax::util::SmallVector to use data_structures::Sm...Mark-Simulacrum-1/+1
2016-10-29Move `CrateConfig` from `Crate` to `ParseSess`.Jeffrey Seyfried-4/+2
2016-10-18Add invalid doc comment help messageGuillaume Gomez-6/+10
2016-10-12Stabilise attributes on statements.Nick Cameron-3/+2
2016-09-27With `--test`, make `#[test]` functions `pub` in `InvocationCollector`Jeffrey Seyfried-1/+1
2016-09-26make emit_feature_err take a ParseSessTim Neumann-1/+1
2016-09-15Avoid loading and parsing unconfigured non-inline modules.Jeffrey Seyfried-1/+1
2016-09-07Strip unconfigured nodes in the `InvocationCollector` fold.Jeffrey Seyfried-6/+6
2016-09-07Refactor code out of the folder implementation for `StripUnconfigured`.Jeffrey Seyfried-55/+69
2016-09-05Remove `syntax::config::strip_unconfigured`, add `syntax::config::features`.Jeffrey Seyfried-29/+34
2016-08-29Future proof the AST for `union`.Jeffrey Seyfried-0/+3
2016-08-25Refactor away `AttrMetaMethods`.Jeffrey Seyfried-1/+1
2016-08-25Refactor away `AttrNestedMetaItemMethods`.Jeffrey Seyfried-1/+1
2016-08-25Implement RFC#1559: allow all literals in attributes.Sergio Benitez-11/+26
2016-07-21Avoid processing `feature`s on unconfigured crates.Jeffrey Seyfried-1/+1
2016-07-06Auto merge of #34546 - jseyfried:cfg_attr_path, r=nrcbors-1/+1
2016-06-29Support `cfg_attr` on `path` attributesJeffrey Seyfried-1/+1
2016-06-28cleanup: don't count attributes on an item in a statement position as on the ...Jeffrey Seyfried-6/+1
2016-06-26Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddybJeffrey Seyfried-10/+3
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+2
2016-06-17Fix falloutJeffrey Seyfried-10/+3
2016-06-16Simplify gated cfg checkingJeffrey Seyfried-60/+48
2016-06-16Auto merge of #34216 - jseyfried:nested_cfg_attr, r=nrcbors-1/+1
2016-06-11Support nested `cfg_attr` attributesJeffrey Seyfried-1/+1
2016-06-11Refactor away the `CfgFolder` trait.Jeffrey Seyfried-34/+18
2016-06-11Forbid `#[test]` attributes on non-optional expressions.Jeffrey Seyfried-1/+1
2016-06-11Strip `#[test]` nodes during `cfg` processing on non-test builds.Jeffrey Seyfried-2/+14
2016-06-09Avoid configuring interpolated items.Jeffrey Seyfried-0/+7
2016-06-02Fix bug in the `syntax::config::StripUnconfigured` folderJeffrey Seyfried-9/+11
2016-05-27Comment methods in `CfgFolder`Jeffrey Seyfried-0/+7
2016-05-27Strip unconfigured items during macro expansionJeffrey Seyfried-7/+12
2016-05-27Process `cfg_attr` attributes on non-optional expressionsJeffrey Seyfried-31/+35
2016-05-26Move cfg_attr processing and stmt/expr attribute gated feature checking into ...Jeffrey Seyfried-248/+86
2016-05-26Implement `CfgFolder` directly instead of passing a closure to `strip_items`Jeffrey Seyfried-27/+14