Files
rust/compiler/rustc_hir/src
Dylan DPC 5d90e89c36 Rollup merge of #81769 - estebank:tail-expr-as-potential-return, r=lcnr
Suggest `return`ing tail expressions that match return type

Some newcomers are confused by the behavior of tail expressions,
interpreting that "leaving out the `;` makes it the return value".
To help them go in the right direction, suggest using `return` instead
when applicable.
2021-02-23 02:51:46 +01:00
..
2021-01-23 13:44:02 +01:00
2020-10-30 10:13:39 -04:00