Skip to content

Commit 1491843

Browse files
committed
---
yaml --- r: 109850 b: refs/heads/master c: 6ed7871 h: refs/heads/master v: v3
1 parent 8f8c193 commit 1491843

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 4e5409ba9196eb703c59894acbd93920977b94d1
2+
refs/heads/master: 6ed787155d1788687fd8aa285780c8f523e15efc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
55
refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d

trunk/src/librustc/middle/freevars.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,3 @@ pub fn get_freevars(tcx: &ty::ctxt, fid: ast::NodeId) -> freevar_info {
145145
Some(&d) => return d
146146
}
147147
}
148-
149-
pub fn has_freevars(tcx: &ty::ctxt, fid: ast::NodeId) -> bool {
150-
!get_freevars(tcx, fid).is_empty()
151-
}

0 commit comments

Comments
 (0)