diff options
| author | Dharma Saputra Wijaya <dswijj@gmail.com> | 2021-09-22 22:13:54 +0800 |
|---|---|---|
| committer | Dharma Saputra Wijaya <dswijj@gmail.com> | 2021-11-01 22:26:13 +0800 |
| commit | 1085df58ac898fdaea416e592c8667bef162ea87 (patch) | |
| tree | 104ad005316820d81a941d65acda7e3a34dc0e6c /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | e6e6e7d211d74e54dba121165bfb92116da85c33 (diff) | |
| download | rust-1085df58ac898fdaea416e592c8667bef162ea87.tar.gz rust-1085df58ac898fdaea416e592c8667bef162ea87.zip | |
Add `separated_literal_suffix` as an alternative for
`unseparated_literal_suffix`
This commit adds a configuration `literal-suffix-style` to enforce a
specific style for unseparated_literal_suffix. The configuration accepts
two values:
- "separated"
enforce all literals to be written separately (e.g. `123_i32`)
- "unseparated"
enforce all literals to be written as unseparated (e.g. `123i32`)
Not specifying a value means that there is no preference on style and
any style should not be warned.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
