File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
branches/tmp/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
26
refs/heads/beta: 2ad26e850ed5dfedda8c96d7315aee50145ceedd
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
- refs/heads/tmp: ed6940fd384b1e42c3e3ad229e022af2e13b79c7
28
+ refs/heads/tmp: 0ba2db5fde29bfac76a69cff819cb8388be90392
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
Original file line number Diff line number Diff line change @@ -1528,6 +1528,29 @@ impl Copy for &'static Bar { } // error
1528
1528
```
1529
1529
"## ,
1530
1530
1531
+ E0211 : r##"
1532
+ You used an intrinsic function which doesn't correspond to its
1533
+ definition. Erroneous code example:
1534
+
1535
+ ```
1536
+ #![feature(intrinsics)]
1537
+
1538
+ extern "rust-intrinsic" {
1539
+ fn size_of<T>(); // error: intrinsic has wrong type
1540
+ }
1541
+ ```
1542
+
1543
+ Please check the function definition. Example:
1544
+
1545
+ ```
1546
+ #![feature(intrinsics)]
1547
+
1548
+ extern "rust-intrinsic" {
1549
+ fn size_of<T>() -> usize;
1550
+ }
1551
+ ```
1552
+ "## ,
1553
+
1531
1554
E0243 : r##"
1532
1555
This error indicates that not enough type parameters were found in a type or
1533
1556
trait.
@@ -1790,7 +1813,6 @@ register_diagnostics! {
1790
1813
E0208 ,
1791
1814
E0209 , // builtin traits can only be implemented on structs or enums
1792
1815
E0210 , // type parameter is not constrained by any local type
1793
- E0211 ,
1794
1816
E0212 , // cannot extract an associated type from a higher-ranked trait bound
1795
1817
E0213 , // associated types are not accepted in this context
1796
1818
E0214 , // parenthesized parameters may only be used with a trait
You can’t perform that action at this time.
0 commit comments