]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0138.stderr
Rollup merge of #106940 - oli-obk:tait_error, r=compiler-errors
[rust.git] / tests / ui / error-codes / E0138.stderr
1 error[E0138]: multiple `start` functions
2   --> $DIR/E0138.rs:7:1
3    |
4 LL | fn foo(argc: isize, argv: *const *const u8) -> isize { 0 }
5    | ---------------------------------------------------- previous `#[start]` function here
6 ...
7 LL | fn f(argc: isize, argv: *const *const u8) -> isize { 0 }
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `start` functions
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0138`.