Skip to content

Commit 55b1e1f

Browse files
committed
---
yaml --- r: 206654 b: refs/heads/beta c: ffc0d04 h: refs/heads/master v: v3
1 parent ee17c1a commit 55b1e1f

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: 5613502a4f3476e5db2c68bdf203104556796630
32+
refs/heads/beta: ffc0d0448917c1f225a3500bf3a1dc6fc40029d7
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 579e31929feff51dcaf8d444648eff8de735f91a

branches/beta/src/librustc_typeck/diagnostics.rs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,20 @@ construct an instance of the following type using only safe code:
136136
```
137137
enum Empty {}
138138
```
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+
```
139153
"##
140154

141155
}
@@ -205,8 +219,6 @@ register_diagnostics! {
205219
E0128,
206220
E0129,
207221
E0130,
208-
E0131,
209-
E0132,
210222
E0141,
211223
E0159,
212224
E0163,

0 commit comments

Comments
 (0)