From 255cde788ba8996ac648042bf53ada0775bb0fa1 Mon Sep 17 00:00:00 2001 From: Johann Hemmann Date: Thu, 18 Jan 2024 14:22:20 +0100 Subject: [PATCH] Fix CI 3 --- crates/hir-ty/src/mir/eval/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir-ty/src/mir/eval/tests.rs b/crates/hir-ty/src/mir/eval/tests.rs index 02bf85215c3..381522c9abe 100644 --- a/crates/hir-ty/src/mir/eval/tests.rs +++ b/crates/hir-ty/src/mir/eval/tests.rs @@ -49,7 +49,7 @@ fn check_pass_and_stdio(ra_fixture: &str, expected_stdout: &str, expected_stderr let mut err = String::new(); let line_index = |size: TextSize| { let mut size = u32::from(size) as usize; - let mut lines = ra_fixture.lines().enumerate(); + let lines = ra_fixture.lines().enumerate(); for (i, l) in lines { if let Some(x) = size.checked_sub(l.len()) { size = x;