rust/src/test/ui/feature-gates/feature-gate-intrinsics.stderr

29 lines
992 B
Plaintext
Raw Normal View History

error[E0658]: intrinsics are subject to change
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-intrinsics.rs:1:1
|
2018-02-22 18:42:32 -06:00
LL | / extern "rust-intrinsic" { //~ ERROR intrinsics are subject to change
LL | | fn bar(); //~ ERROR unrecognized intrinsic function: `bar`
2018-02-22 18:42:32 -06:00
LL | | }
| |_^
|
= help: add #![feature(intrinsics)] to the crate attributes to enable
error[E0658]: intrinsics are subject to change
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-intrinsics.rs:5:1
|
LL | extern "rust-intrinsic" fn baz() {} //~ ERROR intrinsics are subject to change
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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(); //~ ERROR unrecognized intrinsic function: `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`.