Skip to content

Commit 1b8813d

Browse files
committed
Placate tidy, mostly in test suite code.
1 parent 4d80e03 commit 1b8813d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+57
-52
lines changed

src/libcoretest/any.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ fn any_referenced() {
3535

3636
#[test]
3737
fn any_owning() {
38-
let (a, b, c) = (box 5_usize as Box<Any>, box TEST as Box<Any>, box Test as Box<Any>);
38+
let (a, b, c) = (Box::new(5_usize) as Box<Any>,
39+
Box::new(TEST) as Box<Any>,
40+
Box::new(Test) as Box<Any>);
3941

4042
assert!(a.is::<usize>());
4143
assert!(!b.is::<usize>());

src/test/compile-fail/check-static-values-constraints.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-tidy-linelength
12+
1113
// Verifies all possible restrictions for statics values.
1214

1315
#![feature(box_syntax)]

src/test/run-pass/bitv-perf-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![feature(bitvec)]
1414

src/test/run-pass/borrowck-field-sensitivity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/borrowck-use-mut-borrow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/cancel-clean-via-immediate-rvalue-ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/cleanup-arm-conditional.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// Test that cleanup scope for temporaries created in a match
2222
// arm is confined to the match arm itself.
2323

24-
// pretty-expanded FIXME #23616
24+
// no-pretty-expanded FIXME #26067
2525

2626
#![allow(unknown_features)]
2727
#![feature(box_syntax, os)]

src/test/run-pass/coerce-match.rs

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

1111
// Check that coercions are propagated through match and if expressions.
1212

13-
// pretty-expanded FIXME #23616
13+
// no-pretty-expanded FIXME #26067
1414

1515
#![allow(unknown_features)]
1616
#![feature(box_syntax)]

src/test/run-pass/crate-method-reexport-grrrrrrr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/deref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/drop-on-empty-block-exit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/generic-tag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(dead_assignment)]
1414
#![allow(unused_variable)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Regression test for issue #10682
1212
// Nested `proc` usage can't use outer owned data
1313

14-
// pretty-expanded FIXME #23616
14+
// no-pretty-expanded FIXME #26067
1515

1616
#![allow(unknown_features)]
1717
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// value was coerced to a trait object. (v.clone() returns Box<B1>
1414
// which is coerced to Box<A>).
1515

16-
// pretty-expanded FIXME #23616
16+
// no-pretty-expanded FIXME #26067
1717

1818
#![allow(unknown_features)]
1919
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax, io)]

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
// pretty-expanded FIXME #23616
10+
11+
// no-pretty-expanded FIXME #26067
1112

1213
#![feature(box_patterns)]
1314
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/issue-2633-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/issue-3012-2.rs

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

1111
// aux-build:issue-3012-1.rs
1212

13-
// pretty-expanded FIXME #23616
13+
// no-pretty-expanded FIXME #26067
1414

1515
#![allow(unknown_features)]
1616
#![feature(box_syntax, libc)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax, collections)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(path_statement)]
1414
#![allow(unknown_features)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111

12-
// pretty-expanded FIXME #23616
12+
// no-pretty-expanded FIXME #26067
1313

1414
#![allow(unknown_features)]
1515
#![feature(box_syntax, libc)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/issue-7673-cast-generically-implemented-trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
/*
1414

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// pretty-expanded FIXME #23616
2-
31
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
42
// file at the top-level directory of this distribution and at
53
// http://rust-lang.org/COPYRIGHT.
@@ -10,6 +8,8 @@
108
// option. This file may not be copied, modified, or distributed
119
// except according to those terms.
1210

11+
// no-pretty-expanded FIXME #26067
12+
1313
#![allow(unnecessary_allocation)]
1414
#![allow(unknown_features)]
1515
#![feature(box_syntax)]

src/test/run-pass/leak-unique-as-tydesc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/match-value-binding-in-guard-3291.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(unknown_features)]
1414
#![feature(box_syntax)]

src/test/run-pass/move-guard-const.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![feature(box_syntax)]
1414

src/test/run-pass/new-box-syntax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
/* Any copyright is dedicated to the Public Domain.
1414
* http://creativecommons.org/publicdomain/zero/1.0/ */

src/test/run-pass/output-slot-variants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// pretty-expanded FIXME #23616
11+
// no-pretty-expanded FIXME #26067
1212

1313
#![allow(dead_assignment)]
1414
#![allow(unused_variable)]

src/test/run-pass/pure-sum.rs

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

1111
// Check that functions can modify local state.
1212

13-
// pretty-expanded FIXME #23616
13+
// no-pretty-expanded FIXME #26067
1414

1515
#![allow(unknown_features)]
1616
#![feature(box_syntax)]

src/test/run-pass/regions-lifetime-nonfree-late-bound.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// doing region-folding, when really all clients of the region-folding
2323
// case only want to see FREE lifetime variables, not bound ones.
2424

25-
// pretty-expanded FIXME #23616
25+
// no-pretty-expanded FIXME #26067
2626

2727
#![allow(unknown_features)]
2828
#![feature(box_syntax)]

src/test/run-pass/self-impl.rs

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

1111
// Test that we can use `Self` types in impls in the expected way.
1212

13-
// pretty-expanded FIXME #23616
13+
// no-pretty-expanded FIXME #26067
1414

1515
#![allow(unknown_features)]
1616
#![feature(box_syntax)]

0 commit comments

Comments
 (0)