mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Remove useless match.
This commit is contained in:
parent
9693b178fc
commit
722e07854a
@ -293,10 +293,7 @@ pub fn resolve_interior<'a, 'tcx>(
|
||||
type_causes,
|
||||
FnMutDelegate {
|
||||
regions: &mut |br| {
|
||||
let kind = match br.kind {
|
||||
ty::BrAnon(span) => ty::BrAnon(span),
|
||||
_ => br.kind,
|
||||
};
|
||||
let kind = br.kind;
|
||||
let var = ty::BoundVar::from_usize(bound_vars.len());
|
||||
bound_vars.push(ty::BoundVariableKind::Region(kind));
|
||||
counter += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user