File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
branches/stable/src/librustc Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 0d74311e2baa73d883aec065dd300d48d34a0158
32
+ refs/heads/stable: d73cc565656c76cb5270934caaafa78760cc565b
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
35
35
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e
Original file line number Diff line number Diff line change @@ -360,6 +360,22 @@ integer type:
360
360
http://doc.rust-lang.org/reference.html#ffi-attributes
361
361
"## ,
362
362
363
+ E0109 : r##"
364
+ You tried to give type parameter to a type which doesn't need it. Erroneous
365
+ code example:
366
+
367
+ ```
368
+ type X = u32<i32>; // error: type parameters are not allowed on this type
369
+ ```
370
+
371
+ Please check you actually used the good type or check again its definition.
372
+ Example:
373
+
374
+ ```
375
+ type X = u32; // ok!
376
+ ```
377
+ "## ,
378
+
363
379
E0133 : r##"
364
380
Using unsafe functionality, such as dereferencing raw pointers and calling
365
381
functions via FFI or marked as unsafe, is potentially dangerous and disallowed
@@ -1055,7 +1071,6 @@ register_diagnostics! {
1055
1071
E0017 ,
1056
1072
E0022 ,
1057
1073
E0038 ,
1058
- E0109 ,
1059
1074
E0110 ,
1060
1075
E0134 ,
1061
1076
E0135 ,
You can’t perform that action at this time.
0 commit comments