about summary refs log tree commit diff
path: root/src/test/ui/malformed
AgeCommit message (Collapse)AuthorLines
2019-10-03plugin_registrary: use normal deprecation instead of hard coded warning.Mazdak Farrokhzad-18/+12
2019-10-03Deprecate `#![plugin]` and `#[plugin_registrar]`.Mazdak Farrokhzad-3/+36
2019-08-23`--bless` some tests due to message format change.Mazdak Farrokhzad-4/+2
2019-07-17normalize use of backticks in compiler messages for librustc/lintSamy Kacimi-1/+1
https://github.com/rust-lang/rust/issues/60532
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
2019-06-22Lint empty 'derive()' as unused attribute.Mazdak Farrokhzad-10/+1
2019-06-08Introduce `#[rustc_dummy]` attribute and use it in testsVadim Petrochenkov-9/+9
Unlike other built-in attributes, this attribute accepts any input
2019-05-25Reword malformed attribute input diagnosticsEsteban Küber-36/+48
- 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-05-24Revert changes that belong to separate PREsteban Küber-21/+12
2019-05-24review commentsEsteban Küber-1/+1
2019-05-24Tweak macro parse errors when reaching EOF during macro call parseEsteban Küber-25/+31
- Add detail on origin of current parser when reaching EOF and stop saying "found <eof>" and point at the end of macro calls - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error
2019-05-11Move literal parsing code into a separate fileVadim Petrochenkov-4/+4
Remove some dead code
2019-05-11Simplify conversions between tokens and semantic literalsVadim Petrochenkov-9/+5
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+0
2019-04-15Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of loopingJohn Kåre Alsaker-2/+2
2019-03-11Update testsVadim Petrochenkov-15/+15
2019-02-27Mention `unwind(aborts)` in diagnostics for `#[unwind]`Vadim Petrochenkov-0/+51
Simplify input validation for `#[unwind]`, add tests
2019-02-25Stabilize `unrestricted_attribute_tokens`Vadim Petrochenkov-4/+0
2019-02-25Restrict value in key-value attributes to literalsVadim Petrochenkov-0/+53
2019-01-13Address review commentsVadim Petrochenkov-5/+5
2019-01-13Implement basic input validation for built-in attributesVadim Petrochenkov-11/+103
2018-12-27Do not abort compilation if expansion produces errorsVadim Petrochenkov-0/+2
Fix a number of uncovered deficiencies in diagnostics
2018-12-25Remove licensesMark Rousskov-47/+7
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+120