Skip to content

Commit a07010c

Browse files
committed
README: Link to P2429 paper for compiler diagnostics review
1 parent 3905144 commit a07010c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,12 @@ Points of note:
742742

743743
## Diagnostics
744744

745-
Rust is renowned for having great compiler diagnostics, so it's probably a good
746-
place to get inspiration from.
745+
The paper [P2429 - Concepts Error Messages for
746+
Humans](https://wg21.tartanllama.xyz/P2429%20-%20Concepts%20Error%20Messages%20for%20Humans.pdf)
747+
is C++ centric, but has a nice review of quality error reporting in various
748+
compilers including Elm, ReasonML, Flow, D and Rust.
747749

748-
Some resources:
750+
Some Rust-specific resources:
749751
* [rustc_errors::Diagnostic](https://doc.rust-lang.org/stable/nightly-rustc/rustc_errors/struct.Diagnostic.html)
750752
* The source of the Rust compiler's diagnostics system:
751753
- The [`println!` macro](https://github.com/rust-lang/rust/blob/0b6f079e4987ded15c13a15b734e7cfb8176839f/compiler/rustc_builtin_macros/src/format.rs)

0 commit comments

Comments
 (0)