diff options
| author | Ethan Brierley <ethanboxx@gmail.com> | 2020-10-12 07:18:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-12 07:18:29 -0500 |
| commit | eec443681ef927d1c567c29401237f5c31f49aaf (patch) | |
| tree | 6a8fb7b5347ceb3b9616267f891112d042468b40 /compiler/rustc_resolve/src | |
| parent | d7029cbd7e25405ab815d12d55c3f496d48f6084 (diff) | |
| download | rust-eec443681ef927d1c567c29401237f5c31f49aaf.tar.gz rust-eec443681ef927d1c567c29401237f5c31f49aaf.zip | |
Make error help clearer
Co-authored-by: varkor <github@varkor.com>
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index 83706e8a96f..99773cd1764 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -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 )); } |
