about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYoungsuk Kim <joseph942010@gmail.com>2019-11-05 00:35:18 -0500
committerGitHub <noreply@github.com>2019-11-05 00:35:18 -0500
commitf28126ee1bebc4b4216f9ffb8f375e59983da65d (patch)
tree40a168004e21ab12189697628dbb85e852ebac69
parentd2185f6752d3e9db6a0330f1a43c27a370783ac8 (diff)
downloadrust-f28126ee1bebc4b4216f9ffb8f375e59983da65d.tar.gz
rust-f28126ee1bebc4b4216f9ffb8f375e59983da65d.zip
Fix typo in explanation of `E0080`
Handling issue #66105 in Rust repo.
`evaluate an constant expression` to `evaluate a constant expression`
-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: