Skip to content

Commit 7f60c56

Browse files
committed
Clean out transitional lint.
1 parent e7a69fb commit 7f60c56

File tree

16 files changed

+8
-57
lines changed

16 files changed

+8
-57
lines changed

src/cargo/cargo.rc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818

1919
#[no_core];
2020

21-
22-
// NB: transitional for stage0:
23-
#[allow(unrecognized_lint)];
24-
#[warn(no_unrecognized_warning)];
25-
#[warn(no_non_implicitly_copyable_typarams,
26-
no_vecs_not_implicitly_copyable)];
27-
// The new version:
2821
#[allow(vecs_implicitly_copyable,
2922
non_implicitly_copyable_typarams)];
3023

src/compiletest/compiletest.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22

33
#[no_core];
44

5-
// NB: transitional for stage0:
6-
#[allow(unrecognized_lint)];
7-
#[warn(no_unrecognized_warning)];
8-
#[warn(no_vecs_not_implicitly_copyable)];
9-
// The new version:
105
#[allow(vecs_implicitly_copyable)];
116

127
use core(vers = "0.3");

src/fuzzer/fuzzer.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44

55
#[no_core];
66

7-
// NB: transitional for stage0:
8-
#[allow(unrecognized_lint)];
9-
#[warn(no_unrecognized_warning)];
10-
#[warn(no_vecs_not_implicitly_copyable)];
11-
// The new version:
127
#[allow(vecs_implicitly_copyable)];
138

149
use core(vers = "0.3");

src/libcore/core.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
// Don't link to core. We are core.
3232
#[no_core];
3333

34-
// NB: transitional for stage0:
35-
#[allow(unrecognized_lint)];
36-
#[warn(no_unrecognized_warning)];
37-
#[warn(no_vecs_not_implicitly_copyable)];
38-
// The new version:
3934
#[allow(vecs_implicitly_copyable)];
4035

4136
export int, i8, i16, i32, i64;

src/libstd/std.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010

1111
#[no_core];
1212

13-
// NB: transitional for stage0:
14-
#[allow(unrecognized_lint)];
15-
#[warn(no_unrecognized_warning)];
16-
#[warn(no_vecs_not_implicitly_copyable)];
17-
// The new version:
1813
#[allow(vecs_implicitly_copyable)];
1914

2015
use core(vers = "0.3");

src/libstd/test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ fn get_concurrency() -> uint {
328328
else { threads * sched_overcommit }
329329
}
330330
331-
// NB: transitional duplication here.
332-
#[warn(no_non_implicitly_copyable_typarams)]
333331
#[allow(non_implicitly_copyable_typarams)]
334332
fn filter_tests(opts: test_opts,
335333
tests: ~[test_desc]) -> ~[test_desc] {

src/libsyntax/ext/tt/earley_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn count_names(ms: &[matcher]) -> uint {
6363
}})
6464
}
6565

66-
#[warn(no_non_implicitly_copyable_typarams)]
66+
#[allow(non_implicitly_copyable_typarams)]
6767
fn initial_matcher_pos(ms: ~[matcher], sep: option<token>, lo: uint)
6868
-> matcher_pos {
6969
let mut match_idx_hi = 0u;

src/libsyntax/syntax.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
#[no_core];
1010

11-
// NB: transitional for stage0:
12-
#[allow(unrecognized_lint)];
13-
#[warn(no_unrecognized_warning)];
14-
#[warn(no_vecs_not_implicitly_copyable)];
15-
// The new version:
1611
#[allow(vecs_implicitly_copyable)];
1712

1813
use core(vers = "0.3");

src/rustc/driver/rustc.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
#[no_core];
2-
// NB: transitional for stage0:
3-
#[allow(unrecognized_lint)];
4-
#[warn(no_unrecognized_warning)];
5-
#[warn(no_vecs_not_implicitly_copyable)];
6-
// The new version:
72
#[allow(vecs_implicitly_copyable)];
83

94
use core(vers = "0.3");

src/rustc/rustc.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111

1212
#[no_core];
1313

14-
// NB: transitional for stage0:
15-
#[allow(unrecognized_lint)];
16-
#[warn(no_unrecognized_warning)];
17-
#[warn(no_vecs_not_implicitly_copyable)];
18-
// The new version:
1914
#[allow(vecs_implicitly_copyable)];
2015

2116
use core(vers = "0.3");

src/rustdoc/path_pass.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type ctxt = {
1717
mut path: ~[~str]
1818
};
1919

20-
#[warn(no_non_implicitly_copyable_typarams)]
20+
#[allow(non_implicitly_copyable_typarams)]
2121
fn run(srv: astsrv::srv, doc: doc::doc) -> doc::doc {
2222
let ctxt = {
2323
srv: srv,
@@ -39,7 +39,7 @@ fn fold_item(fold: fold::fold<ctxt>, doc: doc::itemdoc) -> doc::itemdoc {
3939
}
4040
}
4141

42-
#[warn(no_non_implicitly_copyable_typarams)]
42+
#[allow(non_implicitly_copyable_typarams)]
4343
fn fold_mod(fold: fold::fold<ctxt>, doc: doc::moddoc) -> doc::moddoc {
4444
let is_topmod = doc.id() == ast::crate_node_id;
4545

src/rustdoc/rustdoc.rc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111

1212
#[no_core];
1313

14-
// NB: transitional for stage0:
15-
#[allow(unrecognized_lint)];
16-
#[warn(no_unrecognized_warning)];
17-
#[warn(no_vecs_not_implicitly_copyable)];
18-
// The new version:
1914
#[allow(vecs_implicitly_copyable,
2015
non_implicitly_copyable_typarams)];
2116

src/rustdoc/sort_pass.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn mk_pass(name: ~str, +lteq: item_lteq) -> pass {
1616
}
1717
}
1818

19-
#[warn(no_non_implicitly_copyable_typarams)]
19+
#[allow(non_implicitly_copyable_typarams)]
2020
fn run(
2121
_srv: astsrv::srv,
2222
doc: doc::doc,
@@ -29,7 +29,7 @@ fn run(
2929
fold.fold_doc(fold, doc)
3030
}
3131

32-
#[warn(no_non_implicitly_copyable_typarams)]
32+
#[allow(non_implicitly_copyable_typarams)]
3333
fn fold_mod(
3434
fold: fold::fold<item_lteq>,
3535
doc: doc::moddoc

src/rustdoc/text_pass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn mk_pass(name: ~str, +op: fn~(~str) -> ~str) -> pass {
1515

1616
type op = fn~(~str) -> ~str;
1717

18-
#[warn(no_non_implicitly_copyable_typarams)]
18+
#[allow(non_implicitly_copyable_typarams)]
1919
fn run(
2020
_srv: astsrv::srv,
2121
doc: doc::doc,

src/test/run-pass/fixed_length_copy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
// error on implicit copies to check fixed length vectors
33
// are implicitly copyable
4-
#[warn(err_implicit_copies)]
4+
#[deny(implicit_copies)]
55
fn main() {
66
let arr = [1,2,3]/3;
77
let arr2 = arr;

src/test/run-pass/issue-2550.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class C {
99
fn f<T:copy>(_x: T) {
1010
}
1111

12-
#[warn(err_non_implicitly_copyable_typarams)]
12+
#[deny(non_implicitly_copyable_typarams)]
1313
fn main() {
1414
f(C(1u));
1515
}

0 commit comments

Comments
 (0)