about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-11 13:31:50 +1000
committerGitHub <noreply@github.com>2025-04-11 13:31:50 +1000
commit96d282c87b576407b5816bce090a8679f49d7fe3 (patch)
tree22fdd3557c3ee667ad99c746c518868bd861e0f7 /compiler/rustc_interface/src
parent25d282efd49c0dcf6bff71fe4e2cf38b2a111d8a (diff)
parent7e8184fa2a712356f1827c8abc01bafcd359b122 (diff)
downloadrust-96d282c87b576407b5816bce090a8679f49d7fe3.tar.gz
rust-96d282c87b576407b5816bce090a8679f49d7fe3.zip
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`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions