diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-9575.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-9575.stderr b/src/test/ui/issues/issue-9575.stderr new file mode 100644 index 000000000..5b8ce84a0 --- /dev/null +++ b/src/test/ui/issues/issue-9575.stderr @@ -0,0 +1,12 @@ +error[E0308]: `#[start]` function has wrong type + --> $DIR/issue-9575.rs:4:1 + | +LL | fn start(argc: isize, argv: *const *const u8, crate_map: *const u8) -> isize { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters + | + = note: expected fn pointer `fn(isize, *const *const u8) -> _` + found fn pointer `fn(isize, *const *const u8, *const u8) -> _` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0308`. |