diff options
| author | Michael Goulet <michael@errs.io> | 2023-09-30 19:29:41 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-10-04 21:09:54 +0000 |
| commit | 137b6d0b01e880b8a8163cd7a14141afc080a9ee (patch) | |
| tree | 51b3d799bd6813874b7c58fcba4103c50b43246b /tests/ui/lang-items | |
| parent | eea26141ec2bf07a825011af841463dec51a04c9 (diff) | |
| download | rust-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.stderr | 4 |
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() -> _, _, _, _)` |
