Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6ac2080
rustc_target: Remove compiler-rt linking hack on Android
petrochenkov Apr 3, 2021
6e4ef54
Rename path_str -> ori_link in anchor_failure
jyn514 Apr 5, 2021
d4011e1
Use DiagnosticInfo for anchor failure
jyn514 Apr 5, 2021
8ed7d93
Take `DiagnosticInfo` in `resolution_failure`
jyn514 Apr 5, 2021
2ab1b7d
Rename link_range -> disambiguator_range in disambiguator_error
jyn514 Apr 5, 2021
58f9c5b
Take DiagnosticInfo in disambiguator_error
jyn514 Apr 5, 2021
f4c87c5
Take `DiagnosticInfo` in `ambiguity_error`
jyn514 Apr 5, 2021
661acbc
Take DiagnosticInfo in privacy_error
jyn514 Apr 5, 2021
a86a740
Use DiagnosticInfo for `report_diagnostic`
jyn514 Apr 5, 2021
e7e485c
rustc_target: Rely on defaults more in target specs
petrochenkov Apr 3, 2021
6c0b987
Update LLVM to support more wasm simd ops
alexcrichton Apr 5, 2021
f4a19ca
Fix typo in TokenStream documentation
GuillaumeGomez Apr 5, 2021
48c2cde
Update cargo
ehuss Apr 6, 2021
525646a
Move `SharedContext` to `context.rs`
camelid Apr 2, 2021
861b0fb
Rollup merge of #82963 - camelid:move-sharedcontext, r=GuillaumeGomez
Dylan-DPC Apr 6, 2021
a39b243
Rollup merge of #83822 - petrochenkov:linkandro, r=davidtwco
Dylan-DPC Apr 6, 2021
dde1d6e
Rollup merge of #83829 - petrochenkov:minclean, r=nagisa
Dylan-DPC Apr 6, 2021
22c56d0
Rollup merge of #83875 - jyn514:diag_info, r=bugadani
Dylan-DPC Apr 6, 2021
df41dc9
Rollup merge of #83902 - alexcrichton:update-llvm, r=nikic
Dylan-DPC Apr 6, 2021
ed26baf
Rollup merge of #83903 - rust-lang:GuillaumeGomez-patch-1, r=lcnr
Dylan-DPC Apr 6, 2021
0eeaf7a
Rollup merge of #83910 - ehuss:update-cargo, r=ehuss
Dylan-DPC Apr 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename link_range -> disambiguator_range in disambiguator_error
It's not the range of the full link, it's only a partial range.
  • Loading branch information
jyn514 committed Apr 5, 2021
commit 2ab1b7d8c3076510863e969ecc907c983a42a4ed
4 changes: 2 additions & 2 deletions src/librustdoc/passes/collect_intra_doc_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down