diff options
author | Aleksey Kladov <[email protected]> | 2020-02-27 15:48:06 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-27 15:48:06 +0000 |
commit | de492d439f0cda73fe2d9b25e4d9f028f70eb095 (patch) | |
tree | 6c7053d80c08ba65266a86771e965ce572521c1f /crates/ra_hir_ty/src | |
parent | 062c12e3cdad887d751defa6f448edb5426ebf01 (diff) | |
parent | c6247f74c72857de3619a080698237d58ff9e960 (diff) |
Merge pull request #3349 from matklad/yo-dawg
Put syntax highlighting into syntax highlighting
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r-- | crates/ra_hir_ty/src/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_ty/src/tests.rs b/crates/ra_hir_ty/src/tests.rs index 240cc03a2..087edcc92 100644 --- a/crates/ra_hir_ty/src/tests.rs +++ b/crates/ra_hir_ty/src/tests.rs | |||
@@ -51,8 +51,8 @@ fn type_at(content: &str) -> String { | |||
51 | type_at_pos(&db, file_pos) | 51 | type_at_pos(&db, file_pos) |
52 | } | 52 | } |
53 | 53 | ||
54 | fn infer(content: &str) -> String { | 54 | fn infer(ra_fixture: &str) -> String { |
55 | infer_with_mismatches(content, false) | 55 | infer_with_mismatches(ra_fixture, false) |
56 | } | 56 | } |
57 | 57 | ||
58 | fn infer_with_mismatches(content: &str, include_mismatches: bool) -> String { | 58 | fn infer_with_mismatches(content: &str, include_mismatches: bool) -> String { |