about summary refs log tree commit diff
path: root/src/test/ui/proc-macro/attribute.rs
AgeCommit message (Collapse)AuthorLines
2019-07-26Introduce built-in macros through libcoreVadim Petrochenkov-2/+1
2019-05-25Reword malformed attribute input diagnosticsEsteban Küber-6/+4
- Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error - Use consistend error message: "malformed `attrname` attribute input" - Provide suggestions when possible - Move note/help to label/suggestion - Use consistent wording "ill-formed" -> "malformed" - Move diagnostic logic out of parser
2019-03-16syntax_ext: Validate `#[proc_macro_derive]` input betterVadim Petrochenkov-3/+3
Tweak some error wording
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-2/+2
2019-03-16Add tests for malformed input in `#[proc_macro_derive]`Vadim Petrochenkov-37/+57
2019-01-13Implement basic input validation for built-in attributesVadim Petrochenkov-2/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-09Move former compile-fail-fulldeps tests to uiVadim Petrochenkov-0/+66