Remove a little jargon from error

Co-authored-by: varkor <github@varkor.com>
This commit is contained in:
Ethan Brierley 2020-10-12 15:57:04 -05:00 committed by GitHub
parent eec443681e
commit e62da8ff0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ impl<'a> Resolver<'a> {
err.span_label(span, &format!("cannot perform const operation using `{}`", name));
if is_type {
err.note("type parameters may not be used in anonymous constants");
err.note("type parameters may not be used in const expressions");
} else {
err.help(&format!(
"const parameters may only be used as standalone arguments, i.e. `{}`",