diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-06 03:28:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-06 03:28:19 +0100 |
| commit | f221c3d83c3ba0f2cf8c19bdd059e603be50aa85 (patch) | |
| tree | ddbe16a84f3081d8252096784721edbe659d88b0 /src | |
| parent | 32e745fc9449d6ab066079025d0b4685e0d6373b (diff) | |
| parent | f28126ee1bebc4b4216f9ffb8f375e59983da65d (diff) | |
| download | rust-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.rs | 2 |
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: |
