File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
branches/stable/src/librustc_typeck Expand file tree Collapse file tree 2 files changed +27
-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: 0ba2db5fde29bfac76a69cff819cb8388be90392
32
+ refs/heads/stable: 758ea34146f4651cb78e2167de3c335007a8f26d
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,32 @@ type Foo<A> = Box<A>; // ok!
1022
1022
```
1023
1023
"## ,
1024
1024
1025
+ E0092 : r##"
1026
+ You tried to call an undefined atomic operation function.
1027
+ Erroneous code example:
1028
+
1029
+ ```
1030
+ #![feature(intrinsics)]
1031
+
1032
+ extern "rust-intrinsic" {
1033
+ fn atomic_foo(); // error: unrecognized atomic operation
1034
+ // function
1035
+ }
1036
+ ```
1037
+
1038
+ Please check you didn't make a mistake in the function's name. All intrinsic
1039
+ functions are defined in librustc_trans/trans/intrinsic.rs and in
1040
+ libcore/intrinsics.rs. Example:
1041
+
1042
+ ```
1043
+ #![feature(intrinsics)]
1044
+
1045
+ extern "rust-intrinsic" {
1046
+ fn atomic_fence(); // ok!
1047
+ }
1048
+ ```
1049
+ "## ,
1050
+
1025
1051
E0093 : r##"
1026
1052
You called an unknown intrinsic function. Erroneous code example:
1027
1053
@@ -1771,7 +1797,6 @@ register_diagnostics! {
1771
1797
E0085 ,
1772
1798
E0086 ,
1773
1799
E0090 ,
1774
- E0092 ,
1775
1800
E0101 ,
1776
1801
E0102 ,
1777
1802
E0103 ,
You can’t perform that action at this time.
0 commit comments