about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-30 22:49:23 +0900
committerGitHub <noreply@github.com>2020-12-30 22:49:23 +0900
commit7494aef979b7f8e4237f5bb06b628b6d213f26d1 (patch)
tree7228114c28be083bdee69946d77280b101b06fe0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent18ac1ecac957000b06b265f9157062abd57009a6 (diff)
parent0f2571235b4ac60190b9d2dfe745367671c27c0f (diff)
downloadrust-7494aef979b7f8e4237f5bb06b628b6d213f26d1.tar.gz
rust-7494aef979b7f8e4237f5bb06b628b6d213f26d1.zip
Rollup merge of #80381 - rust-lang:revert-80244-spans, r=GuillaumeGomez
Revert "Cleanup markdown span handling"

Reverts rust-lang/rust#80244. 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.

cc `@bugadani,` thanks for catching this in https://github.com/rust-lang/rust/pull/77859.
r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions