Skip to content

Commit 36101b6

Browse files
committed
---
yaml --- r: 140615 b: refs/heads/try2 c: 3affc6e h: refs/heads/master i: 140613: 50320ee 140611: a428569 140607: e720eaa v: v3
1 parent e4f8d3d commit 36101b6

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 9d011ebf67272879b9883013f7796b7639ecfda3
8+
refs/heads/try2: 3affc6ed4071a183da81bcc2048fff82d3e35e81
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/librustc/middle/lint.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,6 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
196196
default: deny
197197
}),
198198

199-
("deprecated_mutable_fields",
200-
LintSpec {
201-
lint: deprecated_mutable_fields,
202-
desc: "deprecated mutable fields in structures",
203-
default: deny
204-
}),
205-
206199
("unused_unsafe",
207200
LintSpec {
208201
lint: unused_unsafe,

branches/try2/src/libsyntax/ext/deriving/generic.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -818,12 +818,8 @@ fn summarise_struct(cx: @ext_ctxt, span: span,
818818
let mut unnamed_count = 0;
819819
for struct_def.fields.each |field| {
820820
match field.node.kind {
821-
ast::named_field(ident, _, _) => {
822-
named_idents.push(ident)
823-
}
824-
ast::unnamed_field => {
825-
unnamed_count += 1;
826-
}
821+
ast::named_field(ident, _) => named_idents.push(ident),
822+
ast::unnamed_field => unnamed_count += 1,
827823
}
828824
}
829825

branches/try2/src/libsyntax/ext/deriving/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ pub fn create_struct_pattern(cx: @ext_ctxt,
281281

282282
for struct_def.fields.eachi |i, struct_field| {
283283
let opt_id = match struct_field.node.kind {
284-
ast::named_field(ident, _, _) if (struct_type == Unknown ||
285-
struct_type == Record) => {
284+
ast::named_field(ident, _) if (struct_type == Unknown ||
285+
struct_type == Record) => {
286286
struct_type = Record;
287287
Some(ident)
288288
}

0 commit comments

Comments
 (0)