| --- |
| name: rustfmt Internal Compiler Error (ICE) |
| about: Create a report for an internal compiler error in rustfmt. |
| labels: C-bug, I-ICE |
| title: "[ICE]: " |
| --- |
| <!-- |
| Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide |
| a Minimal, Complete and Verifiable example. You can read "Rust Bug Minimization |
| Patterns" for how to create smaller examples. |
| http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ |
| --> |
| |
| ## Code |
| |
| ```Rust |
| <code> |
| ``` |
| |
| |
| ## Configuration |
| |
| <!-- |
| Include any CLI options used, and include the configuration file (e.g. |
| `rustfmt.toml`). |
| --> |
| |
| `rustfmt` cli options used (if applicable): |
| |
| ```bash |
| $ <rustfmt_options> |
| ``` |
| |
| `rustfmt` configuration file (e.g. `rustfmt.toml`, if applicable): |
| |
| ```md |
| <configuration_file> |
| ``` |
| |
| |
| ## Reproduction Steps |
| |
| <!-- Include any steps that might be needed to reproduce this behavior --> |
| |
| 1. ... |
| |
| |
| ## Meta |
| <!-- |
| If you're using the stable version of rustfmt, you should also check if the |
| bug also exists in the beta or nightly versions. |
| --> |
| |
| `rustfmt --version`: |
| ``` |
| <version> |
| ``` |
| |
| |
| ## Error output |
| |
| ``` |
| <output> |
| ``` |
| |
| <!-- |
| Include a backtrace in the code block below. |
| --> |
| <details><summary><strong>Backtrace</strong></summary> |
| <p> |
| |
| ``` |
| <backtrace> |
| ``` |
| |
| </p> |
| </details> |