about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-15 13:45:25 +0000
committerbors <bors@rust-lang.org>2019-11-15 13:45:25 +0000
commit1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5 (patch)
treec4326f32a97223d054df71a46bc02d77378a0ab6 /src/librustc_error_codes/error_codes.rs
parentce36ab2b064c2aa716084d79717c64cc04bb6532 (diff)
parent0f2f03fbd156c0058c2556560d4a6263012feeb3 (diff)
downloadrust-1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5.tar.gz
rust-1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5.zip
Auto merge of #66449 - tmandry:rollup-3p1t0sb, r=tmandry
Rollup of 4 pull requests

Successful merges:

 - #66197 (Push `ast::{ItemKind, ImplItemKind}::OpaqueTy` hack down into lowering)
 - #66429 (Add a regression test for #62524)
 - #66435 (Correct `const_in_array_repeat_expressions` feature name)
 - #66443 (Port erased cleanup)

Failed merges:

r? @ghost
Diffstat (limited to 'src/librustc_error_codes/error_codes.rs')
-rw-r--r--src/librustc_error_codes/error_codes.rs5
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! {