File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,9 +148,9 @@ It should now pass, yay!
148148
149149Somewhat hand-in-hand with the previous step, you should inspect the ` .stderr `
150150file that was created to see if it looks like how you expect.
151- If you are adding
152- a new diagnostic message, now would be a good time to also consider how readable
153- the message looks overall, particularly for people new to Rust.
151+ If you are adding a new diagnostic message,
152+ now would be a good time to also consider how readable the message looks overall,
153+ particularly for people new to Rust.
154154
155155Our example ` tests/ui/async-await/await-without-async.stderr ` file should look
156156like this:
@@ -206,9 +206,8 @@ highlight what is important about it.
206206If there is an issue number associated with the test, include the issue number.
207207
208208This comment doesn't have to be super extensive.
209- Just something like "Regression
210- test for #18060 : match arms were matching in the wrong order." might already be
211- enough.
209+ Just something like the following might be enough:
210+ "Regression test for #18060 : match arms were matching in the wrong order".
212211
213212These comments are very useful to others later on when your test breaks, since
214213they often can highlight what the problem is.
You can’t perform that action at this time.
0 commit comments