diff options
| author | Sebastian Malton <smalton@mirantis.com> | 2020-04-08 15:39:02 -0400 |
|---|---|---|
| committer | Sebastian Malton <smalton@mirantis.com> | 2020-04-20 09:37:11 -0400 |
| commit | 6120acec8799616dbd7e646c1d7957eab894202b (patch) | |
| tree | bb5e2fe36276198b77d71ad68c0127080fd84181 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 8d67f576b56e8fc98a31123e5963f8d00e40611c (diff) | |
| download | rust-6120acec8799616dbd7e646c1d7957eab894202b.tar.gz rust-6120acec8799616dbd7e646c1d7957eab894202b.zip | |
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 Fix formatting errors and bless test outputs * move tests to ui/async-await fix test error text remove span from IsAsync
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
