diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-11-15 14:44:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-15 14:44:52 +0100 |
| commit | 0f2f03fbd156c0058c2556560d4a6263012feeb3 (patch) | |
| tree | c4326f32a97223d054df71a46bc02d77378a0ab6 /src/librustc_error_codes/error_codes.rs | |
| parent | d99026e8913a401f39d5928f4efeb45e6a77d895 (diff) | |
| parent | f9fdc380c785290c86568181f78a1584dfad4863 (diff) | |
| download | rust-0f2f03fbd156c0058c2556560d4a6263012feeb3.tar.gz rust-0f2f03fbd156c0058c2556560d4a6263012feeb3.zip | |
Rollup merge of #66443 - GuillaumeGomez:port-erased-cleanup, r=Mark-Simulacrum
Port erased cleanup Just realised that the changes I made in #65965 were removed after the move of all error codes so here it is. I made them into separate commits to make the history look better this time. r? @Mark-Simulacrum
Diffstat (limited to 'src/librustc_error_codes/error_codes.rs')
| -rw-r--r-- | src/librustc_error_codes/error_codes.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes.rs b/src/librustc_error_codes/error_codes.rs index 5e6d5ce159d..ffefe51f854 100644 --- a/src/librustc_error_codes/error_codes.rs +++ b/src/librustc_error_codes/error_codes.rs @@ -1,6 +1,11 @@ // Error messages for EXXXX errors. Each message should start and end with a // new line, and be wrapped to 80 characters. In vim you can `:set tw=80` and // use `gq` to wrap paragraphs. Use `:set tw=0` to disable. +// +// /!\ IMPORTANT /!\ +// +// Error messages' format must follow the RFC 1567 available here: +// https://github.com/rust-lang/rfcs/pull/1567 crate::register_diagnostics! { |
