Skip to content

Commit 3a8eb0a

Browse files
---
yaml --- r: 235031 b: refs/heads/stable c: 758ea34 h: refs/heads/master i: 235029: f45fd40 235027: 28cb2db 235023: 94172e6 v: v3
1 parent 7a6064e commit 3a8eb0a

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 0ba2db5fde29bfac76a69cff819cb8388be90392
32+
refs/heads/stable: 758ea34146f4651cb78e2167de3c335007a8f26d
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc_typeck/diagnostics.rs

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,32 @@ type Foo<A> = Box<A>; // ok!
10221022
```
10231023
"##,
10241024

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+
10251051
E0093: r##"
10261052
You called an unknown intrinsic function. Erroneous code example:
10271053
@@ -1771,7 +1797,6 @@ register_diagnostics! {
17711797
E0085,
17721798
E0086,
17731799
E0090,
1774-
E0092,
17751800
E0101,
17761801
E0102,
17771802
E0103,

0 commit comments

Comments
 (0)