diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-08 18:13:54 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-08 18:13:54 +0000 |
commit | 87e35006362686b281caf46550c0fff35cddefb4 (patch) | |
tree | 67b9f5e41749a89b85b3f4ce49fec62b4a85da82 /crates/vfs/src/vfs_path | |
parent | b01981e6364a9de26a52adefac10e7aebfb85874 (diff) | |
parent | da5027138d93c59aeb25aab5021276969f074992 (diff) |
Merge #6765
6765: Fix file range computation in macros r=jonas-schievink a=jonas-schievink
This also aligns the diagnostics behavior of `TestDB` with the one from the real IDE (by making the logic from `semantics.rs` a method on `InFile<&SyntaxNode>`), which makes bugs like this easier to find.
This should fix the misplaced diagnostics seen in https://github.com/rust-analyzer/rust-analyzer/issues/6747 and other issues.
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/vfs/src/vfs_path')
0 files changed, 0 insertions, 0 deletions