middle: freevars: remove dead code

This commit is contained in:
Corey Richardson 2014-04-01 10:24:45 -04:00
parent 4e5409ba91
commit 6ed787155d
1 changed files with 0 additions and 4 deletions

View File

@ -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()
}