Skip to content

Commit a515c71

Browse files
author
Nick Hamann
committed
---
yaml --- r: 210503 b: refs/heads/try c: 87f0237 h: refs/heads/master i: 210501: 8df54c8 210499: 9e17040 210495: cfeea2a v: v3
1 parent 04e0709 commit a515c71

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: dc630d01e3eae8ba05db98383119bc2ddbbb01c1
5+
refs/heads/try: 87f0237d01936d291fc0f6499aff32726f0f6cb1
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc_typeck/diagnostics.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ let x_is_nonzero = x as bool;
3434
```
3535
"##,
3636

37+
E0062: r##"
38+
This error indicates that during an attempt to build a struct or struct-like
39+
enum variant, one of the fields was specified more than once.
40+
"##,
41+
42+
E0063: r##"
43+
This error indicates that during an attempt to build a struct or struct-like
44+
enum variant, one of the fields was not provided.
45+
"##,
46+
3747
E0081: r##"
3848
Enum discriminants are used to differentiate enum variants stored in memory.
3949
This error indicates that the same value was used for two or more variants,
@@ -136,8 +146,6 @@ register_diagnostics! {
136146
E0059,
137147
E0060,
138148
E0061,
139-
E0062,
140-
E0063,
141149
E0066,
142150
E0067,
143151
E0068,

0 commit comments

Comments
 (0)