about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-22 09:29:09 -0700
committerGitHub <noreply@github.com>2020-07-22 09:29:09 -0700
commitf4079ce98078da93f9ce53e1099a96cbf80a5d9f (patch)
tree83536c6533e9de9fa35bac00e7c4a8e28f3fc18b /src/rustllvm/RustWrapper.cpp
parente811e294928e2fb6e7883c6d40bef2e62765e216 (diff)
parent7f3e2c0d374ba7982ef09499c7de6bb53866abf4 (diff)
downloadrust-f4079ce98078da93f9ce53e1099a96cbf80a5d9f.tar.gz
rust-f4079ce98078da93f9ce53e1099a96cbf80a5d9f.zip
Rollup merge of #74528 - euclio:intra-link-errors, r=jyn514
refactor and reword intra-doc link errors

This commit refactors intra-doc link error reporting to deduplicate code
and decouple error construction from the type of error. This greatly
improves flexibility at each error construction site, while reducing the
complexity of the diagnostic creation.

This commit also rewords the diagnostics for clarity and style:

- Diagnostics should not end in periods.
- It's unnecessary to say "ignoring it". Since this is a warning by
  default, it's already clear that the link is ignored.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions