diff options
| author | bors <bors@rust-lang.org> | 2023-05-30 11:45:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-30 11:45:22 +0000 |
| commit | 51c3ab5b85189b2430e438954dd792825c07ac87 (patch) | |
| tree | ef6d82b5751a398e395b56fad9ff99df58007a5f /tests/rustdoc-js-std/parser-errors.js | |
| parent | bc8295255c5bcc293251d47590dcbfd320eaab87 (diff) | |
| parent | 033e6ac57a5fb650e6f5240e7d1b8cc7841ff53b (diff) | |
| download | rust-51c3ab5b85189b2430e438954dd792825c07ac87.tar.gz rust-51c3ab5b85189b2430e438954dd792825c07ac87.zip | |
Auto merge of #14920 - lowr:fix/overhaul-named-struct-to-tuple-struct, r=Veykril
Fix edits for `convert_named_struct_to_tuple_struct` Two fixes: - When replacing syntax nodes, macro files weren't taken into account. Edits were simply made for `node.syntax().text_range()`, which would be wrong range when `node` is inside a macro file. - We do ancestor node traversal for every struct name reference to find record expressions/patterns to edit, but we didn't verify that expressions/patterns do actually refer to the struct we're operating on. Best reviewed one commit at a time. Fixes #13780 Fixes #14927
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
