You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/doc/rustc/src/json.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ Diagnostics have the following format:
168
168
"rendered":null
169
169
},
170
170
{
171
-
"message":"consider prefixing with an underscore",
171
+
"message":"if this is intentional, prefix it with an underscore",
172
172
"code":null,
173
173
"level":"help",
174
174
"spans": [
@@ -201,7 +201,7 @@ Diagnostics have the following format:
201
201
/* Optional string of the rendered version of the diagnostic as displayed
202
202
by rustc. Note that this may be influenced by the `--json` flag.
203
203
*/
204
-
"rendered":"warning: unused variable: `x`\n --> lib.rs:2:9\n |\n2 | let x = 123;\n | ^ help: consider prefixing with an underscore: `_x`\n |\n = note: `#[warn(unused_variables)]` on by default\n\n"
204
+
"rendered":"warning: unused variable: `x`\n --> lib.rs:2:9\n |\n2 | let x = 123;\n | ^ help: if this is intentional, prefix it with an underscore: `_x`\n |\n = note: `#[warn(unused_variables)]` on by default\n\n"
0 commit comments