Make error help clearer

Co-authored-by: varkor <github@varkor.com>
This commit is contained in:
Ethan Brierley 2020-10-12 07:18:29 -05:00 committed by GitHub
parent d7029cbd7e
commit eec443681e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
));
}