From: Yuki OKUSHI Date: Sun, 24 Mar 2019 18:55:13 +0000 (+0900) Subject: Remove unused variable X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6c8e3a5378e41e08a323139bb7aaa8a8823ec9bc;p=rust.git Remove unused variable --- diff --git a/src/librustc_mir/const_eval.rs b/src/librustc_mir/const_eval.rs index 1542cdf1e3e..1c3f7882b9f 100644 --- a/src/librustc_mir/const_eval.rs +++ b/src/librustc_mir/const_eval.rs @@ -654,7 +654,7 @@ pub fn const_eval_raw_provider<'a, 'tcx>( v)); v }, - Err(ErrorReported) => ErrorHandled::Reported, + Err(_) => ErrorHandled::Reported, } } else if def_id.is_local() { // constant defined in this crate, we can figure out a lint level!