about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2020-07-19 13:03:35 -0400
committerAndy Russell <arussell123@gmail.com>2020-07-20 18:44:15 -0400
commit7f3e2c0d374ba7982ef09499c7de6bb53866abf4 (patch)
treebf2daa247040ee825802addf041bad7c3b428532 /library/std/src/sys/unix/stack_overflow.rs
parent48036804d2bc461b243c5d291b850e44bcca68ef (diff)
downloadrust-7f3e2c0d374ba7982ef09499c7de6bb53866abf4.tar.gz
rust-7f3e2c0d374ba7982ef09499c7de6bb53866abf4.zip
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 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions