about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <joshua@yottadb.com>2020-12-26 09:47:11 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-12-26 12:11:44 -0500
commit0f2571235b4ac60190b9d2dfe745367671c27c0f (patch)
tree72346dac3dc10b03bf23d6031e9f46f7ef729d14 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1f5beec3b111560be181283009ef96da6ac5e7a7 (diff)
downloadrust-0f2571235b4ac60190b9d2dfe745367671c27c0f.tar.gz
rust-0f2571235b4ac60190b9d2dfe745367671c27c0f.zip
Revert "Cleanup markdown span handling"
This caused a diagnostic regression, originally it was:

```
warning: unresolved link to `std::process::Comman`
 --> link.rs:3:10
  |
3 | //! [a]: std::process::Comman
  |          ^^^^^^^^^^^^^^^^^^^^ no item named `Comman` in module `process`
  |
  = note: `#[warn(broken_intra_doc_links)]` on by default
```
but after that PR rustdoc now displays
```
warning: unresolved link to `std::process::Comman`
 --> link.rs:1:14
  |
1 | //! Links to [a] [link][a]
  |              ^^^ no item named `Comman` in module `process`
  |
  = note: `#[warn(broken_intra_doc_links)]` on by default
```
which IMO is much less clear.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions