rust/tests/ui/feature-gates/feature-gate-start.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
532 B
Plaintext
Raw Normal View History

2020-01-04 18:17:46 -06:00
error[E0658]: `#[start]` functions are experimental and their signature may change over time
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-start.rs:2:1
|
LL | fn foo(_: isize, _: *const *const u8) -> isize { 0 }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #29633 <https://github.com/rust-lang/rust/issues/29633> for more information
= help: add `#![feature(start)]` to the crate attributes to enable
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0658`.