2018-01-13 07:05:51 -06:00
|
|
|
error[E0658]: intrinsics are subject to change
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/feature-gate-intrinsics.rs:1:1
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / extern "rust-intrinsic" { //~ ERROR intrinsics are subject to change
|
2019-01-02 08:14:24 -06:00
|
|
|
LL | | fn bar(); //~ ERROR unrecognized intrinsic function: `bar`
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | }
|
2017-12-06 02:27:47 -06:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= help: add #![feature(intrinsics)] to the crate attributes to enable
|
|
|
|
|
2018-01-13 07:05:51 -06:00
|
|
|
error[E0658]: intrinsics are subject to change
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/feature-gate-intrinsics.rs:5:1
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-01-02 08:14:24 -06:00
|
|
|
LL | extern "rust-intrinsic" fn baz() {} //~ ERROR intrinsics are subject to change
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
|
= help: add #![feature(intrinsics)] to the crate attributes to enable
|
|
|
|
|
2019-01-02 08:14:24 -06:00
|
|
|
error[E0093]: unrecognized intrinsic function: `bar`
|
|
|
|
--> $DIR/feature-gate-intrinsics.rs:2:5
|
|
|
|
|
|
|
|
|
LL | fn bar(); //~ ERROR unrecognized intrinsic function: `bar`
|
|
|
|
| ^^^^^^^^^ unrecognized intrinsic
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-01-02 08:14:24 -06:00
|
|
|
Some errors occurred: E0093, E0658.
|
|
|
|
For more information about an error, try `rustc --explain E0093`.
|