mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
Rollup merge of #148781 - GuillaumeGomez:rm-unneeded-attr, r=yotamofek
[rustdoc] Remove unneeded `allow(rustc::potential_query_instability)` Originally replaced it with an `expect` and since it failed compilation because it wasn't triggered, I removed it.
This commit is contained in:
@@ -1215,7 +1215,6 @@ fn validate_link(&self, original_did: DefId) -> bool {
|
||||
|| !did.is_local()
|
||||
}
|
||||
|
||||
#[allow(rustc::potential_query_instability)]
|
||||
pub(crate) fn resolve_ambiguities(&mut self) {
|
||||
let mut ambiguous_links = mem::take(&mut self.ambiguous_links);
|
||||
for ((item_id, path_str), info_items) in ambiguous_links.iter_mut() {
|
||||
|
||||
Reference in New Issue
Block a user