Skip to content

Commit f28126e

Browse files
authored
Fix typo in explanation of E0080
Handling issue #66105 in Rust repo. `evaluate an constant expression` to `evaluate a constant expression`
1 parent d2185f6 commit f28126e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/error_codes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ This works because `Box` is a pointer, so its size is well-known.
335335
"##,
336336

337337
E0080: r##"
338-
This error indicates that the compiler was unable to sensibly evaluate an
338+
This error indicates that the compiler was unable to sensibly evaluate a
339339
constant expression that had to be evaluated. Attempting to divide by 0
340340
or causing integer overflow are two ways to induce this error. For example:
341341

0 commit comments

Comments
 (0)