diff options
| author | bors <bors@rust-lang.org> | 2024-10-09 07:09:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-09 07:09:06 +0000 |
| commit | 64f510cc3d237c3ae30e4afd17b2944fc91408bd (patch) | |
| tree | 46ba2fb39eedb6afef6f4f5b4eadfd9bb2c8e688 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 84a16c49d4c23a3c2c16d058ce542ca52e07112a (diff) | |
| parent | 35e268d406f96caab9d10428af27645947cf1af7 (diff) | |
| download | rust-64f510cc3d237c3ae30e4afd17b2944fc91408bd.tar.gz rust-64f510cc3d237c3ae30e4afd17b2944fc91408bd.zip | |
Auto merge of #18269 - jhgg:hir-ty/change-struct-constructor-formatting, r=flodiebold
hir-ty: change struct + enum variant constructor formatting.
before, when formatting struct constructor for `struct S(usize, usize)` it would format as:
extern "rust-call" S(usize, usize) -> S
but after this change, we'll format as:
fn S(usize, usize) -> S
likewise the second commit, also makes this uniform for enum variants as well.
fixes #18259
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
