name: General rustfmt bug Report about: Create a general bug report for rustfmt. Prefer more specialized issue templates if applicable. labels: C-bug

Summary

I tried to format this code:

<code>

Expected behavior

I expected to see this happen: explanation

Actual behavior

Instead, this happened: explanation

Configuration

rustfmt cli options used (if applicable):

$ <rustfmt_options>

rustfmt configuration file (e.g. rustfmt.toml, if applicable):

<configuration_file>

Reproduction Steps

  1. ...

Meta

rustfmt --version:

<version>