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
|
|
|
|
|
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`.
|