about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 03:28:19 +0100
committerGitHub <noreply@github.com>2019-11-06 03:28:19 +0100
commitf221c3d83c3ba0f2cf8c19bdd059e603be50aa85 (patch)
treeddbe16a84f3081d8252096784721edbe659d88b0 /src
parent32e745fc9449d6ab066079025d0b4685e0d6373b (diff)
parentf28126ee1bebc4b4216f9ffb8f375e59983da65d (diff)
downloadrust-f221c3d83c3ba0f2cf8c19bdd059e603be50aa85.tar.gz
rust-f221c3d83c3ba0f2cf8c19bdd059e603be50aa85.zip
Rollup merge of #66106 - JOE1994:master, r=GuillaumeGomez
Fix typo in explanation of `E0080`

Handling issue #66105 in Rust repo.
`evaluate an constant expression` to `evaluate a constant expression`
Diffstat (limited to 'src')
-rw-r--r--src/librustc/error_codes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/error_codes.rs b/src/librustc/error_codes.rs
index 3e35add9616..f5ff92e69bc 100644
--- a/src/librustc/error_codes.rs
+++ b/src/librustc/error_codes.rs
@@ -335,7 +335,7 @@ This works because `Box` is a pointer, so its size is well-known.
 "##,
 
 E0080: r##"
-This error indicates that the compiler was unable to sensibly evaluate an
+This error indicates that the compiler was unable to sensibly evaluate a
 constant expression that had to be evaluated. Attempting to divide by 0
 or causing integer overflow are two ways to induce this error. For example: