mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00
Esteban Küber
ce936e9336
Do not emit note for projected derived obligations
2020-04-18 16:37:08 -07:00
Esteban Küber
ad1c23c993
Maintain chain of derived obligations
...
When evaluating the derived obligations from super traits, maintain a
reference to the original obligation in order to give more actionable
context in the output.
2020-04-18 16:37:08 -07:00
Eduard-Mihai Burtescu
4c7eb59e81
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
2020-02-06 21:46:38 +02:00
Mazdak Farrokhzad
cbc9f68312
derive: avoid parse_in_attr
2019-12-06 20:37:59 +01:00
Esteban Küber
52e8ec1432
Remove "here" from "expected one of X here"
2019-11-06 17:26:20 -08:00
Mazdak Farrokhzad
e994d35e9b
Lint empty 'derive()' as unused attribute.
2019-06-22 13:19:55 +02:00
Esteban Küber
609ffa1a89
Reword malformed attribute input diagnostics
...
- 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-25 11:55:50 -07:00
Esteban Küber
ee7593e0ac
Revert changes that belong to separate PR
2019-05-24 15:17:32 -07:00
Esteban Küber
24160171e4
Tweak macro parse errors when reaching EOF during macro call parse
...
- 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-24 11:49:33 -07:00
Vadim Petrochenkov
41c65992c5
Implement basic input validation for built-in attributes
2019-01-13 14:17:19 +03:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00