diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-03-08 02:03:39 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-03-08 02:03:39 +0100 |
| commit | e7a19a97259a5d3055db7164bc162ad7c7035420 (patch) | |
| tree | 4682d602165b645fffbee2bca2d3dff1531bcb98 /examples | |
| parent | a614e697d0ab8f45c59e136ad5015cfdedac50c3 (diff) | |
macros/main: copy fn return to task.
This prevents this bad code from compiling.
```rust
async fn main(_spawner: Spawner) -> ! {
// not really noreturn!
}
```
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
