Skip to content

Commit 57564c8

Browse files
Add link to error code explanation RFC
1 parent 9d46208 commit 57564c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/librustc_error_codes/error_codes.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// Error messages for EXXXX errors. Each message should start and end with a
22
// new line, and be wrapped to 80 characters. In vim you can `:set tw=80` and
33
// use `gq` to wrap paragraphs. Use `:set tw=0` to disable.
4+
//
5+
// /!\ IMPORTANT /!\
6+
//
7+
// Error messages' format must follow the RFC 1567 available here:
8+
// https://github.com/rust-lang/rfcs/pull/1567
49

510
crate::register_diagnostics! {
611

0 commit comments

Comments
 (0)