blob: 5b032c6f1ea3fbe43359d08070d0865e21738bf6 [file] [log] [blame]
error[E0658]: intrinsics are subject to change
--> $DIR/feature-gate-intrinsics.rs:1:1
|
LL | / extern "rust-intrinsic" {
LL | | fn bar();
LL | | }
| |_^
|
= help: add #![feature(intrinsics)] to the crate attributes to enable
error[E0658]: intrinsics are subject to change
--> $DIR/feature-gate-intrinsics.rs:5:1
|
LL | extern "rust-intrinsic" fn baz() {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(intrinsics)] to the crate attributes to enable
error[E0093]: unrecognized intrinsic function: `bar`
--> $DIR/feature-gate-intrinsics.rs:2:5
|
LL | fn bar();
| ^^^^^^^^^ unrecognized intrinsic
error: aborting due to 3 previous errors
Some errors occurred: E0093, E0658.
For more information about an error, try `rustc --explain E0093`.