Auto merge of #94088 - oli-obk:revert, r=jackh726
Revert #91403 fixes #94004 r? `@pnkfelix` `@cjgillot`
This commit is contained in:
commit
feac2ecf1c
34 changed files with 281 additions and 227 deletions
|
|
@ -585,12 +585,7 @@ fn clean_ty_generics(
|
|||
.params
|
||||
.iter()
|
||||
.filter_map(|param| match param.kind {
|
||||
ty::GenericParamDefKind::Lifetime => {
|
||||
if param.name == kw::UnderscoreLifetime {
|
||||
return None;
|
||||
}
|
||||
Some(param.clean(cx))
|
||||
}
|
||||
ty::GenericParamDefKind::Lifetime => Some(param.clean(cx)),
|
||||
ty::GenericParamDefKind::Type { synthetic, .. } => {
|
||||
if param.name == kw::SelfUpper {
|
||||
assert_eq!(param.index, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue