about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-21 00:30:55 +0200
committerGitHub <noreply@github.com>2020-04-21 00:30:55 +0200
commite3a514c44a7a896b210dcc59635452229703b9e6 (patch)
treef3591bdc3bc72a2b0c02702bafa82b31f402ca23 /src/test/rustdoc-ui/coverage/json.rs
parent69a528eda688b3191127865f889fef65d979bb9c (diff)
parent6120acec8799616dbd7e646c1d7957eab894202b (diff)
downloadrust-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/json.rs')
0 files changed, 0 insertions, 0 deletions