Remove generic-impl rendering filter
This commit is contained in:
parent
6eb0b05017
commit
ef7d6fcbd1
@ -139,7 +139,6 @@ impl<'a, 'tcx, 'rcx> AutoTraitFinder<'a, 'tcx, 'rcx> {
|
||||
let mut traits = Vec::new();
|
||||
if self.cx.crate_name != Some("core".to_string()) &&
|
||||
self.cx.access_levels.borrow().is_doc_reachable(def_id) {
|
||||
if let ty::TyAdt(_adt, _) = ty.sty {
|
||||
let real_name = name.clone().map(|name| Ident::from_str(&name));
|
||||
let param_env = self.cx.tcx.param_env(def_id);
|
||||
for &trait_def_id in self.cx.all_traits.iter() {
|
||||
@ -228,7 +227,6 @@ impl<'a, 'tcx, 'rcx> AutoTraitFinder<'a, 'tcx, 'rcx> {
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
debug!(
|
||||
"get_auto_trait_impls(def_id={:?}, def_ctor=..., generics={:?}",
|
||||
|
Loading…
Reference in New Issue
Block a user