Revert "Rollup merge of #62696 - chocol4te:fix_#62194, r=estebank"
This reverts commitdf21a6f040, reversing changes made tocc16d04869.
This commit is contained in:
parent
d7270712cb
commit
95f29aa81b
11 changed files with 22 additions and 7 deletions
|
|
@ -366,13 +366,8 @@ pub(super) fn specialization_graph_provider(
|
|||
}
|
||||
}
|
||||
|
||||
let access_levels = tcx.privacy_access_levels(impl_def_id.krate);
|
||||
if let Some(id) = tcx.hir().as_local_hir_id(impl_def_id) {
|
||||
if access_levels.is_exported(id) || access_levels.is_public(id) {
|
||||
for cause in &overlap.intercrate_ambiguity_causes {
|
||||
cause.add_intercrate_ambiguity_hint(&mut err);
|
||||
}
|
||||
}
|
||||
for cause in &overlap.intercrate_ambiguity_causes {
|
||||
cause.add_intercrate_ambiguity_hint(&mut err);
|
||||
}
|
||||
|
||||
if overlap.involves_placeholder {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue