blob: 09843f05af1b9fdd308c220b8e86f0c239c2b82d [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 have detailed explanations: E0093, E0658.
For more information about an error, try `rustc --explain E0093`.