diff options
| author | bors <bors@rust-lang.org> | 2023-03-15 09:32:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-15 09:32:34 +0000 |
| commit | 1a318965fe3f9afa153a620d4a261e68c9589c87 (patch) | |
| tree | eb55442e0b20f25538b5925cb8ae3c5215cb3392 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 05f95cbb0cc2c07d3f273838c6023e7dcfd0c0d3 (diff) | |
| parent | 01bf0725b146b0cf71c21ec8452067f9bd3de1d8 (diff) | |
| download | rust-1a318965fe3f9afa153a620d4a261e68c9589c87.tar.gz rust-1a318965fe3f9afa153a620d4a261e68c9589c87.zip | |
Auto merge of #14353 - lowr:fix/inline-call-bad-ast, r=Veykril
fix: don't replace `SyntaxToken` with `SyntaxNode` Fixes #14339 When we inline method calls, we replace the `self` parameter with a local variable `this`. We have been replacing the `self` **tokens** with `NameRef` **nodes**, which makes the AST malformed. This leads to crash when we apply path transformation after the replacement (which only takes place when the method is generic and such scenario was not tested).
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
