mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
5793f82030
To help remind forgetful people like me what step they forgot.
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
|
|
--> $DIR/intrinsics-always-extern.rs:4:32
|
|
|
|
|
LL | extern "rust-intrinsic" fn foo(&self);
|
|
| ^^^
|
|
|
|
error[E0093]: unrecognized intrinsic function: `hello`
|
|
--> $DIR/intrinsics-always-extern.rs:12:28
|
|
|
|
|
LL | extern "rust-intrinsic" fn hello() {
|
|
| ^^^^^ unrecognized intrinsic
|
|
|
|
|
= help: if you're adding an intrinsic, be sure to update `check_intrinsic_type`
|
|
|
|
error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
|
|
--> $DIR/intrinsics-always-extern.rs:8:43
|
|
|
|
|
LL | extern "rust-intrinsic" fn foo(&self) {
|
|
| ___________________________________________^
|
|
LL | | }
|
|
| |_____^
|
|
|
|
error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
|
|
--> $DIR/intrinsics-always-extern.rs:12:36
|
|
|
|
|
LL | extern "rust-intrinsic" fn hello() {
|
|
| ____________________________________^
|
|
LL | |
|
|
LL | | }
|
|
| |_^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0093`.
|