about summary refs log tree commit diff
path: root/src/librustc_error_codes
AgeCommit message (Collapse)AuthorLines
2020-05-25Rollup merge of #72567 - GuillaumeGomez:cleanup-e0608, r=Dylan-DPCDylan DPC-1/+1
Clean up E0608 explanation r? @Dylan-DPC
2020-05-25Clean up E0608 explanationGuillaume Gomez-1/+1
2020-05-24Rollup merge of #72530 - GuillaumeGomez:cleanup-e0602, r=Dylan-DPCRalf Jung-2/+2
Clean up E0602 explanation r? @Dylan-DPC
2020-05-24Clean up E0602 explanationGuillaume Gomez-2/+2
2020-05-22Rollup merge of #72461 - GuillaumeGomez:cleanup-e0600, r=Dylan-DPCDylan DPC-1/+1
Clean up E0600 explanation r? @Dylan-DPC
2020-05-22Rollup merge of #72375 - GuillaumeGomez:cleanup-e0599, r=Dylan-DPCDylan DPC-0/+15
Improve E0599 explanation r? @Dylan-DPC
2020-05-22Rollup merge of #72345 - GuillaumeGomez:cleanup-e0593, r=Dylan-DPCRalf Jung-0/+11
Clean up E0593 explanation r? @Dylan-DPC
2020-05-22Rollup merge of #72235 - GuillaumeGomez:cleanup-E0590, r=Dylan-DPCRalf Jung-3/+7
Clean up E0590 explanation r? @Dylan-DPC
2020-05-22Clean up E0590 explanationGuillaume Gomez-3/+7
2020-05-22Clean up E0600 explanationGuillaume Gomez-1/+1
2020-05-20Improve E0599 explanationGuillaume Gomez-0/+15
2020-05-20Implement `#[ffi_const]` and `#[ffi_pure]` function attributesMatthias Schiffer-0/+3
Introduce function attribute corresponding to the `const`/`pure` attributes supported by GCC, clang and other compilers. Based on the work of gnzlbg <gonzalobg88@gmail.com>.
2020-05-19Clean up E0593 explanationGuillaume Gomez-0/+11
2020-05-18Add documentation for asm!Amanieu d'Antras-10/+10
2020-05-17Rollup merge of #72259 - crlf0710:ascii_only_check, r=petrochenkovRalf Jung-0/+34
Disallow forbidden usage of non-ascii identifiers. Part of RFC2457, this tightens allowed identifiers back to ascii only in two situations. r? @petrochenkov
2020-05-17Disallow forbidden usage of non-ascii identifiers.Charles Lew-0/+34
2020-05-16Fix typo Arbintrary to ArbitraryRustin-Liu-1/+1
Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
2020-05-14Rollup merge of #72191 - GuillaumeGomez:cleanup-e0589, r=Dylan-DPCDylan DPC-0/+2
Clean up E0589 explanation r? @Dylan-DPC
2020-05-14Rollup merge of #72127 - jademcgough:long-error-explanation-E0228, ↵Dylan DPC-1/+41
r=petrochenkov add long error explanation for E0228 Add long explanation for the E0228 error code Part of #61137 Let me know if this is wrong at all (or can be written more clearly), I'm still learning Rust.
2020-05-14Clean up E0589 explanationGuillaume Gomez-0/+2
2020-05-14Rollup merge of #72169 - GuillaumeGomez:cleanup-e0582, r=Dylan-DPCRalf Jung-2/+2
Clean up E0582 explanation r? @Dylan-DPC
2020-05-14Rollup merge of #72137 - GuillaumeGomez:cleanup-e0581, r=Dylan-DPCRalf Jung-3/+6
Clean up E0581 explanation r? @Dylan-DPC
2020-05-13Clean up E0582 explanationGuillaume Gomez-2/+2
2020-05-12add long error explanation for E0228Jade McGough-1/+41
2020-05-12Clean up E0581 explanationGuillaume Gomez-3/+6
2020-05-11Rollup merge of #72107 - GuillaumeGomez:cleanup-e0579, r=Dylan-DPCDylan DPC-4/+6
Clean up E0579 explanation r? @Dylan-DPC
2020-05-11Rollup merge of #72077 - GuillaumeGomez:cleanup-E0571, r=Dylan-DPCDylan DPC-3/+3
Improve E0571 wording r? @Dylan-DPC
2020-05-11Clean up E0579 explanationGuillaume Gomez-4/+6
2020-05-10Improve E0571 wordingGuillaume Gomez-3/+3
2020-05-09Add missing backtick in E0569 explanationGuillaume Gomez-1/+1
2020-05-03Add stability attribute to E0539 error examplesunexge-0/+2
2020-05-02Add `#![feature(staged_api)]` attribute to E0539 error examplesunexge-0/+4
2020-05-02Add long error explanation for E0539unexge-1/+43
2020-04-24Rollup merge of #71426 - contrun:fix-e0751-explanation, r=estebankDylan DPC-1/+1
fix error code in E0751.md reference: https://github.com/rust-lang/rust/issues/71304
2020-04-23Rollup merge of #71461 - GuillaumeGomez:improve-e0567, r=Dylan-DPCDylan DPC-4/+2
Improve E0567 explanation r? @Dylan-DPC
2020-04-23Rollup merge of #71396 - DeeDeeG:improve-e0308-again, r=estebankDylan DPC-5/+4
Improve E0308 error message wording again Hello again, I recently did this PR: #70242 I felt the error message could be further improved, so I made [a post on the Rust community forum](https://users.rust-lang.org/t/looking-for-feedback-on-an-improved-error-message-for-e0308/40004) to ask for feedback. (Also, there were some comments on my original PR that I took into consideration as well.) This PR is my attempt to take all the feedback into account and propose a better and simplified error message that should still be accurate. Its main benefit is having simpler grammar, and hopefully being easier to read and understand. Thanks to everyone who commented and gave feedback, and thank you for taking a look at this PR.
2020-04-23Improve E0567 explanationGuillaume Gomez-4/+2
2020-04-23fix error code for E0751YI-1/+1
2020-04-22Rollup merge of #71350 - GuillaumeGomez:error-code-explanation-extra-check, ↵Dylan DPC-69/+157
r=oli-obk Error code explanation extra check r? @Mark-Simulacrum
2020-04-22Rollup merge of #71370 - PankajChaudhary5:ErrorCode-E0696, r=GuillaumeGomezDylan DPC-1/+50
Added detailed error code explanation for issue E0696 in Rust compiler. Added proper error explanation for issue E0696 in the Rust compiler. Error Code E0696 Sub Part of Issue #61137 r? @GuillaumeGomez
2020-04-22Fix new tidy checksGuillaume Gomez-69/+157
2020-04-22Add error code to inner doc comment attribute errorGuillaume Gomez-0/+32
2020-04-22Rollup merge of #71399 - rust-lang:cleanup-e0554, r=Dylan-DPCYuki Okushi-1/+1
Clean up E0554 explanation r? @Dylan-DPC
2020-04-22Rollup merge of #71390 - aticu:master, r=Dylan-DPCYuki Okushi-1/+1
Fix incorrect description of E0690 r? @steveklabnik
2020-04-22Rollup merge of #70998 - estebank:suggest-impl-trait-empty-fn, r=varkorYuki Okushi-2/+1
Suggest `-> impl Trait` and `-> Box<dyn Trait>` on fn that doesn't return During development, a function could have a return type set that is a bare trait object by accident. We already suggest using either a boxed trait object or `impl Trait` if the return paths will allow it. We now do so too when there are *no* return paths or they all resolve to `!`. We still don't handle cases where the trait object is *not* the entirety of the return type gracefully. Closes #38376.
2020-04-21Clean up E0554 explanationGuillaume Gomez-1/+1
2020-04-21Improve E0308 error message wording againDeeDeeG-5/+4
2020-04-21Fix incorrect description of E0690aticu-1/+1
2020-04-21Added proper explanation error code E0696pankajchaudhary5-1/+50
2020-04-21Rollup merge of #71174 - Nokel81:fix-async-main-error, r=petrochenkovDylan DPC-0/+12
Check that main/start is not async * Add new error code E0752 * Add span to hir::IsAsync::Yes * Emit an error if main or the start function is marked as async * Add two regression tests This PR fixes #68523.