diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-24 00:49:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-24 00:49:43 +0100 |
| commit | 7a47df81697ae1db7b7545b11a06e00e989ccd87 (patch) | |
| tree | 2ffbad7e476cb33d84953b3f94223aea30fde4d3 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 72c99f2cf0021fe119dd3de8272349f679188150 (diff) | |
| parent | 99ae42876b1e99b558c392d7912b826d32c39476 (diff) | |
| download | rust-7a47df81697ae1db7b7545b11a06e00e989ccd87.tar.gz rust-7a47df81697ae1db7b7545b11a06e00e989ccd87.zip | |
Rollup merge of #70242 - DeeDeeG:improve-e0308, r=Dylan-DPC
Improve E0308 error message wording Hi folks, I made [a post on Reddit](https://old.reddit.com/r/rust/comments/fmi11x/consider_linting_rusts_documentationerror_text/) about how (IMO) the docs/error messages can be a bit intimidating, one thing led to another, and I was encouraged to submit a Pull Request if I felt I could re-phrase the error message that I used as an example. So that's this Pull Request. Open to any feedback or style changes, and I understand this is subjective. (On another note: I am happy to see [this message was recently improved](https://github.com/rust-lang/rust/pull/69139) in `master`, so it's already better than it is in stable Rust 1.42.0.) Ideally the last sentence could be split into at least two: [sentence explaining the inferred type.] [Sentence explaining explicit type.] [Sentence that summarizes that "this is bad," and why.] But I'm not sure how to do so; I'm wary of writing something that turns out to be technically incorrect.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
