diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-11 20:20:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-11 20:20:24 +0100 |
commit | 187d55a25eed40fce2b43eaa7cf783f36c69035a (patch) | |
tree | fa513da64bd66791568a4561efedde26b6540ae4 /crates/ide/src/syntax_highlighting/tests.rs | |
parent | 863e23f00f90c0ddd408e906618586a98273a14c (diff) | |
parent | e09723f0afb3f86da046bd58026427e587d0ce10 (diff) |
Merge #9221
9221: fix: Highlight tuple field accesses correctly r=Veykril a=Veykril
Fixes #9220
bors r+
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index 6ad2a362a..f7d8334a0 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs | |||
@@ -189,8 +189,8 @@ fn main() { | |||
189 | let a = |x| x; | 189 | let a = |x| x; |
190 | let bar = Foo::baz; | 190 | let bar = Foo::baz; |
191 | 191 | ||
192 | let baz = -42; | 192 | let baz = (-42,); |
193 | let baz = -baz; | 193 | let baz = -baz.0; |
194 | 194 | ||
195 | let _ = !true; | 195 | let _ = !true; |
196 | 196 | ||