We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6841a6 commit dd819cfCopy full SHA for dd819cf
src/doc/rustc-dev-guide/src/diagnostics/error-codes.md
@@ -93,3 +93,12 @@ struct_span_code_err!(...)
93
For an example of a PR adding an error code, see [#76143].
94
95
[#76143]: https://github.com/rust-lang/rust/pull/76143
96
+
97
+## Running error code doctests
98
99
+To test the examples added in `rustc_error_codes/src/error_codes`, run the
100
+error index generator using:
101
102
+```
103
+./x test ./src/tools/error_index_generator
104
0 commit comments