File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed
branches/stable/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +37
-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: c158be082f07c2b2ed0a5f1db33627709396ac63
32
+ refs/heads/stable: 20f22b7f0e29068414933dd6d41c6a5785d3fd75
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 @@ -1022,6 +1022,42 @@ type Foo<A> = Box<A>; // ok!
1022
1022
```
1023
1023
"## ,
1024
1024
1025
+ E0093 : r##"
1026
+ You called an unknown intrinsic function. Erroneous code example:
1027
+
1028
+ ```
1029
+ #![feature(intrinsics)]
1030
+
1031
+ extern "rust-intrinsic" {
1032
+ fn foo();
1033
+ }
1034
+
1035
+ fn main() {
1036
+ unsafe {
1037
+ foo();
1038
+ }
1039
+ }
1040
+ ```
1041
+
1042
+ Please check you didn't make a mistake in the function's name. All intrinsic
1043
+ functions are defined in librustc_trans/trans/intrinsic.rs and in
1044
+ libcore/intrinsics.rs. Example:
1045
+
1046
+ ```
1047
+ #![feature(intrinsics)]
1048
+
1049
+ extern "rust-intrinsic" {
1050
+ fn atomic_fence();
1051
+ }
1052
+
1053
+ fn main() {
1054
+ unsafe {
1055
+ atomic_fence();
1056
+ }
1057
+ }
1058
+ ```
1059
+ "## ,
1060
+
1025
1061
E0106 : r##"
1026
1062
This error indicates that a lifetime is missing from a type. If it is an error
1027
1063
inside a function signature, the problem may be with failing to adhere to the
@@ -1688,7 +1724,6 @@ register_diagnostics! {
1688
1724
E0086 ,
1689
1725
E0090 ,
1690
1726
E0092 ,
1691
- E0093 ,
1692
1727
E0094 ,
1693
1728
E0101 ,
1694
1729
E0102 ,
You can’t perform that action at this time.
0 commit comments