1
Fork 0

Fix typo in explanation of E0080

Handling issue #66105 in Rust repo.
`evaluate an constant expression` to `evaluate a constant expression`
This commit is contained in:
Youngsuk Kim 2019-11-05 00:35:18 -05:00 committed by GitHub
parent d2185f6752
commit f28126ee1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: