Rename link_range -> disambiguator_range in disambiguator_error
It's not the range of the full link, it's only a partial range.
This commit is contained in:
parent
8ed7d936f8
commit
2ab1b7d8c3
1 changed files with 2 additions and 2 deletions
|
|
@ -1975,10 +1975,10 @@ fn disambiguator_error(
|
|||
cx: &DocContext<'_>,
|
||||
item: &Item,
|
||||
dox: &str,
|
||||
link_range: Range<usize>,
|
||||
disambiguator_range: Range<usize>,
|
||||
msg: &str,
|
||||
) {
|
||||
report_diagnostic(cx.tcx, BROKEN_INTRA_DOC_LINKS, msg, item, dox, &link_range, |_diag, _sp| {});
|
||||
report_diagnostic(cx.tcx, BROKEN_INTRA_DOC_LINKS, msg, item, dox, &disambiguator_range, |_diag, _sp| {});
|
||||
}
|
||||
|
||||
/// Report an ambiguity error, where there were multiple possible resolutions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue