Skip to content

Commit 945be0c

Browse files
authored
Rollup merge of rust-lang#66106 - JOE1994:master, r=GuillaumeGomez
Fix typo in explanation of `E0080` Handling issue rust-lang#66105 in Rust repo. `evaluate an constant expression` to `evaluate a constant expression`
2 parents ef04a62 + f28126e commit 945be0c

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)