rust/tests/ui/error-codes/E0138.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
485 B
Plaintext
Raw Normal View History

error[E0138]: multiple `start` functions
2018-12-25 15:56:47 +00:00
--> $DIR/E0138.rs:7:1
2018-02-08 03:35:35 +00:00
|
2018-02-23 00:42:32 +00:00
LL | fn foo(argc: isize, argv: *const *const u8) -> isize { 0 }
| ---------------------------------------------------- previous `#[start]` function here
2018-02-08 03:35:35 +00:00
...
2018-02-23 00:42:32 +00:00
LL | fn f(argc: isize, argv: *const *const u8) -> isize { 0 }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `start` functions
2018-02-08 03:35:35 +00:00
error: aborting due to 1 previous error
2018-02-08 03:35:35 +00:00
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0138`.