Auto merge of #26876 - liigo:patch-3, r=Gankro
This commit is contained in:
commit
0469be1eb7
1 changed files with 3 additions and 0 deletions
|
@ -766,6 +766,9 @@ Example:
|
||||||
```
|
```
|
||||||
type X = u32; // this compiles
|
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##"
|
E0110: r##"
|
||||||
|
|
Loading…
Reference in a new issue