Skip to content

Commit

Permalink
Rollup merge of #66106 - JOE1994:master, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Fix typo in explanation of `E0080`

Handling issue #66105 in Rust repo.
`evaluate an constant expression` to `evaluate a constant expression`
  • Loading branch information
Centril authored Nov 6, 2019
2 parents 32e745f + f28126e commit f221c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f221c3d

Please sign in to comment.