Skip to content

Commit eec4436

Browse files
eopbvarkor
andauthored
Make error help clearer
Co-authored-by: varkor <github@varkor.com>
1 parent d7029cb commit eec4436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ impl<'a> Resolver<'a> {
477477
err.note("type parameters may not be used in anonymous constants");
478478
} else {
479479
err.help(&format!(
480-
"const parameters may only be used as standalone arguments `{}`",
480+
"const parameters may only be used as standalone arguments, i.e. `{}`",
481481
name
482482
));
483483
}

0 commit comments

Comments
 (0)