aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-27 15:05:35 +0000
committerAleksey Kladov <[email protected]>2020-02-27 15:16:13 +0000
commitc6247f74c72857de3619a080698237d58ff9e960 (patch)
tree6c7053d80c08ba65266a86771e965ce572521c1f /crates/ra_hir_ty/src
parent8ed7e751b627791722aa10187894ff6ecc7e5a96 (diff)
Basic injections
Diffstat (limited to 'crates/ra_hir_ty/src')
-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 {