Make error help clearer
Co-authored-by: varkor <github@varkor.com>
This commit is contained in:
parent
d7029cbd7e
commit
eec443681e
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ impl<'a> Resolver<'a> {
|
|||
err.note("type parameters may not be used in anonymous constants");
|
||||
} else {
|
||||
err.help(&format!(
|
||||
"const parameters may only be used as standalone arguments `{}`",
|
||||
"const parameters may only be used as standalone arguments, i.e. `{}`",
|
||||
name
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue