rust/src/test/ui/error-codes/E0138.stderr

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

13 lines
495 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 }
2020-01-05 00:17:46 +00:00
| ---------------------------------------------------------- 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 }
2018-02-08 03:35:35 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `start` functions
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0138`.