Commit e081588
authored
Rollup merge of rust-lang#142024 - m-ou-se:what-tail-expression, r=petrochenkov
Don't refer to 'this tail expression' in expansion.
The user has no clue what the compiler is talking about when it says "this tail expression". It is an implementation detail of the macro that it uses a block with tail expression.File tree
2 files changed
+5
-5
lines changed- compiler/rustc_trait_selection/src/error_reporting/traits
- tests/ui/never_type
2 files changed
+5
-5
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3841 | 3841 | | |
3842 | 3842 | | |
3843 | 3843 | | |
3844 | | - | |
| 3844 | + | |
| 3845 | + | |
| 3846 | + | |
3845 | 3847 | | |
3846 | 3848 | | |
3847 | 3849 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
0 commit comments