aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/tests.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-27 15:48:06 +0000
committerGitHub <[email protected]>2020-02-27 15:48:06 +0000
commitde492d439f0cda73fe2d9b25e4d9f028f70eb095 (patch)
tree6c7053d80c08ba65266a86771e965ce572521c1f /crates/ra_hir_ty/src/tests.rs
parent062c12e3cdad887d751defa6f448edb5426ebf01 (diff)
parentc6247f74c72857de3619a080698237d58ff9e960 (diff)
Merge pull request #3349 from matklad/yo-dawg
Put syntax highlighting into syntax highlighting
Diffstat (limited to 'crates/ra_hir_ty/src/tests.rs')
-rw-r--r--crates/ra_hir_ty/src/tests.rs4
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
54fn infer(content: &str) -> String { 54fn infer(ra_fixture: &str) -> String {
55 infer_with_mismatches(content, false) 55 infer_with_mismatches(ra_fixture, false)
56} 56}
57 57
58fn infer_with_mismatches(content: &str, include_mismatches: bool) -> String { 58fn infer_with_mismatches(content: &str, include_mismatches: bool) -> String {