diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-21 00:30:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-21 00:30:55 +0200 |
| commit | e3a514c44a7a896b210dcc59635452229703b9e6 (patch) | |
| tree | f3591bdc3bc72a2b0c02702bafa82b31f402ca23 /src/test/rustdoc-ui/coverage/basic.rs | |
| parent | 69a528eda688b3191127865f889fef65d979bb9c (diff) | |
| parent | 6120acec8799616dbd7e646c1d7957eab894202b (diff) | |
| download | rust-e3a514c44a7a896b210dcc59635452229703b9e6.tar.gz rust-e3a514c44a7a896b210dcc59635452229703b9e6.zip | |
Rollup merge of #71174 - Nokel81:fix-async-main-error, r=petrochenkov
Check that main/start is not async * Add new error code E0752 * Add span to hir::IsAsync::Yes * Emit an error if main or the start function is marked as async * Add two regression tests This PR fixes #68523.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/basic.rs')
0 files changed, 0 insertions, 0 deletions
