From 9a773da681a92c599f7b56f66f79bc107eeadbee Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 25 Oct 2013 14:28:38 -0700 Subject: [PATCH] Remove ancient emacs mode lines from test cases These are relics that serve no purpose. --- src/test/bench/shootout-pfib.rs | 1 - src/test/compile-fail/bad-bang-ann-3.rs | 1 - src/test/compile-fail/bad-bang-ann.rs | 1 - src/test/compile-fail/bogus-tag.rs | 1 - src/test/compile-fail/capture1.rs | 1 - src/test/compile-fail/dead-code-ret.rs | 1 - src/test/compile-fail/fail-simple.rs | 1 - src/test/compile-fail/foreign-unsafe-fn-called.rs | 1 - src/test/compile-fail/infinite-tag-type-recursion.rs | 1 - src/test/compile-fail/infinite-vec-type-recursion.rs | 1 - src/test/compile-fail/liveness-bad-bang-2.rs | 1 - src/test/compile-fail/liveness-forgot-ret.rs | 1 - src/test/compile-fail/liveness-init-in-fru.rs | 1 - src/test/compile-fail/multiline-comment-line-tracking.rs | 5 ++--- src/test/compile-fail/non-exhaustive-match-nested.rs | 1 - src/test/compile-fail/not-a-pred.rs | 1 - src/test/compile-fail/pattern-tyvar-2.rs | 1 - src/test/compile-fail/pattern-tyvar.rs | 1 - src/test/compile-fail/type-shadow.rs | 1 - src/test/compile-fail/unbalanced-doublequote.rs | 1 - src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs | 1 - src/test/compile-fail/unsafe-fn-autoderef.rs | 1 - src/test/compile-fail/unsafe-fn-called-from-safe.rs | 1 - src/test/compile-fail/unsafe-fn-deref-ptr.rs | 1 - src/test/compile-fail/unsafe-fn-used-as-value.rs | 1 - src/test/run-fail/linked-failure.rs | 1 - src/test/run-fail/linked-failure2.rs | 1 - src/test/run-fail/linked-failure3.rs | 1 - src/test/run-fail/linked-failure4.rs | 1 - src/test/run-fail/str-overrun.rs | 1 - src/test/run-fail/vec-overrun.rs | 1 - src/test/run-pass/auto-instantiate.rs | 1 - src/test/run-pass/bitwise.rs | 1 - src/test/run-pass/bool-not.rs | 1 - src/test/run-pass/cast.rs | 1 - src/test/run-pass/comm.rs | 1 - src/test/run-pass/complex.rs | 1 - src/test/run-pass/dead-code-one-arm-if.rs | 1 - src/test/run-pass/deep.rs | 1 - src/test/run-pass/div-mod.rs | 1 - src/test/run-pass/drop-on-ret.rs | 1 - src/test/run-pass/expr-block-box.rs | 1 - src/test/run-pass/expr-block-generic-box2.rs | 1 - src/test/run-pass/expr-block-generic-unique1.rs | 1 - src/test/run-pass/expr-block-generic-unique2.rs | 1 - src/test/run-pass/expr-block-generic.rs | 1 - src/test/run-pass/expr-block-unique.rs | 1 - src/test/run-pass/expr-block.rs | 1 - src/test/run-pass/expr-if-box.rs | 1 - src/test/run-pass/expr-if-generic.rs | 1 - src/test/run-pass/expr-if-struct.rs | 1 - src/test/run-pass/expr-if-unique.rs | 1 - src/test/run-pass/expr-if.rs | 1 - src/test/run-pass/expr-match-box.rs | 1 - src/test/run-pass/expr-match-generic-unique1.rs | 1 - src/test/run-pass/expr-match-generic-unique2.rs | 1 - src/test/run-pass/expr-match-generic.rs | 1 - src/test/run-pass/expr-match-struct.rs | 1 - src/test/run-pass/expr-match-unique.rs | 1 - src/test/run-pass/expr-match.rs | 1 - src/test/run-pass/fact.rs | 1 - src/test/run-pass/fat-arrow-match.rs | 1 - src/test/run-pass/fn-lval.rs | 1 - src/test/run-pass/foreach-nested.rs | 1 - src/test/run-pass/foreach-simple-outer-slot.rs | 1 - src/test/run-pass/foreign-mod-src/inner.rs | 1 - src/test/run-pass/foreign-mod.rc | 1 - src/test/run-pass/foreign-src/foreign.rs | 1 - src/test/run-pass/foreign.rc | 1 - src/test/run-pass/fun-call-variants.rs | 1 - src/test/run-pass/fun-indirect-call.rs | 1 - src/test/run-pass/generic-fn-infer.rs | 1 - src/test/run-pass/generic-fn-twice.rs | 1 - src/test/run-pass/generic-fn.rs | 1 - src/test/run-pass/generic-tag-values.rs | 1 - src/test/run-pass/hello.rs | 1 - src/test/run-pass/i32-sub.rs | 1 - src/test/run-pass/i8-incr.rs | 1 - src/test/run-pass/inner-module.rs | 1 - src/test/run-pass/int.rs | 1 - src/test/run-pass/item-name-overload.rs | 1 - src/test/run-pass/large-records.rs | 1 - src/test/run-pass/match-tag.rs | 1 - src/test/run-pass/mlist-cycle.rs | 1 - src/test/run-pass/mlist.rs | 1 - src/test/run-pass/multiline-comment.rs | 1 - src/test/run-pass/mutable-alias-vec.rs | 1 - src/test/run-pass/opeq.rs | 1 - src/test/run-pass/parse-fail.rs | 1 - src/test/run-pass/readalias.rs | 1 - src/test/run-pass/rec-auto.rs | 1 - src/test/run-pass/rec-extend.rs | 1 - src/test/run-pass/rec-tup.rs | 1 - src/test/run-pass/rec.rs | 1 - src/test/run-pass/ret-bang.rs | 1 - src/test/run-pass/shadow.rs | 1 - src/test/run-pass/size-and-align.rs | 1 - src/test/run-pass/spawn-fn.rs | 1 - src/test/run-pass/spawn.rs | 1 - src/test/run-pass/spawn2.rs | 1 - src/test/run-pass/str-append.rs | 1 - src/test/run-pass/str-concat.rs | 1 - src/test/run-pass/str-multiline.rs | 1 - src/test/run-pass/tag.rs | 1 - src/test/run-pass/tail-cps.rs | 1 - src/test/run-pass/tail-direct.rs | 1 - src/test/run-pass/task-comm-16.rs | 1 - src/test/run-pass/task-comm-chan-nil.rs | 1 - src/test/run-pass/threads.rs | 1 - src/test/run-pass/tup.rs | 1 - src/test/run-pass/u32-decr.rs | 1 - src/test/run-pass/u8-incr-decr.rs | 1 - src/test/run-pass/u8-incr.rs | 1 - src/test/run-pass/uint.rs | 1 - src/test/run-pass/unit.rs | 1 - src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs | 1 - src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs | 1 - src/test/run-pass/vec-concat.rs | 1 - src/test/run-pass/vec.rs | 1 - src/test/run-pass/while-with-break.rs | 1 - src/test/run-pass/yield.rs | 1 - src/test/run-pass/yield1.rs | 1 - src/test/run-pass/yield2.rs | 1 - 123 files changed, 2 insertions(+), 125 deletions(-) diff --git a/src/test/bench/shootout-pfib.rs b/src/test/bench/shootout-pfib.rs index 88b3cfdff42..318a65c0324 100644 --- a/src/test/bench/shootout-pfib.rs +++ b/src/test/bench/shootout-pfib.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/bad-bang-ann-3.rs b/src/test/compile-fail/bad-bang-ann-3.rs index 9e73bbe1406..d899459b70a 100644 --- a/src/test/compile-fail/bad-bang-ann-3.rs +++ b/src/test/compile-fail/bad-bang-ann-3.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/bad-bang-ann.rs b/src/test/compile-fail/bad-bang-ann.rs index 2ffb5dd2906..829253bde18 100644 --- a/src/test/compile-fail/bad-bang-ann.rs +++ b/src/test/compile-fail/bad-bang-ann.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/bogus-tag.rs b/src/test/compile-fail/bogus-tag.rs index 63d12b72cc6..1bd40ce24bc 100644 --- a/src/test/compile-fail/bogus-tag.rs +++ b/src/test/compile-fail/bogus-tag.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/capture1.rs b/src/test/compile-fail/capture1.rs index 706edd0a112..7d590ca49dd 100644 --- a/src/test/compile-fail/capture1.rs +++ b/src/test/compile-fail/capture1.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/dead-code-ret.rs b/src/test/compile-fail/dead-code-ret.rs index b6976b2c355..1d59406d1bc 100644 --- a/src/test/compile-fail/dead-code-ret.rs +++ b/src/test/compile-fail/dead-code-ret.rs @@ -3,7 +3,6 @@ // xfail'd because the lint pass doesn't know to ignore standard library // stuff. -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/fail-simple.rs b/src/test/compile-fail/fail-simple.rs index 7def16770a7..19c1aa1ba20 100644 --- a/src/test/compile-fail/fail-simple.rs +++ b/src/test/compile-fail/fail-simple.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/foreign-unsafe-fn-called.rs b/src/test/compile-fail/foreign-unsafe-fn-called.rs index 38c1a32b12e..88fe9cd44a3 100644 --- a/src/test/compile-fail/foreign-unsafe-fn-called.rs +++ b/src/test/compile-fail/foreign-unsafe-fn-called.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/infinite-tag-type-recursion.rs b/src/test/compile-fail/infinite-tag-type-recursion.rs index 0974668f19d..8a73e70572e 100644 --- a/src/test/compile-fail/infinite-tag-type-recursion.rs +++ b/src/test/compile-fail/infinite-tag-type-recursion.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/infinite-vec-type-recursion.rs b/src/test/compile-fail/infinite-vec-type-recursion.rs index a307f9f26d5..9f9fd43fcdf 100644 --- a/src/test/compile-fail/infinite-vec-type-recursion.rs +++ b/src/test/compile-fail/infinite-vec-type-recursion.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/liveness-bad-bang-2.rs b/src/test/compile-fail/liveness-bad-bang-2.rs index 5399127fcb6..eeb07c71e9b 100644 --- a/src/test/compile-fail/liveness-bad-bang-2.rs +++ b/src/test/compile-fail/liveness-bad-bang-2.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/liveness-forgot-ret.rs b/src/test/compile-fail/liveness-forgot-ret.rs index 288743e4d4d..305cbcad738 100644 --- a/src/test/compile-fail/liveness-forgot-ret.rs +++ b/src/test/compile-fail/liveness-forgot-ret.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/liveness-init-in-fru.rs b/src/test/compile-fail/liveness-init-in-fru.rs index 96b3c2453c5..97fc2b4d44c 100644 --- a/src/test/compile-fail/liveness-init-in-fru.rs +++ b/src/test/compile-fail/liveness-init-in-fru.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/multiline-comment-line-tracking.rs b/src/test/compile-fail/multiline-comment-line-tracking.rs index 6bf3661ad14..11abe672745 100644 --- a/src/test/compile-fail/multiline-comment-line-tracking.rs +++ b/src/test/compile-fail/multiline-comment-line-tracking.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. @@ -9,12 +8,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern:9:3 +// error-pattern:18:3 /* 1 * 2 * 3 */ fn main() { - %; // parse error on line 9, but is reported on line 6 instead. + %; // parse error on line 18, but is reported on line 6 instead. } diff --git a/src/test/compile-fail/non-exhaustive-match-nested.rs b/src/test/compile-fail/non-exhaustive-match-nested.rs index b87b3c5245a..102772f79d5 100644 --- a/src/test/compile-fail/non-exhaustive-match-nested.rs +++ b/src/test/compile-fail/non-exhaustive-match-nested.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/not-a-pred.rs b/src/test/compile-fail/not-a-pred.rs index 47b2794d132..2e16c58eaad 100644 --- a/src/test/compile-fail/not-a-pred.rs +++ b/src/test/compile-fail/not-a-pred.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/pattern-tyvar-2.rs b/src/test/compile-fail/pattern-tyvar-2.rs index 537d095d2d7..c6bc752b0cc 100644 --- a/src/test/compile-fail/pattern-tyvar-2.rs +++ b/src/test/compile-fail/pattern-tyvar-2.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/pattern-tyvar.rs b/src/test/compile-fail/pattern-tyvar.rs index b81e4ea92d0..b3e907f913f 100644 --- a/src/test/compile-fail/pattern-tyvar.rs +++ b/src/test/compile-fail/pattern-tyvar.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/type-shadow.rs b/src/test/compile-fail/type-shadow.rs index c4a412f64c8..50c8cf99d3c 100644 --- a/src/test/compile-fail/type-shadow.rs +++ b/src/test/compile-fail/type-shadow.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/unbalanced-doublequote.rs b/src/test/compile-fail/unbalanced-doublequote.rs index a2b0c3a9eb3..789cc886217 100644 --- a/src/test/compile-fail/unbalanced-doublequote.rs +++ b/src/test/compile-fail/unbalanced-doublequote.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs b/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs index a6a1dd3b334..a9480c60886 100644 --- a/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs +++ b/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/unsafe-fn-autoderef.rs b/src/test/compile-fail/unsafe-fn-autoderef.rs index 82efd579518..4572e084f66 100644 --- a/src/test/compile-fail/unsafe-fn-autoderef.rs +++ b/src/test/compile-fail/unsafe-fn-autoderef.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/unsafe-fn-called-from-safe.rs b/src/test/compile-fail/unsafe-fn-called-from-safe.rs index 2ea0f5a4ec9..15bcad95cb2 100644 --- a/src/test/compile-fail/unsafe-fn-called-from-safe.rs +++ b/src/test/compile-fail/unsafe-fn-called-from-safe.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/unsafe-fn-deref-ptr.rs b/src/test/compile-fail/unsafe-fn-deref-ptr.rs index c02e1f9f0b8..fb631e02b6f 100644 --- a/src/test/compile-fail/unsafe-fn-deref-ptr.rs +++ b/src/test/compile-fail/unsafe-fn-deref-ptr.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/compile-fail/unsafe-fn-used-as-value.rs b/src/test/compile-fail/unsafe-fn-used-as-value.rs index b5565b4821b..8e2d82b8fdb 100644 --- a/src/test/compile-fail/unsafe-fn-used-as-value.rs +++ b/src/test/compile-fail/unsafe-fn-used-as-value.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-fail/linked-failure.rs b/src/test/run-fail/linked-failure.rs index 52dfb8aef13..8426c4ba7d5 100644 --- a/src/test/run-fail/linked-failure.rs +++ b/src/test/run-fail/linked-failure.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-fail/linked-failure2.rs b/src/test/run-fail/linked-failure2.rs index 52a67872d4c..a8bc2b63beb 100644 --- a/src/test/run-fail/linked-failure2.rs +++ b/src/test/run-fail/linked-failure2.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-fail/linked-failure3.rs b/src/test/run-fail/linked-failure3.rs index f40eae20bc0..51a5d6d112e 100644 --- a/src/test/run-fail/linked-failure3.rs +++ b/src/test/run-fail/linked-failure3.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-fail/linked-failure4.rs b/src/test/run-fail/linked-failure4.rs index 94e41f1ae68..bdcdcb9c53e 100644 --- a/src/test/run-fail/linked-failure4.rs +++ b/src/test/run-fail/linked-failure4.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-fail/str-overrun.rs b/src/test/run-fail/str-overrun.rs index 5ec2c093eeb..5e158fe7418 100644 --- a/src/test/run-fail/str-overrun.rs +++ b/src/test/run-fail/str-overrun.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-fail/vec-overrun.rs b/src/test/run-fail/vec-overrun.rs index 411895a2ef0..e7421fe241d 100644 --- a/src/test/run-fail/vec-overrun.rs +++ b/src/test/run-fail/vec-overrun.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/auto-instantiate.rs b/src/test/run-pass/auto-instantiate.rs index b7e3de478a4..a4b6d33fb79 100644 --- a/src/test/run-pass/auto-instantiate.rs +++ b/src/test/run-pass/auto-instantiate.rs @@ -11,7 +11,6 @@ -// -*- rust -*- struct Pair { a: T, b: U } struct Triple { x: int, y: int, z: int } diff --git a/src/test/run-pass/bitwise.rs b/src/test/run-pass/bitwise.rs index 169b3848c63..61e36d2d720 100644 --- a/src/test/run-pass/bitwise.rs +++ b/src/test/run-pass/bitwise.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/bool-not.rs b/src/test/run-pass/bool-not.rs index 3d659d5d256..e98087810b2 100644 --- a/src/test/run-pass/bool-not.rs +++ b/src/test/run-pass/bool-not.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { if !false { assert!((true)); } else { assert!((false)); } if !true { assert!((false)); } else { assert!((true)); } diff --git a/src/test/run-pass/cast.rs b/src/test/run-pass/cast.rs index 8cf7c2eec99..f8a680b2a97 100644 --- a/src/test/run-pass/cast.rs +++ b/src/test/run-pass/cast.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// -*- rust -*- pub fn main() { let i: int = 'Q' as int; assert_eq!(i, 0x51); diff --git a/src/test/run-pass/comm.rs b/src/test/run-pass/comm.rs index a41f1fa42cd..18c6050095f 100644 --- a/src/test/run-pass/comm.rs +++ b/src/test/run-pass/comm.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/complex.rs b/src/test/run-pass/complex.rs index 11599f6b1e3..8ce7cb14042 100644 --- a/src/test/run-pass/complex.rs +++ b/src/test/run-pass/complex.rs @@ -11,7 +11,6 @@ -// -*- rust -*- type t = int; fn nothing() { } diff --git a/src/test/run-pass/dead-code-one-arm-if.rs b/src/test/run-pass/dead-code-one-arm-if.rs index 2749fc31cea..da5c692d212 100644 --- a/src/test/run-pass/dead-code-one-arm-if.rs +++ b/src/test/run-pass/dead-code-one-arm-if.rs @@ -11,5 +11,4 @@ -// -*- rust -*- pub fn main() { if 1 == 1 { return; } info!("Paul is dead"); } diff --git a/src/test/run-pass/deep.rs b/src/test/run-pass/deep.rs index ebb033d188e..2f82e729adf 100644 --- a/src/test/run-pass/deep.rs +++ b/src/test/run-pass/deep.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn f(x: int) -> int { if x == 1 { return 1; } else { let y: int = 1 + f(x - 1); return y; } } diff --git a/src/test/run-pass/div-mod.rs b/src/test/run-pass/div-mod.rs index 3aeaef01e18..331cd36a694 100644 --- a/src/test/run-pass/div-mod.rs +++ b/src/test/run-pass/div-mod.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let x: int = 15; let y: int = 5; diff --git a/src/test/run-pass/drop-on-ret.rs b/src/test/run-pass/drop-on-ret.rs index afc9e532ad8..6e2c709eec0 100644 --- a/src/test/run-pass/drop-on-ret.rs +++ b/src/test/run-pass/drop-on-ret.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn f() -> int { if true { let _s: ~str = ~"should not leak"; diff --git a/src/test/run-pass/expr-block-box.rs b/src/test/run-pass/expr-block-box.rs index 8385c95d999..af1fab2b595 100644 --- a/src/test/run-pass/expr-block-box.rs +++ b/src/test/run-pass/expr-block-box.rs @@ -11,5 +11,4 @@ -// -*- rust -*- pub fn main() { let x = { @100 }; assert!((*x == 100)); } diff --git a/src/test/run-pass/expr-block-generic-box2.rs b/src/test/run-pass/expr-block-generic-box2.rs index 086a5b12292..562c3c1e523 100644 --- a/src/test/run-pass/expr-block-generic-box2.rs +++ b/src/test/run-pass/expr-block-generic-box2.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/expr-block-generic-unique1.rs b/src/test/run-pass/expr-block-generic-unique1.rs index b225f1a8ddf..159c2bfb8ef 100644 --- a/src/test/run-pass/expr-block-generic-unique1.rs +++ b/src/test/run-pass/expr-block-generic-unique1.rs @@ -10,7 +10,6 @@ -// -*- rust -*- type compare<'self, T> = &'self fn(~T, ~T) -> bool; fn test_generic(expected: ~T, eq: compare) { diff --git a/src/test/run-pass/expr-block-generic-unique2.rs b/src/test/run-pass/expr-block-generic-unique2.rs index 3484a4f7f5a..ff811a9f458 100644 --- a/src/test/run-pass/expr-block-generic-unique2.rs +++ b/src/test/run-pass/expr-block-generic-unique2.rs @@ -9,7 +9,6 @@ // except according to those terms. // xfail-fast -// -*- rust -*- type compare<'self, T> = &'self fn(T, T) -> bool; diff --git a/src/test/run-pass/expr-block-generic.rs b/src/test/run-pass/expr-block-generic.rs index 2f379602c6b..800f22169d3 100644 --- a/src/test/run-pass/expr-block-generic.rs +++ b/src/test/run-pass/expr-block-generic.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/expr-block-unique.rs b/src/test/run-pass/expr-block-unique.rs index 72151f7abe6..6ef7ffe86fa 100644 --- a/src/test/run-pass/expr-block-unique.rs +++ b/src/test/run-pass/expr-block-unique.rs @@ -11,5 +11,4 @@ -// -*- rust -*- pub fn main() { let x = { ~100 }; assert!((*x == 100)); } diff --git a/src/test/run-pass/expr-block.rs b/src/test/run-pass/expr-block.rs index e43377c71fe..ee1d955b0d3 100644 --- a/src/test/run-pass/expr-block.rs +++ b/src/test/run-pass/expr-block.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for standalone blocks as expressions fn test_basic() { let rs: bool = { true }; assert!((rs)); } diff --git a/src/test/run-pass/expr-if-box.rs b/src/test/run-pass/expr-if-box.rs index e560da224ff..d31723f9c6c 100644 --- a/src/test/run-pass/expr-if-box.rs +++ b/src/test/run-pass/expr-if-box.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for if as expressions returning boxed types fn test_box() { diff --git a/src/test/run-pass/expr-if-generic.rs b/src/test/run-pass/expr-if-generic.rs index 1bbf3a537db..8e6e3f7ddda 100644 --- a/src/test/run-pass/expr-if-generic.rs +++ b/src/test/run-pass/expr-if-generic.rs @@ -9,7 +9,6 @@ // except according to those terms. // xfail-fast -// -*- rust -*- // Tests for if as expressions with dynamic type sizes type compare = &'static fn(T, T) -> bool; diff --git a/src/test/run-pass/expr-if-struct.rs b/src/test/run-pass/expr-if-struct.rs index 00e0fe1f582..c40f2aa01c1 100644 --- a/src/test/run-pass/expr-if-struct.rs +++ b/src/test/run-pass/expr-if-struct.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for if as expressions returning nominal types diff --git a/src/test/run-pass/expr-if-unique.rs b/src/test/run-pass/expr-if-unique.rs index 22714619271..b40dc03ccfb 100644 --- a/src/test/run-pass/expr-if-unique.rs +++ b/src/test/run-pass/expr-if-unique.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for if as expressions returning boxed types fn test_box() { diff --git a/src/test/run-pass/expr-if.rs b/src/test/run-pass/expr-if.rs index 54f831e44b6..23446b3f650 100644 --- a/src/test/run-pass/expr-if.rs +++ b/src/test/run-pass/expr-if.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for if as expressions fn test_if() { let rs: bool = if true { true } else { false }; assert!((rs)); } diff --git a/src/test/run-pass/expr-match-box.rs b/src/test/run-pass/expr-match-box.rs index 84a78637187..5e6abc3e786 100644 --- a/src/test/run-pass/expr-match-box.rs +++ b/src/test/run-pass/expr-match-box.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for match as expressions resulting in boxed types fn test_box() { diff --git a/src/test/run-pass/expr-match-generic-unique1.rs b/src/test/run-pass/expr-match-generic-unique1.rs index 7371f8fd89b..b4bc7d3bef6 100644 --- a/src/test/run-pass/expr-match-generic-unique1.rs +++ b/src/test/run-pass/expr-match-generic-unique1.rs @@ -10,7 +10,6 @@ -// -*- rust -*- type compare = &'static fn(~T, ~T) -> bool; fn test_generic(expected: ~T, eq: compare) { diff --git a/src/test/run-pass/expr-match-generic-unique2.rs b/src/test/run-pass/expr-match-generic-unique2.rs index d07d40e6757..8eb5861f71e 100644 --- a/src/test/run-pass/expr-match-generic-unique2.rs +++ b/src/test/run-pass/expr-match-generic-unique2.rs @@ -9,7 +9,6 @@ // except according to those terms. // xfail-fast -// -*- rust -*- type compare<'self, T> = &'self fn(T, T) -> bool; diff --git a/src/test/run-pass/expr-match-generic.rs b/src/test/run-pass/expr-match-generic.rs index b43085d346f..842fdf0b4fc 100644 --- a/src/test/run-pass/expr-match-generic.rs +++ b/src/test/run-pass/expr-match-generic.rs @@ -9,7 +9,6 @@ // except according to those terms. // xfail-fast -// -*- rust -*- type compare = extern "Rust" fn(T, T) -> bool; diff --git a/src/test/run-pass/expr-match-struct.rs b/src/test/run-pass/expr-match-struct.rs index 7cfcc38f8dd..66ab591bb52 100644 --- a/src/test/run-pass/expr-match-struct.rs +++ b/src/test/run-pass/expr-match-struct.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for match as expressions resulting in struct types struct R { i: int } diff --git a/src/test/run-pass/expr-match-unique.rs b/src/test/run-pass/expr-match-unique.rs index cdd4e45877a..85c6652c5aa 100644 --- a/src/test/run-pass/expr-match-unique.rs +++ b/src/test/run-pass/expr-match-unique.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for match as expressions resulting in boxed types fn test_box() { diff --git a/src/test/run-pass/expr-match.rs b/src/test/run-pass/expr-match.rs index 1e9ad5283d1..b8996de4199 100644 --- a/src/test/run-pass/expr-match.rs +++ b/src/test/run-pass/expr-match.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Tests for using match as an expression fn test_basic() { diff --git a/src/test/run-pass/fact.rs b/src/test/run-pass/fact.rs index 1c9f5e254f1..2f79784ce54 100644 --- a/src/test/run-pass/fact.rs +++ b/src/test/run-pass/fact.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn f(x: int) -> int { // info!("in f:"); diff --git a/src/test/run-pass/fat-arrow-match.rs b/src/test/run-pass/fat-arrow-match.rs index 63e62e254b8..973da6eab8d 100644 --- a/src/test/run-pass/fat-arrow-match.rs +++ b/src/test/run-pass/fat-arrow-match.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/fn-lval.rs b/src/test/run-pass/fn-lval.rs index b19708a9712..4a81d8f0ece 100644 --- a/src/test/run-pass/fn-lval.rs +++ b/src/test/run-pass/fn-lval.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn foo(_f: extern fn(int) -> int) { } fn id(x: int) -> int { return x; } diff --git a/src/test/run-pass/foreach-nested.rs b/src/test/run-pass/foreach-nested.rs index 6987e2cf97d..36c086093cf 100644 --- a/src/test/run-pass/foreach-nested.rs +++ b/src/test/run-pass/foreach-nested.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn two(it: &fn(int)) { it(0); it(1); } pub fn main() { diff --git a/src/test/run-pass/foreach-simple-outer-slot.rs b/src/test/run-pass/foreach-simple-outer-slot.rs index 53201c7a91a..f38ac1ed38b 100644 --- a/src/test/run-pass/foreach-simple-outer-slot.rs +++ b/src/test/run-pass/foreach-simple-outer-slot.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let mut sum: int = 0; do first_ten |i| { info!("main"); info!("{}", i); sum = sum + i; } diff --git a/src/test/run-pass/foreign-mod-src/inner.rs b/src/test/run-pass/foreign-mod-src/inner.rs index 8f92cb95187..2fd316ce348 100644 --- a/src/test/run-pass/foreign-mod-src/inner.rs +++ b/src/test/run-pass/foreign-mod-src/inner.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let f = "Makefile"; let s = rustrt.str_buf(f); diff --git a/src/test/run-pass/foreign-mod.rc b/src/test/run-pass/foreign-mod.rc index a11e89f37be..f5bfbec1f4d 100644 --- a/src/test/run-pass/foreign-mod.rc +++ b/src/test/run-pass/foreign-mod.rc @@ -9,7 +9,6 @@ // except according to those terms. // xfail-test FIXME #7308 -// -*- rust -*- native mod libc = target_libc { fn open(int name, int flags, int mode) -> int; diff --git a/src/test/run-pass/foreign-src/foreign.rs b/src/test/run-pass/foreign-src/foreign.rs index df0d1bcd4b9..2e07795ec27 100644 --- a/src/test/run-pass/foreign-src/foreign.rs +++ b/src/test/run-pass/foreign-src/foreign.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { libc.puts(rustrt.str_buf("hello, extern world 1")); libc.puts(rustrt.str_buf("hello, extern world 2")); diff --git a/src/test/run-pass/foreign.rc b/src/test/run-pass/foreign.rc index 9fdcdca6072..5c794176dd5 100644 --- a/src/test/run-pass/foreign.rc +++ b/src/test/run-pass/foreign.rc @@ -9,7 +9,6 @@ // except according to those terms. // xfail-test -// -*- rust -*- native "cdecl" mod rustrt { fn str_buf(str s) -> int; diff --git a/src/test/run-pass/fun-call-variants.rs b/src/test/run-pass/fun-call-variants.rs index 5011998f929..0edfe174680 100644 --- a/src/test/run-pass/fun-call-variants.rs +++ b/src/test/run-pass/fun-call-variants.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/fun-indirect-call.rs b/src/test/run-pass/fun-indirect-call.rs index 738752924c3..72383104b3c 100644 --- a/src/test/run-pass/fun-indirect-call.rs +++ b/src/test/run-pass/fun-indirect-call.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn f() -> int { return 42; } pub fn main() { diff --git a/src/test/run-pass/generic-fn-infer.rs b/src/test/run-pass/generic-fn-infer.rs index 092a17bf456..2f88a54e3f5 100644 --- a/src/test/run-pass/generic-fn-infer.rs +++ b/src/test/run-pass/generic-fn-infer.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Issue #45: infer type parameters in function applications fn id(x: T) -> T { return x; } diff --git a/src/test/run-pass/generic-fn-twice.rs b/src/test/run-pass/generic-fn-twice.rs index aace9571a09..6b503e711e9 100644 --- a/src/test/run-pass/generic-fn-twice.rs +++ b/src/test/run-pass/generic-fn-twice.rs @@ -11,7 +11,6 @@ -// -*- rust -*- mod foomod { pub fn foo() { } } diff --git a/src/test/run-pass/generic-fn.rs b/src/test/run-pass/generic-fn.rs index 652349dea82..27dc4ad8069 100644 --- a/src/test/run-pass/generic-fn.rs +++ b/src/test/run-pass/generic-fn.rs @@ -10,7 +10,6 @@ #[allow(dead_assignment)]; -// -*- rust -*- fn id(x: T) -> T { return x; } struct Triple {x: int, y: int, z: int} diff --git a/src/test/run-pass/generic-tag-values.rs b/src/test/run-pass/generic-tag-values.rs index 984765c4e51..7c4139664af 100644 --- a/src/test/run-pass/generic-tag-values.rs +++ b/src/test/run-pass/generic-tag-values.rs @@ -11,7 +11,6 @@ -// -*- rust -*- enum noption { some(T), } struct Pair { x: int, y: int } diff --git a/src/test/run-pass/hello.rs b/src/test/run-pass/hello.rs index 93f6c3db255..1322756407a 100644 --- a/src/test/run-pass/hello.rs +++ b/src/test/run-pass/hello.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/i32-sub.rs b/src/test/run-pass/i32-sub.rs index af3b724cfe2..e5451431ade 100644 --- a/src/test/run-pass/i32-sub.rs +++ b/src/test/run-pass/i32-sub.rs @@ -11,5 +11,4 @@ -// -*- rust -*- pub fn main() { let mut x: i32 = -400_i32; x = 0_i32 - x; assert!((x == 400_i32)); } diff --git a/src/test/run-pass/i8-incr.rs b/src/test/run-pass/i8-incr.rs index 799910a6a5f..fbb4e446dd5 100644 --- a/src/test/run-pass/i8-incr.rs +++ b/src/test/run-pass/i8-incr.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let mut x: i8 = -12i8; let y: i8 = -12i8; diff --git a/src/test/run-pass/inner-module.rs b/src/test/run-pass/inner-module.rs index 1e53dd849fc..6dbc80c6a45 100644 --- a/src/test/run-pass/inner-module.rs +++ b/src/test/run-pass/inner-module.rs @@ -11,7 +11,6 @@ -// -*- rust -*- mod inner { pub mod inner2 { pub fn hello() { info!("hello, modular world"); } diff --git a/src/test/run-pass/int.rs b/src/test/run-pass/int.rs index c6632f8cd6c..169be054282 100644 --- a/src/test/run-pass/int.rs +++ b/src/test/run-pass/int.rs @@ -11,5 +11,4 @@ -// -*- rust -*- pub fn main() { let _x: int = 10; } diff --git a/src/test/run-pass/item-name-overload.rs b/src/test/run-pass/item-name-overload.rs index c6b777d3d8a..9aefda4bc71 100644 --- a/src/test/run-pass/item-name-overload.rs +++ b/src/test/run-pass/item-name-overload.rs @@ -11,7 +11,6 @@ -// -*- rust -*- mod foo { pub fn baz() { } } diff --git a/src/test/run-pass/large-records.rs b/src/test/run-pass/large-records.rs index 788d9cf03e0..20ec058b9f4 100644 --- a/src/test/run-pass/large-records.rs +++ b/src/test/run-pass/large-records.rs @@ -11,7 +11,6 @@ -// -*- rust -*- struct Large {a: int, b: int, diff --git a/src/test/run-pass/match-tag.rs b/src/test/run-pass/match-tag.rs index 9eeb12d9c45..25e5a84ffc2 100644 --- a/src/test/run-pass/match-tag.rs +++ b/src/test/run-pass/match-tag.rs @@ -11,7 +11,6 @@ -// -*- rust -*- enum color { rgb(int, int, int), rgba(int, int, int, int), diff --git a/src/test/run-pass/mlist-cycle.rs b/src/test/run-pass/mlist-cycle.rs index cb33feef539..66e7fc4265b 100644 --- a/src/test/run-pass/mlist-cycle.rs +++ b/src/test/run-pass/mlist-cycle.rs @@ -9,7 +9,6 @@ // except according to those terms. // xfail-test -// -*- rust -*- extern mod std; use std::gc; use std::gc::rustrt; diff --git a/src/test/run-pass/mlist.rs b/src/test/run-pass/mlist.rs index 9fba629be2a..13b19a258f6 100644 --- a/src/test/run-pass/mlist.rs +++ b/src/test/run-pass/mlist.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/multiline-comment.rs b/src/test/run-pass/multiline-comment.rs index 08fd933a142..6203d47be5e 100644 --- a/src/test/run-pass/multiline-comment.rs +++ b/src/test/run-pass/multiline-comment.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/mutable-alias-vec.rs b/src/test/run-pass/mutable-alias-vec.rs index 0d08c11b664..9779db91a9c 100644 --- a/src/test/run-pass/mutable-alias-vec.rs +++ b/src/test/run-pass/mutable-alias-vec.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// -*- rust -*- extern mod extra; fn grow(v: &mut ~[int]) { diff --git a/src/test/run-pass/opeq.rs b/src/test/run-pass/opeq.rs index c83a3b7dfd0..1fda2c80608 100644 --- a/src/test/run-pass/opeq.rs +++ b/src/test/run-pass/opeq.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let mut x: int = 1; x *= 2; diff --git a/src/test/run-pass/parse-fail.rs b/src/test/run-pass/parse-fail.rs index cfb5ecb1f5d..087c04e0ff0 100644 --- a/src/test/run-pass/parse-fail.rs +++ b/src/test/run-pass/parse-fail.rs @@ -10,7 +10,6 @@ #[allow(unreachable_code)]; -// -*- rust -*- fn dont_call_me() { fail!(); info!("{}", 1); } pub fn main() { } diff --git a/src/test/run-pass/readalias.rs b/src/test/run-pass/readalias.rs index 7447073b47c..51e955c4761 100644 --- a/src/test/run-pass/readalias.rs +++ b/src/test/run-pass/readalias.rs @@ -11,7 +11,6 @@ -// -*- rust -*- struct Point {x: int, y: int, z: int} fn f(p: Point) { assert!((p.z == 12)); } diff --git a/src/test/run-pass/rec-auto.rs b/src/test/run-pass/rec-auto.rs index 669965bd617..57da2e03832 100644 --- a/src/test/run-pass/rec-auto.rs +++ b/src/test/run-pass/rec-auto.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // Issue #50. diff --git a/src/test/run-pass/rec-extend.rs b/src/test/run-pass/rec-extend.rs index 4e029be8f76..de2e937ee84 100644 --- a/src/test/run-pass/rec-extend.rs +++ b/src/test/run-pass/rec-extend.rs @@ -11,7 +11,6 @@ -// -*- rust -*- struct Point {x: int, y: int} pub fn main() { diff --git a/src/test/run-pass/rec-tup.rs b/src/test/run-pass/rec-tup.rs index fb5c5f3ce01..0dc547f1a02 100644 --- a/src/test/run-pass/rec-tup.rs +++ b/src/test/run-pass/rec-tup.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/rec.rs b/src/test/run-pass/rec.rs index fa3fa01dd4d..b9b5cfebb0b 100644 --- a/src/test/run-pass/rec.rs +++ b/src/test/run-pass/rec.rs @@ -11,7 +11,6 @@ -// -*- rust -*- struct Rect {x: int, y: int, w: int, h: int} fn f(r: Rect, x: int, y: int, w: int, h: int) { diff --git a/src/test/run-pass/ret-bang.rs b/src/test/run-pass/ret-bang.rs index 9754b08cd18..4f9e3c2c1f6 100644 --- a/src/test/run-pass/ret-bang.rs +++ b/src/test/run-pass/ret-bang.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn my_err(s: ~str) -> ! { error!("{:?}", s); fail!(); } fn okay(i: uint) -> int { diff --git a/src/test/run-pass/shadow.rs b/src/test/run-pass/shadow.rs index 050c505b7c1..c5211889f3f 100644 --- a/src/test/run-pass/shadow.rs +++ b/src/test/run-pass/shadow.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/size-and-align.rs b/src/test/run-pass/size-and-align.rs index 4d2309cb869..2caef2d1b9e 100644 --- a/src/test/run-pass/size-and-align.rs +++ b/src/test/run-pass/size-and-align.rs @@ -11,7 +11,6 @@ -// -*- rust -*- enum clam { a(T, int), b, } fn uhoh(v: ~[clam]) { diff --git a/src/test/run-pass/spawn-fn.rs b/src/test/run-pass/spawn-fn.rs index b8f356f80d4..c56991e541f 100644 --- a/src/test/run-pass/spawn-fn.rs +++ b/src/test/run-pass/spawn-fn.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/spawn.rs b/src/test/run-pass/spawn.rs index 5c24c622812..7e486a1129d 100644 --- a/src/test/run-pass/spawn.rs +++ b/src/test/run-pass/spawn.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/spawn2.rs b/src/test/run-pass/spawn2.rs index a94877714c5..81c7483ffef 100644 --- a/src/test/run-pass/spawn2.rs +++ b/src/test/run-pass/spawn2.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/str-append.rs b/src/test/run-pass/str-append.rs index 127838fd9ec..bede746f569 100644 --- a/src/test/run-pass/str-append.rs +++ b/src/test/run-pass/str-append.rs @@ -10,7 +10,6 @@ -// -*- rust -*- extern mod extra; fn test1() { diff --git a/src/test/run-pass/str-concat.rs b/src/test/run-pass/str-concat.rs index 870fc20f771..8b87682384b 100644 --- a/src/test/run-pass/str-concat.rs +++ b/src/test/run-pass/str-concat.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let a: ~str = ~"hello"; let b: ~str = ~"world"; diff --git a/src/test/run-pass/str-multiline.rs b/src/test/run-pass/str-multiline.rs index 28c2cd7a41a..59736829a23 100644 --- a/src/test/run-pass/str-multiline.rs +++ b/src/test/run-pass/str-multiline.rs @@ -10,7 +10,6 @@ -// -*- rust -*- extern mod extra; pub fn main() { diff --git a/src/test/run-pass/tag.rs b/src/test/run-pass/tag.rs index ff251a70f65..bb88e1b3f1e 100644 --- a/src/test/run-pass/tag.rs +++ b/src/test/run-pass/tag.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// -*- rust -*- enum colour { red(int, int), green, } diff --git a/src/test/run-pass/tail-cps.rs b/src/test/run-pass/tail-cps.rs index 22e2304c0ce..d0ba12bec1c 100644 --- a/src/test/run-pass/tail-cps.rs +++ b/src/test/run-pass/tail-cps.rs @@ -11,7 +11,6 @@ -// -*- rust -*- fn checktrue(rs: bool) -> bool { assert!((rs)); return true; } pub fn main() { let k = checktrue; evenk(42, k); oddk(45, k); } diff --git a/src/test/run-pass/tail-direct.rs b/src/test/run-pass/tail-direct.rs index 847e848f0d8..fd03d280503 100644 --- a/src/test/run-pass/tail-direct.rs +++ b/src/test/run-pass/tail-direct.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { assert!((even(42))); assert!((odd(45))); } fn even(n: int) -> bool { if n == 0 { return true; } else { return odd(n - 1); } } diff --git a/src/test/run-pass/task-comm-16.rs b/src/test/run-pass/task-comm-16.rs index d5a4b1a72c9..af4a8f68ac2 100644 --- a/src/test/run-pass/task-comm-16.rs +++ b/src/test/run-pass/task-comm-16.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/task-comm-chan-nil.rs b/src/test/run-pass/task-comm-chan-nil.rs index 8010089f3c6..cd53c633c4e 100644 --- a/src/test/run-pass/task-comm-chan-nil.rs +++ b/src/test/run-pass/task-comm-chan-nil.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/threads.rs b/src/test/run-pass/threads.rs index d5f853fc241..baa2b363a23 100644 --- a/src/test/run-pass/threads.rs +++ b/src/test/run-pass/threads.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/tup.rs b/src/test/run-pass/tup.rs index 795ed1d0f8a..dd508d6e90c 100644 --- a/src/test/run-pass/tup.rs +++ b/src/test/run-pass/tup.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/u32-decr.rs b/src/test/run-pass/u32-decr.rs index f40d06f6c92..6ad320580df 100644 --- a/src/test/run-pass/u32-decr.rs +++ b/src/test/run-pass/u32-decr.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let mut word: u32 = 200000u32; word = word - 1u32; diff --git a/src/test/run-pass/u8-incr-decr.rs b/src/test/run-pass/u8-incr-decr.rs index 18543599fd0..0a178b250af 100644 --- a/src/test/run-pass/u8-incr-decr.rs +++ b/src/test/run-pass/u8-incr-decr.rs @@ -11,7 +11,6 @@ -// -*- rust -*- // These constants were chosen because they aren't used anywhere // in the rest of the generated code so they're easily grep-able. diff --git a/src/test/run-pass/u8-incr.rs b/src/test/run-pass/u8-incr.rs index 1a4013645e8..90ed3a5eec3 100644 --- a/src/test/run-pass/u8-incr.rs +++ b/src/test/run-pass/u8-incr.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let mut x: u8 = 12u8; let y: u8 = 12u8; diff --git a/src/test/run-pass/uint.rs b/src/test/run-pass/uint.rs index 9b645efb936..876e37c5351 100644 --- a/src/test/run-pass/uint.rs +++ b/src/test/run-pass/uint.rs @@ -11,5 +11,4 @@ -// -*- rust -*- pub fn main() { let _x: uint = 10 as uint; } diff --git a/src/test/run-pass/unit.rs b/src/test/run-pass/unit.rs index a74bfc365e8..f42322799c1 100644 --- a/src/test/run-pass/unit.rs +++ b/src/test/run-pass/unit.rs @@ -11,7 +11,6 @@ #[allow(unused_variable)]; #[allow(dead_assignment)]; -// -*- rust -*- fn f(u: ()) { return u; } pub fn main() { diff --git a/src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs b/src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs index 8b1c003c66f..4ce3f2c53b3 100644 --- a/src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs +++ b/src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs b/src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs index 1564045a435..e68b868a246 100644 --- a/src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs +++ b/src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/vec-concat.rs b/src/test/run-pass/vec-concat.rs index 3a4a424c3b8..7014ad5df14 100644 --- a/src/test/run-pass/vec-concat.rs +++ b/src/test/run-pass/vec-concat.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/vec.rs b/src/test/run-pass/vec.rs index 34fcca9e35b..cb67546dc1b 100644 --- a/src/test/run-pass/vec.rs +++ b/src/test/run-pass/vec.rs @@ -11,7 +11,6 @@ -// -*- rust -*- pub fn main() { let v: ~[int] = ~[10, 20]; assert_eq!(v[0], 10); diff --git a/src/test/run-pass/while-with-break.rs b/src/test/run-pass/while-with-break.rs index 82fb39a7c62..61a13a42fa0 100644 --- a/src/test/run-pass/while-with-break.rs +++ b/src/test/run-pass/while-with-break.rs @@ -1,7 +1,6 @@ -// -*- rust -*- pub fn main() { let mut i: int = 90; while i < 100 { diff --git a/src/test/run-pass/yield.rs b/src/test/run-pass/yield.rs index 2c331f29223..47bf6323c32 100644 --- a/src/test/run-pass/yield.rs +++ b/src/test/run-pass/yield.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/yield1.rs b/src/test/run-pass/yield1.rs index 21088c9dacc..39d6bf7390f 100644 --- a/src/test/run-pass/yield1.rs +++ b/src/test/run-pass/yield1.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. diff --git a/src/test/run-pass/yield2.rs b/src/test/run-pass/yield2.rs index aaf4b257f7a..7bc3c1fc1f4 100644 --- a/src/test/run-pass/yield2.rs +++ b/src/test/run-pass/yield2.rs @@ -1,4 +1,3 @@ -// -*- rust -*- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT.