rust/src/librustc_plugin
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
..
build.rs Querify local plugin_registrar_fn 2019-01-13 23:53:58 +01:00
Cargo.toml rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
diagnostics.rs Remove licenses 2018-12-25 21:08:33 -07:00
lib.rs Remove licenses 2018-12-25 21:08:33 -07:00
load.rs Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
registry.rs Remove licenses 2018-12-25 21:08:33 -07:00