mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
9596e34ad4
Make it more clear what an about async fn's returns when referring to what it returns see #76547 This is *likely* not the ONLY place that this happens to be unclear, but we can move this fn to rustc_middle or something like that and reuse it if need be, to apply it to more diagnostics One outstanding question I have is, if the fn returns (), should I make the message more clear (what about `fn f()` vs `fn f() -> ()`, can you tell those apart in the hir?) R? `@tmandry` `@rustbot` modify labels +A-diagnostics +T-compiler |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |