Skip to content

Commit 7b564cb

Browse files
committed
---
yaml --- r: 48113 b: refs/heads/incoming c: 690caf8 h: refs/heads/master i: 48111: d5d5138 v: v3
1 parent 3617a3e commit 7b564cb

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: b9d9157883437550f3ec9cd8f01f20b91cfebb77
9+
refs/heads/incoming: 690caf8ab835089109b6b19eab48158d6f76915e
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libsyntax/codemap.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,16 @@ pub impl CodeMap {
295295
}
296296

297297
/// Add a new FileMap to the CodeMap and return it
298-
fn new_filemap(+filename: FileName, src: @~str) -> @FileMap {
298+
fn new_filemap(&self, +filename: FileName, src: @~str) -> @FileMap {
299299
return self.new_filemap_w_substr(filename, FssNone, src);
300300
}
301301

302-
fn new_filemap_w_substr(+filename: FileName, +substr: FileSubstr,
303-
src: @~str) -> @FileMap {
302+
fn new_filemap_w_substr(
303+
&self,
304+
+filename: FileName,
305+
+substr: FileSubstr,
306+
src: @~str
307+
) -> @FileMap {
304308
let start_pos = if self.files.len() == 0 {
305309
0
306310
} else {

branches/incoming/src/libsyntax/fold.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ impl ast_fold for AstFoldFns {
900900
}
901901

902902
pub impl ast_fold {
903-
fn fold_attributes(attrs: ~[attribute]) -> ~[attribute] {
904-
attrs.map(|x| fold_attribute_(*x, self))
903+
fn fold_attributes(&self, attrs: ~[attribute]) -> ~[attribute] {
904+
attrs.map(|x| fold_attribute_(*x, *self))
905905
}
906906
}
907907

branches/incoming/src/libsyntax/syntax.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#[allow(vecs_implicitly_copyable)];
2323
#[allow(non_camel_case_types)];
2424
#[allow(deprecated_mode)];
25-
#[allow(deprecated_self)];
25+
#[deny(deprecated_self)];
2626

2727
#[no_core];
2828

0 commit comments

Comments
 (0)