Skip to content

Commit 6c8e3a5

Browse files
committed
Remove unused variable
1 parent f0de8e8 commit 6c8e3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/const_eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ pub fn const_eval_raw_provider<'a, 'tcx>(
654654
v));
655655
v
656656
},
657-
Err(ErrorReported) => ErrorHandled::Reported,
657+
Err(_) => ErrorHandled::Reported,
658658
}
659659
} else if def_id.is_local() {
660660
// constant defined in this crate, we can figure out a lint level!

0 commit comments

Comments
 (0)