about summary refs log tree commit diff
path: root/src/libsyntax_ext/test.rs
AgeCommit message (Collapse)AuthorLines
2019-04-17Fix comments around test harness generationAlexey Shmalko-1/+1
2019-03-16Refactor away `NestedMetaItemKind`Vadim Petrochenkov-1/+1
Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields
2019-02-24Deny `async fn` in 2015 editionNathan Corbyn-1/+1
Fix style issues and update diagnostic messages Update src/librustc_passes/diagnostics.rs Co-Authored-By: doctorn <me@nathancorbyn.com> Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition
2019-02-11Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocsOliver Scherer-2/+2
2019-02-11Require a list of features to allow in `allow_internal_unstable`Oliver Scherer-1/+4
2019-02-04libsyntax_ext => 2018Taiki Endo-7/+7
2019-01-16Auto merge of #57321 - petrochenkov:atokens, r=nikomatsakisbors-13/+3
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-13Implement basic input validation for built-in attributesVadim Petrochenkov-13/+3
2019-01-08improve non_upper_case_globals diagnosticsAndy Russell-2/+2
Use a structured suggestion and tighten the span to just the identifier.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-11-11reword #[test] attribute error on fn itemsgiacomo-1/+1
2018-10-05expansion: Remove restriction on use of macro attributes with test/benchVadim Petrochenkov-7/+1
The restrictions were introduced in https://github.com/rust-lang/rust/pull/54277 and no longer necessary now because legacy plugins are now expanded in usual left-to-right order
2018-09-16Temporarily prohibit proc macro attributes placed after derivesVadim Petrochenkov-1/+7
... and also proc macro attributes used together with test/bench.
2018-09-04Move #[test_case] to a syntax extensionJohn Renner-2/+8
2018-09-04Introduce Custom Test FrameworksJohn Renner-0/+328