rust/src/test/ui/feature-gates/feature-gate-intrinsics.stderr
2019-01-06 14:58:17 +03:00

29 lines
992 B
Plaintext

error[E0658]: intrinsics are subject to change
--> $DIR/feature-gate-intrinsics.rs:1:1
|
LL | / extern "rust-intrinsic" { //~ ERROR intrinsics are subject to change
LL | | fn bar(); //~ ERROR unrecognized intrinsic function: `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() {} //~ 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`.