mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Remove AmbiguousLinks::disambiguator
This commit is contained in:
parent
2b9e41c128
commit
10f2395c9e
@ -302,7 +302,6 @@ pub(crate) struct LinkCollector<'a, 'tcx> {
|
||||
}
|
||||
|
||||
pub(crate) struct AmbiguousLinks {
|
||||
disambiguator: Option<Disambiguator>,
|
||||
link_text: Box<str>,
|
||||
diag_info: OwnedDiagnosticInfo,
|
||||
resolved: Vec<(Res, Option<UrlFragment>)>,
|
||||
@ -1097,7 +1096,6 @@ impl LinkCollector<'_, '_> {
|
||||
|
||||
if resolved.len() > 1 {
|
||||
let links = AmbiguousLinks {
|
||||
disambiguator,
|
||||
link_text: link_text.clone(),
|
||||
diag_info: diag_info.into(),
|
||||
resolved,
|
||||
@ -1178,7 +1176,7 @@ impl LinkCollector<'_, '_> {
|
||||
res,
|
||||
fragment,
|
||||
path_str,
|
||||
info.disambiguator,
|
||||
None,
|
||||
diag_info,
|
||||
&info.link_text,
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user