diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-03-23 11:12:03 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-03-27 18:58:07 +0000 |
| commit | 904dd2c3987028f0270db306b9964bc465689de8 (patch) | |
| tree | f80a80251939c2406e322770e507b57f0765ef4f /compiler/rustc_error_codes | |
| parent | 8af42f695d493ed868098e3d1c02318f631998e4 (diff) | |
| download | rust-904dd2c3987028f0270db306b9964bc465689de8.tar.gz rust-904dd2c3987028f0270db306b9964bc465689de8.zip | |
Bless tidy
Diffstat (limited to 'compiler/rustc_error_codes')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0080.md | 3 | ||||
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0794.md | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0080.md b/compiler/rustc_error_codes/src/error_codes/E0080.md index 71d6c6fe2ef..c05324a5a2c 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0080.md +++ b/compiler/rustc_error_codes/src/error_codes/E0080.md @@ -16,7 +16,8 @@ or causing an integer overflow are two ways to induce this error. Ensure that the expressions given can be evaluated as the desired integer type. See the [Discriminants] section of the Reference for more information about -setting custom integer types on enums using the [`repr` attribute][repr-attribute]. +setting custom integer types on enums using the +[`repr` attribute][repr-attribute]. [discriminants]: https://doc.rust-lang.org/reference/items/enumerations.html#discriminants [repr-attribute]: https://doc.rust-lang.org/reference/type-layout.html#representations diff --git a/compiler/rustc_error_codes/src/error_codes/E0794.md b/compiler/rustc_error_codes/src/error_codes/E0794.md index 4377a292473..c8f73de95a2 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0794.md +++ b/compiler/rustc_error_codes/src/error_codes/E0794.md @@ -59,6 +59,6 @@ In the definition of `bar`, the lifetime parameter `'a` is late-bound, while where `'a` is universally quantified and `'b` is substituted by a specific lifetime. It is not allowed to explicitly specify early-bound lifetime arguments when late-bound lifetime parameters are present (as for `bar_fn2`, -see [issue #42868](https://github.com/rust-lang/rust/issues/42868)), although the -types that are constrained by early-bound parameters can be specified (as for -`bar_fn3`). +see [issue #42868](https://github.com/rust-lang/rust/issues/42868)), although +the types that are constrained by early-bound parameters can be specified (as +for `bar_fn3`). |
