mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
Auto merge of #26876 - liigo:patch-3, r=Gankro
This commit is contained in:
@@ -766,6 +766,9 @@ enum Enum {
|
||||
```
|
||||
type X = u32; // this compiles
|
||||
```
|
||||
|
||||
Note that type parameters for enum-variant constructors go after the variant,
|
||||
not after the enum (Option::None::<u32>, not Option::<u32>::None).
|
||||
"##,
|
||||
|
||||
E0110: r##"
|
||||
|
||||
Reference in New Issue
Block a user