|
| 1 | +--- |
| 2 | +name: Regression |
| 3 | +about: Report something that unexpectedly changed between rustfmt versions. |
| 4 | +labels: C-bug, regression-untriaged |
| 5 | +--- |
| 6 | +<!-- |
| 7 | +Thank you for filing a regression report! 🐛 A regression is something that changed between |
| 8 | +versions of rustfmt but was not supposed to. |
| 9 | +
|
| 10 | +Please provide a short summary of the regression, along with any information you |
| 11 | +feel is relevant to replicate it. |
| 12 | +--> |
| 13 | + |
| 14 | +## Summary |
| 15 | + |
| 16 | +<!-- |
| 17 | +Please include a reproducer for the bug you are describing. |
| 18 | +If possible, try to provide a Minimal, Complete and Verifiable example. |
| 19 | +You can read "Rust Bug Minimization Patterns" for how to create smaller examples. |
| 20 | +http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ |
| 21 | +--> |
| 22 | + |
| 23 | +I tried to format this code: |
| 24 | + |
| 25 | +```rust |
| 26 | +<code> |
| 27 | +``` |
| 28 | + |
| 29 | +### Expected behavior |
| 30 | + |
| 31 | +I expected to see this happen: *explanation* |
| 32 | + |
| 33 | +### Actual behavior |
| 34 | + |
| 35 | +Instead, this happened: *explanation* |
| 36 | + |
| 37 | + |
| 38 | +## Meta |
| 39 | + |
| 40 | +### Version it worked on |
| 41 | + |
| 42 | +<!-- |
| 43 | +Provide the most recent version this worked on, for example: |
| 44 | +
|
| 45 | +It most recently worked on: Rust 1.47 |
| 46 | +--> |
| 47 | + |
| 48 | +It most recently worked on: <!-- version --> |
| 49 | + |
| 50 | +### Version with regression |
| 51 | + |
| 52 | +<!-- |
| 53 | +Provide the version you are using that has the regression. |
| 54 | +--> |
| 55 | + |
| 56 | +`rustc --version --verbose`: |
| 57 | +``` |
| 58 | +<version> |
| 59 | +``` |
| 60 | + |
| 61 | +<!-- |
| 62 | +If you know when this regression occurred, please add a line like below, replacing `{channel}` |
| 63 | +with one of stable, beta, or nightly. |
| 64 | +
|
| 65 | +@rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged |
| 66 | +--> |
0 commit comments