Skip to content

Commit 10f2395

Browse files
Remove AmbiguousLinks::disambiguator
1 parent 2b9e41c commit 10f2395

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/librustdoc/passes/collect_intra_doc_links.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ pub(crate) struct LinkCollector<'a, 'tcx> {
302302
}
303303

304304
pub(crate) struct AmbiguousLinks {
305-
disambiguator: Option<Disambiguator>,
306305
link_text: Box<str>,
307306
diag_info: OwnedDiagnosticInfo,
308307
resolved: Vec<(Res, Option<UrlFragment>)>,
@@ -1097,7 +1096,6 @@ impl LinkCollector<'_, '_> {
10971096

10981097
if resolved.len() > 1 {
10991098
let links = AmbiguousLinks {
1100-
disambiguator,
11011099
link_text: link_text.clone(),
11021100
diag_info: diag_info.into(),
11031101
resolved,
@@ -1178,7 +1176,7 @@ impl LinkCollector<'_, '_> {
11781176
res,
11791177
fragment,
11801178
path_str,
1181-
info.disambiguator,
1179+
None,
11821180
diag_info,
11831181
&info.link_text,
11841182
) {

0 commit comments

Comments
 (0)