about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorDharma Saputra Wijaya <dswijj@gmail.com>2021-09-22 22:13:54 +0800
committerDharma Saputra Wijaya <dswijj@gmail.com>2021-11-01 22:26:13 +0800
commit1085df58ac898fdaea416e592c8667bef162ea87 (patch)
tree104ad005316820d81a941d65acda7e3a34dc0e6c /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parente6e6e7d211d74e54dba121165bfb92116da85c33 (diff)
downloadrust-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