Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Mar 28, 2019
1 parent f0de8e8 commit 6c8e3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 6c8e3a5

Please sign in to comment.