From de7662c852353febce09196199202ee7f6e8e6c3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 17 Mar 2020 10:46:46 +0100 Subject: Check that no file contains trailing ws rustfmt allows trailing spaces in string literals unfortunately. --- crates/ra_hir_def/src/nameres/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir_def/src/nameres/tests.rs') diff --git a/crates/ra_hir_def/src/nameres/tests.rs b/crates/ra_hir_def/src/nameres/tests.rs index 3f33a75b9..949ca7595 100644 --- a/crates/ra_hir_def/src/nameres/tests.rs +++ b/crates/ra_hir_def/src/nameres/tests.rs @@ -12,8 +12,8 @@ use test_utils::covers; use crate::{db::DefDatabase, nameres::*, test_db::TestDB}; -fn def_map(fixture: &str) -> String { - compute_crate_def_map(fixture).dump() +fn def_map(ra_fixture: &str) -> String { + compute_crate_def_map(ra_fixture).dump() } fn compute_crate_def_map(fixture: &str) -> Arc { -- cgit v1.2.3