about summary refs log tree commit diff
path: root/tests/rustdoc/tuple-struct-fields-doc.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-16 14:02:18 +0100
committerGitHub <noreply@github.com>2022-12-16 14:02:18 +0100
commit3b9aea967f69fd96fce7a2861d953fe10004ef5f (patch)
tree030b4219bde312e6ab53f255c4d6b0093de90650 /tests/rustdoc/tuple-struct-fields-doc.rs
parent22797ef6b23d7e6ca88c7d1401de4cfb18747f80 (diff)
parentfded03ee2d421359e49a69b6afa7d7f65ef9f597 (diff)
downloadrust-3b9aea967f69fd96fce7a2861d953fe10004ef5f.tar.gz
rust-3b9aea967f69fd96fce7a2861d953fe10004ef5f.zip
Rollup merge of #105744 - Ezrashaw:e0158-clarity, r=GuillaumeGomez
Rewrite `E0158` error-code docs for clarity

Fixes #105585.

The `E0158` error-code docs are unclear. It doesn't explain all three different variants of the error and doesn't explain *why* the error occurs. This PR cleans it up a bit and brings it properly into line with [RFC1567](https://rust-lang.github.io/rfcs/1567-long-error-codes-explanation-normalization.html).

I'm a first time Rust contributor so I've probably not got it quite right. I also haven't run the whole build process because I assume that my minor docs changes shouldn't break everything.
Diffstat (limited to 'tests/rustdoc/tuple-struct-fields-doc.rs')
0 files changed, 0 insertions, 0 deletions