mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
Remove dead code
This commit is contained in:
parent
cdbccf50a7
commit
2820dc868a
@ -1183,11 +1183,7 @@ impl<'gcx, 'tcx, 'exprs, E> CoerceMany<'gcx, 'tcx, 'exprs, E>
|
||||
(self.final_ty.unwrap_or(self.expected_ty), expression_ty)
|
||||
};
|
||||
|
||||
let reason_label = if label_expression_as_expected {
|
||||
"found because of this statement"
|
||||
} else {
|
||||
"expected because of this statement"
|
||||
};
|
||||
let reason_label = "expected because of this statement";
|
||||
let mut db;
|
||||
match cause.code {
|
||||
ObligationCauseCode::ReturnNoExpression => {
|
||||
|
Loading…
Reference in New Issue
Block a user