1▶An unknown intrinsic function was declared.
2
3Erroneous code example:
· · ·
8
9#[rustc_intrinsic]
10▶unsafe fn foo(); // error: unrecognized intrinsic function: `foo`
11
12fn main() {
· · ·
12▶fn main() {
13 unsafe {
14 foo();
· · ·
17```
18
19▶Please check you didn't make a mistake in the function's name. All intrinsic
20functions are defined in `library/core/src/intrinsics` in the Rust source code.
21
· · ·
20▶functions are defined in `library/core/src/intrinsics` in the Rust source code.
21