Skip to content

Commit 4ad4f0f

Browse files
committed
---
yaml --- r: 58241 b: refs/heads/auto c: 3affc6e h: refs/heads/master i: 58239: d2d114d v: v3
1 parent 44d9eab commit 4ad4f0f

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
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 9d011ebf67272879b9883013f7796b7639ecfda3
17+
refs/heads/auto: 3affc6ed4071a183da81bcc2048fff82d3e35e81
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/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/auto/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/auto/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)