summaryrefslogtreecommitdiffstats
path: root/tests/ui/lang-items/start_lang_item_args.argv.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/lang-items/start_lang_item_args.argv.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/lang-items/start_lang_item_args.argv.stderr b/tests/ui/lang-items/start_lang_item_args.argv.stderr
new file mode 100644
index 000000000..f0947a9b3
--- /dev/null
+++ b/tests/ui/lang-items/start_lang_item_args.argv.stderr
@@ -0,0 +1,8 @@
+error: parameter 3 of the `start` lang item is incorrect
+ --> $DIR/start_lang_item_args.rs:89:52
+ |
+LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: u8, _sigpipe: u8) -> isize {
+ | ^^ help: change the type from `u8` to `*const *const u8`
+
+error: aborting due to previous error
+