rust/src/libsyntax/ext
bors ceb2512144 Auto merge of #57321 - petrochenkov:atokens, r=nikomatsakis
Implement basic input validation for built-in attributes

Correct top-level shape (`#[attr]` vs `#[attr(...)]` vs `#[attr = ...]`) is enforced for built-in attributes, built-in attributes must also fit into the "meta-item" syntax (aka the "classic attribute syntax").

For some subset of attributes (found by crater run), errors are lowered to deprecation warnings.

NOTE: This PR previously included https://github.com/rust-lang/rust/pull/57367 as well.
2019-01-16 15:01:20 +00:00
..
tt Rollup merge of #57004 - nnethercote:TS-change-Stream, r=petrochenkov 2019-01-13 17:21:39 +01:00
base.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00
build.rs Get rid of Block::recovered 2018-12-27 15:51:36 +03:00
derive.rs Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
expand.rs Auto merge of #57155 - petrochenkov:dcrate3, r=dtolnay 2018-12-28 02:54:14 +00:00
placeholders.rs Remove licenses 2018-12-25 21:08:33 -07:00
quote.rs Make TokenStream less recursive. 2019-01-08 15:08:46 +11:00
source_util.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00