Basic injections

This commit is contained in:
Aleksey Kladov 2020-02-27 16:05:35 +01:00
parent 8ed7e751b6
commit c6247f74c7
5 changed files with 120 additions and 23 deletions

View file

@ -51,8 +51,8 @@ fn type_at(content: &str) -> String {
type_at_pos(&db, file_pos)
}
fn infer(content: &str) -> String {
infer_with_mismatches(content, false)
fn infer(ra_fixture: &str) -> String {
infer_with_mismatches(ra_fixture, false)
}
fn infer_with_mismatches(content: &str, include_mismatches: bool) -> String {