about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-11 10:10:06 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-11 11:03:08 +1000
commit7e8184fa2a712356f1827c8abc01bafcd359b122 (patch)
tree2a9d6c6ed41d01a277877631565179171725c5fa /library/std/src
parent2205455d444f5f9da3a52e50f43c0306480218fb (diff)
downloadrust-7e8184fa2a712356f1827c8abc01bafcd359b122.tar.gz
rust-7e8184fa2a712356f1827c8abc01bafcd359b122.zip
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.
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions