mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
18 lines
687 B
Text
18 lines
687 B
Text
error[E0658]: intrinsics are subject to change
|
|
--> $DIR/incorrect-read_via_copy-defn.rs:5:8
|
|
|
|
|
LL | extern "rust-intrinsic" fn read_via_copy() {}
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: add `#![feature(intrinsics)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
|
|
--> $DIR/incorrect-read_via_copy-defn.rs:5:44
|
|
|
|
|
LL | extern "rust-intrinsic" fn read_via_copy() {}
|
|
| ^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|