1#### Note: this error code is no longer emitted by the compiler.
2
3▶An intrinsic was declared without being a function.
4
5Erroneous code example:
· · ·
12 #[rustc_intrinsic]
13 pub static atomic_singlethreadfence_seqcst: unsafe fn();
14▶ // error: intrinsic must be a function
15}
16
· · ·
17▶fn main() { unsafe { atomic_singlethreadfence_seqcst(); } }
18```
19
· · ·
20▶An intrinsic is a function available for use in a given programming language
21whose implementation is handled specially by the compiler. In order to fix this
22error, just declare a function. Example:
· · ·
22▶error, just declare a function. Example:
23
24```ignore (no longer emitted)
+ 1 more matches in this file