Skip to content

Commit 1469e8d

Browse files
authored
Rollup merge of rust-lang#102868 - compiler-errors:rename-assoc-tyalias-to-ty, r=TaKO8Ki
Rename `AssocItemKind::TyAlias` to `AssocItemKind::Type` Thanks `@camsteffen` for catching this in ast too, cc rust-lang#102829 (comment)
2 parents 5577e42 + 7a42219 commit 1469e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_utils/src/ast_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,14 +438,14 @@ pub fn eq_assoc_item_kind(l: &AssocItemKind, r: &AssocItemKind) -> bool {
438438
eq_defaultness(*ld, *rd) && eq_fn_sig(lf, rf) && eq_generics(lg, rg) && both(lb, rb, |l, r| eq_block(l, r))
439439
},
440440
(
441-
TyAlias(box ast::TyAlias {
441+
Type(box ast::TyAlias {
442442
defaultness: ld,
443443
generics: lg,
444444
bounds: lb,
445445
ty: lt,
446446
..
447447
}),
448-
TyAlias(box ast::TyAlias {
448+
Type(box ast::TyAlias {
449449
defaultness: rd,
450450
generics: rg,
451451
bounds: rb,

0 commit comments

Comments
 (0)