about summary refs log tree commit diff
path: root/tests/ui/lang-items
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-09-30 19:29:41 +0000
committerMichael Goulet <michael@errs.io>2023-10-04 21:09:54 +0000
commit137b6d0b01e880b8a8163cd7a14141afc080a9ee (patch)
tree51b3d799bd6813874b7c58fcba4103c50b43246b /tests/ui/lang-items
parenteea26141ec2bf07a825011af841463dec51a04c9 (diff)
downloadrust-137b6d0b01e880b8a8163cd7a14141afc080a9ee.tar.gz
rust-137b6d0b01e880b8a8163cd7a14141afc080a9ee.zip
Point to where missing return type should go
Diffstat (limited to 'tests/ui/lang-items')
-rw-r--r--tests/ui/lang-items/start_lang_item_args.missing_ret.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lang-items/start_lang_item_args.missing_ret.stderr b/tests/ui/lang-items/start_lang_item_args.missing_ret.stderr
index 2bb29f911a1..14bfcc3d04d 100644
--- a/tests/ui/lang-items/start_lang_item_args.missing_ret.stderr
+++ b/tests/ui/lang-items/start_lang_item_args.missing_ret.stderr
@@ -1,8 +1,8 @@
 error[E0308]: lang item `start` function has wrong type
-  --> $DIR/start_lang_item_args.rs:29:84
+  --> $DIR/start_lang_item_args.rs:29:83
    |
 LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) {}
-   |                                                                                    ^ expected `isize`, found `()`
+   |                                                                                   ^ expected `isize`, found `()`
    |
    = note: expected signature `fn(fn() -> _, _, _, _) -> isize`
               found signature `fn(fn() -> _, _, _, _)`