Commit be8bd82
authored
Auto merge of rust-lang#34234 - GuillaumeGomez:bad_inlining, r=steveklabnik
Fix invalid inlining
r? @steveklabnik
So to put a context. @nox found an issue on the generated doc:

So as you can see, the two variants are on the same where they shouldn't. I found out that the issue is also on structs:

And so such is the result of the PR:

2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2265 | 2265 | | |
2266 | 2266 | | |
2267 | 2267 | | |
2268 | | - | |
2269 | | - | |
| 2268 | + | |
| 2269 | + | |
2270 | 2270 | | |
2271 | 2271 | | |
2272 | 2272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
662 | 666 | | |
663 | 667 | | |
664 | 668 | | |
| |||
0 commit comments