Rollup merge of #139654 - nnethercote:AssocKind-descr, r=compiler-errors

Improve `AssocItem::descr`.

The commit adds "associated" to the description of associated types and associated consts, to match the description of associated functions. This increases error message precision and consistency with `AssocKind::fmt`.

The commit also notes an imperfection in `AssocKind::fmt`; fixing this imperfection is possible but beyond the scope of this PR.

r? `@estebank`
This commit is contained in:
Stuart Cook 2025-04-11 13:31:50 +10:00 committed by GitHub
commit 109b98a4d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available