Skip to content

Commit 87f7419

Browse files
committed
---
yaml --- r: 130322 b: refs/heads/auto c: 0ad4644 h: refs/heads/master v: v3
1 parent 71262e8 commit 87f7419

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 27f87c611fa57b0320f72f483c60e7b4d70ddc2a
16+
refs/heads/auto: 0ad4644ae1474b5443e34d273e5553612c6d9364
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/librustc/lint/context.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ impl LintStore {
103103
}
104104

105105
pub fn get_lint_groups<'t>(&'t self) -> Vec<(&'static str, Vec<LintId>, bool)> {
106-
self.lint_groups.iter().map(|(k, &(ref v, b))| (*k, v.clone(), b)).collect()
106+
self.lint_groups.iter().map(|(k, v)| (*k,
107+
v.ref0().clone(),
108+
*v.ref1())).collect()
107109
}
108110

109111
pub fn register_pass(&mut self, sess: Option<&Session>,
@@ -210,7 +212,7 @@ impl LintStore {
210212
match self.by_name.find_equiv(&lint_name.as_slice()) {
211213
Some(&lint_id) => self.set_level(lint_id, (level, CommandLine)),
212214
None => {
213-
match self.lint_groups.iter().map(|(&x, &(ref y, _))| (x, y.clone()))
215+
match self.lint_groups.iter().map(|(&x, pair)| (x, pair.ref0().clone()))
214216
.collect::<HashMap<&'static str, Vec<LintId>>>()
215217
.find_equiv(&lint_name.as_slice()) {
216218
Some(v) => {

branches/auto/src/librustdoc/html/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ pub fn run(mut krate: clean::Crate, external_html: &ExternalHtml, dst: Path) ->
312312
}).unwrap_or(HashMap::new());
313313
let mut cache = Cache {
314314
impls: HashMap::new(),
315-
external_paths: paths.iter().map(|(&k, &(ref v, _))| (k, v.clone()))
315+
external_paths: paths.iter().map(|(&k, v)| (k, v.ref0().clone()))
316316
.collect(),
317317
paths: paths,
318318
implementors: HashMap::new(),

0 commit comments

Comments
 (0)