about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/basic.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-05-27 20:12:14 +0000
committerbors <bors@rust-lang.org>2019-05-27 20:12:14 +0000
commite70d5386d7abcf39adf54feb43a655c4f8a1bcb6 (patch)
tree78f07aa416883894265d017c06e0dd6adb7d1d30 /src/test/rustdoc-ui/coverage/basic.rs
parentfa40a111ff56c38590e83242e444e294093add07 (diff)
parent609ffa1a890fd6b8b0364cd7b35bf1d45abf82d0 (diff)
downloadrust-e70d5386d7abcf39adf54feb43a655c4f8a1bcb6.tar.gz
rust-e70d5386d7abcf39adf54feb43a655c4f8a1bcb6.zip
Auto merge of #61140 - estebank:attr-diagnostics, r=michaelwoerister
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

Split up from https://github.com/rust-lang/rust/pull/61026, where there's prior conversation.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/basic.rs')
0 files changed, 0 insertions, 0 deletions