Niko Matsakis
e8a05e201e
permit negative impls for non-auto traits
2020-03-26 06:27:45 -04:00
Dylan DPC
15359b0d57
Rollup merge of #70406 - GuillaumeGomez:cleanup-e0458, r=Dylan-DPC
...
Clean up E0458 explanation
r? @Dylan-DPC
2020-03-25 23:53:01 +01:00
Guillaume Gomez
eaa93c0171
Clean up E0458 explanation
2020-03-25 20:49:36 +01:00
Dylan DPC
3586ab615e
Rollup merge of #70352 - bishtpawan:doc/61137-add-long-error-code-e0710, r=Dylan-DPC
...
Add long error explanation for E0710
Add long explanation for the E0710 error code
Part of #61137
r? @GuillaumeGomez
2020-03-25 19:28:11 +01:00
Mazdak Farrokhzad
dc29016299
Rollup merge of #70355 - GuillaumeGomez:cleanup-e0454, r=Dylan-DPC
...
Clean up E0454
r? @Dylan-DPC
2020-03-24 21:32:34 +01:00
Mazdak Farrokhzad
89feaf6d96
Rollup merge of #70023 - GuillaumeGomez:cleanup-e0436, r=Centril
...
clean up E0436 explanation
r? @Dylan-DPC
2020-03-24 21:32:26 +01:00
bishtpawan
b31707e683
Remove unknown lint from deny attribute
2020-03-24 19:06:08 +05:30
Guillaume Gomez
5a62054b06
Clean up E0454
2020-03-24 13:58:00 +01:00
bishtpawan
150916047b
Add explanation for inner attribute
2020-03-24 17:11:04 +05:30
bishtpawan
10226daa4e
Update tools_lints
2020-03-24 15:41:31 +05:30
bishtpawan
cd9921ed82
Refactor changes
2020-03-24 13:09:18 +05:30
bishtpawan
03bb3bde90
Add long error explanation for E0710 #61137
2020-03-24 13:03:01 +05:30
Mazdak Farrokhzad
3b8872d76d
Rollup merge of #70309 - GuillaumeGomez:cleanup-e0452, r=Dylan-DPC
...
Clean up E0452 explanation
r? @Dylan-DPC
2020-03-24 00:49:54 +01:00
Mazdak Farrokhzad
7a47df8169
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.
2020-03-24 00:49:43 +01:00
Guillaume Gomez
19e6935956
Clean up E0452 explanation
2020-03-23 12:40:14 +01:00
Mazdak Farrokhzad
5f91f30b0a
Rollup merge of #70270 - GuillaumeGomez:cleanup-e0449, r=Dylan-DPC
...
Clean up E0449 explanation
r? @Dylan-DPC
2020-03-23 04:26:16 +01:00
Adam Perry
97da6dae41
Allow #[track_caller] in traits.
...
The codegen implementation already works for this, so we're:
* propagating track_caller attr from trait def to impl
* relaxing errors
* adding tests
Approved in a recent lang team meeting:
https://github.com/rust-lang/lang-team/blob/master/minutes/2020-01-09.md
2020-03-22 17:21:18 -07:00
Guillaume Gomez
fa5b727167
Clean up E0449 explanation
2020-03-22 13:33:29 +01:00
DeeDeeG
99ae42876b
Improve E0308 error message wording
2020-03-21 18:12:29 -04:00
Nixon Enraght-Moony
97aa2704ec
Add explanation message for E0224
2020-03-21 15:43:12 +00:00
Mazdak Farrokhzad
832daf720a
Rollup merge of #70188 - GuillaumeGomez:cleanup-e0439, r=Dylan-DPC
...
Clean up E0439 explanation
r? @Dylan-DPC
2020-03-21 05:33:33 +01:00
Guillaume Gomez
32670ddd28
Clean up E0439 explanation
2020-03-20 17:03:04 +01:00
Yuki Okushi
8965f63f84
Rollup merge of #70146 - GuillaumeGomez:cleanup-e0438, r=Dylan-DPC
...
Clean up e0438 explanation
r? @Dylan-DPC
2020-03-20 17:02:12 +09:00
Yuki Okushi
532133b71d
Rollup merge of #70103 - GuillaumeGomez:cleanup-e0437, r=Dylan-DPC
...
Clean up E0437 explanation
r? @Dylan-DPC
2020-03-20 17:02:06 +09:00
Guillaume Gomez
6f16118f28
Clean up e0438 explanation
2020-03-19 14:11:27 +01:00
Guillaume Gomez
4bf6734f6f
clean up E0436 explanation
2020-03-19 14:09:54 +01:00
Guillaume Gomez
be06f678e1
Clean up E0437 explanation
2020-03-19 14:08:22 +01:00
Mazdak Farrokhzad
8188b2163d
Rollup merge of #69139 - GuillaumeGomez:cleanup-e0308, r=Dylan-DPC
...
clean up E0308 explanation
r? @Dylan-DPC
2020-03-18 18:03:33 +01:00
Dylan DPC
8f2482b801
Rollup merge of #69867 - ayushmishra2005:doc/61137-add-long-error-code-e0628, r=Dylan-DPC
...
Add long error explanation for E0628
Add long explanation for the E0628 error code
Part of #61137
r? @GuillaumeGomez
2020-03-16 13:16:42 +01:00
Dylan DPC
9296d770bd
Rollup merge of #69998 - ayushmishra2005:doc/61137-add-long-error-code-e0634, r=Dylan-DPC,GuillaumeGomez
...
Add long error explanation for E0634
Add long explanation for the E0634 error code
Part of #61137
r? @GuillaumeGomez
2020-03-16 01:30:38 +01:00
Dylan DPC
bbdc871c53
Rollup merge of #69917 - GuillaumeGomez:cleanup-e0412, r=Dylan-DPC
...
Cleanup E0412 and E0422
r? @Dylan-DPC
2020-03-16 01:30:31 +01:00
Dylan DPC
838884e022
Rollup merge of #69993 - ayushmishra2005:doc/61137-add-long-error-code-e0693, r=Dylan-DPC
...
Add long error explanation for E0693
Add long explanation for the E0693 error code
Part of #61137
r? @GuillaumeGomez
2020-03-15 02:44:23 +01:00
Dylan DPC
191a7965b1
Rollup merge of #69991 - contrun:fix-69980, r=Dylan-DPC
...
fix E0117 message out of sync
Closes https://github.com/rust-lang/rust/issues/69980
2020-03-15 02:44:22 +01:00
Ayush Mishra
2974685f09
Update src/librustc_error_codes/error_codes/E0634.md
...
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
2020-03-15 06:49:54 +05:30
Ayush Mishra
5760db14f9
Update src/librustc_error_codes/error_codes/E0634.md
...
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
2020-03-15 06:49:45 +05:30
Guillaume Gomez
ecb84c975d
Clean up E0412 and E0422 explanations
2020-03-14 23:19:22 +01:00
Ayush Kumar Mishra
4bd6ebcc31
Add long error explanation for E0634 #61137
2020-03-14 16:01:03 +05:30
Ayush Kumar Mishra
1c88052fa0
Add long error explanation for E0693 #61137
2020-03-14 08:41:05 +05:30
YI
47f6d63e10
fix E0117 message out of sync
2020-03-14 09:23:59 +08:00
Yuki Okushi
1d8f5f0ff5
Rollup merge of #69974 - GuillaumeGomez:cleanup-e0434, r=Dylan-DPC
...
Clean up E0434 explanation
r? @Dylan-DPC
2020-03-14 04:03:37 +09:00
Guillaume Gomez
a36bf9c1b8
Clean up E0434 explanation
2020-03-13 14:36:14 +01:00
Ayush Kumar Mishra
c33c88bcbd
Minor change
2020-03-13 10:52:41 +05:30
Ayush Kumar Mishra
00c6abe92f
Minor change
2020-03-13 10:49:49 +05:30
Ayush Mishra
f7fcb589cf
Update src/librustc_error_codes/error_codes/E0628.md
...
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
2020-03-13 08:14:45 +05:30
Ayush Mishra
1305ae6813
Update src/librustc_error_codes/error_codes/E0628.md
...
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
2020-03-13 08:14:32 +05:30
Guillaume Gomez
611cfd5f15
Clean up E0423 explanation
2020-03-12 13:11:07 +01:00
Mazdak Farrokhzad
e838383ff8
Rollup merge of #69876 - ayushmishra2005:doc/61137-add-long-error-code-e0739, r=Dylan-DPC
...
Add long error explanation for E0739
Add long explanation for the E0739 error code
Part of #61137
r? @GuillaumeGomez
2020-03-11 14:03:51 +01:00
Mazdak Farrokhzad
6f1db996c1
Rollup merge of #69847 - GuillaumeGomez:cleanup-e0393, r=Dylan-DPC
...
clean up E0393 explanation
r? @Dylan-DPC
2020-03-10 06:47:56 +01:00
Ayush Kumar Mishra
761c8c1eef
Removed trailing whitespace
2020-03-10 09:07:29 +05:30
Ayush Kumar Mishra
6f2c01bcfb
Add long error explanation for E0739
2020-03-10 08:33:14 +05:30