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

13 lines
503 B
Text
Raw Normal View History

2018-02-07 19:35:35 -08:00
error[E0138]: multiple 'start' functions
--> $DIR/E0138.rs:17:1
|
14 | fn foo(argc: isize, argv: *const *const u8) -> isize { 0 }
| ---------------------------------------------------------- previous `start` function here
...
17 | fn f(argc: isize, argv: *const *const u8) -> isize { 0 }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ multiple `start` functions
error: aborting due to previous error
2018-02-19 21:40:25 +01:00
If you want more information on this error, try using "rustc --explain E0138"