Skip to content

Commit 07dc6ad

Browse files
committed
---
yaml --- r: 29996 b: refs/heads/incoming c: f61bbe2 h: refs/heads/master v: v3
1 parent ea07fe7 commit 07dc6ad

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 49c1bd7e866a7865ca8f71866fc41bc40d992731
9+
refs/heads/incoming: f61bbe2709709b7a347aac28788464f39325a437
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/rustc/metadata/csearch.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import middle::ty;
88
import option::{some, none};
99
import syntax::diagnostic::span_handler;
1010
import syntax::diagnostic::expect;
11+
import ast_util::dummy_sp;
1112
import common::*;
1213
import std::map::hashmap;
1314
import dvec::{DVec, dvec};
@@ -19,7 +20,6 @@ export get_class_method;
1920
export get_field_type;
2021
export get_type_param_count;
2122
export get_region_param;
22-
export lookup_method_purity;
2323
export get_enum_variants;
2424
export get_impls_for_mod;
2525
export get_trait_methods;
@@ -42,14 +42,6 @@ fn get_type_param_count(cstore: cstore::cstore, def: ast::def_id) -> uint {
4242
return decoder::get_type_param_count(cdata, def.node);
4343
}
4444

45-
fn lookup_method_purity(cstore: cstore::cstore, did: ast::def_id)
46-
-> ast::purity {
47-
let cdata = cstore::get_crate_data(cstore, did.crate).data;
48-
match check decoder::lookup_def(did.crate, cdata, did) {
49-
ast::def_fn(_, p) => p
50-
}
51-
}
52-
5345
/// Iterates over all the paths in the given crate.
5446
fn each_path(cstore: cstore::cstore, cnum: ast::crate_num,
5547
f: fn(decoder::path_entry) -> bool) {

0 commit comments

Comments
 (0)