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 5f5e0b5 commit 5a76e97Copy full SHA for 5a76e97
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