2019-09-12 14:46:49 +00:00
|
|
|
error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
|
|
|
|
--> $DIR/intrinsics-always-extern.rs:4:32
|
|
|
|
|
|
|
|
|
LL | extern "rust-intrinsic" fn foo(&self);
|
|
|
|
| ^^^
|
|
|
|
|
2024-01-31 14:28:40 +00:00
|
|
|
error[E0093]: unrecognized intrinsic function: `hello`
|
|
|
|
--> $DIR/intrinsics-always-extern.rs:12:28
|
|
|
|
|
|
|
|
|
LL | extern "rust-intrinsic" fn hello() {
|
|
|
|
| ^^^^^ unrecognized intrinsic
|
2024-02-17 23:26:45 +00:00
|
|
|
|
|
|
|
|
= help: if you're adding an intrinsic, be sure to update `check_intrinsic_type`
|
2024-01-31 14:28:40 +00:00
|
|
|
|
2019-09-12 14:46:49 +00:00
|
|
|
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() {
|
|
|
|
| ____________________________________^
|
2024-01-31 14:28:40 +00:00
|
|
|
LL | |
|
2019-09-12 14:46:49 +00:00
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
2024-01-31 14:28:40 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2019-09-12 14:46:49 +00:00
|
|
|
|
2024-01-31 14:28:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0093`.
|