diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-12 12:48:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-12 12:48:46 +0000 |
| commit | 7a17fb9c43b2cd0a8a2ff3d93b9d436fa28153d6 (patch) | |
| tree | 17094b7e227b4780068bb850be25eb2667c3d6a7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 4449a336f6965ebdfa9b7408e6ff40a6a990a43d (diff) | |
| parent | ccb789b94ab2b4bebb3da8be046efb13028380f1 (diff) | |
| download | rust-7a17fb9c43b2cd0a8a2ff3d93b9d436fa28153d6.tar.gz rust-7a17fb9c43b2cd0a8a2ff3d93b9d436fa28153d6.zip | |
Merge #11444
11444: feat: Fix up syntax errors in attribute macro inputs to make completion work more often r=flodiebold a=flodiebold This implements the "fix up syntax nodes" workaround mentioned in #11014. It isn't much more than a proof of concept; I have only implemented a few cases, but it already helps quite a bit. Some notes: - I'm not super happy about how much the fixup procedure needs to interact with the syntax node -> token tree conversion code (e.g. needing to share the token map). This could maybe be simplified with some refactoring of that code. - It would maybe be nice to have the fixup procedure reuse or share information with the parser, though I'm not really sure how much that would actually help. Co-authored-by: Florian Diebold <flodiebold@gmail.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
