Skip to content

Commit ff5b108

Browse files
authored
Merge pull request #459 from ehuss/tests-1.53
Update tests for 1.53.
2 parents 95e68ad + 9f0066a commit ff5b108

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/error-tests/examples/no_main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
//^^^^^^^^^^^^^^^^ERR(>=1.39.0-beta,rust_syntax_checking_include_tests=False) `main` function not found
55
//^^^^^^^^^^^^^^^^ERR(>=1.39.0-beta,rust_syntax_checking_include_tests=False) the main function must be defined
66
//^^^^^^^^^^^^^^^^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`
89
//^^^^^^^^^^^^^^^^MSG(>=1.39.0-beta,rust_syntax_checking_include_tests=False) See Also: no_main_mod.rs:6
910
// When --profile=test is used with `cargo check`, this error will not happen
1011
// due to the synthesized main created by the test harness.

0 commit comments

Comments
 (0)