File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
tests/error-tests/examples Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
//^^^^^^^^^^^^^^^^ERR(>=1.39.0-beta,rust_syntax_checking_include_tests=False) `main` function not found
5
5
//^^^^^^^^^^^^^^^^ERR(>=1.39.0-beta,rust_syntax_checking_include_tests=False) the main function must be defined
6
6
//^^^^^^^^^^^^^^^^NOTE(>=1.39.0-beta,rust_syntax_checking_include_tests=False) you have one or more functions named `main`
7
- //^^^^^^^^^^^^^^^^HELP(>=1.39.0-beta,rust_syntax_checking_include_tests=False) either move the `main`
7
+ //^^^^^^^^^^^^^^^^HELP(>=1.39.0-beta,<1.53.0-beta,rust_syntax_checking_include_tests=False) either move the `main`
8
+ //^^^^^^^^^^^^^^^^HELP(>=1.53.0-beta,rust_syntax_checking_include_tests=False) consider moving the `main`
8
9
//^^^^^^^^^^^^^^^^MSG(>=1.39.0-beta,rust_syntax_checking_include_tests=False) See Also: no_main_mod.rs:6
9
10
// When --profile=test is used with `cargo check`, this error will not happen
10
11
// due to the synthesized main created by the test harness.
You can’t perform that action at this time.
0 commit comments