Skip to content

Commit d588994

Browse files
committed
---
yaml --- r: 109855 b: refs/heads/master c: 39fce48 h: refs/heads/master i: 109853: e4023d1 109851: 37317fb 109847: 4961afb 109839: 73ab163 109823: 0444d12 v: v3
1 parent c114cbe commit d588994

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
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: dc59df776a18956365f2b8f0ee026aca37891acb
2+
refs/heads/master: 39fce483242c8e3279db882af115808d563be9ac
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
55
refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d

trunk/src/librustc/middle/pat_util.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ pub fn pat_bindings(dm: resolve::DefMap,
8686
});
8787
}
8888

89-
pub fn pat_binding_ids(dm: resolve::DefMap, pat: &Pat) -> Vec<NodeId> {
90-
let mut found = Vec::new();
91-
pat_bindings(dm, pat, |_bm, b_id, _sp, _pt| found.push(b_id) );
92-
return found;
93-
}
94-
9589
/// Checks if the pattern contains any patterns that bind something to
9690
/// an ident, e.g. `foo`, or `Foo(foo)` or `foo @ Bar(..)`.
9791
pub fn pat_contains_bindings(dm: resolve::DefMap, pat: &Pat) -> bool {

0 commit comments

Comments
 (0)