File tree 1 file changed +4
-5
lines changed
compiler/rustc_error_codes/src/error_codes
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ or causing an integer overflow are two ways to induce this error.
15
15
16
16
Ensure that the expressions given can be evaluated as the desired integer type.
17
17
18
- See the [ Custom Discriminants] [ custom-discriminants ] section of the Reference
19
- for more information about setting custom integer types on fieldless enums
20
- using the [ ` repr ` attribute] [ repr-attribute ] .
18
+ See the [ Discriminants] section of the Reference for more information about
19
+ setting custom integer types on enums using the [ ` repr ` attribute] [ repr-attribute ] .
21
20
22
- [ custom- discriminants] : https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-field-less-enumerations
23
- [ repr-attribute ] : https://doc.rust-lang.org/reference/type-layout.html#reprc-enums
21
+ [ discriminants ] : https://doc.rust-lang.org/reference/items/enumerations.html#discriminants
22
+ [ repr-attribute ] : https://doc.rust-lang.org/reference/type-layout.html#representations
You can’t perform that action at this time.
0 commit comments