38438c618c
Renames only in this commit, and obviously .stderr file additions.
11 lines
404 B
Plaintext
11 lines
404 B
Plaintext
error: declaration of a nonstandard #[main] function may change over time, for now a top-level `fn main()` is required (see issue #29634)
|
|
--> $DIR/feature-gate-main.rs:12:1
|
|
|
|
|
12 | fn foo() {} //~ ERROR: declaration of a nonstandard #[main] function may change over time
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= help: add #![feature(main)] to the crate attributes to enable
|
|
|
|
error: aborting due to previous error
|
|
|