]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #75916 - jyn514:unify-error-reporting, r=euclio
authorbors <bors@rust-lang.org>
Sat, 29 Aug 2020 07:52:53 +0000 (07:52 +0000)
committerbors <bors@rust-lang.org>
Sat, 29 Aug 2020 07:52:53 +0000 (07:52 +0000)
 Unify error reporting for intra-doc links

- Give a suggestion even if there is no span available
- Give a more accurate description of the change than 'use the
disambiguator'
- Write much less code

Closes #75836.
r? @euclio
cc @pickfire - this gets rid of 'disambiguator' like you suggested in https://github.com/rust-lang/rust/pull/75079#discussion_r464464195.


No differences found