middle: freevars: remove dead code
This commit is contained in:
parent
4e5409ba91
commit
6ed787155d
@ -145,7 +145,3 @@ pub fn get_freevars(tcx: &ty::ctxt, fid: ast::NodeId) -> freevar_info {
|
||||
Some(&d) => return d
|
||||
}
|
||||
}
|
||||
|
||||
pub fn has_freevars(tcx: &ty::ctxt, fid: ast::NodeId) -> bool {
|
||||
!get_freevars(tcx, fid).is_empty()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user