]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0138.stderr
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
[rust.git] / src / test / 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`.