File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
branches/try/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: 5613502a4f3476e5db2c68bdf203104556796630
5
+ refs/heads/try: ffc0d0448917c1f225a3500bf3a1dc6fc40029d7
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -136,6 +136,20 @@ construct an instance of the following type using only safe code:
136
136
```
137
137
enum Empty {}
138
138
```
139
+ "## ,
140
+
141
+ E0131 : r##"
142
+ It is not possible to define `main` with type parameters, or even with function
143
+ parameters. When `main` is present, it must take no arguments and return `()`.
144
+ "## ,
145
+
146
+ E0132 : r##"
147
+ It is not possible to declare type parameters on a function that has the `start`
148
+ attribute. Such a function must have the following type signature:
149
+
150
+ ```
151
+ fn(isize, *const *const u8) -> isize
152
+ ```
139
153
"##
140
154
141
155
}
@@ -205,8 +219,6 @@ register_diagnostics! {
205
219
E0128 ,
206
220
E0129 ,
207
221
E0130 ,
208
- E0131 ,
209
- E0132 ,
210
222
E0141 ,
211
223
E0159 ,
212
224
E0163 ,
You can’t perform that action at this time.
0 commit comments