diff --git a/src/test/ui/run-pass/array-slice-vec/arr_cycle.rs b/src/test/ui/run-pass/array-slice-vec/arr_cycle.rs index 400458b614b..4029a270c8d 100644 --- a/src/test/ui/run-pass/array-slice-vec/arr_cycle.rs +++ b/src/test/ui/run-pass/array-slice-vec/arr_cycle.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::cell::Cell; #[derive(Debug)] diff --git a/src/test/ui/run-pass/array-slice-vec/array_const_index-1.rs b/src/test/ui/run-pass/array-slice-vec/array_const_index-1.rs index 3e4504eb195..dfaf0b33404 100644 --- a/src/test/ui/run-pass/array-slice-vec/array_const_index-1.rs +++ b/src/test/ui/run-pass/array-slice-vec/array_const_index-1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(const_indexing)] fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-1.rs b/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-1.rs index db055e6886a..f02cd4239b5 100644 --- a/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-1.rs +++ b/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that we cleanup a fixed size Box<[D; k]> properly when D has a // destructor. diff --git a/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-2.rs b/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-2.rs index 9dde53bb31d..d8a4d9a23be 100644 --- a/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-2.rs +++ b/src/test/ui/run-pass/array-slice-vec/box-of-array-of-drop-2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that we cleanup dynamic sized Box<[D]> properly when D has a // destructor. diff --git a/src/test/ui/run-pass/array-slice-vec/cast-in-array-size.rs b/src/test/ui/run-pass/array-slice-vec/cast-in-array-size.rs index 6f1fafba563..d78bc0b0072 100644 --- a/src/test/ui/run-pass/array-slice-vec/cast-in-array-size.rs +++ b/src/test/ui/run-pass/array-slice-vec/cast-in-array-size.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // issues #10618 and #16382 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/array-slice-vec/check-static-mut-slices.rs b/src/test/ui/run-pass/array-slice-vec/check-static-mut-slices.rs index 1cfe5bdaebb..3d2fc8195eb 100644 --- a/src/test/ui/run-pass/array-slice-vec/check-static-mut-slices.rs +++ b/src/test/ui/run-pass/array-slice-vec/check-static-mut-slices.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Checks that mutable static items can have mutable slices diff --git a/src/test/ui/run-pass/array-slice-vec/check-static-slice.rs b/src/test/ui/run-pass/array-slice-vec/check-static-slice.rs index b5f2bea5a38..6627095c32b 100644 --- a/src/test/ui/run-pass/array-slice-vec/check-static-slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/check-static-slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Check that the various ways of getting to a reference to a vec (both sized // and unsized) work properly. diff --git a/src/test/ui/run-pass/array-slice-vec/copy-out-of-array-1.rs b/src/test/ui/run-pass/array-slice-vec/copy-out-of-array-1.rs index 54147c73ff0..917683e4eeb 100644 --- a/src/test/ui/run-pass/array-slice-vec/copy-out-of-array-1.rs +++ b/src/test/ui/run-pass/array-slice-vec/copy-out-of-array-1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Ensure that we can copy out of a fixed-size array. // // (Compare with compile-fail/move-out-of-array-1.rs) diff --git a/src/test/ui/run-pass/array-slice-vec/destructure-array-1.rs b/src/test/ui/run-pass/array-slice-vec/destructure-array-1.rs index 43271162c18..17620f62be6 100644 --- a/src/test/ui/run-pass/array-slice-vec/destructure-array-1.rs +++ b/src/test/ui/run-pass/array-slice-vec/destructure-array-1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Ensure that we can do a destructuring bind of a fixed-size array, // even when the element type has a destructor. diff --git a/src/test/ui/run-pass/array-slice-vec/empty-mutable-vec.rs b/src/test/ui/run-pass/array-slice-vec/empty-mutable-vec.rs index 757579faa17..7411d574321 100644 --- a/src/test/ui/run-pass/array-slice-vec/empty-mutable-vec.rs +++ b/src/test/ui/run-pass/array-slice-vec/empty-mutable-vec.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // pretty-expanded FIXME #23616 #![allow(unused_mut)] diff --git a/src/test/ui/run-pass/array-slice-vec/estr-slice.rs b/src/test/ui/run-pass/array-slice-vec/estr-slice.rs index 5364cdc627f..768229aafbf 100644 --- a/src/test/ui/run-pass/array-slice-vec/estr-slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/estr-slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let x = "hello"; diff --git a/src/test/ui/run-pass/array-slice-vec/evec-slice.rs b/src/test/ui/run-pass/array-slice-vec/evec-slice.rs index 52ccbe52d46..3b996300b71 100644 --- a/src/test/ui/run-pass/array-slice-vec/evec-slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/evec-slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![allow(dead_assignment)] pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/fixed_length_copy.rs b/src/test/ui/run-pass/array-slice-vec/fixed_length_copy.rs index eefd9447535..09492e37e28 100644 --- a/src/test/ui/run-pass/array-slice-vec/fixed_length_copy.rs +++ b/src/test/ui/run-pass/array-slice-vec/fixed_length_copy.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let arr = [1,2,3]; diff --git a/src/test/ui/run-pass/array-slice-vec/huge-largest-array.rs b/src/test/ui/run-pass/array-slice-vec/huge-largest-array.rs index f0bb31b8470..27b4e68e771 100644 --- a/src/test/ui/run-pass/array-slice-vec/huge-largest-array.rs +++ b/src/test/ui/run-pass/array-slice-vec/huge-largest-array.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::mem::size_of; diff --git a/src/test/ui/run-pass/array-slice-vec/ivec-pass-by-value.rs b/src/test/ui/run-pass/array-slice-vec/ivec-pass-by-value.rs index e3b42e60645..2f3efef5636 100644 --- a/src/test/ui/run-pass/array-slice-vec/ivec-pass-by-value.rs +++ b/src/test/ui/run-pass/array-slice-vec/ivec-pass-by-value.rs @@ -8,5 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn f(_a: Vec ) { } pub fn main() { f(vec![1, 2, 3, 4, 5]); } diff --git a/src/test/ui/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs b/src/test/ui/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs index 8b5b290aa6f..49dc348952b 100644 --- a/src/test/ui/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs +++ b/src/test/ui/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn test1() { let mut ints = [0; 32]; diff --git a/src/test/ui/run-pass/array-slice-vec/mutable-alias-vec.rs b/src/test/ui/run-pass/array-slice-vec/mutable-alias-vec.rs index 3f90cedca9b..dc2548ad53c 100644 --- a/src/test/ui/run-pass/array-slice-vec/mutable-alias-vec.rs +++ b/src/test/ui/run-pass/array-slice-vec/mutable-alias-vec.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn grow(v: &mut Vec ) { v.push(1); } diff --git a/src/test/ui/run-pass/array-slice-vec/nested-vec-1.rs b/src/test/ui/run-pass/array-slice-vec/nested-vec-1.rs index 2b92ed38eab..62bcc5f7254 100644 --- a/src/test/ui/run-pass/array-slice-vec/nested-vec-1.rs +++ b/src/test/ui/run-pass/array-slice-vec/nested-vec-1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that using the `vec!` macro nested within itself works fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/nested-vec-2.rs b/src/test/ui/run-pass/array-slice-vec/nested-vec-2.rs index 669f9e4f4bb..4af2350cc36 100644 --- a/src/test/ui/run-pass/array-slice-vec/nested-vec-2.rs +++ b/src/test/ui/run-pass/array-slice-vec/nested-vec-2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that using the `vec!` macro nested within itself works // when the contents implement Drop diff --git a/src/test/ui/run-pass/array-slice-vec/nested-vec-3.rs b/src/test/ui/run-pass/array-slice-vec/nested-vec-3.rs index d1a63b44392..0b175f7453b 100644 --- a/src/test/ui/run-pass/array-slice-vec/nested-vec-3.rs +++ b/src/test/ui/run-pass/array-slice-vec/nested-vec-3.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-emscripten no threads support // Test that using the `vec!` macro nested within itself works when diff --git a/src/test/ui/run-pass/array-slice-vec/new-style-fixed-length-vec.rs b/src/test/ui/run-pass/array-slice-vec/new-style-fixed-length-vec.rs index 4d9f0394eb4..268fa5c4b59 100644 --- a/src/test/ui/run-pass/array-slice-vec/new-style-fixed-length-vec.rs +++ b/src/test/ui/run-pass/array-slice-vec/new-style-fixed-length-vec.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + static FOO: [isize; 3] = [1, 2, 3]; pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs b/src/test/ui/run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs index efa73ad92ce..3e692fd5836 100644 --- a/src/test/ui/run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + trait sum { fn sum_(self) -> isize; diff --git a/src/test/ui/run-pass/array-slice-vec/repeated-vector-syntax.rs b/src/test/ui/run-pass/array-slice-vec/repeated-vector-syntax.rs index 6d72e9774dc..d706be4c336 100644 --- a/src/test/ui/run-pass/array-slice-vec/repeated-vector-syntax.rs +++ b/src/test/ui/run-pass/array-slice-vec/repeated-vector-syntax.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let x = [ [true]; 512 ]; let y = [ 0; 1 ]; diff --git a/src/test/ui/run-pass/array-slice-vec/show-boxed-slice.rs b/src/test/ui/run-pass/array-slice-vec/show-boxed-slice.rs index 47d0737dfc4..dda4ce9f227 100644 --- a/src/test/ui/run-pass/array-slice-vec/show-boxed-slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/show-boxed-slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #[derive(Debug)] struct Foo(Box<[u8]>); diff --git a/src/test/ui/run-pass/array-slice-vec/slice-2.rs b/src/test/ui/run-pass/array-slice-vec/slice-2.rs index 3a99fd9af93..1f71ceac04f 100644 --- a/src/test/ui/run-pass/array-slice-vec/slice-2.rs +++ b/src/test/ui/run-pass/array-slice-vec/slice-2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test slicing expressions on slices and Vecs. diff --git a/src/test/ui/run-pass/array-slice-vec/slice-of-zero-size-elements.rs b/src/test/ui/run-pass/array-slice-vec/slice-of-zero-size-elements.rs index ab22b820503..e8e3668491a 100644 --- a/src/test/ui/run-pass/array-slice-vec/slice-of-zero-size-elements.rs +++ b/src/test/ui/run-pass/array-slice-vec/slice-of-zero-size-elements.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags: -C debug-assertions #![feature(iter_to_slice)] diff --git a/src/test/ui/run-pass/array-slice-vec/slice-panic-1.rs b/src/test/ui/run-pass/array-slice-vec/slice-panic-1.rs index afec06adc86..b9d816acaa2 100644 --- a/src/test/ui/run-pass/array-slice-vec/slice-panic-1.rs +++ b/src/test/ui/run-pass/array-slice-vec/slice-panic-1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-emscripten no threads support // Test that if a slicing expr[..] fails, the correct cleanups happen. diff --git a/src/test/ui/run-pass/array-slice-vec/slice-panic-2.rs b/src/test/ui/run-pass/array-slice-vec/slice-panic-2.rs index 2932b585b88..787d10b042f 100644 --- a/src/test/ui/run-pass/array-slice-vec/slice-panic-2.rs +++ b/src/test/ui/run-pass/array-slice-vec/slice-panic-2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-emscripten no threads support // Test that if a slicing expr[..] fails, the correct cleanups happen. diff --git a/src/test/ui/run-pass/array-slice-vec/slice.rs b/src/test/ui/run-pass/array-slice-vec/slice.rs index dfd7b947c57..6c43d883230 100644 --- a/src/test/ui/run-pass/array-slice-vec/slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test slicing sugar. extern crate core; diff --git a/src/test/ui/run-pass/array-slice-vec/slice_binary_search.rs b/src/test/ui/run-pass/array-slice-vec/slice_binary_search.rs index 80b370d58fc..081b06bea5c 100644 --- a/src/test/ui/run-pass/array-slice-vec/slice_binary_search.rs +++ b/src/test/ui/run-pass/array-slice-vec/slice_binary_search.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test binary_search_by_key lifetime. Issue #34683 #[derive(Debug)] diff --git a/src/test/ui/run-pass/array-slice-vec/variance-vec-covariant.rs b/src/test/ui/run-pass/array-slice-vec/variance-vec-covariant.rs index caec6df5a4d..5cf52006f3c 100644 --- a/src/test/ui/run-pass/array-slice-vec/variance-vec-covariant.rs +++ b/src/test/ui/run-pass/array-slice-vec/variance-vec-covariant.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that vec is now covariant in its argument type. #![allow(dead_code)] diff --git a/src/test/ui/run-pass/array-slice-vec/vec-concat.rs b/src/test/ui/run-pass/array-slice-vec/vec-concat.rs index 8ba8df57e54..7c734d8d6a2 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-concat.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-concat.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::vec; pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-dst.rs b/src/test/ui/run-pass/array-slice-vec/vec-dst.rs index cf4222b405e..6421b69d22e 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-dst.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-dst.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-fixed-length.rs b/src/test/ui/run-pass/array-slice-vec/vec-fixed-length.rs index befb27e6ccb..a7b86794132 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-fixed-length.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-fixed-length.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::mem::size_of; diff --git a/src/test/ui/run-pass/array-slice-vec/vec-growth.rs b/src/test/ui/run-pass/array-slice-vec/vec-growth.rs index 5bf6a457df9..e783a799c05 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-growth.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-growth.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-late-init.rs b/src/test/ui/run-pass/array-slice-vec/vec-late-init.rs index 420f6a429f1..dc7241a0e05 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-late-init.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-late-init.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let mut later: Vec ; diff --git a/src/test/ui/run-pass/array-slice-vec/vec-macro-no-std.rs b/src/test/ui/run-pass/array-slice-vec/vec-macro-no-std.rs index 56ff9cb2477..509167413b6 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-macro-no-std.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-macro-no-std.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-emscripten no no_std executables #![feature(lang_items, start, libc, alloc)] diff --git a/src/test/ui/run-pass/array-slice-vec/vec-macro-repeat.rs b/src/test/ui/run-pass/array-slice-vec/vec-macro-repeat.rs index d178041b85e..36c8b7cffab 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-macro-repeat.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-macro-repeat.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-macro-rvalue-scope.rs b/src/test/ui/run-pass/array-slice-vec/vec-macro-rvalue-scope.rs index 305755347d0..8ccf22e6288 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-macro-rvalue-scope.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-macro-rvalue-scope.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn one() -> i32 { 1 } diff --git a/src/test/ui/run-pass/array-slice-vec/vec-macro-with-brackets.rs b/src/test/ui/run-pass/array-slice-vec/vec-macro-with-brackets.rs index cccf807572a..b5d1459300a 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-macro-with-brackets.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-macro-with-brackets.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // pretty-expanded FIXME #23616 macro_rules! vec [ diff --git a/src/test/ui/run-pass/array-slice-vec/vec-macro-with-trailing-comma.rs b/src/test/ui/run-pass/array-slice-vec/vec-macro-with-trailing-comma.rs index 135ecb47498..046d634b19d 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-macro-with-trailing-comma.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-macro-with-trailing-comma.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-matching-autoslice.rs b/src/test/ui/run-pass/array-slice-vec/vec-matching-autoslice.rs index 7268536a51f..3cb62a6ecab 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-matching-autoslice.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-matching-autoslice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let x = [1, 2, 3]; match x { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-matching-fixed.rs b/src/test/ui/run-pass/array-slice-vec/vec-matching-fixed.rs index 060d152488a..7bfecdd2c7f 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-matching-fixed.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-matching-fixed.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(slice_patterns)] fn a() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-matching-fold.rs b/src/test/ui/run-pass/array-slice-vec/vec-matching-fold.rs index 1a30f875580..b1aa7f1b70c 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-matching-fold.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-matching-fold.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(slice_patterns)] use std::fmt::Debug; diff --git a/src/test/ui/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs b/src/test/ui/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs index eecc3e7afdb..e727e56c0f8 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(slice_patterns)] pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-matching.rs b/src/test/ui/run-pass/array-slice-vec/vec-matching.rs index ace418f2160..8d1ef6f755a 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-matching.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-matching.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(slice_patterns)] fn a() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-push.rs b/src/test/ui/run-pass/array-slice-vec/vec-push.rs index 14a52cc4b5c..360568048c0 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-push.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-push.rs @@ -8,4 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let mut v = vec![1, 2, 3]; v.push(1); } diff --git a/src/test/ui/run-pass/array-slice-vec/vec-repeat-with-cast.rs b/src/test/ui/run-pass/array-slice-vec/vec-repeat-with-cast.rs index a6ca02d4fa9..650de32fe61 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-repeat-with-cast.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-repeat-with-cast.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // pretty-expanded FIXME #23616 pub fn main() { let _a = [0; 1 as usize]; } diff --git a/src/test/ui/run-pass/array-slice-vec/vec-slice-drop.rs b/src/test/ui/run-pass/array-slice-vec/vec-slice-drop.rs index 86d34d38f74..9273b815830 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-slice-drop.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-slice-drop.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::cell::Cell; // Make sure that destructors get run on slice literals diff --git a/src/test/ui/run-pass/array-slice-vec/vec-slice.rs b/src/test/ui/run-pass/array-slice-vec/vec-slice.rs index a7e6cae93b3..8ad662f0c63 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-slice.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-slice.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { let v = vec![1,2,3,4,5]; diff --git a/src/test/ui/run-pass/array-slice-vec/vec-tail-matching.rs b/src/test/ui/run-pass/array-slice-vec/vec-tail-matching.rs index 4f31405ead5..46a882a2ae1 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-tail-matching.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-tail-matching.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(slice_patterns)] struct Foo { diff --git a/src/test/ui/run-pass/array-slice-vec/vec-to_str.rs b/src/test/ui/run-pass/array-slice-vec/vec-to_str.rs index 1fed6a0be48..4facc0e6892 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec-to_str.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec-to_str.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { assert_eq!(format!("{:?}", vec![0, 1]), "[0, 1]".to_string()); diff --git a/src/test/ui/run-pass/array-slice-vec/vec.rs b/src/test/ui/run-pass/array-slice-vec/vec.rs index 9cacb9db20e..34a8e125a5c 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub fn main() { diff --git a/src/test/ui/run-pass/array-slice-vec/vec_cycle.rs b/src/test/ui/run-pass/array-slice-vec/vec_cycle.rs index d5da8b35b6d..3222b0e789d 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec_cycle.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec_cycle.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::cell::Cell; #[derive(Debug)] diff --git a/src/test/ui/run-pass/array-slice-vec/vec_cycle_wrapped.rs b/src/test/ui/run-pass/array-slice-vec/vec_cycle_wrapped.rs index 56480268a01..355f9d3e40e 100644 --- a/src/test/ui/run-pass/array-slice-vec/vec_cycle_wrapped.rs +++ b/src/test/ui/run-pass/array-slice-vec/vec_cycle_wrapped.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::cell::Cell; #[derive(Debug)] diff --git a/src/test/ui/run-pass/array-slice-vec/vector-no-ann-2.rs b/src/test/ui/run-pass/array-slice-vec/vector-no-ann-2.rs index 09e70cf03ca..0b09545c0aa 100644 --- a/src/test/ui/run-pass/array-slice-vec/vector-no-ann-2.rs +++ b/src/test/ui/run-pass/array-slice-vec/vector-no-ann-2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/associated-consts/associated-const-const-eval.rs b/src/test/ui/run-pass/associated-consts/associated-const-const-eval.rs index 9c36a42527f..3ef8e6c2478 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-const-eval.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-const-eval.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { const NUM: usize; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-const-eval.rs b/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-const-eval.rs index c2758b1aed7..c0f1d93c253 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-const-eval.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-const-eval.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:associated-const-cc-lib.rs diff --git a/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-defaults.rs b/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-defaults.rs index 084c448ba2a..7d85c7021ab 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-defaults.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-cross-crate-defaults.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:associated-const-cc-lib.rs diff --git a/src/test/ui/run-pass/associated-consts/associated-const-cross-crate.rs b/src/test/ui/run-pass/associated-consts/associated-const-cross-crate.rs index a882d6ae23d..0f1bde4b4db 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-cross-crate.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:associated-const-cc-lib.rs diff --git a/src/test/ui/run-pass/associated-consts/associated-const-in-global-const.rs b/src/test/ui/run-pass/associated-consts/associated-const-in-global-const.rs index b7fb4d73259..089bf07b9c7 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-in-global-const.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-in-global-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-inherent-impl.rs b/src/test/ui/run-pass/associated-consts/associated-const-inherent-impl.rs index 86454a4a091..60b794015f9 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-inherent-impl.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-inherent-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-marks-live-code.rs b/src/test/ui/run-pass/associated-consts/associated-const-marks-live-code.rs index bfeb78ddfe5..de9edfc679e 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-marks-live-code.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-marks-live-code.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(dead_code)] diff --git a/src/test/ui/run-pass/associated-consts/associated-const-match-patterns.rs b/src/test/ui/run-pass/associated-consts/associated-const-match-patterns.rs index 54603e6e0d9..9fbce1cebf3 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-match-patterns.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-match-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:empty-struct.rs diff --git a/src/test/ui/run-pass/associated-consts/associated-const-outer-ty-refs.rs b/src/test/ui/run-pass/associated-consts/associated-const-outer-ty-refs.rs index 987c64dbff5..c62e073a6a7 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-outer-ty-refs.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-outer-ty-refs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Lattice { const BOTTOM: Self; } diff --git a/src/test/ui/run-pass/associated-consts/associated-const-overwrite-default.rs b/src/test/ui/run-pass/associated-consts/associated-const-overwrite-default.rs index bb594cfa0f9..0e225d7117e 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-overwrite-default.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-overwrite-default.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { const ID: i32 = 2; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-public-impl.rs b/src/test/ui/run-pass/associated-consts/associated-const-public-impl.rs index 5ff363844a1..8c11ae69ded 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-public-impl.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-public-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod bar1 { pub use self::bar2::Foo; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-range-match-patterns.rs b/src/test/ui/run-pass/associated-consts/associated-const-range-match-patterns.rs index d72e1efc4d7..eeff2775323 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-range-match-patterns.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-range-match-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-resolution-order.rs b/src/test/ui/run-pass/associated-consts/associated-const-resolution-order.rs index 5fa49b48200..ed02644c6a1 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-resolution-order.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-resolution-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct MyType; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-self-type.rs b/src/test/ui/run-pass/associated-consts/associated-const-self-type.rs index 16ccb5b3955..52d9574edde 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-self-type.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-self-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait MyInt { const ONE: Self; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-type-parameters.rs b/src/test/ui/run-pass/associated-consts/associated-const-type-parameters.rs index 7859a87e014..37407b6bf9f 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-type-parameters.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-type-parameters.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { const X: i32; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-ufcs-infer-trait.rs b/src/test/ui/run-pass/associated-consts/associated-const-ufcs-infer-trait.rs index b2263067824..6269222fb8e 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-ufcs-infer-trait.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-ufcs-infer-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { const ID: i32; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-use-default.rs b/src/test/ui/run-pass/associated-consts/associated-const-use-default.rs index 5ed9a6dea3d..623949b2418 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-use-default.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-use-default.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { const ID: i32 = 1; diff --git a/src/test/ui/run-pass/associated-consts/associated-const-use-impl-of-same-trait.rs b/src/test/ui/run-pass/associated-consts/associated-const-use-impl-of-same-trait.rs index 986f160f3cb..80848e5653f 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const-use-impl-of-same-trait.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const-use-impl-of-same-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // The main purpose of this test is to ensure that different impls of the same // trait can refer to each other without setting off the static recursion check diff --git a/src/test/ui/run-pass/associated-consts/associated-const.rs b/src/test/ui/run-pass/associated-consts/associated-const.rs index 3c84f4a8335..c20025c385a 100644 --- a/src/test/ui/run-pass/associated-consts/associated-const.rs +++ b/src/test/ui/run-pass/associated-consts/associated-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { const ID: i32; diff --git a/src/test/ui/run-pass/associated-types/associated-types-basic.rs b/src/test/ui/run-pass/associated-types/associated-types-basic.rs index 2617a05fe24..3628f9ce183 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-basic.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-basic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { type T; } diff --git a/src/test/ui/run-pass/associated-types/associated-types-binding-in-trait.rs b/src/test/ui/run-pass/associated-types/associated-types-binding-in-trait.rs index d82ba6add75..63ac60e62d9 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-binding-in-trait.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-binding-in-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a case where the associated type binding (to `bool`, in this // case) is derived from the trait definition. Issue #21636. diff --git a/src/test/ui/run-pass/associated-types/associated-types-binding-in-where-clause.rs b/src/test/ui/run-pass/associated-types/associated-types-binding-in-where-clause.rs index 82ebac7e5dc..7b735520efb 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-binding-in-where-clause.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-binding-in-where-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test equality constraints on associated types in a where clause. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/associated-types/associated-types-bound.rs b/src/test/ui/run-pass/associated-types/associated-types-bound.rs index 4eacd120bc6..56ce378da65 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-bound.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test equality constrai32s on associated types in a where clause. diff --git a/src/test/ui/run-pass/associated-types/associated-types-cc.rs b/src/test/ui/run-pass/associated-types/associated-types-cc.rs index b2be87be4cb..a8c7caa9361 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-cc.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-cc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:associated-types-cc-lib.rs // Test that we are able to reference cross-crate traits that employ diff --git a/src/test/ui/run-pass/associated-types/associated-types-conditional-dispatch.rs b/src/test/ui/run-pass/associated-types/associated-types-conditional-dispatch.rs index dbf975c6f2e..a795ee2c5ef 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-conditional-dispatch.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-conditional-dispatch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we evaluate projection predicates to winnow out // candidates during trait selection and method resolution (#20296). // If we don't properly winnow out candidates based on the output type diff --git a/src/test/ui/run-pass/associated-types/associated-types-constant-type.rs b/src/test/ui/run-pass/associated-types/associated-types-constant-type.rs index 77ab616ca91..3581a6c4388 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-constant-type.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-constant-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait SignedUnsigned { type Opposite; diff --git a/src/test/ui/run-pass/associated-types/associated-types-doubleendediterator-object.rs b/src/test/ui/run-pass/associated-types/associated-types-doubleendediterator-object.rs index de83e4edd85..4b8ceda9b81 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-doubleendediterator-object.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-doubleendediterator-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn pairwise_sub(mut t: Box>) -> isize { diff --git a/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs b/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs index 8ca3bc02548..e6175dc34ec 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that we do not report ambiguities when equivalent predicates // (modulo bound lifetime names) appears in the environment // twice. Issue #21965. diff --git a/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env.rs b/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env.rs index 5878f5dd51b..6836d2860b5 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-duplicate-binding-in-env.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that we do not report ambiguities when the same predicate // appears in the environment twice. Issue #21965. diff --git a/src/test/ui/run-pass/associated-types/associated-types-enum-field-named.rs b/src/test/ui/run-pass/associated-types/associated-types-enum-field-named.rs index 7014cc59b71..d21195c3d3a 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-enum-field-named.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-enum-field-named.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test associated types appearing in struct-like enum variants. diff --git a/src/test/ui/run-pass/associated-types/associated-types-enum-field-numbered.rs b/src/test/ui/run-pass/associated-types/associated-types-enum-field-numbered.rs index c983fdefc0e..9a91a998201 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-enum-field-numbered.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-enum-field-numbered.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test associated types appearing in tuple-like enum variants. diff --git a/src/test/ui/run-pass/associated-types/associated-types-eq-obj.rs b/src/test/ui/run-pass/associated-types/associated-types-eq-obj.rs index feccd1d2dce..75fe2093da9 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-eq-obj.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-eq-obj.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test equality constraints on associated types inside of an object type // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/associated-types/associated-types-impl-redirect.rs b/src/test/ui/run-pass/associated-types/associated-types-impl-redirect.rs index 3e34367a215..aca76748925 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-impl-redirect.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-impl-redirect.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test how resolving a projection interacts with inference. In this // case, we were eagerly unifying the type variable for the iterator // type with `I` from the where clause, ignoring the in-scope `impl` diff --git a/src/test/ui/run-pass/associated-types/associated-types-in-bound-type-arg.rs b/src/test/ui/run-pass/associated-types/associated-types-in-bound-type-arg.rs index 18803d15719..a80350a596e 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-in-bound-type-arg.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-in-bound-type-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test the case where we resolve `C::Result` and the trait bound // itself includes a `Self::Item` shorthand. // diff --git a/src/test/ui/run-pass/associated-types/associated-types-in-default-method.rs b/src/test/ui/run-pass/associated-types/associated-types-in-default-method.rs index 74199f57fb6..846dfcd2141 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-in-default-method.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-in-default-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Get { type Value; diff --git a/src/test/ui/run-pass/associated-types/associated-types-in-fn.rs b/src/test/ui/run-pass/associated-types/associated-types-in-fn.rs index dcd7895fa99..555c74dd70a 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-in-fn.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-in-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Get { type Value; diff --git a/src/test/ui/run-pass/associated-types/associated-types-in-impl-generics.rs b/src/test/ui/run-pass/associated-types/associated-types-in-impl-generics.rs index 5b81ac70908..d27c1dd296e 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-in-impl-generics.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-in-impl-generics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Get { type Value; diff --git a/src/test/ui/run-pass/associated-types/associated-types-in-inherent-method.rs b/src/test/ui/run-pass/associated-types/associated-types-in-inherent-method.rs index 5eaf4c2bc83..f68ab8cd610 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-in-inherent-method.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-in-inherent-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Get { type Value; diff --git a/src/test/ui/run-pass/associated-types/associated-types-issue-20220.rs b/src/test/ui/run-pass/associated-types/associated-types-issue-20220.rs index 31336787e4c..e2a87382fba 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-issue-20220.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-issue-20220.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test references to `Self::Item` in the trait. Issue #20220. diff --git a/src/test/ui/run-pass/associated-types/associated-types-issue-20371.rs b/src/test/ui/run-pass/associated-types/associated-types-issue-20371.rs index c93a0b76a95..54f1d2e8126 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-issue-20371.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-issue-20371.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to have an impl that defines an associated type // before the actual trait. diff --git a/src/test/ui/run-pass/associated-types/associated-types-issue-21212.rs b/src/test/ui/run-pass/associated-types/associated-types-issue-21212.rs index cf4b8272111..259661dc058 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-issue-21212.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-issue-21212.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #21212: an overflow occurred during trait // checking where normalizing `Self::Input` led to normalizing the // where clauses in the environment which in turn required normalizing diff --git a/src/test/ui/run-pass/associated-types/associated-types-iterator-binding.rs b/src/test/ui/run-pass/associated-types/associated-types-iterator-binding.rs index abd4917cae8..eab66a94129 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-iterator-binding.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-iterator-binding.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn pairwise_sub>(mut t: T) -> isize { let mut result = 0; diff --git a/src/test/ui/run-pass/associated-types/associated-types-method.rs b/src/test/ui/run-pass/associated-types/associated-types-method.rs index b57687a49fa..73d075313ad 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-method.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that methods whose impl-trait-ref contains associated types // are supported. diff --git a/src/test/ui/run-pass/associated-types/associated-types-nested-projections.rs b/src/test/ui/run-pass/associated-types/associated-types-nested-projections.rs index 62fa07e20b6..a877a3cfa9d 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-nested-projections.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-nested-projections.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can resolve nested projection types. Issue #20666. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-binding.rs b/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-binding.rs index 7e2d1aa2314..d989e08e808 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-binding.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-binding.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we normalize associated types that appear in a bound that // contains a binding. Issue #21664. diff --git a/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-ufcs.rs b/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-ufcs.rs index d8e4c5218d9..3d3540bbf72 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-ufcs.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds-ufcs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we normalize associated types that appear in bounds; if // we didn't, the call to `self.split2()` fails to type check. diff --git a/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds.rs b/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds.rs index ff08e7b69bd..79d23c3999e 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-normalize-in-bounds.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we normalize associated types that appear in bounds; if // we didn't, the call to `self.split2()` fails to type check. diff --git a/src/test/ui/run-pass/associated-types/associated-types-normalize-unifield-struct.rs b/src/test/ui/run-pass/associated-types/associated-types-normalize-unifield-struct.rs index 517033d5870..03d712b110d 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-normalize-unifield-struct.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-normalize-unifield-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #21010: Normalize associated types in // various special paths in the `type_is_immediate` function. diff --git a/src/test/ui/run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs b/src/test/ui/run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs index 5ceb1013ad8..f21bbddc4dd 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Various uses of `T::Item` syntax where the bound that supplies // `Item` originates in a where-clause, not the declaration of // `T`. Issue #20300. diff --git a/src/test/ui/run-pass/associated-types/associated-types-projection-bound-in-supertraits.rs b/src/test/ui/run-pass/associated-types/associated-types-projection-bound-in-supertraits.rs index e150d015824..57c7f557ffa 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-projection-bound-in-supertraits.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-projection-bound-in-supertraits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we correctly handle projection bounds appearing in the // supertrait list (and in conjunction with overloaded operators). In // this case, the `Result=Self` binding in the supertrait listing of diff --git a/src/test/ui/run-pass/associated-types/associated-types-projection-from-known-type-in-impl.rs b/src/test/ui/run-pass/associated-types/associated-types-projection-from-known-type-in-impl.rs index 8054b3aa52a..964eb886236 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-projection-from-known-type-in-impl.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-projection-from-known-type-in-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test where the impl self type uses a projection from a constant type. diff --git a/src/test/ui/run-pass/associated-types/associated-types-projection-in-object-type.rs b/src/test/ui/run-pass/associated-types/associated-types-projection-in-object-type.rs index 14e94dbff6c..8b98325598c 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-projection-in-object-type.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-projection-in-object-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Corrected regression test for #20831. The original did not compile. // When fixed, it revealed another problem concerning projections that // appear in associated type bindings in object types, which were not diff --git a/src/test/ui/run-pass/associated-types/associated-types-projection-in-supertrait.rs b/src/test/ui/run-pass/associated-types/associated-types-projection-in-supertrait.rs index 70c7602ffce..001faef7f48 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-projection-in-supertrait.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-projection-in-supertrait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are handle to correctly handle a projection type // that appears in a supertrait bound. Issue #20559. diff --git a/src/test/ui/run-pass/associated-types/associated-types-projection-in-where-clause.rs b/src/test/ui/run-pass/associated-types/associated-types-projection-in-where-clause.rs index 80e3aa09e3e..c2379e0f078 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-projection-in-where-clause.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-projection-in-where-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a where clause that uses a non-normalized projection type. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/associated-types/associated-types-projection-to-unrelated-trait.rs b/src/test/ui/run-pass/associated-types/associated-types-projection-to-unrelated-trait.rs index 8059db5204e..f6951b48ae7 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-projection-to-unrelated-trait.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-projection-to-unrelated-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that we do not get an error when you use `::Value` in // the trait definition if there is no default method and for every impl, // `Self` does implement `Get`. diff --git a/src/test/ui/run-pass/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs b/src/test/ui/run-pass/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs index a69de216ab9..b3d5c353989 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo { diff --git a/src/test/ui/run-pass/associated-types/associated-types-ref-from-struct.rs b/src/test/ui/run-pass/associated-types/associated-types-ref-from-struct.rs index ce09ec60bd6..e45766adc2c 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-ref-from-struct.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-ref-from-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test associated type references in structure fields. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/associated-types/associated-types-ref-in-struct-literal.rs b/src/test/ui/run-pass/associated-types/associated-types-ref-in-struct-literal.rs index 3b7fb65a8b4..02e1d74db47 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-ref-in-struct-literal.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-ref-in-struct-literal.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test associated type references in a struct literal. Issue #20535. diff --git a/src/test/ui/run-pass/associated-types/associated-types-region-erasure-issue-20582.rs b/src/test/ui/run-pass/associated-types/associated-types-region-erasure-issue-20582.rs index 40f352e2e1f..b4038a21828 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-region-erasure-issue-20582.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-region-erasure-issue-20582.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #20582. This test caused an ICE related to // inconsistent region erasure in codegen. diff --git a/src/test/ui/run-pass/associated-types/associated-types-resolve-lifetime.rs b/src/test/ui/run-pass/associated-types/associated-types-resolve-lifetime.rs index 824291ea607..b77f3fcd295 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-resolve-lifetime.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-resolve-lifetime.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Get { diff --git a/src/test/ui/run-pass/associated-types/associated-types-return.rs b/src/test/ui/run-pass/associated-types/associated-types-return.rs index f5434c9eb86..18b05987715 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-return.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-return.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test equality constraints on associated types in a where clause. diff --git a/src/test/ui/run-pass/associated-types/associated-types-simple.rs b/src/test/ui/run-pass/associated-types/associated-types-simple.rs index 776b2183d39..8e9b2367fcd 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-simple.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Get { type Value; diff --git a/src/test/ui/run-pass/associated-types/associated-types-stream.rs b/src/test/ui/run-pass/associated-types/associated-types-stream.rs index 6adfaabcc23..c486e346351 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-stream.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-stream.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test references to the trait `Stream` in the bounds for associated // types defined on `Stream`. Issue #20551. diff --git a/src/test/ui/run-pass/associated-types/associated-types-struct-field-named.rs b/src/test/ui/run-pass/associated-types/associated-types-struct-field-named.rs index 00746c32e1c..384ec8ef44f 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-struct-field-named.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-struct-field-named.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we correctly normalize the type of a struct field // which has an associated type. diff --git a/src/test/ui/run-pass/associated-types/associated-types-struct-field-numbered.rs b/src/test/ui/run-pass/associated-types/associated-types-struct-field-numbered.rs index 25e89892a29..54d0c8839a3 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-struct-field-numbered.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-struct-field-numbered.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we correctly normalize the type of a struct field // which has an associated type. diff --git a/src/test/ui/run-pass/associated-types/associated-types-sugar-path.rs b/src/test/ui/run-pass/associated-types/associated-types-sugar-path.rs index d8d42f2cba2..3b148c5e106 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-sugar-path.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-sugar-path.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test paths to associated types using the type-parameter-only sugar. use std::ops::Deref; diff --git a/src/test/ui/run-pass/associated-types/associated-types-where-clause-impl-ambiguity.rs b/src/test/ui/run-pass/associated-types/associated-types-where-clause-impl-ambiguity.rs index ef1225d39a7..5f24a44c14b 100644 --- a/src/test/ui/run-pass/associated-types/associated-types-where-clause-impl-ambiguity.rs +++ b/src/test/ui/run-pass/associated-types/associated-types-where-clause-impl-ambiguity.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test how resolving a projection interacts with inference. In this // case, we were eagerly unifying the type variable for the iterator // type with `I` from the where clause, ignoring the in-scope `impl` diff --git a/src/test/ui/run-pass/autoref-autoderef/auto-ref-bounded-ty-param.rs b/src/test/ui/run-pass/autoref-autoderef/auto-ref-bounded-ty-param.rs index 77ec0e1791f..d984531b8bb 100644 --- a/src/test/ui/run-pass/autoref-autoderef/auto-ref-bounded-ty-param.rs +++ b/src/test/ui/run-pass/autoref-autoderef/auto-ref-bounded-ty-param.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self); } diff --git a/src/test/ui/run-pass/autoref-autoderef/auto-ref-sliceable.rs b/src/test/ui/run-pass/autoref-autoderef/auto-ref-sliceable.rs index f6cb314d06e..6e665b07656 100644 --- a/src/test/ui/run-pass/autoref-autoderef/auto-ref-sliceable.rs +++ b/src/test/ui/run-pass/autoref-autoderef/auto-ref-sliceable.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Pushable { diff --git a/src/test/ui/run-pass/autoref-autoderef/auto-ref.rs b/src/test/ui/run-pass/autoref-autoderef/auto-ref.rs index 0ad2303a769..afc79cce35e 100644 --- a/src/test/ui/run-pass/autoref-autoderef/auto-ref.rs +++ b/src/test/ui/run-pass/autoref-autoderef/auto-ref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { x: isize, } diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-and-borrow-method-receiver.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-and-borrow-method-receiver.rs index a4c6cdd544c..0ce3ef7fd7b 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-and-borrow-method-receiver.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-and-borrow-method-receiver.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo { diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-on-trait.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-on-trait.rs index f6ff9a31fa1..7f1a990c7dc 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-on-trait.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-on-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait double { diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-priority.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-priority.rs index 234af92610a..e6c9ad20303 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-priority.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-priority.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait double { diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs index 5890fe44166..072cfe410a8 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait double { diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice.rs index 2598ec17d2a..2efbb9751ce 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-method-twice.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait double { diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-method.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-method.rs index 7c83b9c982f..99f1e1e3520 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-method.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait double { diff --git a/src/test/ui/run-pass/autoref-autoderef/autoderef-privacy.rs b/src/test/ui/run-pass/autoref-autoderef/autoderef-privacy.rs index e50f1bea0d3..cfbc7744a4c 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoderef-privacy.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoderef-privacy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check we do not select a private method or field when computing autoderefs #![allow(unused)] diff --git a/src/test/ui/run-pass/autoref-autoderef/autoref-intermediate-types-issue-3585.rs b/src/test/ui/run-pass/autoref-autoderef/autoref-intermediate-types-issue-3585.rs index 4096d45d8df..e32738e8f15 100644 --- a/src/test/ui/run-pass/autoref-autoderef/autoref-intermediate-types-issue-3585.rs +++ b/src/test/ui/run-pass/autoref-autoderef/autoref-intermediate-types-issue-3585.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait Foo { diff --git a/src/test/ui/run-pass/binding/allow_irrefutable_let_patterns.rs b/src/test/ui/run-pass/binding/allow_irrefutable_let_patterns.rs index ea114b63be7..866784e517c 100644 --- a/src/test/ui/run-pass/binding/allow_irrefutable_let_patterns.rs +++ b/src/test/ui/run-pass/binding/allow_irrefutable_let_patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(irrefutable_let_patterns)] // must-compile-successfully-irrefutable_let_patterns_with_gate diff --git a/src/test/ui/run-pass/binding/bind-field-short-with-modifiers.rs b/src/test/ui/run-pass/binding/bind-field-short-with-modifiers.rs index b4c38bf450b..b7ffffe6fb5 100644 --- a/src/test/ui/run-pass/binding/bind-field-short-with-modifiers.rs +++ b/src/test/ui/run-pass/binding/bind-field-short-with-modifiers.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { struct Foo { x: isize, y: isize } diff --git a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-2.rs b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-2.rs index 3e47764ba02..6a23d159047 100644 --- a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-2.rs +++ b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(s: &String) -> bool { match &**s { diff --git a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-3.rs b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-3.rs index 91228efb9c1..cb40b3a0099 100644 --- a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-3.rs +++ b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo<'r>(s: &'r usize) -> bool { match s { diff --git a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-infallible.rs b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-infallible.rs index 6656eb41f2e..5f906903ed2 100644 --- a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-infallible.rs +++ b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-infallible.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-option.rs b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-option.rs index e1e9381eeb8..1372a7a0789 100644 --- a/src/test/ui/run-pass/binding/borrowed-ptr-pattern-option.rs +++ b/src/test/ui/run-pass/binding/borrowed-ptr-pattern-option.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn select<'r>(x: &'r Option, y: &'r Option) -> &'r Option { match (x, y) { diff --git a/src/test/ui/run-pass/binding/borrowed-ptr-pattern.rs b/src/test/ui/run-pass/binding/borrowed-ptr-pattern.rs index 3042ff7743b..f363bef36d6 100644 --- a/src/test/ui/run-pass/binding/borrowed-ptr-pattern.rs +++ b/src/test/ui/run-pass/binding/borrowed-ptr-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(x: &T) -> T{ match x { diff --git a/src/test/ui/run-pass/binding/empty-types-in-patterns.rs b/src/test/ui/run-pass/binding/empty-types-in-patterns.rs index 86cf9b5ec47..c230442eecc 100644 --- a/src/test/ui/run-pass/binding/empty-types-in-patterns.rs +++ b/src/test/ui/run-pass/binding/empty-types-in-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(never_type)] #![feature(exhaustive_patterns)] #![feature(slice_patterns)] diff --git a/src/test/ui/run-pass/binding/exhaustive-bool-match-sanity.rs b/src/test/ui/run-pass/binding/exhaustive-bool-match-sanity.rs index 27bcab43229..26e852eff23 100644 --- a/src/test/ui/run-pass/binding/exhaustive-bool-match-sanity.rs +++ b/src/test/ui/run-pass/binding/exhaustive-bool-match-sanity.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #33540 // We previously used to generate a 3-armed boolean `SwitchInt` in the // MIR of the function `foo` below. #33583 changed rustc to diff --git a/src/test/ui/run-pass/binding/expr-match-generic-unique1.rs b/src/test/ui/run-pass/binding/expr-match-generic-unique1.rs index 3fce798c285..3325aa7b3df 100644 --- a/src/test/ui/run-pass/binding/expr-match-generic-unique1.rs +++ b/src/test/ui/run-pass/binding/expr-match-generic-unique1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn test_generic(expected: Box, eq: F) where F: FnOnce(Box, Box) -> bool { diff --git a/src/test/ui/run-pass/binding/expr-match-generic-unique2.rs b/src/test/ui/run-pass/binding/expr-match-generic-unique2.rs index 5500edcf239..8daa33e6227 100644 --- a/src/test/ui/run-pass/binding/expr-match-generic-unique2.rs +++ b/src/test/ui/run-pass/binding/expr-match-generic-unique2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn test_generic(expected: T, eq: F) where F: FnOnce(T, T) -> bool { diff --git a/src/test/ui/run-pass/binding/expr-match-generic.rs b/src/test/ui/run-pass/binding/expr-match-generic.rs index 509106289d0..9edeec2c734 100644 --- a/src/test/ui/run-pass/binding/expr-match-generic.rs +++ b/src/test/ui/run-pass/binding/expr-match-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type compare = extern "Rust" fn(T, T) -> bool; diff --git a/src/test/ui/run-pass/binding/expr-match-panic-all.rs b/src/test/ui/run-pass/binding/expr-match-panic-all.rs index e712d552a81..f283fdddb6a 100644 --- a/src/test/ui/run-pass/binding/expr-match-panic-all.rs +++ b/src/test/ui/run-pass/binding/expr-match-panic-all.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/binding/expr-match-panic.rs b/src/test/ui/run-pass/binding/expr-match-panic.rs index 1a6466048d9..c6f8ae7bca6 100644 --- a/src/test/ui/run-pass/binding/expr-match-panic.rs +++ b/src/test/ui/run-pass/binding/expr-match-panic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test_simple() { diff --git a/src/test/ui/run-pass/binding/expr-match-unique.rs b/src/test/ui/run-pass/binding/expr-match-unique.rs index e66f09c63ea..b67b9fa3dda 100644 --- a/src/test/ui/run-pass/binding/expr-match-unique.rs +++ b/src/test/ui/run-pass/binding/expr-match-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] // Tests for match as expressions resulting in boxed types diff --git a/src/test/ui/run-pass/binding/expr-match.rs b/src/test/ui/run-pass/binding/expr-match.rs index 580ee52ed36..83d44e42b32 100644 --- a/src/test/ui/run-pass/binding/expr-match.rs +++ b/src/test/ui/run-pass/binding/expr-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/binding/fat-arrow-match.rs b/src/test/ui/run-pass/binding/fat-arrow-match.rs index 004e6d48e37..c83c7b3ce84 100644 --- a/src/test/ui/run-pass/binding/fat-arrow-match.rs +++ b/src/test/ui/run-pass/binding/fat-arrow-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum color { red, diff --git a/src/test/ui/run-pass/binding/fn-pattern-expected-type-2.rs b/src/test/ui/run-pass/binding/fn-pattern-expected-type-2.rs index 66a7123c795..7926234161f 100644 --- a/src/test/ui/run-pass/binding/fn-pattern-expected-type-2.rs +++ b/src/test/ui/run-pass/binding/fn-pattern-expected-type-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let v : &[(isize,isize)] = &[ (1, 2), (3, 4), (5, 6) ]; for &(x, y) in v { diff --git a/src/test/ui/run-pass/binding/fn-pattern-expected-type.rs b/src/test/ui/run-pass/binding/fn-pattern-expected-type.rs index 2e9607602fd..a868267f371 100644 --- a/src/test/ui/run-pass/binding/fn-pattern-expected-type.rs +++ b/src/test/ui/run-pass/binding/fn-pattern-expected-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let f = |(x, y): (isize, isize)| { diff --git a/src/test/ui/run-pass/binding/func-arg-incomplete-pattern.rs b/src/test/ui/run-pass/binding/func-arg-incomplete-pattern.rs index 7d9501879d0..d766feeb72c 100644 --- a/src/test/ui/run-pass/binding/func-arg-incomplete-pattern.rs +++ b/src/test/ui/run-pass/binding/func-arg-incomplete-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we do not leak when the arg pattern must drop part of the // argument (in this case, the `y` field). diff --git a/src/test/ui/run-pass/binding/func-arg-ref-pattern.rs b/src/test/ui/run-pass/binding/func-arg-ref-pattern.rs index 5214f2d02f5..7e87f14e2c5 100644 --- a/src/test/ui/run-pass/binding/func-arg-ref-pattern.rs +++ b/src/test/ui/run-pass/binding/func-arg-ref-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // exec-env:RUST_POISON_ON_FREE=1 // Test argument patterns where we create refs to the inside of diff --git a/src/test/ui/run-pass/binding/func-arg-wild-pattern.rs b/src/test/ui/run-pass/binding/func-arg-wild-pattern.rs index 3ab3ee4db2d..18a1909b51e 100644 --- a/src/test/ui/run-pass/binding/func-arg-wild-pattern.rs +++ b/src/test/ui/run-pass/binding/func-arg-wild-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can compile code that uses a `_` in function argument // patterns. diff --git a/src/test/ui/run-pass/binding/if-let.rs b/src/test/ui/run-pass/binding/if-let.rs index 13134abd8fd..9147bf14cad 100644 --- a/src/test/ui/run-pass/binding/if-let.rs +++ b/src/test/ui/run-pass/binding/if-let.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = Some(3); diff --git a/src/test/ui/run-pass/binding/inconsistent-lifetime-mismatch.rs b/src/test/ui/run-pass/binding/inconsistent-lifetime-mismatch.rs index 9a0d8e201c2..9e9fc8b4249 100644 --- a/src/test/ui/run-pass/binding/inconsistent-lifetime-mismatch.rs +++ b/src/test/ui/run-pass/binding/inconsistent-lifetime-mismatch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo(_: &[&str]) {} diff --git a/src/test/ui/run-pass/binding/inferred-suffix-in-pattern-range.rs b/src/test/ui/run-pass/binding/inferred-suffix-in-pattern-range.rs index 89d26aade2e..3be0991aea6 100644 --- a/src/test/ui/run-pass/binding/inferred-suffix-in-pattern-range.rs +++ b/src/test/ui/run-pass/binding/inferred-suffix-in-pattern-range.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = 2; diff --git a/src/test/ui/run-pass/binding/irrefutable-slice-patterns.rs b/src/test/ui/run-pass/binding/irrefutable-slice-patterns.rs index c2e95eb54f9..9cd62f9a901 100644 --- a/src/test/ui/run-pass/binding/irrefutable-slice-patterns.rs +++ b/src/test/ui/run-pass/binding/irrefutable-slice-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #47096 #![feature(slice_patterns)] diff --git a/src/test/ui/run-pass/binding/let-assignability.rs b/src/test/ui/run-pass/binding/let-assignability.rs index 69b0eab99f7..99fc172892c 100644 --- a/src/test/ui/run-pass/binding/let-assignability.rs +++ b/src/test/ui/run-pass/binding/let-assignability.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f() { diff --git a/src/test/ui/run-pass/binding/let-destruct-ref.rs b/src/test/ui/run-pass/binding/let-destruct-ref.rs index c9504f87c49..1c1b1a39769 100644 --- a/src/test/ui/run-pass/binding/let-destruct-ref.rs +++ b/src/test/ui/run-pass/binding/let-destruct-ref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = 3_usize; diff --git a/src/test/ui/run-pass/binding/let-var-hygiene.rs b/src/test/ui/run-pass/binding/let-var-hygiene.rs index d9087f58bef..d432dbe86b9 100644 --- a/src/test/ui/run-pass/binding/let-var-hygiene.rs +++ b/src/test/ui/run-pass/binding/let-var-hygiene.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // shouldn't affect evaluation of $ex: macro_rules! bad_macro { diff --git a/src/test/ui/run-pass/binding/match-arm-statics.rs b/src/test/ui/run-pass/binding/match-arm-statics.rs index ca6ef2e4277..c5111073ca8 100644 --- a/src/test/ui/run-pass/binding/match-arm-statics.rs +++ b/src/test/ui/run-pass/binding/match-arm-statics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -g #[derive(PartialEq, Eq)] diff --git a/src/test/ui/run-pass/binding/match-beginning-vert.rs b/src/test/ui/run-pass/binding/match-beginning-vert.rs index cdacfb2f057..16954f85752 100644 --- a/src/test/ui/run-pass/binding/match-beginning-vert.rs +++ b/src/test/ui/run-pass/binding/match-beginning-vert.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { A, B, diff --git a/src/test/ui/run-pass/binding/match-borrowed_str.rs b/src/test/ui/run-pass/binding/match-borrowed_str.rs index b027e62494c..0b412897db5 100644 --- a/src/test/ui/run-pass/binding/match-borrowed_str.rs +++ b/src/test/ui/run-pass/binding/match-borrowed_str.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unnecessary_allocation)] diff --git a/src/test/ui/run-pass/binding/match-bot-2.rs b/src/test/ui/run-pass/binding/match-bot-2.rs index 88c514a724f..8f9a8d2cfcc 100644 --- a/src/test/ui/run-pass/binding/match-bot-2.rs +++ b/src/test/ui/run-pass/binding/match-bot-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // n.b. This was only ever failing with optimization disabled. fn a() -> isize { match return 1 { 2 => 3, _ => panic!() } } diff --git a/src/test/ui/run-pass/binding/match-bot.rs b/src/test/ui/run-pass/binding/match-bot.rs index 7745410fa43..d91d95b826a 100644 --- a/src/test/ui/run-pass/binding/match-bot.rs +++ b/src/test/ui/run-pass/binding/match-bot.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let i: isize = diff --git a/src/test/ui/run-pass/binding/match-byte-array-patterns.rs b/src/test/ui/run-pass/binding/match-byte-array-patterns.rs index dbfe588fb0c..728d4a241fe 100644 --- a/src/test/ui/run-pass/binding/match-byte-array-patterns.rs +++ b/src/test/ui/run-pass/binding/match-byte-array-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn main() { diff --git a/src/test/ui/run-pass/binding/match-enum-struct-0.rs b/src/test/ui/run-pass/binding/match-enum-struct-0.rs index 1754dc0c960..9ddf3b421d5 100644 --- a/src/test/ui/run-pass/binding/match-enum-struct-0.rs +++ b/src/test/ui/run-pass/binding/match-enum-struct-0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // regression test for issue #5625 diff --git a/src/test/ui/run-pass/binding/match-enum-struct-1.rs b/src/test/ui/run-pass/binding/match-enum-struct-1.rs index ebf2db36700..46d9c19bf84 100644 --- a/src/test/ui/run-pass/binding/match-enum-struct-1.rs +++ b/src/test/ui/run-pass/binding/match-enum-struct-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { Foo{f : isize}, diff --git a/src/test/ui/run-pass/binding/match-implicit-copy-unique.rs b/src/test/ui/run-pass/binding/match-implicit-copy-unique.rs index 10de6eeabdd..7852a822e24 100644 --- a/src/test/ui/run-pass/binding/match-implicit-copy-unique.rs +++ b/src/test/ui/run-pass/binding/match-implicit-copy-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Pair { a: Box, b: Box } diff --git a/src/test/ui/run-pass/binding/match-in-macro.rs b/src/test/ui/run-pass/binding/match-in-macro.rs index e096c97e16f..5c4c7c048ef 100644 --- a/src/test/ui/run-pass/binding/match-in-macro.rs +++ b/src/test/ui/run-pass/binding/match-in-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { B { b1: isize, bb1: isize}, diff --git a/src/test/ui/run-pass/binding/match-join.rs b/src/test/ui/run-pass/binding/match-join.rs index b47732b325a..94ea8edd70f 100644 --- a/src/test/ui/run-pass/binding/match-join.rs +++ b/src/test/ui/run-pass/binding/match-join.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(y: Option) { let mut x: isize; let mut rs: Vec = Vec::new(); diff --git a/src/test/ui/run-pass/binding/match-larger-const.rs b/src/test/ui/run-pass/binding/match-larger-const.rs index 8cb4d92c21c..f649ce0ee0e 100644 --- a/src/test/ui/run-pass/binding/match-larger-const.rs +++ b/src/test/ui/run-pass/binding/match-larger-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Eq, PartialEq)] pub struct Data([u8; 4]); diff --git a/src/test/ui/run-pass/binding/match-naked-record-expr.rs b/src/test/ui/run-pass/binding/match-naked-record-expr.rs index e558e88e03d..f016ca8e43c 100644 --- a/src/test/ui/run-pass/binding/match-naked-record-expr.rs +++ b/src/test/ui/run-pass/binding/match-naked-record-expr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct X { x: isize } diff --git a/src/test/ui/run-pass/binding/match-naked-record.rs b/src/test/ui/run-pass/binding/match-naked-record.rs index a2b35e6558c..550ace8b649 100644 --- a/src/test/ui/run-pass/binding/match-naked-record.rs +++ b/src/test/ui/run-pass/binding/match-naked-record.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct X { x: isize } diff --git a/src/test/ui/run-pass/binding/match-path.rs b/src/test/ui/run-pass/binding/match-path.rs index 1b3594a0a79..a004c015e3d 100644 --- a/src/test/ui/run-pass/binding/match-path.rs +++ b/src/test/ui/run-pass/binding/match-path.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/binding/match-pattern-bindings.rs b/src/test/ui/run-pass/binding/match-pattern-bindings.rs index 9f687ab99e8..e6242a0ee58 100644 --- a/src/test/ui/run-pass/binding/match-pattern-bindings.rs +++ b/src/test/ui/run-pass/binding/match-pattern-bindings.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let value = Some(1); diff --git a/src/test/ui/run-pass/binding/match-pattern-lit.rs b/src/test/ui/run-pass/binding/match-pattern-lit.rs index 32de1c6c674..8e6129d60b5 100644 --- a/src/test/ui/run-pass/binding/match-pattern-lit.rs +++ b/src/test/ui/run-pass/binding/match-pattern-lit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn altlit(f: isize) -> isize { diff --git a/src/test/ui/run-pass/binding/match-pattern-no-type-params.rs b/src/test/ui/run-pass/binding/match-pattern-no-type-params.rs index ccf23b87ea3..fc26255b702 100644 --- a/src/test/ui/run-pass/binding/match-pattern-no-type-params.rs +++ b/src/test/ui/run-pass/binding/match-pattern-no-type-params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum maybe { nothing, just(T), } fn foo(x: maybe) { diff --git a/src/test/ui/run-pass/binding/match-pattern-simple.rs b/src/test/ui/run-pass/binding/match-pattern-simple.rs index 8e729e2eab3..d1525661269 100644 --- a/src/test/ui/run-pass/binding/match-pattern-simple.rs +++ b/src/test/ui/run-pass/binding/match-pattern-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/binding/match-phi.rs b/src/test/ui/run-pass/binding/match-phi.rs index 24185ffa412..bee8dcf2e1c 100644 --- a/src/test/ui/run-pass/binding/match-phi.rs +++ b/src/test/ui/run-pass/binding/match-phi.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/binding/match-pipe-binding.rs b/src/test/ui/run-pass/binding/match-pipe-binding.rs index 9592da77a1b..577e5c97e42 100644 --- a/src/test/ui/run-pass/binding/match-pipe-binding.rs +++ b/src/test/ui/run-pass/binding/match-pipe-binding.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z borrowck=compare fn test1() { diff --git a/src/test/ui/run-pass/binding/match-range-infer.rs b/src/test/ui/run-pass/binding/match-range-infer.rs index cf07345d343..7178d1837c7 100644 --- a/src/test/ui/run-pass/binding/match-range-infer.rs +++ b/src/test/ui/run-pass/binding/match-range-infer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that type inference for range patterns works correctly (is bi-directional). pub fn main() { diff --git a/src/test/ui/run-pass/binding/match-range-static.rs b/src/test/ui/run-pass/binding/match-range-static.rs index b63ca7defd6..eaa935810c4 100644 --- a/src/test/ui/run-pass/binding/match-range-static.rs +++ b/src/test/ui/run-pass/binding/match-range-static.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 const s: isize = 1; diff --git a/src/test/ui/run-pass/binding/match-range.rs b/src/test/ui/run-pass/binding/match-range.rs index efa72532196..3e2e384581b 100644 --- a/src/test/ui/run-pass/binding/match-range.rs +++ b/src/test/ui/run-pass/binding/match-range.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(exclusive_range_pattern)] pub fn main() { diff --git a/src/test/ui/run-pass/binding/match-reassign.rs b/src/test/ui/run-pass/binding/match-reassign.rs index bedcee43db5..89b12976355 100644 --- a/src/test/ui/run-pass/binding/match-reassign.rs +++ b/src/test/ui/run-pass/binding/match-reassign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #23698: The reassignment checker only cared // about the last assignment in a match arm body diff --git a/src/test/ui/run-pass/binding/match-ref-binding-in-guard-3256.rs b/src/test/ui/run-pass/binding/match-ref-binding-in-guard-3256.rs index dc3c759078f..2da75d941b4 100644 --- a/src/test/ui/run-pass/binding/match-ref-binding-in-guard-3256.rs +++ b/src/test/ui/run-pass/binding/match-ref-binding-in-guard-3256.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::Mutex; diff --git a/src/test/ui/run-pass/binding/match-ref-binding-mut-option.rs b/src/test/ui/run-pass/binding/match-ref-binding-mut-option.rs index f429e7b58e3..a3d26024732 100644 --- a/src/test/ui/run-pass/binding/match-ref-binding-mut-option.rs +++ b/src/test/ui/run-pass/binding/match-ref-binding-mut-option.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut v = Some(22); diff --git a/src/test/ui/run-pass/binding/match-ref-binding-mut.rs b/src/test/ui/run-pass/binding/match-ref-binding-mut.rs index abc418ddd51..f3dfbcd9e44 100644 --- a/src/test/ui/run-pass/binding/match-ref-binding-mut.rs +++ b/src/test/ui/run-pass/binding/match-ref-binding-mut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Rec { f: isize diff --git a/src/test/ui/run-pass/binding/match-ref-binding.rs b/src/test/ui/run-pass/binding/match-ref-binding.rs index eab7ed529b1..bc36b8102ce 100644 --- a/src/test/ui/run-pass/binding/match-ref-binding.rs +++ b/src/test/ui/run-pass/binding/match-ref-binding.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn destructure(x: Option) -> isize { match x { diff --git a/src/test/ui/run-pass/binding/match-ref-unsized.rs b/src/test/ui/run-pass/binding/match-ref-unsized.rs index 4de028299df..7ef19330015 100644 --- a/src/test/ui/run-pass/binding/match-ref-unsized.rs +++ b/src/test/ui/run-pass/binding/match-ref-unsized.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Binding unsized expressions to ref patterns pub fn main() { diff --git a/src/test/ui/run-pass/binding/match-static-const-rename.rs b/src/test/ui/run-pass/binding/match-static-const-rename.rs index 77e3b724cbe..0d75c81b1e6 100644 --- a/src/test/ui/run-pass/binding/match-static-const-rename.rs +++ b/src/test/ui/run-pass/binding/match-static-const-rename.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #7526: lowercase static constants in patterns look like bindings // This is similar to compile-fail/match-static-const-lc, except it diff --git a/src/test/ui/run-pass/binding/match-str.rs b/src/test/ui/run-pass/binding/match-str.rs index e6def65e53a..33fb72fa65b 100644 --- a/src/test/ui/run-pass/binding/match-str.rs +++ b/src/test/ui/run-pass/binding/match-str.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #53 diff --git a/src/test/ui/run-pass/binding/match-struct-0.rs b/src/test/ui/run-pass/binding/match-struct-0.rs index e9e45df460d..facfaae5405 100644 --- a/src/test/ui/run-pass/binding/match-struct-0.rs +++ b/src/test/ui/run-pass/binding/match-struct-0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo{ f : isize, diff --git a/src/test/ui/run-pass/binding/match-tag.rs b/src/test/ui/run-pass/binding/match-tag.rs index e4a0d4e95f3..fe1090b5543 100644 --- a/src/test/ui/run-pass/binding/match-tag.rs +++ b/src/test/ui/run-pass/binding/match-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/binding/match-unique-bind.rs b/src/test/ui/run-pass/binding/match-unique-bind.rs index ca864c05cfd..a543527586f 100644 --- a/src/test/ui/run-pass/binding/match-unique-bind.rs +++ b/src/test/ui/run-pass/binding/match-unique-bind.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_patterns)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/binding/match-unsized.rs b/src/test/ui/run-pass/binding/match-unsized.rs index 7253672a7ff..2e2f0f0b7ea 100644 --- a/src/test/ui/run-pass/binding/match-unsized.rs +++ b/src/test/ui/run-pass/binding/match-unsized.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let data: &'static str = "Hello, World!"; match data { diff --git a/src/test/ui/run-pass/binding/match-value-binding-in-guard-3291.rs b/src/test/ui/run-pass/binding/match-value-binding-in-guard-3291.rs index ab56a8cfc93..a24a38af22f 100644 --- a/src/test/ui/run-pass/binding/match-value-binding-in-guard-3291.rs +++ b/src/test/ui/run-pass/binding/match-value-binding-in-guard-3291.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/binding/match-var-hygiene.rs b/src/test/ui/run-pass/binding/match-var-hygiene.rs index dfb23aabf19..5d4347559f7 100644 --- a/src/test/ui/run-pass/binding/match-var-hygiene.rs +++ b/src/test/ui/run-pass/binding/match-var-hygiene.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // shouldn't affect evaluation of $ex. macro_rules! bad_macro { ($ex:expr) => ( {match 9 {_x => $ex}} diff --git a/src/test/ui/run-pass/binding/match-vec-alternatives.rs b/src/test/ui/run-pass/binding/match-vec-alternatives.rs index 7d03d9c2abe..4c728924556 100644 --- a/src/test/ui/run-pass/binding/match-vec-alternatives.rs +++ b/src/test/ui/run-pass/binding/match-vec-alternatives.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn match_vecs<'a, T>(l1: &'a [T], l2: &'a [T]) -> &'static str { diff --git a/src/test/ui/run-pass/binding/match-vec-rvalue.rs b/src/test/ui/run-pass/binding/match-vec-rvalue.rs index 3d221927b96..308a4938b3a 100644 --- a/src/test/ui/run-pass/binding/match-vec-rvalue.rs +++ b/src/test/ui/run-pass/binding/match-vec-rvalue.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that matching rvalues with drops does not crash. diff --git a/src/test/ui/run-pass/binding/match-with-ret-arm.rs b/src/test/ui/run-pass/binding/match-with-ret-arm.rs index 79b197f08e2..fe7aa288d52 100644 --- a/src/test/ui/run-pass/binding/match-with-ret-arm.rs +++ b/src/test/ui/run-pass/binding/match-with-ret-arm.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { // sometimes we have had trouble finding // the right type for f, as we unified diff --git a/src/test/ui/run-pass/binding/multi-let.rs b/src/test/ui/run-pass/binding/multi-let.rs index 3b060bb1886..6ecd84d8c58 100644 --- a/src/test/ui/run-pass/binding/multi-let.rs +++ b/src/test/ui/run-pass/binding/multi-let.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = 10; diff --git a/src/test/ui/run-pass/binding/mut-in-ident-patterns.rs b/src/test/ui/run-pass/binding/mut-in-ident-patterns.rs index 32ff7efffa0..b986cfc8a32 100644 --- a/src/test/ui/run-pass/binding/mut-in-ident-patterns.rs +++ b/src/test/ui/run-pass/binding/mut-in-ident-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn foo(&self, mut x: isize) -> isize { diff --git a/src/test/ui/run-pass/binding/nested-exhaustive-match.rs b/src/test/ui/run-pass/binding/nested-exhaustive-match.rs index e0a3b1adfe4..8456e63d4c7 100644 --- a/src/test/ui/run-pass/binding/nested-exhaustive-match.rs +++ b/src/test/ui/run-pass/binding/nested-exhaustive-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo { foo: bool, bar: Option, baz: isize } diff --git a/src/test/ui/run-pass/binding/nested-matchs.rs b/src/test/ui/run-pass/binding/nested-matchs.rs index 46d30b68f78..e1012f3b384 100644 --- a/src/test/ui/run-pass/binding/nested-matchs.rs +++ b/src/test/ui/run-pass/binding/nested-matchs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn baz() -> ! { panic!(); } fn foo() { diff --git a/src/test/ui/run-pass/binding/nested-pattern.rs b/src/test/ui/run-pass/binding/nested-pattern.rs index f9abdd56fa4..47b3d17f554 100644 --- a/src/test/ui/run-pass/binding/nested-pattern.rs +++ b/src/test/ui/run-pass/binding/nested-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // a bug was causing this to complain about leaked memory on exit diff --git a/src/test/ui/run-pass/binding/nil-pattern.rs b/src/test/ui/run-pass/binding/nil-pattern.rs index 342644e0384..39b2f2da624 100644 --- a/src/test/ui/run-pass/binding/nil-pattern.rs +++ b/src/test/ui/run-pass/binding/nil-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { let x = (); match x { () => { } } } diff --git a/src/test/ui/run-pass/binding/nullary-or-pattern.rs b/src/test/ui/run-pass/binding/nullary-or-pattern.rs index feb8726c0e4..e4e4aa35947 100644 --- a/src/test/ui/run-pass/binding/nullary-or-pattern.rs +++ b/src/test/ui/run-pass/binding/nullary-or-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum blah { a, b, } diff --git a/src/test/ui/run-pass/binding/optional_comma_in_match_arm.rs b/src/test/ui/run-pass/binding/optional_comma_in_match_arm.rs index b25ec444f22..69879c3ab26 100644 --- a/src/test/ui/run-pass/binding/optional_comma_in_match_arm.rs +++ b/src/test/ui/run-pass/binding/optional_comma_in_match_arm.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37199 fn main() { diff --git a/src/test/ui/run-pass/binding/or-pattern.rs b/src/test/ui/run-pass/binding/or-pattern.rs index 3bb0c71c581..5ada9777721 100644 --- a/src/test/ui/run-pass/binding/or-pattern.rs +++ b/src/test/ui/run-pass/binding/or-pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum blah { a(isize, isize, usize), b(isize, isize), c, } diff --git a/src/test/ui/run-pass/binding/order-drop-with-match.rs b/src/test/ui/run-pass/binding/order-drop-with-match.rs index 8f82e3aaba1..7bb929325ad 100644 --- a/src/test/ui/run-pass/binding/order-drop-with-match.rs +++ b/src/test/ui/run-pass/binding/order-drop-with-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test to make sure the destructors run in the right order. // Each destructor sets it's tag in the corresponding entry diff --git a/src/test/ui/run-pass/binding/pat-ranges.rs b/src/test/ui/run-pass/binding/pat-ranges.rs index 964989508cc..44666eda3ca 100644 --- a/src/test/ui/run-pass/binding/pat-ranges.rs +++ b/src/test/ui/run-pass/binding/pat-ranges.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Parsing of range patterns const NUM1: i32 = 10; diff --git a/src/test/ui/run-pass/binding/pat-tuple-1.rs b/src/test/ui/run-pass/binding/pat-tuple-1.rs index 45a9a2b303c..dc8a7ff7a07 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-1.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn tuple() { let x = (1, 2, 3); match x { diff --git a/src/test/ui/run-pass/binding/pat-tuple-2.rs b/src/test/ui/run-pass/binding/pat-tuple-2.rs index ee60d1c01cf..0428e32c43b 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-2.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn tuple() { let x = (1,); match x { diff --git a/src/test/ui/run-pass/binding/pat-tuple-3.rs b/src/test/ui/run-pass/binding/pat-tuple-3.rs index 7a46c1deb59..60b933e4ce4 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-3.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn tuple() { let x = (1, 2, 3); let branch = match x { diff --git a/src/test/ui/run-pass/binding/pat-tuple-4.rs b/src/test/ui/run-pass/binding/pat-tuple-4.rs index 1d75e1e9d14..cd19f2c67a1 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-4.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn tuple() { let x = (1, 2, 3); match x { diff --git a/src/test/ui/run-pass/binding/pat-tuple-5.rs b/src/test/ui/run-pass/binding/pat-tuple-5.rs index 1192932f13d..0ac4c24c4ee 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-5.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-5.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn tuple() { struct S; struct Z; diff --git a/src/test/ui/run-pass/binding/pat-tuple-6.rs b/src/test/ui/run-pass/binding/pat-tuple-6.rs index 9d3cd65b455..b3cd0e1b543 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-6.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-6.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn tuple() { let x = (1, 2, 3, 4, 5); match x { diff --git a/src/test/ui/run-pass/binding/pat-tuple-7.rs b/src/test/ui/run-pass/binding/pat-tuple-7.rs index 6d51df63e15..c6730f14bc4 100644 --- a/src/test/ui/run-pass/binding/pat-tuple-7.rs +++ b/src/test/ui/run-pass/binding/pat-tuple-7.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(pattern_parentheses)] fn main() { diff --git a/src/test/ui/run-pass/binding/pattern-bound-var-in-for-each.rs b/src/test/ui/run-pass/binding/pattern-bound-var-in-for-each.rs index 778f355b24b..2ee697fe2ff 100644 --- a/src/test/ui/run-pass/binding/pattern-bound-var-in-for-each.rs +++ b/src/test/ui/run-pass/binding/pattern-bound-var-in-for-each.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that codegen_path checks whether a // pattern-bound var is an upvar (when codegenning // the for-each body) diff --git a/src/test/ui/run-pass/binding/pattern-in-closure.rs b/src/test/ui/run-pass/binding/pattern-in-closure.rs index 909ed985d7f..ce8b130a856 100644 --- a/src/test/ui/run-pass/binding/pattern-in-closure.rs +++ b/src/test/ui/run-pass/binding/pattern-in-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { x: isize, y: isize diff --git a/src/test/ui/run-pass/binding/range-inclusive-pattern-precedence.rs b/src/test/ui/run-pass/binding/range-inclusive-pattern-precedence.rs index 5e491d48bcf..350a64781cd 100644 --- a/src/test/ui/run-pass/binding/range-inclusive-pattern-precedence.rs +++ b/src/test/ui/run-pass/binding/range-inclusive-pattern-precedence.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_patterns, pattern_parentheses)] const VALUE: usize = 21; diff --git a/src/test/ui/run-pass/binding/simple-generic-match.rs b/src/test/ui/run-pass/binding/simple-generic-match.rs index 02fc2a61d01..ee1d305ea6f 100644 --- a/src/test/ui/run-pass/binding/simple-generic-match.rs +++ b/src/test/ui/run-pass/binding/simple-generic-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/binding/use-uninit-match.rs b/src/test/ui/run-pass/binding/use-uninit-match.rs index 9e606384f3f..956f1d2720b 100644 --- a/src/test/ui/run-pass/binding/use-uninit-match.rs +++ b/src/test/ui/run-pass/binding/use-uninit-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(o: myoption) -> isize { diff --git a/src/test/ui/run-pass/binding/use-uninit-match2.rs b/src/test/ui/run-pass/binding/use-uninit-match2.rs index dc0a6a26bc0..f7819f69519 100644 --- a/src/test/ui/run-pass/binding/use-uninit-match2.rs +++ b/src/test/ui/run-pass/binding/use-uninit-match2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(o: myoption) -> isize { diff --git a/src/test/ui/run-pass/binding/zero_sized_subslice_match.rs b/src/test/ui/run-pass/binding/zero_sized_subslice_match.rs index d399ef72976..db71d97a19d 100644 --- a/src/test/ui/run-pass/binding/zero_sized_subslice_match.rs +++ b/src/test/ui/run-pass/binding/zero_sized_subslice_match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn main() { diff --git a/src/test/ui/run-pass/cfg/cfg-attr-cfg.rs b/src/test/ui/run-pass/cfg/cfg-attr-cfg.rs index 74022d4c6c8..6e3d8f2e7f1 100644 --- a/src/test/ui/run-pass/cfg/cfg-attr-cfg.rs +++ b/src/test/ui/run-pass/cfg/cfg-attr-cfg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // main is conditionally compiled, but the conditional compilation // is conditional too! diff --git a/src/test/ui/run-pass/cfg/cfg-attr-crate.rs b/src/test/ui/run-pass/cfg/cfg-attr-crate.rs index 21dc7ff7e01..d352e53f231 100644 --- a/src/test/ui/run-pass/cfg/cfg-attr-crate.rs +++ b/src/test/ui/run-pass/cfg/cfg-attr-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // https://github.com/rust-lang/rust/issues/21833#issuecomment-72353044 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cfg/cfg-family.rs b/src/test/ui/run-pass/cfg/cfg-family.rs index e45e35b370d..0a1241cccb8 100644 --- a/src/test/ui/run-pass/cfg/cfg-family.rs +++ b/src/test/ui/run-pass/cfg/cfg-family.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-cloudabi no target_family // ignore-wasm32-bare no target_family diff --git a/src/test/ui/run-pass/cfg/cfg-in-crate-1.rs b/src/test/ui/run-pass/cfg/cfg-in-crate-1.rs index 5dd6fa45bb9..e66c8324f36 100644 --- a/src/test/ui/run-pass/cfg/cfg-in-crate-1.rs +++ b/src/test/ui/run-pass/cfg/cfg-in-crate-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg bar -D warnings #![cfg(bar)] diff --git a/src/test/ui/run-pass/cfg/cfg-macros-foo.rs b/src/test/ui/run-pass/cfg/cfg-macros-foo.rs index 36b9ce1585c..6729d205410 100644 --- a/src/test/ui/run-pass/cfg/cfg-macros-foo.rs +++ b/src/test/ui/run-pass/cfg/cfg-macros-foo.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg foo // check that cfg correctly chooses between the macro impls (see also diff --git a/src/test/ui/run-pass/cfg/cfg-macros-notfoo.rs b/src/test/ui/run-pass/cfg/cfg-macros-notfoo.rs index 4e1b833add0..2e9614cf8af 100644 --- a/src/test/ui/run-pass/cfg/cfg-macros-notfoo.rs +++ b/src/test/ui/run-pass/cfg/cfg-macros-notfoo.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: // check that cfg correctly chooses between the macro impls (see also diff --git a/src/test/ui/run-pass/cfg/cfg-match-arm.rs b/src/test/ui/run-pass/cfg/cfg-match-arm.rs index 05dc7d52424..8443d59e869 100644 --- a/src/test/ui/run-pass/cfg/cfg-match-arm.rs +++ b/src/test/ui/run-pass/cfg/cfg-match-arm.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Foo { diff --git a/src/test/ui/run-pass/cfg/cfg-target-family.rs b/src/test/ui/run-pass/cfg/cfg-target-family.rs index 7c279e43e0e..3345df69d87 100644 --- a/src/test/ui/run-pass/cfg/cfg-target-family.rs +++ b/src/test/ui/run-pass/cfg/cfg-target-family.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no target_family // ignore-wasm32-bare no target_family diff --git a/src/test/ui/run-pass/cfg/cfg-target-vendor.rs b/src/test/ui/run-pass/cfg/cfg-target-vendor.rs index 787ae5289dd..08daa67827b 100644 --- a/src/test/ui/run-pass/cfg/cfg-target-vendor.rs +++ b/src/test/ui/run-pass/cfg/cfg-target-vendor.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(cfg_target_vendor)] #[cfg(target_vendor = "unknown")] diff --git a/src/test/ui/run-pass/cfg/cfg_attr.rs b/src/test/ui/run-pass/cfg/cfg_attr.rs index 9bef7f70420..e9f83e1112f 100644 --- a/src/test/ui/run-pass/cfg/cfg_attr.rs +++ b/src/test/ui/run-pass/cfg/cfg_attr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--cfg set1 --cfg set2 #![allow(dead_code)] use std::fmt::Debug; diff --git a/src/test/ui/run-pass/cfg/cfg_inner_static.rs b/src/test/ui/run-pass/cfg/cfg_inner_static.rs index b3d5ddc4283..e711132e16a 100644 --- a/src/test/ui/run-pass/cfg/cfg_inner_static.rs +++ b/src/test/ui/run-pass/cfg/cfg_inner_static.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cfg_inner_static.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cfg/cfg_stmt_expr.rs b/src/test/ui/run-pass/cfg/cfg_stmt_expr.rs index fcc93557665..102ca22f0bd 100644 --- a/src/test/ui/run-pass/cfg/cfg_stmt_expr.rs +++ b/src/test/ui/run-pass/cfg/cfg_stmt_expr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(non_snake_case)] #![feature(stmt_expr_attributes)] diff --git a/src/test/ui/run-pass/cfg/cfgs-on-items.rs b/src/test/ui/run-pass/cfg/cfgs-on-items.rs index 1b692d8bd51..d8011827f66 100644 --- a/src/test/ui/run-pass/cfg/cfgs-on-items.rs +++ b/src/test/ui/run-pass/cfg/cfgs-on-items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg fooA --cfg fooB // fooA AND !bar diff --git a/src/test/ui/run-pass/cfg/conditional-compile-arch.rs b/src/test/ui/run-pass/cfg/conditional-compile-arch.rs index 1efbfb927fa..2eafd8f854d 100644 --- a/src/test/ui/run-pass/cfg/conditional-compile-arch.rs +++ b/src/test/ui/run-pass/cfg/conditional-compile-arch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[cfg(target_arch = "x86")] diff --git a/src/test/ui/run-pass/cfg/conditional-compile.rs b/src/test/ui/run-pass/cfg/conditional-compile.rs index 01bdcfeaefb..79d43fed7f5 100644 --- a/src/test/ui/run-pass/cfg/conditional-compile.rs +++ b/src/test/ui/run-pass/cfg/conditional-compile.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Crate use statements #[cfg(bogus)] diff --git a/src/test/ui/run-pass/cfg/crate-attributes-using-cfg_attr.rs b/src/test/ui/run-pass/cfg/crate-attributes-using-cfg_attr.rs index 72ccc6723f9..0d817df7cdc 100644 --- a/src/test/ui/run-pass/cfg/crate-attributes-using-cfg_attr.rs +++ b/src/test/ui/run-pass/cfg/crate-attributes-using-cfg_attr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:crate-attributes-using-cfg_attr.rs extern crate crate_attributes_using_cfg_attr; diff --git a/src/test/ui/run-pass/coerce/coerce-expect-unsized.rs b/src/test/ui/run-pass/coerce/coerce-expect-unsized.rs index 5a1953b563a..cb0fd0b7504 100644 --- a/src/test/ui/run-pass/coerce/coerce-expect-unsized.rs +++ b/src/test/ui/run-pass/coerce/coerce-expect-unsized.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::cell::RefCell; diff --git a/src/test/ui/run-pass/coerce/coerce-overloaded-autoderef.rs b/src/test/ui/run-pass/coerce/coerce-overloaded-autoderef.rs index 091e29dd18a..c6b9e61dae1 100644 --- a/src/test/ui/run-pass/coerce/coerce-overloaded-autoderef.rs +++ b/src/test/ui/run-pass/coerce/coerce-overloaded-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::rc::Rc; diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-arg.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-arg.rs index 581764d4a3b..be5e55afbc5 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-arg.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn negate(x: &isize) -> isize { diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-rcvr.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-rcvr.rs index 5258ad1af51..0b76375fba1 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-rcvr.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-ptr-rcvr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct SpeechMaker { speeches: usize diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-arg.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-arg.rs index 1786d5b54f3..f8849e6af86 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-arg.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn sum(x: &[isize]) -> isize { diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-rcvr.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-rcvr.rs index e86f20694e1..4faf6dadbef 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-rcvr.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-imm-vec-rcvr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn bar(v: &mut [usize]) -> Vec { diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-arg.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-arg.rs index b70146ea2d3..7d851bb8bd2 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-arg.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct SpeechMaker { diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-rcvr.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-rcvr.rs index 5f4cc569ac4..42f710299ff 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-rcvr.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-ptr-rcvr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct SpeechMaker { diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-arg.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-arg.rs index ca4ee4a97d5..25a73c3d2d6 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-arg.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn reverse(v: &mut [usize]) { diff --git a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-rcvr.rs b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-rcvr.rs index f35735adbcf..04b884620b6 100644 --- a/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-rcvr.rs +++ b/src/test/ui/run-pass/coerce/coerce-reborrow-mut-vec-rcvr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn bar(v: &mut [usize]) { diff --git a/src/test/ui/run-pass/coerce/coerce-unify-return.rs b/src/test/ui/run-pass/coerce/coerce-unify-return.rs index 2299a03b2a4..2b276f2cfe4 100644 --- a/src/test/ui/run-pass/coerce/coerce-unify-return.rs +++ b/src/test/ui/run-pass/coerce/coerce-unify-return.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that coercions unify the expected return type of a polymorphic // function call, instead of leaving the type variables as they were. diff --git a/src/test/ui/run-pass/coerce/coerce-unify.rs b/src/test/ui/run-pass/coerce/coerce-unify.rs index 3d690146931..575d672e092 100644 --- a/src/test/ui/run-pass/coerce/coerce-unify.rs +++ b/src/test/ui/run-pass/coerce/coerce-unify.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that coercions can unify if-else, match arms and array elements. // Try to construct if-else chains, matches and arrays out of given expressions. diff --git a/src/test/ui/run-pass/coerce/coerce-unsize-subtype.rs b/src/test/ui/run-pass/coerce/coerce-unsize-subtype.rs index b19708f5a89..ab571a8b40d 100644 --- a/src/test/ui/run-pass/coerce/coerce-unsize-subtype.rs +++ b/src/test/ui/run-pass/coerce/coerce-unsize-subtype.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::rc::Rc; diff --git a/src/test/ui/run-pass/coherence/coherence-bigint-int.rs b/src/test/ui/run-pass/coherence/coherence-bigint-int.rs index 9ad4f6b9d75..62736b1f368 100644 --- a/src/test/ui/run-pass/coherence/coherence-bigint-int.rs +++ b/src/test/ui/run-pass/coherence/coherence-bigint-int.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:coherence_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/coherence/coherence-bigint-vecint.rs b/src/test/ui/run-pass/coherence/coherence-bigint-vecint.rs index ac4b98cfc8c..372f38738e5 100644 --- a/src/test/ui/run-pass/coherence/coherence-bigint-vecint.rs +++ b/src/test/ui/run-pass/coherence/coherence-bigint-vecint.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:coherence_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/coherence/coherence-blanket.rs b/src/test/ui/run-pass/coherence/coherence-blanket.rs index 32743aafa82..fa09b13bf67 100644 --- a/src/test/ui/run-pass/coherence/coherence-blanket.rs +++ b/src/test/ui/run-pass/coherence/coherence-blanket.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:coherence_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/coherence/coherence-covered-type-parameter.rs b/src/test/ui/run-pass/coherence/coherence-covered-type-parameter.rs index 890470d8ac2..3ddeb58dddc 100644 --- a/src/test/ui/run-pass/coherence/coherence-covered-type-parameter.rs +++ b/src/test/ui/run-pass/coherence/coherence-covered-type-parameter.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:coherence_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/coherence/coherence-impl-in-fn.rs b/src/test/ui/run-pass/coherence/coherence-impl-in-fn.rs index d7c21340afc..8c49d94e067 100644 --- a/src/test/ui/run-pass/coherence/coherence-impl-in-fn.rs +++ b/src/test/ui/run-pass/coherence/coherence-impl-in-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { #[derive(Copy, Clone)] enum x { foo } diff --git a/src/test/ui/run-pass/coherence/coherence-iterator-vec-any-elem.rs b/src/test/ui/run-pass/coherence/coherence-iterator-vec-any-elem.rs index 04a6cd58827..d446f0dca9a 100644 --- a/src/test/ui/run-pass/coherence/coherence-iterator-vec-any-elem.rs +++ b/src/test/ui/run-pass/coherence/coherence-iterator-vec-any-elem.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:coherence_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/coherence/coherence-iterator-vec.rs b/src/test/ui/run-pass/coherence/coherence-iterator-vec.rs index 8a3301dee27..38ad5b8115a 100644 --- a/src/test/ui/run-pass/coherence/coherence-iterator-vec.rs +++ b/src/test/ui/run-pass/coherence/coherence-iterator-vec.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:coherence_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/coherence/coherence-multidispatch-tuple.rs b/src/test/ui/run-pass/coherence/coherence-multidispatch-tuple.rs index 07477f96c0d..ab04f946fa6 100644 --- a/src/test/ui/run-pass/coherence/coherence-multidispatch-tuple.rs +++ b/src/test/ui/run-pass/coherence/coherence-multidispatch-tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::fmt::Debug; diff --git a/src/test/ui/run-pass/coherence/coherence-negative-impls-safe.rs b/src/test/ui/run-pass/coherence/coherence-negative-impls-safe.rs index 2f42ab4988a..7984193862e 100644 --- a/src/test/ui/run-pass/coherence/coherence-negative-impls-safe.rs +++ b/src/test/ui/run-pass/coherence/coherence-negative-impls-safe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(optin_builtin_traits)] diff --git a/src/test/ui/run-pass/coherence/coherence-rfc447-constrained.rs b/src/test/ui/run-pass/coherence/coherence-rfc447-constrained.rs index 4b52378e508..5db8188e1ff 100644 --- a/src/test/ui/run-pass/coherence/coherence-rfc447-constrained.rs +++ b/src/test/ui/run-pass/coherence/coherence-rfc447-constrained.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that trait matching can handle impls whose types are only // constrained by a projection. diff --git a/src/test/ui/run-pass/coherence/coherence-subtyping.rs b/src/test/ui/run-pass/coherence/coherence-subtyping.rs index eb04514271c..0dcd83f87b8 100644 --- a/src/test/ui/run-pass/coherence/coherence-subtyping.rs +++ b/src/test/ui/run-pass/coherence/coherence-subtyping.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that two distinct impls which match subtypes of one another // yield coherence errors (or not) depending on the variance. diff --git a/src/test/ui/run-pass/coherence/coherence-where-clause.rs b/src/test/ui/run-pass/coherence/coherence-where-clause.rs index 8ab340d1bff..9691978466b 100644 --- a/src/test/ui/run-pass/coherence/coherence-where-clause.rs +++ b/src/test/ui/run-pass/coherence/coherence-where-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt::Debug; use std::default::Default; diff --git a/src/test/ui/run-pass/coherence/coherence_copy_like.rs b/src/test/ui/run-pass/coherence/coherence_copy_like.rs index 71db5225ecc..c6903d911f9 100644 --- a/src/test/ui/run-pass/coherence/coherence_copy_like.rs +++ b/src/test/ui/run-pass/coherence/coherence_copy_like.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to introduce a negative constraint that // `MyType: !MyTrait` along with other "fundamental" wrappers. diff --git a/src/test/ui/run-pass/consts/const-adt-align-mismatch.rs b/src/test/ui/run-pass/consts/const-adt-align-mismatch.rs index 46cd708a139..a6e823b6e2b 100644 --- a/src/test/ui/run-pass/consts/const-adt-align-mismatch.rs +++ b/src/test/ui/run-pass/consts/const-adt-align-mismatch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; #[derive(PartialEq, Debug)] diff --git a/src/test/ui/run-pass/consts/const-autoderef.rs b/src/test/ui/run-pass/consts/const-autoderef.rs index 6b3970e4f19..939f7d4441a 100644 --- a/src/test/ui/run-pass/consts/const-autoderef.rs +++ b/src/test/ui/run-pass/consts/const-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const A: [u8; 1] = ['h' as u8]; const B: u8 = (&A)[0]; diff --git a/src/test/ui/run-pass/consts/const-big-enum.rs b/src/test/ui/run-pass/consts/const-big-enum.rs index 33e5e054650..1ad46fa4106 100644 --- a/src/test/ui/run-pass/consts/const-big-enum.rs +++ b/src/test/ui/run-pass/consts/const-big-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { Bar(u32), diff --git a/src/test/ui/run-pass/consts/const-binops.rs b/src/test/ui/run-pass/consts/const-binops.rs index a29953bea88..2e90a458aee 100644 --- a/src/test/ui/run-pass/consts/const-binops.rs +++ b/src/test/ui/run-pass/consts/const-binops.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! assert_approx_eq { ($a:expr, $b:expr) => ({ diff --git a/src/test/ui/run-pass/consts/const-bitshift-rhs-inference.rs b/src/test/ui/run-pass/consts/const-bitshift-rhs-inference.rs index b377fd230b9..63b8af77326 100644 --- a/src/test/ui/run-pass/consts/const-bitshift-rhs-inference.rs +++ b/src/test/ui/run-pass/consts/const-bitshift-rhs-inference.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const RHS: u8 = 8; const IRHS: i8 = 8; const RHS16: u16 = 8; diff --git a/src/test/ui/run-pass/consts/const-block-cross-crate-fn.rs b/src/test/ui/run-pass/consts/const-block-cross-crate-fn.rs index 6fa6feffbfa..c7d156fcf19 100644 --- a/src/test/ui/run-pass/consts/const-block-cross-crate-fn.rs +++ b/src/test/ui/run-pass/consts/const-block-cross-crate-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_const_block.rs diff --git a/src/test/ui/run-pass/consts/const-block-item-macro-codegen.rs b/src/test/ui/run-pass/consts/const-block-item-macro-codegen.rs index 8a4b220a376..ab452e4fe46 100644 --- a/src/test/ui/run-pass/consts/const-block-item-macro-codegen.rs +++ b/src/test/ui/run-pass/consts/const-block-item-macro-codegen.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // General test that function items in static blocks // can be generated with a macro. diff --git a/src/test/ui/run-pass/consts/const-block-item.rs b/src/test/ui/run-pass/consts/const-block-item.rs index 51ebc240e72..fe3483ae9f0 100644 --- a/src/test/ui/run-pass/consts/const-block-item.rs +++ b/src/test/ui/run-pass/consts/const-block-item.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod foo { pub trait Value { diff --git a/src/test/ui/run-pass/consts/const-block.rs b/src/test/ui/run-pass/consts/const-block.rs index e6f191ea952..1b9330a6ebf 100644 --- a/src/test/ui/run-pass/consts/const-block.rs +++ b/src/test/ui/run-pass/consts/const-block.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] #![allow(unused_unsafe)] diff --git a/src/test/ui/run-pass/consts/const-bound.rs b/src/test/ui/run-pass/consts/const-bound.rs index 72a23b998e5..a4ac766a740 100644 --- a/src/test/ui/run-pass/consts/const-bound.rs +++ b/src/test/ui/run-pass/consts/const-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Make sure const bounds work on things, and test that a few types // are const. diff --git a/src/test/ui/run-pass/consts/const-byte-str-cast.rs b/src/test/ui/run-pass/consts/const-byte-str-cast.rs index 7297c71a6d6..175d48e5c01 100644 --- a/src/test/ui/run-pass/consts/const-byte-str-cast.rs +++ b/src/test/ui/run-pass/consts/const-byte-str-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[deny(warnings)] pub fn main() { diff --git a/src/test/ui/run-pass/consts/const-cast-ptr-int.rs b/src/test/ui/run-pass/consts/const-cast-ptr-int.rs index e7674f893d3..f99327b650a 100644 --- a/src/test/ui/run-pass/consts/const-cast-ptr-int.rs +++ b/src/test/ui/run-pass/consts/const-cast-ptr-int.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ptr; diff --git a/src/test/ui/run-pass/consts/const-cast.rs b/src/test/ui/run-pass/consts/const-cast.rs index e77fd5f7139..d4010a26c5d 100644 --- a/src/test/ui/run-pass/consts/const-cast.rs +++ b/src/test/ui/run-pass/consts/const-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct TestStruct { x: *const u8, } diff --git a/src/test/ui/run-pass/consts/const-const.rs b/src/test/ui/run-pass/consts/const-const.rs index b28017b85ad..5d102093d36 100644 --- a/src/test/ui/run-pass/consts/const-const.rs +++ b/src/test/ui/run-pass/consts/const-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const a: isize = 1; const b: isize = a + 2; diff --git a/src/test/ui/run-pass/consts/const-contents.rs b/src/test/ui/run-pass/consts/const-contents.rs index 0d9d0e0e0aa..103315f3ebc 100644 --- a/src/test/ui/run-pass/consts/const-contents.rs +++ b/src/test/ui/run-pass/consts/const-contents.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #570 diff --git a/src/test/ui/run-pass/consts/const-cross-crate-const.rs b/src/test/ui/run-pass/consts/const-cross-crate-const.rs index d66c335db2e..a96498e9377 100644 --- a/src/test/ui/run-pass/consts/const-cross-crate-const.rs +++ b/src/test/ui/run-pass/consts/const-cross-crate-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_const.rs diff --git a/src/test/ui/run-pass/consts/const-cross-crate-extern.rs b/src/test/ui/run-pass/consts/const-cross-crate-extern.rs index bbe31ceed33..c4efd0b9046 100644 --- a/src/test/ui/run-pass/consts/const-cross-crate-extern.rs +++ b/src/test/ui/run-pass/consts/const-cross-crate-extern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_const.rs diff --git a/src/test/ui/run-pass/consts/const-deref.rs b/src/test/ui/run-pass/consts/const-deref.rs index f5407f0c815..39515c8546a 100644 --- a/src/test/ui/run-pass/consts/const-deref.rs +++ b/src/test/ui/run-pass/consts/const-deref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const C: &'static isize = &1000; static D: isize = *C; diff --git a/src/test/ui/run-pass/consts/const-endianess.rs b/src/test/ui/run-pass/consts/const-endianess.rs index 95c738d3ec4..4ac46955709 100644 --- a/src/test/ui/run-pass/consts/const-endianess.rs +++ b/src/test/ui/run-pass/consts/const-endianess.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(const_int_ops)] #![feature(test)] diff --git a/src/test/ui/run-pass/consts/const-enum-byref-self.rs b/src/test/ui/run-pass/consts/const-enum-byref-self.rs index 57470c4a67e..9656bc54eb2 100644 --- a/src/test/ui/run-pass/consts/const-enum-byref-self.rs +++ b/src/test/ui/run-pass/consts/const-enum-byref-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V, VV(isize) } static C: E = E::V; diff --git a/src/test/ui/run-pass/consts/const-enum-byref.rs b/src/test/ui/run-pass/consts/const-enum-byref.rs index e3f1d5d3532..1e418f66c13 100644 --- a/src/test/ui/run-pass/consts/const-enum-byref.rs +++ b/src/test/ui/run-pass/consts/const-enum-byref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V, VV(isize) } static C: E = E::V; diff --git a/src/test/ui/run-pass/consts/const-enum-cast.rs b/src/test/ui/run-pass/consts/const-enum-cast.rs index 38f21f7e959..48ef0c43478 100644 --- a/src/test/ui/run-pass/consts/const-enum-cast.rs +++ b/src/test/ui/run-pass/consts/const-enum-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum A { A1, A2 } enum B { B1=0, B2=2 } diff --git a/src/test/ui/run-pass/consts/const-enum-ptr.rs b/src/test/ui/run-pass/consts/const-enum-ptr.rs index 40a1c99e987..78c784e4bb3 100644 --- a/src/test/ui/run-pass/consts/const-enum-ptr.rs +++ b/src/test/ui/run-pass/consts/const-enum-ptr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V0, V1(isize) } static C: &'static E = &E::V0; diff --git a/src/test/ui/run-pass/consts/const-enum-struct.rs b/src/test/ui/run-pass/consts/const-enum-struct.rs index 46c4f82eb98..4a4ad9d89e6 100644 --- a/src/test/ui/run-pass/consts/const-enum-struct.rs +++ b/src/test/ui/run-pass/consts/const-enum-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V16(u16), V32(u32) } struct S { a: E, b: u16, c: u16 } diff --git a/src/test/ui/run-pass/consts/const-enum-struct2.rs b/src/test/ui/run-pass/consts/const-enum-struct2.rs index e356ecb385b..c37b06f8337 100644 --- a/src/test/ui/run-pass/consts/const-enum-struct2.rs +++ b/src/test/ui/run-pass/consts/const-enum-struct2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V0, V16(u16) } struct S { a: E, b: u16, c: u16 } diff --git a/src/test/ui/run-pass/consts/const-enum-structlike.rs b/src/test/ui/run-pass/consts/const-enum-structlike.rs index a526e0be3da..a6bac3c9e7d 100644 --- a/src/test/ui/run-pass/consts/const-enum-structlike.rs +++ b/src/test/ui/run-pass/consts/const-enum-structlike.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { S0 { s: String }, diff --git a/src/test/ui/run-pass/consts/const-enum-tuple.rs b/src/test/ui/run-pass/consts/const-enum-tuple.rs index 476defaa524..2f0dcdaf9b2 100644 --- a/src/test/ui/run-pass/consts/const-enum-tuple.rs +++ b/src/test/ui/run-pass/consts/const-enum-tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V16(u16), V32(u32) } static C: (E, u16, u16) = (E::V16(0xDEAD), 0x600D, 0xBAD); diff --git a/src/test/ui/run-pass/consts/const-enum-tuple2.rs b/src/test/ui/run-pass/consts/const-enum-tuple2.rs index 61043ef75a4..1db56e0e6f2 100644 --- a/src/test/ui/run-pass/consts/const-enum-tuple2.rs +++ b/src/test/ui/run-pass/consts/const-enum-tuple2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V0, V16(u16) } static C: (E, u16, u16) = (E::V0, 0x600D, 0xBAD); diff --git a/src/test/ui/run-pass/consts/const-enum-tuplestruct.rs b/src/test/ui/run-pass/consts/const-enum-tuplestruct.rs index f574508522b..f37ff4d9c99 100644 --- a/src/test/ui/run-pass/consts/const-enum-tuplestruct.rs +++ b/src/test/ui/run-pass/consts/const-enum-tuplestruct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V16(u16), V32(u32) } struct S(E, u16, u16); diff --git a/src/test/ui/run-pass/consts/const-enum-tuplestruct2.rs b/src/test/ui/run-pass/consts/const-enum-tuplestruct2.rs index 88cfc0dec70..5d6a77dddb8 100644 --- a/src/test/ui/run-pass/consts/const-enum-tuplestruct2.rs +++ b/src/test/ui/run-pass/consts/const-enum-tuplestruct2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V0, V16(u16) } struct S(E, u16, u16); diff --git a/src/test/ui/run-pass/consts/const-enum-vec-index.rs b/src/test/ui/run-pass/consts/const-enum-vec-index.rs index 9c1a4dbdffa..067cc2bc75f 100644 --- a/src/test/ui/run-pass/consts/const-enum-vec-index.rs +++ b/src/test/ui/run-pass/consts/const-enum-vec-index.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone)] enum E { V1(isize), V0 } diff --git a/src/test/ui/run-pass/consts/const-enum-vec-ptr.rs b/src/test/ui/run-pass/consts/const-enum-vec-ptr.rs index 0bd18a02e4a..a8a3dec5bdc 100644 --- a/src/test/ui/run-pass/consts/const-enum-vec-ptr.rs +++ b/src/test/ui/run-pass/consts/const-enum-vec-ptr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V1(isize), V0 } static C: &'static [E] = &[E::V0, E::V1(0xDEADBEE), E::V0]; diff --git a/src/test/ui/run-pass/consts/const-enum-vector.rs b/src/test/ui/run-pass/consts/const-enum-vector.rs index e7a6f520a99..e95742451b4 100644 --- a/src/test/ui/run-pass/consts/const-enum-vector.rs +++ b/src/test/ui/run-pass/consts/const-enum-vector.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { V1(isize), V0 } static C: [E; 3] = [E::V0, E::V1(0xDEADBEE), E::V0]; diff --git a/src/test/ui/run-pass/consts/const-err.rs b/src/test/ui/run-pass/consts/const-err.rs index f7f79356a0b..2074ee3e908 100644 --- a/src/test/ui/run-pass/consts/const-err.rs +++ b/src/test/ui/run-pass/consts/const-err.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check for const_err regressions #![deny(const_err)] diff --git a/src/test/ui/run-pass/consts/const-expr-in-fixed-length-vec.rs b/src/test/ui/run-pass/consts/const-expr-in-fixed-length-vec.rs index 6cf9239e2e4..c67946d6fa1 100644 --- a/src/test/ui/run-pass/consts/const-expr-in-fixed-length-vec.rs +++ b/src/test/ui/run-pass/consts/const-expr-in-fixed-length-vec.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that constant expressions can be used for declaring the // type of a fixed length vector. diff --git a/src/test/ui/run-pass/consts/const-expr-in-vec-repeat.rs b/src/test/ui/run-pass/consts/const-expr-in-vec-repeat.rs index fc3e6749f6e..150d24b3106 100644 --- a/src/test/ui/run-pass/consts/const-expr-in-vec-repeat.rs +++ b/src/test/ui/run-pass/consts/const-expr-in-vec-repeat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that constant expressions can be used in vec repeat syntax. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/consts/const-extern-function.rs b/src/test/ui/run-pass/consts/const-extern-function.rs index 214b0400e86..9a3aef9c2f5 100644 --- a/src/test/ui/run-pass/consts/const-extern-function.rs +++ b/src/test/ui/run-pass/consts/const-extern-function.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass extern fn foopy() {} diff --git a/src/test/ui/run-pass/consts/const-fields-and-indexing.rs b/src/test/ui/run-pass/consts/const-fields-and-indexing.rs index 55d6b60c192..ed00a238586 100644 --- a/src/test/ui/run-pass/consts/const-fields-and-indexing.rs +++ b/src/test/ui/run-pass/consts/const-fields-and-indexing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const x : [isize; 4] = [1,2,3,4]; static p : isize = x[2]; const y : &'static [isize] = &[1,2,3,4]; diff --git a/src/test/ui/run-pass/consts/const-fn-const-eval.rs b/src/test/ui/run-pass/consts/const-fn-const-eval.rs index 3fe27ca200c..897073cd623 100644 --- a/src/test/ui/run-pass/consts/const-fn-const-eval.rs +++ b/src/test/ui/run-pass/consts/const-fn-const-eval.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] const fn add(x: usize, y: usize) -> usize { diff --git a/src/test/ui/run-pass/consts/const-fn-feature-flags.rs b/src/test/ui/run-pass/consts/const-fn-feature-flags.rs index a7736a2eb34..be529db3c08 100644 --- a/src/test/ui/run-pass/consts/const-fn-feature-flags.rs +++ b/src/test/ui/run-pass/consts/const-fn-feature-flags.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test use of stabilized const fns in std formerly using individual feature gates. use std::cell::Cell; diff --git a/src/test/ui/run-pass/consts/const-fn-method.rs b/src/test/ui/run-pass/consts/const-fn-method.rs index bed78f1e897..3ecb4fffba1 100644 --- a/src/test/ui/run-pass/consts/const-fn-method.rs +++ b/src/test/ui/run-pass/consts/const-fn-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] struct Foo { value: u32 } diff --git a/src/test/ui/run-pass/consts/const-fn-nested.rs b/src/test/ui/run-pass/consts/const-fn-nested.rs index d5959a89e51..41198a901c2 100644 --- a/src/test/ui/run-pass/consts/const-fn-nested.rs +++ b/src/test/ui/run-pass/consts/const-fn-nested.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a call whose argument is the result of another call. #![feature(min_const_fn)] diff --git a/src/test/ui/run-pass/consts/const-fn-stability-calls.rs b/src/test/ui/run-pass/consts/const-fn-stability-calls.rs index c5f97d55c06..b520ebab17c 100644 --- a/src/test/ui/run-pass/consts/const-fn-stability-calls.rs +++ b/src/test/ui/run-pass/consts/const-fn-stability-calls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test use of const fn from another crate without a feature gate. // aux-build:const_fn_lib.rs diff --git a/src/test/ui/run-pass/consts/const-fn-val.rs b/src/test/ui/run-pass/consts/const-fn-val.rs index 85c92dda434..ac5c7e3febc 100644 --- a/src/test/ui/run-pass/consts/const-fn-val.rs +++ b/src/test/ui/run-pass/consts/const-fn-val.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo() -> isize { return 0xca7f000d; diff --git a/src/test/ui/run-pass/consts/const-fn.rs b/src/test/ui/run-pass/consts/const-fn.rs index 562040dc562..9e17df4ad33 100644 --- a/src/test/ui/run-pass/consts/const-fn.rs +++ b/src/test/ui/run-pass/consts/const-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A very basic test of const fn functionality. #![feature(const_fn, const_indexing)] diff --git a/src/test/ui/run-pass/consts/const-index-feature-gate.rs b/src/test/ui/run-pass/consts/const-index-feature-gate.rs index 2e60634d15e..3e26ea9dcae 100644 --- a/src/test/ui/run-pass/consts/const-index-feature-gate.rs +++ b/src/test/ui/run-pass/consts/const-index-feature-gate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const ARR: [usize; 1] = [2]; const ARR2: [i32; ARR[0]] = [5, 6]; diff --git a/src/test/ui/run-pass/consts/const-meth-pattern.rs b/src/test/ui/run-pass/consts/const-meth-pattern.rs index 836716051d2..1762c17e943 100644 --- a/src/test/ui/run-pass/consts/const-meth-pattern.rs +++ b/src/test/ui/run-pass/consts/const-meth-pattern.rs @@ -7,6 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass + #![feature(min_const_fn)] struct A; diff --git a/src/test/ui/run-pass/consts/const-negation.rs b/src/test/ui/run-pass/consts/const-negation.rs index 5c633eb6112..c11d283d2b0 100644 --- a/src/test/ui/run-pass/consts/const-negation.rs +++ b/src/test/ui/run-pass/consts/const-negation.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[deny(const_err)] fn main() { diff --git a/src/test/ui/run-pass/consts/const-negative.rs b/src/test/ui/run-pass/consts/const-negative.rs index 7f26a977339..a4fd8472a16 100644 --- a/src/test/ui/run-pass/consts/const-negative.rs +++ b/src/test/ui/run-pass/consts/const-negative.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #358 diff --git a/src/test/ui/run-pass/consts/const-nullary-enum.rs b/src/test/ui/run-pass/consts/const-nullary-enum.rs index b3f6549ef01..d1e359eab4e 100644 --- a/src/test/ui/run-pass/consts/const-nullary-enum.rs +++ b/src/test/ui/run-pass/consts/const-nullary-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { Bar, diff --git a/src/test/ui/run-pass/consts/const-nullary-univariant-enum.rs b/src/test/ui/run-pass/consts/const-nullary-univariant-enum.rs index b1b7f782cd0..aa255c4fdeb 100644 --- a/src/test/ui/run-pass/consts/const-nullary-univariant-enum.rs +++ b/src/test/ui/run-pass/consts/const-nullary-univariant-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone)] enum Foo { diff --git a/src/test/ui/run-pass/consts/const-pattern-variant.rs b/src/test/ui/run-pass/consts/const-pattern-variant.rs index 689ae19e7d4..95e0a5a62e3 100644 --- a/src/test/ui/run-pass/consts/const-pattern-variant.rs +++ b/src/test/ui/run-pass/consts/const-pattern-variant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] #[derive(PartialEq, Eq)] diff --git a/src/test/ui/run-pass/consts/const-rec-and-tup.rs b/src/test/ui/run-pass/consts/const-rec-and-tup.rs index e6680fe3e8f..331be437c56 100644 --- a/src/test/ui/run-pass/consts/const-rec-and-tup.rs +++ b/src/test/ui/run-pass/consts/const-rec-and-tup.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Pair { a: f64, b: f64 } struct AnotherPair { x: (i64, i64), y: Pair } diff --git a/src/test/ui/run-pass/consts/const-region-ptrs-noncopy.rs b/src/test/ui/run-pass/consts/const-region-ptrs-noncopy.rs index 9a1f747ce59..340c3d9e886 100644 --- a/src/test/ui/run-pass/consts/const-region-ptrs-noncopy.rs +++ b/src/test/ui/run-pass/consts/const-region-ptrs-noncopy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type Big = [u64; 8]; struct Pair<'a> { a: isize, b: &'a Big } diff --git a/src/test/ui/run-pass/consts/const-region-ptrs.rs b/src/test/ui/run-pass/consts/const-region-ptrs.rs index c783d4b8184..5244b9f2e57 100644 --- a/src/test/ui/run-pass/consts/const-region-ptrs.rs +++ b/src/test/ui/run-pass/consts/const-region-ptrs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Pair<'a> { a: isize, b: &'a isize } const x: &'static isize = &10; diff --git a/src/test/ui/run-pass/consts/const-repeated-values.rs b/src/test/ui/run-pass/consts/const-repeated-values.rs index 1d749a2626e..15a377c9c25 100644 --- a/src/test/ui/run-pass/consts/const-repeated-values.rs +++ b/src/test/ui/run-pass/consts/const-repeated-values.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const FOO: isize = 42; enum Bar { diff --git a/src/test/ui/run-pass/consts/const-size_of-align_of.rs b/src/test/ui/run-pass/consts/const-size_of-align_of.rs index 245dd673b51..289c61ea9fa 100644 --- a/src/test/ui/run-pass/consts/const-size_of-align_of.rs +++ b/src/test/ui/run-pass/consts/const-size_of-align_of.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] use std::mem; diff --git a/src/test/ui/run-pass/consts/const-str-ptr.rs b/src/test/ui/run-pass/consts/const-str-ptr.rs index f58bf4fc39f..59482811829 100644 --- a/src/test/ui/run-pass/consts/const-str-ptr.rs +++ b/src/test/ui/run-pass/consts/const-str-ptr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::{str, string}; const A: [u8; 2] = ['h' as u8, 'i' as u8]; diff --git a/src/test/ui/run-pass/consts/const-struct-offsets.rs b/src/test/ui/run-pass/consts/const-struct-offsets.rs index 4f38a6431b8..105b6a1feb5 100644 --- a/src/test/ui/run-pass/consts/const-struct-offsets.rs +++ b/src/test/ui/run-pass/consts/const-struct-offsets.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Foo { diff --git a/src/test/ui/run-pass/consts/const-struct.rs b/src/test/ui/run-pass/consts/const-struct.rs index 3cd58c6c52a..660d14cf94a 100644 --- a/src/test/ui/run-pass/consts/const-struct.rs +++ b/src/test/ui/run-pass/consts/const-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cmp; #[derive(Debug)] diff --git a/src/test/ui/run-pass/consts/const-trait-to-trait.rs b/src/test/ui/run-pass/consts/const-trait-to-trait.rs index 4b53e116789..6b7e4972536 100644 --- a/src/test/ui/run-pass/consts/const-trait-to-trait.rs +++ b/src/test/ui/run-pass/consts/const-trait-to-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #24644 - block causes a &Trait -> &Trait coercion: trait Trait {} diff --git a/src/test/ui/run-pass/consts/const-tuple-struct.rs b/src/test/ui/run-pass/consts/const-tuple-struct.rs index ddc50fc6646..bee1c83e3f9 100644 --- a/src/test/ui/run-pass/consts/const-tuple-struct.rs +++ b/src/test/ui/run-pass/consts/const-tuple-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Bar(isize, isize); diff --git a/src/test/ui/run-pass/consts/const-typeid-of.rs b/src/test/ui/run-pass/consts/const-typeid-of.rs index ce29e55c6d7..153d6eccaab 100644 --- a/src/test/ui/run-pass/consts/const-typeid-of.rs +++ b/src/test/ui/run-pass/consts/const-typeid-of.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] #![feature(const_type_id)] diff --git a/src/test/ui/run-pass/consts/const-unit-struct.rs b/src/test/ui/run-pass/consts/const-unit-struct.rs index 320f41006e5..6dcf75b5331 100644 --- a/src/test/ui/run-pass/consts/const-unit-struct.rs +++ b/src/test/ui/run-pass/consts/const-unit-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo; diff --git a/src/test/ui/run-pass/consts/const-unsafe-fn.rs b/src/test/ui/run-pass/consts/const-unsafe-fn.rs index b267245b789..6e05b0ac4d8 100644 --- a/src/test/ui/run-pass/consts/const-unsafe-fn.rs +++ b/src/test/ui/run-pass/consts/const-unsafe-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A quick test of 'unsafe const fn' functionality #![feature(min_const_fn)] diff --git a/src/test/ui/run-pass/consts/const-vec-of-fns.rs b/src/test/ui/run-pass/consts/const-vec-of-fns.rs index f16fbac0079..a9ba5334d59 100644 --- a/src/test/ui/run-pass/consts/const-vec-of-fns.rs +++ b/src/test/ui/run-pass/consts/const-vec-of-fns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 /*! diff --git a/src/test/ui/run-pass/consts/const-vec-syntax.rs b/src/test/ui/run-pass/consts/const-vec-syntax.rs index a577bbd8278..ef979ca398e 100644 --- a/src/test/ui/run-pass/consts/const-vec-syntax.rs +++ b/src/test/ui/run-pass/consts/const-vec-syntax.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn f(_: &[isize]) {} diff --git a/src/test/ui/run-pass/consts/const-vecs-and-slices.rs b/src/test/ui/run-pass/consts/const-vecs-and-slices.rs index 758812054cd..e54eabe300e 100644 --- a/src/test/ui/run-pass/consts/const-vecs-and-slices.rs +++ b/src/test/ui/run-pass/consts/const-vecs-and-slices.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static x : [isize; 4] = [1,2,3,4]; static y : &'static [isize] = &[1,2,3,4]; static z : &'static [isize; 4] = &[1,2,3,4]; diff --git a/src/test/ui/run-pass/consts/const.rs b/src/test/ui/run-pass/consts/const.rs index 95ae514636e..e7d97bd0868 100644 --- a/src/test/ui/run-pass/consts/const.rs +++ b/src/test/ui/run-pass/consts/const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static i: isize = 10; diff --git a/src/test/ui/run-pass/consts/consts-in-patterns.rs b/src/test/ui/run-pass/consts/consts-in-patterns.rs index 574fb29e82c..b96ad2f40a5 100644 --- a/src/test/ui/run-pass/consts/consts-in-patterns.rs +++ b/src/test/ui/run-pass/consts/consts-in-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] const FOO: isize = 10; diff --git a/src/test/ui/run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs b/src/test/ui/run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs index 8c480d7deeb..52c3b073388 100644 --- a/src/test/ui/run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs +++ b/src/test/ui/run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:anon-extern-mod-cross-crate-1.rs // pretty-expanded FIXME #23616 // ignore-wasm32-bare no libc to test ffi with diff --git a/src/test/ui/run-pass/cross-crate/cci_borrow.rs b/src/test/ui/run-pass/cross-crate/cci_borrow.rs index 1535ddfb4de..6e822d7cb68 100644 --- a/src/test/ui/run-pass/cross-crate/cci_borrow.rs +++ b/src/test/ui/run-pass/cross-crate/cci_borrow.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_borrow_lib.rs #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/cross-crate/cci_capture_clause.rs b/src/test/ui/run-pass/cross-crate/cci_capture_clause.rs index 5019455c2a7..ea389d314b5 100644 --- a/src/test/ui/run-pass/cross-crate/cci_capture_clause.rs +++ b/src/test/ui/run-pass/cross-crate/cci_capture_clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_capture_clause.rs // This test makes sure we can do cross-crate inlining on functions diff --git a/src/test/ui/run-pass/cross-crate/cci_impl_exe.rs b/src/test/ui/run-pass/cross-crate/cci_impl_exe.rs index 998f4125977..18378ca63ed 100644 --- a/src/test/ui/run-pass/cross-crate/cci_impl_exe.rs +++ b/src/test/ui/run-pass/cross-crate/cci_impl_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_impl_lib.rs extern crate cci_impl_lib; diff --git a/src/test/ui/run-pass/cross-crate/cci_iter_exe.rs b/src/test/ui/run-pass/cross-crate/cci_iter_exe.rs index 4d964652274..89c01bab3ca 100644 --- a/src/test/ui/run-pass/cross-crate/cci_iter_exe.rs +++ b/src/test/ui/run-pass/cross-crate/cci_iter_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_iter_lib.rs extern crate cci_iter_lib; diff --git a/src/test/ui/run-pass/cross-crate/cci_nested_exe.rs b/src/test/ui/run-pass/cross-crate/cci_nested_exe.rs index b40c29dd715..3e88aad55f3 100644 --- a/src/test/ui/run-pass/cross-crate/cci_nested_exe.rs +++ b/src/test/ui/run-pass/cross-crate/cci_nested_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_nested_lib.rs diff --git a/src/test/ui/run-pass/cross-crate/cci_no_inline_exe.rs b/src/test/ui/run-pass/cross-crate/cci_no_inline_exe.rs index b105411c284..79729494009 100644 --- a/src/test/ui/run-pass/cross-crate/cci_no_inline_exe.rs +++ b/src/test/ui/run-pass/cross-crate/cci_no_inline_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_no_inline_lib.rs extern crate cci_no_inline_lib; diff --git a/src/test/ui/run-pass/cross-crate/cross-crate-const-pat.rs b/src/test/ui/run-pass/cross-crate/cross-crate-const-pat.rs index a85541bb8ba..8040f60f947 100644 --- a/src/test/ui/run-pass/cross-crate/cross-crate-const-pat.rs +++ b/src/test/ui/run-pass/cross-crate/cross-crate-const-pat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_const.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cross-crate/cross-crate-newtype-struct-pat.rs b/src/test/ui/run-pass/cross-crate/cross-crate-newtype-struct-pat.rs index 7eae9017420..e714e1d32ff 100644 --- a/src/test/ui/run-pass/cross-crate/cross-crate-newtype-struct-pat.rs +++ b/src/test/ui/run-pass/cross-crate/cross-crate-newtype-struct-pat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:newtype_struct_xc.rs diff --git a/src/test/ui/run-pass/cross-crate/moves-based-on-type-cross-crate.rs b/src/test/ui/run-pass/cross-crate/moves-based-on-type-cross-crate.rs index a313ec998f0..8cc84c6c536 100644 --- a/src/test/ui/run-pass/cross-crate/moves-based-on-type-cross-crate.rs +++ b/src/test/ui/run-pass/cross-crate/moves-based-on-type-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:moves_based_on_type_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cross-crate/reexported-static-methods-cross-crate.rs b/src/test/ui/run-pass/cross-crate/reexported-static-methods-cross-crate.rs index 4d105038384..062e2572399 100644 --- a/src/test/ui/run-pass/cross-crate/reexported-static-methods-cross-crate.rs +++ b/src/test/ui/run-pass/cross-crate/reexported-static-methods-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:reexported_static_methods.rs extern crate reexported_static_methods; diff --git a/src/test/ui/run-pass/cross-crate/static-array-across-crate.rs b/src/test/ui/run-pass/cross-crate/static-array-across-crate.rs index 732d94cee8e..c21be4ce47c 100644 --- a/src/test/ui/run-pass/cross-crate/static-array-across-crate.rs +++ b/src/test/ui/run-pass/cross-crate/static-array-across-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:pub_static_array.rs extern crate pub_static_array as array; diff --git a/src/test/ui/run-pass/cross-crate/xcrate-address-insignificant.rs b/src/test/ui/run-pass/cross-crate/xcrate-address-insignificant.rs index 8794ecd061b..3ac2a0c8b45 100644 --- a/src/test/ui/run-pass/cross-crate/xcrate-address-insignificant.rs +++ b/src/test/ui/run-pass/cross-crate/xcrate-address-insignificant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate_address_insignificant.rs diff --git a/src/test/ui/run-pass/cross-crate/xcrate-associated-type-defaults.rs b/src/test/ui/run-pass/cross-crate/xcrate-associated-type-defaults.rs index 2dacbe0966e..7015732daf6 100644 --- a/src/test/ui/run-pass/cross-crate/xcrate-associated-type-defaults.rs +++ b/src/test/ui/run-pass/cross-crate/xcrate-associated-type-defaults.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate_associated_type_defaults.rs extern crate xcrate_associated_type_defaults; diff --git a/src/test/ui/run-pass/cross-crate/xcrate-static-addresses.rs b/src/test/ui/run-pass/cross-crate/xcrate-static-addresses.rs index 43bae9c7ce0..cb2a3563c7e 100644 --- a/src/test/ui/run-pass/cross-crate/xcrate-static-addresses.rs +++ b/src/test/ui/run-pass/cross-crate/xcrate-static-addresses.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate_static_addresses.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cross-crate/xcrate-trait-lifetime-param.rs b/src/test/ui/run-pass/cross-crate/xcrate-trait-lifetime-param.rs index 62d62839ba3..467ee2cedb9 100644 --- a/src/test/ui/run-pass/cross-crate/xcrate-trait-lifetime-param.rs +++ b/src/test/ui/run-pass/cross-crate/xcrate-trait-lifetime-param.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate-trait-lifetime-param.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cross-crate/xcrate-unit-struct.rs b/src/test/ui/run-pass/cross-crate/xcrate-unit-struct.rs index 78e92053a11..9f822e972ea 100644 --- a/src/test/ui/run-pass/cross-crate/xcrate-unit-struct.rs +++ b/src/test/ui/run-pass/cross-crate/xcrate-unit-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate_unit_struct.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/cross-crate/xcrate_generic_fn_nested_return.rs b/src/test/ui/run-pass/cross-crate/xcrate_generic_fn_nested_return.rs index 181c9168682..2ed392a3fbb 100644 --- a/src/test/ui/run-pass/cross-crate/xcrate_generic_fn_nested_return.rs +++ b/src/test/ui/run-pass/cross-crate/xcrate_generic_fn_nested_return.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate_generic_fn_nested_return.rs extern crate xcrate_generic_fn_nested_return as test; diff --git a/src/test/ui/run-pass/deriving/derive-no-std.rs b/src/test/ui/run-pass/deriving/derive-no-std.rs index 0cbe4f4ebd0..1122083eb80 100644 --- a/src/test/ui/run-pass/deriving/derive-no-std.rs +++ b/src/test/ui/run-pass/deriving/derive-no-std.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:derive-no-std.rs extern crate derive_no_std; diff --git a/src/test/ui/run-pass/deriving/derive-partialord-correctness.rs b/src/test/ui/run-pass/deriving/derive-partialord-correctness.rs index bc9e9a70087..4890b1bc76b 100644 --- a/src/test/ui/run-pass/deriving/derive-partialord-correctness.rs +++ b/src/test/ui/run-pass/deriving/derive-partialord-correctness.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Original issue: #49650 #[derive(PartialOrd, PartialEq)] diff --git a/src/test/ui/run-pass/deriving/deriving-associated-types.rs b/src/test/ui/run-pass/deriving/deriving-associated-types.rs index d3aaa3ded69..46fb88e05c6 100644 --- a/src/test/ui/run-pass/deriving/deriving-associated-types.rs +++ b/src/test/ui/run-pass/deriving/deriving-associated-types.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait DeclaredTrait { type Type; } diff --git a/src/test/ui/run-pass/deriving/deriving-bounds.rs b/src/test/ui/run-pass/deriving/deriving-bounds.rs index 6d0a43997bc..0e30de10e82 100644 --- a/src/test/ui/run-pass/deriving/deriving-bounds.rs +++ b/src/test/ui/run-pass/deriving/deriving-bounds.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone)] struct Test; diff --git a/src/test/ui/run-pass/deriving/deriving-clone-array.rs b/src/test/ui/run-pass/deriving/deriving-clone-array.rs index 182a1390b1f..2d3be810def 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-array.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-array.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // test for issue #30244 #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-clone-enum.rs b/src/test/ui/run-pass/deriving/deriving-clone-enum.rs index 22daffc4869..cf924e0ff5e 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-clone-generic-enum.rs b/src/test/ui/run-pass/deriving/deriving-clone-generic-enum.rs index 8a07bad6961..2b1ace396a7 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-generic-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-generic-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-clone-generic-struct.rs b/src/test/ui/run-pass/deriving/deriving-clone-generic-struct.rs index d80f14c3694..dea50871a74 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-generic-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-generic-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-clone-generic-tuple-struct.rs b/src/test/ui/run-pass/deriving/deriving-clone-generic-tuple-struct.rs index f2f2ec3de76..01ef89f81c1 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-generic-tuple-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-generic-tuple-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-clone-struct.rs b/src/test/ui/run-pass/deriving/deriving-clone-struct.rs index 8bca8345085..f82a41f8ba0 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-clone-tuple-struct.rs b/src/test/ui/run-pass/deriving/deriving-clone-tuple-struct.rs index 8be029ba2ac..49c675de112 100644 --- a/src/test/ui/run-pass/deriving/deriving-clone-tuple-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-clone-tuple-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/deriving/deriving-cmp-generic-enum.rs b/src/test/ui/run-pass/deriving/deriving-cmp-generic-enum.rs index b2add21dcd4..1a6582d9af2 100644 --- a/src/test/ui/run-pass/deriving/deriving-cmp-generic-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-cmp-generic-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Eq, PartialOrd, Ord)] enum E { E0, diff --git a/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct-enum.rs b/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct-enum.rs index f061b6cf4c1..93bda7fbf25 100644 --- a/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Eq, PartialOrd, Ord)] enum ES { ES1 { x: T }, diff --git a/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct.rs b/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct.rs index d6c73f394ac..f2e6fcd13fc 100644 --- a/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-cmp-generic-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Eq, PartialOrd, Ord)] struct S { x: T, diff --git a/src/test/ui/run-pass/deriving/deriving-cmp-generic-tuple-struct.rs b/src/test/ui/run-pass/deriving/deriving-cmp-generic-tuple-struct.rs index fc256228507..04688ff352d 100644 --- a/src/test/ui/run-pass/deriving/deriving-cmp-generic-tuple-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-cmp-generic-tuple-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Eq, PartialOrd, Ord)] struct TS(T,T); diff --git a/src/test/ui/run-pass/deriving/deriving-cmp-shortcircuit.rs b/src/test/ui/run-pass/deriving/deriving-cmp-shortcircuit.rs index e22e4767d52..e1f301922bd 100644 --- a/src/test/ui/run-pass/deriving/deriving-cmp-shortcircuit.rs +++ b/src/test/ui/run-pass/deriving/deriving-cmp-shortcircuit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that the derived impls for the comparison traits shortcircuit // where possible, by having a type that panics when compared as the // second element, so this passes iff the instances shortcircuit. diff --git a/src/test/ui/run-pass/deriving/deriving-copyclone.rs b/src/test/ui/run-pass/deriving/deriving-copyclone.rs index 96d0406d9eb..e9da90fe6ed 100644 --- a/src/test/ui/run-pass/deriving/deriving-copyclone.rs +++ b/src/test/ui/run-pass/deriving/deriving-copyclone.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass //! Test that #[derive(Copy, Clone)] produces a shallow copy //! even when a member violates RFC 1521 diff --git a/src/test/ui/run-pass/deriving/deriving-default-box.rs b/src/test/ui/run-pass/deriving/deriving-default-box.rs index 70ac284cd30..55111a4231a 100644 --- a/src/test/ui/run-pass/deriving/deriving-default-box.rs +++ b/src/test/ui/run-pass/deriving/deriving-default-box.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::default::Default; diff --git a/src/test/ui/run-pass/deriving/deriving-enum-single-variant.rs b/src/test/ui/run-pass/deriving/deriving-enum-single-variant.rs index d45247c593e..f813577259b 100644 --- a/src/test/ui/run-pass/deriving/deriving-enum-single-variant.rs +++ b/src/test/ui/run-pass/deriving/deriving-enum-single-variant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub type task_id = isize; diff --git a/src/test/ui/run-pass/deriving/deriving-eq-ord-boxed-slice.rs b/src/test/ui/run-pass/deriving/deriving-eq-ord-boxed-slice.rs index 16c49065008..7997aa5a7ec 100644 --- a/src/test/ui/run-pass/deriving/deriving-eq-ord-boxed-slice.rs +++ b/src/test/ui/run-pass/deriving/deriving-eq-ord-boxed-slice.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, PartialOrd, Eq, Ord, Debug)] struct Foo(Box<[u8]>); diff --git a/src/test/ui/run-pass/deriving/deriving-hash.rs b/src/test/ui/run-pass/deriving/deriving-hash.rs index ceeb4266396..8ad51765d47 100644 --- a/src/test/ui/run-pass/deriving/deriving-hash.rs +++ b/src/test/ui/run-pass/deriving/deriving-hash.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::hash::{Hash, SipHasher, Hasher}; use std::mem::size_of; diff --git a/src/test/ui/run-pass/deriving/deriving-in-fn.rs b/src/test/ui/run-pass/deriving/deriving-in-fn.rs index 435d15aab8f..00100aa1be1 100644 --- a/src/test/ui/run-pass/deriving/deriving-in-fn.rs +++ b/src/test/ui/run-pass/deriving/deriving-in-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { #[derive(Debug)] struct Foo { diff --git a/src/test/ui/run-pass/deriving/deriving-in-macro.rs b/src/test/ui/run-pass/deriving/deriving-in-macro.rs index adc3e3efd70..4f7ce3f1255 100644 --- a/src/test/ui/run-pass/deriving/deriving-in-macro.rs +++ b/src/test/ui/run-pass/deriving/deriving-in-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 macro_rules! define_vec { diff --git a/src/test/ui/run-pass/deriving/deriving-meta-multiple.rs b/src/test/ui/run-pass/deriving/deriving-meta-multiple.rs index a2d22699fcc..e2a74ecd084 100644 --- a/src/test/ui/run-pass/deriving/deriving-meta-multiple.rs +++ b/src/test/ui/run-pass/deriving/deriving-meta-multiple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::hash::{Hash, SipHasher}; diff --git a/src/test/ui/run-pass/deriving/deriving-meta.rs b/src/test/ui/run-pass/deriving/deriving-meta.rs index f1c930828d2..440acda0534 100644 --- a/src/test/ui/run-pass/deriving/deriving-meta.rs +++ b/src/test/ui/run-pass/deriving/deriving-meta.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::hash::{Hash, SipHasher}; diff --git a/src/test/ui/run-pass/deriving/deriving-self-lifetime-totalord-totaleq.rs b/src/test/ui/run-pass/deriving/deriving-self-lifetime-totalord-totaleq.rs index 3fdf840d596..64ef03adcaf 100644 --- a/src/test/ui/run-pass/deriving/deriving-self-lifetime-totalord-totaleq.rs +++ b/src/test/ui/run-pass/deriving/deriving-self-lifetime-totalord-totaleq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cmp::Ordering::{Less,Equal,Greater}; #[derive(PartialEq, Eq, PartialOrd, Ord)] diff --git a/src/test/ui/run-pass/deriving/deriving-show-2.rs b/src/test/ui/run-pass/deriving/deriving-show-2.rs index 2b7438fd845..3a1f40239c8 100644 --- a/src/test/ui/run-pass/deriving/deriving-show-2.rs +++ b/src/test/ui/run-pass/deriving/deriving-show-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt; #[derive(Debug)] diff --git a/src/test/ui/run-pass/deriving/deriving-show.rs b/src/test/ui/run-pass/deriving/deriving-show.rs index e858ba8c823..f19b014067d 100644 --- a/src/test/ui/run-pass/deriving/deriving-show.rs +++ b/src/test/ui/run-pass/deriving/deriving-show.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct Unit; diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-c-enum.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-c-enum.rs index 92ffd82d902..445545aaa0f 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-c-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-c-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] enum Foo { Bar, diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-enum.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-enum.rs index f43f5162196..5b00f11a901 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] enum Foo { Bar(isize, isize), diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-hash-enum.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-hash-enum.rs index cbe23ea0522..fe2716396d8 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-hash-enum.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-hash-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Hash)] enum Foo { Bar(isize, char), diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-hash-struct.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-hash-struct.rs index 42f0e456270..2178673cac8 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-hash-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-hash-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Hash)] diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-struct-empty.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-struct-empty.rs index 9c929940eba..7753700db18 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-struct-empty.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-struct-empty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Foo; diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-struct-like-enum-variant.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-struct-like-enum-variant.rs index 5f9d9b6fb21..67a1472e883 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-struct-like-enum-variant.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-struct-like-enum-variant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] enum S { X { x: isize, y: isize }, diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-struct-tuple.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-struct-tuple.rs index 9dffac00a22..dd9d9b7707e 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-struct-tuple.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-struct-tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Foo(isize, isize, String); diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-struct.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-struct.rs index 624fb4a58e1..69bca7ce36d 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-struct.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Foo { x: isize, diff --git a/src/test/ui/run-pass/deriving/deriving-via-extension-type-params.rs b/src/test/ui/run-pass/deriving/deriving-via-extension-type-params.rs index 4d88dbbca37..63d2b58804b 100644 --- a/src/test/ui/run-pass/deriving/deriving-via-extension-type-params.rs +++ b/src/test/ui/run-pass/deriving/deriving-via-extension-type-params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Hash, Debug)] struct Foo { x: isize, diff --git a/src/test/ui/run-pass/deriving/deriving-with-repr-packed.rs b/src/test/ui/run-pass/deriving/deriving-with-repr-packed.rs index f5130908c0b..fd84d6da29e 100644 --- a/src/test/ui/run-pass/deriving/deriving-with-repr-packed.rs +++ b/src/test/ui/run-pass/deriving/deriving-with-repr-packed.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that derive on a packed struct does not call field // methods with a misaligned field. diff --git a/src/test/ui/run-pass/drop/drop-on-empty-block-exit.rs b/src/test/ui/run-pass/drop/drop-on-empty-block-exit.rs index 8dea648508d..97a2bcded84 100644 --- a/src/test/ui/run-pass/drop/drop-on-empty-block-exit.rs +++ b/src/test/ui/run-pass/drop/drop-on-empty-block-exit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/drop/drop-on-ret.rs b/src/test/ui/run-pass/drop/drop-on-ret.rs index fc517fa592f..e56119df20e 100644 --- a/src/test/ui/run-pass/drop/drop-on-ret.rs +++ b/src/test/ui/run-pass/drop/drop-on-ret.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/drop/drop-struct-as-object.rs b/src/test/ui/run-pass/drop/drop-struct-as-object.rs index 17603e11ddd..cb295ef5a09 100644 --- a/src/test/ui/run-pass/drop/drop-struct-as-object.rs +++ b/src/test/ui/run-pass/drop/drop-struct-as-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that destructor on a struct runs successfully after the struct // is boxed and converted to an object. diff --git a/src/test/ui/run-pass/drop/drop-trait-enum.rs b/src/test/ui/run-pass/drop/drop-trait-enum.rs index a6027615adb..4d3cf2bd053 100644 --- a/src/test/ui/run-pass/drop/drop-trait-enum.rs +++ b/src/test/ui/run-pass/drop/drop-trait-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/drop/drop-trait-generic.rs b/src/test/ui/run-pass/drop/drop-trait-generic.rs index e55eae1e74f..c09482a4540 100644 --- a/src/test/ui/run-pass/drop/drop-trait-generic.rs +++ b/src/test/ui/run-pass/drop/drop-trait-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { x: T } diff --git a/src/test/ui/run-pass/drop/drop-trait.rs b/src/test/ui/run-pass/drop/drop-trait.rs index 21740eb3930..2e867ac0fc0 100644 --- a/src/test/ui/run-pass/drop/drop-trait.rs +++ b/src/test/ui/run-pass/drop/drop-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { x: isize } diff --git a/src/test/ui/run-pass/drop/drop-uninhabited-enum.rs b/src/test/ui/run-pass/drop/drop-uninhabited-enum.rs index 9fa085b6701..6fb0abd9643 100644 --- a/src/test/ui/run-pass/drop/drop-uninhabited-enum.rs +++ b/src/test/ui/run-pass/drop/drop-uninhabited-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Foo { } diff --git a/src/test/ui/run-pass/drop/drop-with-type-ascription-1.rs b/src/test/ui/run-pass/drop/drop-with-type-ascription-1.rs index 15f229dbca5..2983508363b 100644 --- a/src/test/ui/run-pass/drop/drop-with-type-ascription-1.rs +++ b/src/test/ui/run-pass/drop/drop-with-type-ascription-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let foo = "hello".to_string(); diff --git a/src/test/ui/run-pass/drop/drop-with-type-ascription-2.rs b/src/test/ui/run-pass/drop/drop-with-type-ascription-2.rs index 1f486c1834c..a2ac470ff11 100644 --- a/src/test/ui/run-pass/drop/drop-with-type-ascription-2.rs +++ b/src/test/ui/run-pass/drop/drop-with-type-ascription-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let args = vec!["foobie", "asdf::asdf"]; diff --git a/src/test/ui/run-pass/drop/dropck-eyepatch-extern-crate.rs b/src/test/ui/run-pass/drop/dropck-eyepatch-extern-crate.rs index 20f069f77ea..42d54b7be37 100644 --- a/src/test/ui/run-pass/drop/dropck-eyepatch-extern-crate.rs +++ b/src/test/ui/run-pass/drop/dropck-eyepatch-extern-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:dropck_eyepatch_extern_crate.rs extern crate dropck_eyepatch_extern_crate as other; diff --git a/src/test/ui/run-pass/drop/dropck-eyepatch-reorder.rs b/src/test/ui/run-pass/drop/dropck-eyepatch-reorder.rs index a99a7232e9e..6696044a02d 100644 --- a/src/test/ui/run-pass/drop/dropck-eyepatch-reorder.rs +++ b/src/test/ui/run-pass/drop/dropck-eyepatch-reorder.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(dropck_eyepatch)] // The point of this test is to test uses of `#[may_dangle]` attribute diff --git a/src/test/ui/run-pass/drop/dropck-eyepatch.rs b/src/test/ui/run-pass/drop/dropck-eyepatch.rs index c0c091d78eb..fb9af09a7ce 100644 --- a/src/test/ui/run-pass/drop/dropck-eyepatch.rs +++ b/src/test/ui/run-pass/drop/dropck-eyepatch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(dropck_eyepatch)] // The point of this test is to illustrate that the `#[may_dangle]` diff --git a/src/test/ui/run-pass/drop/dropck_legal_cycles.rs b/src/test/ui/run-pass/drop/dropck_legal_cycles.rs index 5f915a762d1..2c88cfd5c8f 100644 --- a/src/test/ui/run-pass/drop/dropck_legal_cycles.rs +++ b/src/test/ui/run-pass/drop/dropck_legal_cycles.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test exercises cases where cyclic structure is legal, // including when the cycles go through data-structures such // as `Vec` or `TypedArena`. diff --git a/src/test/ui/run-pass/drop/dynamic-drop.rs b/src/test/ui/run-pass/drop/dynamic-drop.rs index 765fb06e5f3..de10c9f2403 100644 --- a/src/test/ui/run-pass/drop/dynamic-drop.rs +++ b/src/test/ui/run-pass/drop/dynamic-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // revisions:lexical nll #![cfg_attr(nll, feature(nll))] diff --git a/src/test/ui/run-pass/drop/no-drop-flag-size.rs b/src/test/ui/run-pass/drop/no-drop-flag-size.rs index a606a8a9f4b..abaaf7d701e 100644 --- a/src/test/ui/run-pass/drop/no-drop-flag-size.rs +++ b/src/test/ui/run-pass/drop/no-drop-flag-size.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::size_of; struct Test { diff --git a/src/test/ui/run-pass/drop/nondrop-cycle.rs b/src/test/ui/run-pass/drop/nondrop-cycle.rs index a28f2b15b92..7e2bb38f5bd 100644 --- a/src/test/ui/run-pass/drop/nondrop-cycle.rs +++ b/src/test/ui/run-pass/drop/nondrop-cycle.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::cell::Cell; diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-custom.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-custom.rs index 6eb01e879df..affc569c63d 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-custom.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-custom.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a very simple custom DST coercion. #![feature(unsize, coerce_unsized)] diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-rc.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-rc.rs index 039f4d8fd51..edb682beb13 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-rc.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-coerce-rc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a very simple custom DST coercion. #![feature(core, rc_weak)] diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-coercions.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-coercions.rs index 6b5bd6ad35e..21170403d43 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-coercions.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-coercions.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test coercions involving DST and/or raw pointers // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-deref-mut.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-deref-mut.rs index 9fb4635765c..a2c0a8c9beb 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-deref-mut.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-deref-mut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a custom deref with a fat pointer return type does not ICE diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-deref.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-deref.rs index 4a143873e6e..db9ef399f0e 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-deref.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-deref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a custom deref with a fat pointer return type does not ICE diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-field-align.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-field-align.rs index c36833f2fb6..1537050593c 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-field-align.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-field-align.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { a: u16, b: T diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-index.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-index.rs index 6bda400a7cd..56323816b4c 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-index.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-index.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that overloaded index expressions with DST result types // work and don't ICE. diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-irrefutable-bind.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-irrefutable-bind.rs index b1d6c732e7f..031aa7c04e6 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-irrefutable-bind.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-irrefutable-bind.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unsized_tuple_coercion)] struct Test(T); diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-raw.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-raw.rs index 9ebfbee8a33..96b19b9e4d9 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-raw.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-raw.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test DST raw pointers diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-struct-sole.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-struct-sole.rs index 58d7b35a527..9959b5bf5bb 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-struct-sole.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-struct-sole.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // As dst-struct.rs, but the unsized field is the only field in the struct. diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-struct.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-struct.rs index 40ca8472787..1853c6a04d8 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-struct.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Fat { diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-trait-tuple.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-trait-tuple.rs index 9803e26f5f8..b291bf3f6ba 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-trait-tuple.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-trait-tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_features)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-trait.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-trait.rs index a412306b966..3ce2cffbe09 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-trait.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Fat { diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-tuple-sole.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-tuple-sole.rs index a788e25218e..4316a8a0f2d 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-tuple-sole.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-tuple-sole.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // As dst-tuple.rs, but the unsized field is the only field in the tuple. diff --git a/src/test/ui/run-pass/dynamically-sized-types/dst-tuple.rs b/src/test/ui/run-pass/dynamically-sized-types/dst-tuple.rs index 7c2125d00f9..0966aa8be86 100644 --- a/src/test/ui/run-pass/dynamically-sized-types/dst-tuple.rs +++ b/src/test/ui/run-pass/dynamically-sized-types/dst-tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #![feature(unsized_tuple_coercion)] diff --git a/src/test/ui/run-pass/extern/extern-1.rs b/src/test/ui/run-pass/extern/extern-1.rs index 67f6a3e8fc4..c3168aaf869 100644 --- a/src/test/ui/run-pass/extern/extern-1.rs +++ b/src/test/ui/run-pass/extern/extern-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern fn f() { diff --git a/src/test/ui/run-pass/extern/extern-call-deep.rs b/src/test/ui/run-pass/extern/extern-call-deep.rs index a41ab8da9de..6e8d94becbd 100644 --- a/src/test/ui/run-pass/extern/extern-call-deep.rs +++ b/src/test/ui/run-pass/extern/extern-call-deep.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #![feature(libc)] diff --git a/src/test/ui/run-pass/extern/extern-call-deep2.rs b/src/test/ui/run-pass/extern/extern-call-deep2.rs index 3bdc8c18864..e11e73a2b0f 100644 --- a/src/test/ui/run-pass/extern/extern-call-deep2.rs +++ b/src/test/ui/run-pass/extern/extern-call-deep2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(libc)] diff --git a/src/test/ui/run-pass/extern/extern-call-direct.rs b/src/test/ui/run-pass/extern/extern-call-direct.rs index ec6b6c8d39f..55300a44c1b 100644 --- a/src/test/ui/run-pass/extern/extern-call-direct.rs +++ b/src/test/ui/run-pass/extern/extern-call-direct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test direct calls to extern fns. diff --git a/src/test/ui/run-pass/extern/extern-call-indirect.rs b/src/test/ui/run-pass/extern/extern-call-indirect.rs index ba108955c28..1badb10364e 100644 --- a/src/test/ui/run-pass/extern/extern-call-indirect.rs +++ b/src/test/ui/run-pass/extern/extern-call-indirect.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #![feature(libc)] diff --git a/src/test/ui/run-pass/extern/extern-call-scrub.rs b/src/test/ui/run-pass/extern/extern-call-scrub.rs index a29ea377947..1e564e66871 100644 --- a/src/test/ui/run-pass/extern/extern-call-scrub.rs +++ b/src/test/ui/run-pass/extern/extern-call-scrub.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This time we're testing repeatedly going up and down both stacks to // make sure the stack pointers are maintained properly in both // directions diff --git a/src/test/ui/run-pass/extern/extern-calling-convention-test.rs b/src/test/ui/run-pass/extern/extern-calling-convention-test.rs index 12f9c22c918..ed1657db759 100644 --- a/src/test/ui/run-pass/extern/extern-calling-convention-test.rs +++ b/src/test/ui/run-pass/extern/extern-calling-convention-test.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:extern_calling_convention.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/extern/extern-compare-with-return-type.rs b/src/test/ui/run-pass/extern/extern-compare-with-return-type.rs index 6535ae2fca9..e0ab377598a 100644 --- a/src/test/ui/run-pass/extern/extern-compare-with-return-type.rs +++ b/src/test/ui/run-pass/extern/extern-compare-with-return-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that we can compare various kinds of extern fn signatures. diff --git a/src/test/ui/run-pass/extern/extern-crosscrate.rs b/src/test/ui/run-pass/extern/extern-crosscrate.rs index 825b502d954..c6fccbe003c 100644 --- a/src/test/ui/run-pass/extern/extern-crosscrate.rs +++ b/src/test/ui/run-pass/extern/extern-crosscrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:extern-crosscrate-source.rs // ignore-wasm32-bare no libc to test ffi with diff --git a/src/test/ui/run-pass/extern/extern-foreign-crate.rs b/src/test/ui/run-pass/extern/extern-foreign-crate.rs index 1757ff51fed..615b07619c2 100644 --- a/src/test/ui/run-pass/extern/extern-foreign-crate.rs +++ b/src/test/ui/run-pass/extern/extern-foreign-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern crate std as mystd; diff --git a/src/test/ui/run-pass/extern/extern-methods.rs b/src/test/ui/run-pass/extern/extern-methods.rs index 2587a978636..872391612ad 100644 --- a/src/test/ui/run-pass/extern/extern-methods.rs +++ b/src/test/ui/run-pass/extern/extern-methods.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-arm // ignore-aarch64 diff --git a/src/test/ui/run-pass/extern/extern-mod-abi.rs b/src/test/ui/run-pass/extern/extern-mod-abi.rs index 74f47f08703..fcff3ed251e 100644 --- a/src/test/ui/run-pass/extern/extern-mod-abi.rs +++ b/src/test/ui/run-pass/extern/extern-mod-abi.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern "C" { diff --git a/src/test/ui/run-pass/extern/extern-mod-ordering-exe.rs b/src/test/ui/run-pass/extern/extern-mod-ordering-exe.rs index 1c64716b822..42b8791f921 100644 --- a/src/test/ui/run-pass/extern/extern-mod-ordering-exe.rs +++ b/src/test/ui/run-pass/extern/extern-mod-ordering-exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:extern_mod_ordering_lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/extern/extern-pass-TwoU16s.rs b/src/test/ui/run-pass/extern/extern-pass-TwoU16s.rs index a1aa9b69fad..0cd8891cbe6 100644 --- a/src/test/ui/run-pass/extern/extern-pass-TwoU16s.rs +++ b/src/test/ui/run-pass/extern/extern-pass-TwoU16s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a foreign function that accepts and returns a struct diff --git a/src/test/ui/run-pass/extern/extern-pass-TwoU32s.rs b/src/test/ui/run-pass/extern/extern-pass-TwoU32s.rs index 6442f230d30..8d7653d1b02 100644 --- a/src/test/ui/run-pass/extern/extern-pass-TwoU32s.rs +++ b/src/test/ui/run-pass/extern/extern-pass-TwoU32s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a foreign function that accepts and returns a struct diff --git a/src/test/ui/run-pass/extern/extern-pass-TwoU64s.rs b/src/test/ui/run-pass/extern/extern-pass-TwoU64s.rs index bfb649c3f74..d53b828d400 100644 --- a/src/test/ui/run-pass/extern/extern-pass-TwoU64s.rs +++ b/src/test/ui/run-pass/extern/extern-pass-TwoU64s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a foreign function that accepts and returns a struct diff --git a/src/test/ui/run-pass/extern/extern-pass-TwoU8s.rs b/src/test/ui/run-pass/extern/extern-pass-TwoU8s.rs index 1f90d9c4366..198634c1dc7 100644 --- a/src/test/ui/run-pass/extern/extern-pass-TwoU8s.rs +++ b/src/test/ui/run-pass/extern/extern-pass-TwoU8s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a foreign function that accepts and returns a struct diff --git a/src/test/ui/run-pass/extern/extern-pass-char.rs b/src/test/ui/run-pass/extern/extern-pass-char.rs index 920e15bf2c1..95999b8d983 100644 --- a/src/test/ui/run-pass/extern/extern-pass-char.rs +++ b/src/test/ui/run-pass/extern/extern-pass-char.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a function that takes/returns a u8. diff --git a/src/test/ui/run-pass/extern/extern-pass-double.rs b/src/test/ui/run-pass/extern/extern-pass-double.rs index 9c184477ad3..ce94790c6d3 100644 --- a/src/test/ui/run-pass/extern/extern-pass-double.rs +++ b/src/test/ui/run-pass/extern/extern-pass-double.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing #[link(name = "rust_test_helpers", kind = "static")] diff --git a/src/test/ui/run-pass/extern/extern-pass-empty.rs b/src/test/ui/run-pass/extern/extern-pass-empty.rs index f4ee3b6e9e8..8f155267e7a 100644 --- a/src/test/ui/run-pass/extern/extern-pass-empty.rs +++ b/src/test/ui/run-pass/extern/extern-pass-empty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a foreign function that accepts empty struct. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/extern/extern-pass-u32.rs b/src/test/ui/run-pass/extern/extern-pass-u32.rs index 691bd6295b1..9500ad391c7 100644 --- a/src/test/ui/run-pass/extern/extern-pass-u32.rs +++ b/src/test/ui/run-pass/extern/extern-pass-u32.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a function that takes/returns a u32. diff --git a/src/test/ui/run-pass/extern/extern-pass-u64.rs b/src/test/ui/run-pass/extern/extern-pass-u64.rs index 4b351ed2836..bc4cf767087 100644 --- a/src/test/ui/run-pass/extern/extern-pass-u64.rs +++ b/src/test/ui/run-pass/extern/extern-pass-u64.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc for ffi testing // Test a call to a function that takes/returns a u64. diff --git a/src/test/ui/run-pass/extern/extern-prelude-core.rs b/src/test/ui/run-pass/extern/extern-prelude-core.rs index d0d01b34c6e..67579fd9911 100644 --- a/src/test/ui/run-pass/extern/extern-prelude-core.rs +++ b/src/test/ui/run-pass/extern/extern-prelude-core.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(extern_prelude, lang_items, start, alloc)] #![no_std] diff --git a/src/test/ui/run-pass/extern/extern-prelude-no-speculative.rs b/src/test/ui/run-pass/extern/extern-prelude-no-speculative.rs index ff3aec439aa..8d4219ccf44 100644 --- a/src/test/ui/run-pass/extern/extern-prelude-no-speculative.rs +++ b/src/test/ui/run-pass/extern/extern-prelude-no-speculative.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --extern LooksLikeExternCrate=/path/to/nowhere mod m { diff --git a/src/test/ui/run-pass/extern/extern-prelude-std.rs b/src/test/ui/run-pass/extern/extern-prelude-std.rs index de73f1d2278..226635dcb7c 100644 --- a/src/test/ui/run-pass/extern/extern-prelude-std.rs +++ b/src/test/ui/run-pass/extern/extern-prelude-std.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(extern_prelude)] mod foo { diff --git a/src/test/ui/run-pass/extern/extern-pub.rs b/src/test/ui/run-pass/extern/extern-pub.rs index 29bcdef5dc9..dfe017d4c33 100644 --- a/src/test/ui/run-pass/extern/extern-pub.rs +++ b/src/test/ui/run-pass/extern/extern-pub.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern { diff --git a/src/test/ui/run-pass/extern/extern-return-TwoU16s.rs b/src/test/ui/run-pass/extern/extern-return-TwoU16s.rs index b9ce3f45886..ac51116637f 100644 --- a/src/test/ui/run-pass/extern/extern-return-TwoU16s.rs +++ b/src/test/ui/run-pass/extern/extern-return-TwoU16s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with pub struct TwoU16s { diff --git a/src/test/ui/run-pass/extern/extern-return-TwoU32s.rs b/src/test/ui/run-pass/extern/extern-return-TwoU32s.rs index 686ff16fe4d..6abbd7e289a 100644 --- a/src/test/ui/run-pass/extern/extern-return-TwoU32s.rs +++ b/src/test/ui/run-pass/extern/extern-return-TwoU32s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with pub struct TwoU32s { diff --git a/src/test/ui/run-pass/extern/extern-return-TwoU64s.rs b/src/test/ui/run-pass/extern/extern-return-TwoU64s.rs index e754674fd1e..9e392521f6f 100644 --- a/src/test/ui/run-pass/extern/extern-return-TwoU64s.rs +++ b/src/test/ui/run-pass/extern/extern-return-TwoU64s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with pub struct TwoU64s { diff --git a/src/test/ui/run-pass/extern/extern-return-TwoU8s.rs b/src/test/ui/run-pass/extern/extern-return-TwoU8s.rs index 68fe3832e90..720b1751e5a 100644 --- a/src/test/ui/run-pass/extern/extern-return-TwoU8s.rs +++ b/src/test/ui/run-pass/extern/extern-return-TwoU8s.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with pub struct TwoU8s { diff --git a/src/test/ui/run-pass/extern/extern-rust.rs b/src/test/ui/run-pass/extern/extern-rust.rs index e7f707bc334..8446d9c40c2 100644 --- a/src/test/ui/run-pass/extern/extern-rust.rs +++ b/src/test/ui/run-pass/extern/extern-rust.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[repr(C)] diff --git a/src/test/ui/run-pass/extern/extern-take-value.rs b/src/test/ui/run-pass/extern/extern-take-value.rs index f535e45e6cf..398a968ac18 100644 --- a/src/test/ui/run-pass/extern/extern-take-value.rs +++ b/src/test/ui/run-pass/extern/extern-take-value.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:extern-take-value.rs extern crate extern_take_value; diff --git a/src/test/ui/run-pass/extern/extern-thiscall.rs b/src/test/ui/run-pass/extern/extern-thiscall.rs index a669f29d098..66aa261fecb 100644 --- a/src/test/ui/run-pass/extern/extern-thiscall.rs +++ b/src/test/ui/run-pass/extern/extern-thiscall.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-arm // ignore-aarch64 diff --git a/src/test/ui/run-pass/extern/extern-types-inherent-impl.rs b/src/test/ui/run-pass/extern/extern-types-inherent-impl.rs index 4e44af36900..efe55442e0b 100644 --- a/src/test/ui/run-pass/extern/extern-types-inherent-impl.rs +++ b/src/test/ui/run-pass/extern/extern-types-inherent-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that inherent impls can be defined for extern types. #![feature(extern_types)] diff --git a/src/test/ui/run-pass/extern/extern-types-manual-sync-send.rs b/src/test/ui/run-pass/extern/extern-types-manual-sync-send.rs index c6530c3ea77..707516bd0de 100644 --- a/src/test/ui/run-pass/extern/extern-types-manual-sync-send.rs +++ b/src/test/ui/run-pass/extern/extern-types-manual-sync-send.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that unsafe impl for Sync/Send can be provided for extern types. #![feature(extern_types)] diff --git a/src/test/ui/run-pass/extern/extern-types-pointer-cast.rs b/src/test/ui/run-pass/extern/extern-types-pointer-cast.rs index 0dede8eb70d..7905c7ba002 100644 --- a/src/test/ui/run-pass/extern/extern-types-pointer-cast.rs +++ b/src/test/ui/run-pass/extern/extern-types-pointer-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that pointers to extern types can be cast from/to usize, // despite being !Sized. diff --git a/src/test/ui/run-pass/extern/extern-types-size_of_val.rs b/src/test/ui/run-pass/extern/extern-types-size_of_val.rs index 0aabce99deb..3f9e603f72e 100644 --- a/src/test/ui/run-pass/extern/extern-types-size_of_val.rs +++ b/src/test/ui/run-pass/extern/extern-types-size_of_val.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(extern_types)] use std::mem::{size_of_val, align_of_val}; diff --git a/src/test/ui/run-pass/extern/extern-types-thin-pointer.rs b/src/test/ui/run-pass/extern/extern-types-thin-pointer.rs index c2444a58b5a..08fbadf3d2b 100644 --- a/src/test/ui/run-pass/extern/extern-types-thin-pointer.rs +++ b/src/test/ui/run-pass/extern/extern-types-thin-pointer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that pointers and references to extern types are thin, ie they have the same size and // alignment as a pointer to (). diff --git a/src/test/ui/run-pass/extern/extern-types-trait-impl.rs b/src/test/ui/run-pass/extern/extern-types-trait-impl.rs index 0f61c936deb..b8eb4b6a98b 100644 --- a/src/test/ui/run-pass/extern/extern-types-trait-impl.rs +++ b/src/test/ui/run-pass/extern/extern-types-trait-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that traits can be implemented for extern types. #![feature(extern_types)] diff --git a/src/test/ui/run-pass/extern/extern-vectorcall.rs b/src/test/ui/run-pass/extern/extern-vectorcall.rs index 90c3459036b..00f453c7166 100644 --- a/src/test/ui/run-pass/extern/extern-vectorcall.rs +++ b/src/test/ui/run-pass/extern/extern-vectorcall.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-arm // ignore-aarch64 diff --git a/src/test/ui/run-pass/extern/extern_fat_drop.rs b/src/test/ui/run-pass/extern/extern_fat_drop.rs index 123458ff97e..0373abcda72 100644 --- a/src/test/ui/run-pass/extern/extern_fat_drop.rs +++ b/src/test/ui/run-pass/extern/extern_fat_drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:fat_drop.rs extern crate fat_drop; diff --git a/src/test/ui/run-pass/for-loop-while/auto-loop.rs b/src/test/ui/run-pass/for-loop-while/auto-loop.rs index b0afae79c36..0bc046cbcb7 100644 --- a/src/test/ui/run-pass/for-loop-while/auto-loop.rs +++ b/src/test/ui/run-pass/for-loop-while/auto-loop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut sum = 0; diff --git a/src/test/ui/run-pass/for-loop-while/break-value.rs b/src/test/ui/run-pass/for-loop-while/break-value.rs index e5a035fb562..c77e9a209dd 100644 --- a/src/test/ui/run-pass/for-loop-while/break-value.rs +++ b/src/test/ui/run-pass/for-loop-while/break-value.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn int_id(x: isize) -> isize { return x; } diff --git a/src/test/ui/run-pass/for-loop-while/break.rs b/src/test/ui/run-pass/for-loop-while/break.rs index 9a32fbc1031..cffec660104 100644 --- a/src/test/ui/run-pass/for-loop-while/break.rs +++ b/src/test/ui/run-pass/for-loop-while/break.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut i = 0; diff --git a/src/test/ui/run-pass/for-loop-while/for-destruct.rs b/src/test/ui/run-pass/for-loop-while/for-destruct.rs index ba78ff4d539..97fa90530b6 100644 --- a/src/test/ui/run-pass/for-loop-while/for-destruct.rs +++ b/src/test/ui/run-pass/for-loop-while/for-destruct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Pair { x: isize, y: isize } diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-goofiness.rs b/src/test/ui/run-pass/for-loop-while/for-loop-goofiness.rs index 411183e4f74..ade51c4abbc 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-goofiness.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-goofiness.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum BogusOption { None, diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-has-unit-body.rs b/src/test/ui/run-pass/for-loop-while/for-loop-has-unit-body.rs index 4036fc84800..a94894a4798 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-has-unit-body.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-has-unit-body.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { // Check that the tail statement in the body unifies with something for _ in 0..3 { diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-into-iterator.rs b/src/test/ui/run-pass/for-loop-while/for-loop-into-iterator.rs index 7efd15f222e..ef116b9f3d7 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-into-iterator.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-into-iterator.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that for loops can do what RFC #235 claims diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-lifetime-of-unbound-values.rs b/src/test/ui/run-pass/for-loop-while/for-loop-lifetime-of-unbound-values.rs index 7a088b51334..fb12a449a7a 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-lifetime-of-unbound-values.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-lifetime-of-unbound-values.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test when destructors run in a for loop. The intention is // that the value for each iteration is dropped *after* the loop // body has executed. This is true even when the value is assigned diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-macro.rs b/src/test/ui/run-pass/for-loop-while/for-loop-macro.rs index 17c5a98246b..ac29efbb7c8 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-macro.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! var { ( $name:ident ) => ( $name ); } diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-mut-ref-element.rs b/src/test/ui/run-pass/for-loop-while/for-loop-mut-ref-element.rs index 556c846b0b8..e80f244bd26 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-mut-ref-element.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-mut-ref-element.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that for loops can bind elements as mutable references fn main() { diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-no-std.rs b/src/test/ui/run-pass/for-loop-while/for-loop-no-std.rs index 856857156c9..dc03a500f8c 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-no-std.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-no-std.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(lang_items, start, alloc)] #![no_std] diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-panic.rs b/src/test/ui/run-pass/for-loop-while/for-loop-panic.rs index 001ca1a02f6..18c52237c2e 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-panic.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-panic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x: Vec = Vec::new(); for _ in &x { panic!("moop"); } } diff --git a/src/test/ui/run-pass/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs b/src/test/ui/run-pass/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs index 0bfc4d2264c..408900ea706 100644 --- a/src/test/ui/run-pass/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs +++ b/src/test/ui/run-pass/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the type of `sum` falls back to `i32` here, // and that the for loop desugaring doesn't interfere with // that. diff --git a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-break.rs b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-break.rs index e63c29eb017..1668031cb89 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-break.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-break.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = [1; 100]; diff --git a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs index 232af7eca41..15df3bed030 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashMap; diff --git a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap.rs b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap.rs index 2ef420187de..1364b4ca97c 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-hashmap.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashMap; diff --git a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-loop.rs b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-loop.rs index 7248537d6a1..fe96bf1a3b7 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-loop.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-loop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = [1; 100]; diff --git a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-nested.rs b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-nested.rs index ea55c90bdf1..0465e321948 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-nested.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators-nested.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = [1; 100]; diff --git a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators.rs b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators.rs index 9b847517ec8..906156c35f7 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-external-iterators.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-external-iterators.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = [1; 100]; diff --git a/src/test/ui/run-pass/for-loop-while/foreach-nested.rs b/src/test/ui/run-pass/for-loop-while/foreach-nested.rs index 2c4d0cc7648..ca1da10a5df 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-nested.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-nested.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn two(mut it: F) where F: FnMut(isize) { it(0); it(1); } diff --git a/src/test/ui/run-pass/for-loop-while/foreach-put-structured.rs b/src/test/ui/run-pass/for-loop-while/foreach-put-structured.rs index 028e31d76aa..d8ccdd8959f 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-put-structured.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-put-structured.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn pairs(mut it: F) where F: FnMut((isize, isize)) { diff --git a/src/test/ui/run-pass/for-loop-while/foreach-simple-outer-slot.rs b/src/test/ui/run-pass/for-loop-while/foreach-simple-outer-slot.rs index 674c2e34482..d00b7e9d0fc 100644 --- a/src/test/ui/run-pass/for-loop-while/foreach-simple-outer-slot.rs +++ b/src/test/ui/run-pass/for-loop-while/foreach-simple-outer-slot.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/for-loop-while/label_break_value.rs b/src/test/ui/run-pass/for-loop-while/label_break_value.rs index 444845e24dc..831b23b03c3 100644 --- a/src/test/ui/run-pass/for-loop-while/label_break_value.rs +++ b/src/test/ui/run-pass/for-loop-while/label_break_value.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(label_break_value)] // Test control flow to follow label_break_value semantics diff --git a/src/test/ui/run-pass/for-loop-while/labeled-break.rs b/src/test/ui/run-pass/for-loop-while/labeled-break.rs index fe2f35c5119..d00b943313e 100644 --- a/src/test/ui/run-pass/for-loop-while/labeled-break.rs +++ b/src/test/ui/run-pass/for-loop-while/labeled-break.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/for-loop-while/linear-for-loop.rs b/src/test/ui/run-pass/for-loop-while/linear-for-loop.rs index fc6d435b034..e1a70822290 100644 --- a/src/test/ui/run-pass/for-loop-while/linear-for-loop.rs +++ b/src/test/ui/run-pass/for-loop-while/linear-for-loop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = vec![1, 2, 3]; let mut y = 0; diff --git a/src/test/ui/run-pass/for-loop-while/liveness-assign-imm-local-after-loop.rs b/src/test/ui/run-pass/for-loop-while/liveness-assign-imm-local-after-loop.rs index dfa08055046..4fd64e7134f 100644 --- a/src/test/ui/run-pass/for-loop-while/liveness-assign-imm-local-after-loop.rs +++ b/src/test/ui/run-pass/for-loop-while/liveness-assign-imm-local-after-loop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/for-loop-while/liveness-loop-break.rs b/src/test/ui/run-pass/for-loop-while/liveness-loop-break.rs index 0dba1830cbd..7323f9147fa 100644 --- a/src/test/ui/run-pass/for-loop-while/liveness-loop-break.rs +++ b/src/test/ui/run-pass/for-loop-while/liveness-loop-break.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test() { let v; loop { diff --git a/src/test/ui/run-pass/for-loop-while/liveness-move-in-loop.rs b/src/test/ui/run-pass/for-loop-while/liveness-move-in-loop.rs index f9bb45ee400..b5da1c1e221 100644 --- a/src/test/ui/run-pass/for-loop-while/liveness-move-in-loop.rs +++ b/src/test/ui/run-pass/for-loop-while/liveness-move-in-loop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/for-loop-while/loop-break-cont-1.rs b/src/test/ui/run-pass/for-loop-while/loop-break-cont-1.rs index 5abac0e65a3..f56b2b4ef4d 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-break-cont-1.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-break-cont-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let _i = 0_usize; diff --git a/src/test/ui/run-pass/for-loop-while/loop-break-cont.rs b/src/test/ui/run-pass/for-loop-while/loop-break-cont.rs index a15efa2d8ee..fb32132b493 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-break-cont.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-break-cont.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut i = 0_usize; loop { diff --git a/src/test/ui/run-pass/for-loop-while/loop-break-value.rs b/src/test/ui/run-pass/for-loop-while/loop-break-value.rs index 39053769b24..9f23b4e93e6 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-break-value.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-break-value.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(never_type)] #[allow(unused)] diff --git a/src/test/ui/run-pass/for-loop-while/loop-diverges.rs b/src/test/ui/run-pass/for-loop-while/loop-diverges.rs index c2ad9a6ef73..86ff4c05438 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-diverges.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-diverges.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 /* Make sure a loop{} can be the tailexpr in the body diff --git a/src/test/ui/run-pass/for-loop-while/loop-label-shadowing.rs b/src/test/ui/run-pass/for-loop-while/loop-label-shadowing.rs index 399920a7e31..18cad7541aa 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-label-shadowing.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-label-shadowing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #12512. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/for-loop-while/loop-labeled-break-value.rs b/src/test/ui/run-pass/for-loop-while/loop-labeled-break-value.rs index 4f03b45b116..959d05b6fbe 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-labeled-break-value.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-labeled-break-value.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/for-loop-while/loop-no-reinit-needed-post-bot.rs b/src/test/ui/run-pass/for-loop-while/loop-no-reinit-needed-post-bot.rs index 689e17c170d..95bb8e8aa64 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-no-reinit-needed-post-bot.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-no-reinit-needed-post-bot.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct S; diff --git a/src/test/ui/run-pass/for-loop-while/loop-scope.rs b/src/test/ui/run-pass/for-loop-while/loop-scope.rs index 6916bfb8c61..e8987b1a593 100644 --- a/src/test/ui/run-pass/for-loop-while/loop-scope.rs +++ b/src/test/ui/run-pass/for-loop-while/loop-scope.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = vec![10, 20, 30]; diff --git a/src/test/ui/run-pass/for-loop-while/while-cont.rs b/src/test/ui/run-pass/for-loop-while/while-cont.rs index 3e1a232115f..23d74f440ba 100644 --- a/src/test/ui/run-pass/for-loop-while/while-cont.rs +++ b/src/test/ui/run-pass/for-loop-while/while-cont.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #825: Should recheck the loop condition after continuing pub fn main() { let mut i = 1; diff --git a/src/test/ui/run-pass/for-loop-while/while-flow-graph.rs b/src/test/ui/run-pass/for-loop-while/while-flow-graph.rs index 102a5a7558e..9abdf45d18d 100644 --- a/src/test/ui/run-pass/for-loop-while/while-flow-graph.rs +++ b/src/test/ui/run-pass/for-loop-while/while-flow-graph.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/for-loop-while/while-label.rs b/src/test/ui/run-pass/for-loop-while/while-label.rs index 8cbb845836f..da0cf295ba0 100644 --- a/src/test/ui/run-pass/for-loop-while/while-label.rs +++ b/src/test/ui/run-pass/for-loop-while/while-label.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/for-loop-while/while-let.rs b/src/test/ui/run-pass/for-loop-while/while-let.rs index aed6986c5fe..8bd874800e9 100644 --- a/src/test/ui/run-pass/for-loop-while/while-let.rs +++ b/src/test/ui/run-pass/for-loop-while/while-let.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::BinaryHeap; diff --git a/src/test/ui/run-pass/for-loop-while/while-loop-constraints-2.rs b/src/test/ui/run-pass/for-loop-while/while-loop-constraints-2.rs index 6e9e7bc24d6..c291d693fbe 100644 --- a/src/test/ui/run-pass/for-loop-while/while-loop-constraints-2.rs +++ b/src/test/ui/run-pass/for-loop-while/while-loop-constraints-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_assignment)] #![allow(unused_variables)] diff --git a/src/test/ui/run-pass/for-loop-while/while-prelude-drop.rs b/src/test/ui/run-pass/for-loop-while/while-prelude-drop.rs index 39ed4f53cf7..479422993cd 100644 --- a/src/test/ui/run-pass/for-loop-while/while-prelude-drop.rs +++ b/src/test/ui/run-pass/for-loop-while/while-prelude-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::string::String; #[derive(PartialEq)] diff --git a/src/test/ui/run-pass/for-loop-while/while-with-break.rs b/src/test/ui/run-pass/for-loop-while/while-with-break.rs index 4c599e9c428..0981ce91f3c 100644 --- a/src/test/ui/run-pass/for-loop-while/while-with-break.rs +++ b/src/test/ui/run-pass/for-loop-while/while-with-break.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut i: isize = 90; diff --git a/src/test/ui/run-pass/for-loop-while/while.rs b/src/test/ui/run-pass/for-loop-while/while.rs index bf56e76687f..ba71ba1fd52 100644 --- a/src/test/ui/run-pass/for-loop-while/while.rs +++ b/src/test/ui/run-pass/for-loop-while/while.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/foreign/foreign-call-no-runtime.rs b/src/test/ui/run-pass/foreign/foreign-call-no-runtime.rs index dd5c075c39b..4837f78ce3b 100644 --- a/src/test/ui/run-pass/foreign/foreign-call-no-runtime.rs +++ b/src/test/ui/run-pass/foreign/foreign-call-no-runtime.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(libc)] diff --git a/src/test/ui/run-pass/foreign/foreign-dupe.rs b/src/test/ui/run-pass/foreign/foreign-dupe.rs index b79e6e98fc0..296459c399f 100644 --- a/src/test/ui/run-pass/foreign/foreign-dupe.rs +++ b/src/test/ui/run-pass/foreign/foreign-dupe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:foreign_lib.rs // ignore-wasm32-bare no libc to test ffi with diff --git a/src/test/ui/run-pass/foreign/foreign-fn-linkname.rs b/src/test/ui/run-pass/foreign/foreign-fn-linkname.rs index fd827efbfdd..75876607603 100644 --- a/src/test/ui/run-pass/foreign/foreign-fn-linkname.rs +++ b/src/test/ui/run-pass/foreign/foreign-fn-linkname.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #![feature(libc)] diff --git a/src/test/ui/run-pass/foreign/foreign-fn-with-byval.rs b/src/test/ui/run-pass/foreign/foreign-fn-with-byval.rs index 65efa571a9b..14426fabaa5 100644 --- a/src/test/ui/run-pass/foreign/foreign-fn-with-byval.rs +++ b/src/test/ui/run-pass/foreign/foreign-fn-with-byval.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/foreign/foreign-int-types.rs b/src/test/ui/run-pass/foreign/foreign-int-types.rs index 5ea0ef6c7ba..d7bcf655990 100644 --- a/src/test/ui/run-pass/foreign/foreign-int-types.rs +++ b/src/test/ui/run-pass/foreign/foreign-int-types.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![forbid(improper_ctypes)] #![allow(dead_code)] diff --git a/src/test/ui/run-pass/foreign/foreign-mod-src/inner.rs b/src/test/ui/run-pass/foreign/foreign-mod-src/inner.rs index 2fd316ce348..3c5f6ab8064 100644 --- a/src/test/ui/run-pass/foreign/foreign-mod-src/inner.rs +++ b/src/test/ui/run-pass/foreign/foreign-mod-src/inner.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/foreign/foreign-mod-unused-const.rs b/src/test/ui/run-pass/foreign/foreign-mod-unused-const.rs index 5e9e529669a..61d537c692c 100644 --- a/src/test/ui/run-pass/foreign/foreign-mod-unused-const.rs +++ b/src/test/ui/run-pass/foreign/foreign-mod-unused-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod foo { diff --git a/src/test/ui/run-pass/foreign/foreign-no-abi.rs b/src/test/ui/run-pass/foreign/foreign-no-abi.rs index b516cdf4416..1d35f08a11f 100644 --- a/src/test/ui/run-pass/foreign/foreign-no-abi.rs +++ b/src/test/ui/run-pass/foreign/foreign-no-abi.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ABI is cdecl by default // ignore-wasm32-bare no libc to test ffi with diff --git a/src/test/ui/run-pass/foreign/foreign-src/foreign.rs b/src/test/ui/run-pass/foreign/foreign-src/foreign.rs index 2e07795ec27..5cf8f5a22dd 100644 --- a/src/test/ui/run-pass/foreign/foreign-src/foreign.rs +++ b/src/test/ui/run-pass/foreign/foreign-src/foreign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/foreign/foreign-truncated-arguments.rs b/src/test/ui/run-pass/foreign/foreign-truncated-arguments.rs index a983a4a9598..5e7d4487382 100644 --- a/src/test/ui/run-pass/foreign/foreign-truncated-arguments.rs +++ b/src/test/ui/run-pass/foreign/foreign-truncated-arguments.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -O // Regression test for https://github.com/rust-lang/rust/issues/33868 diff --git a/src/test/ui/run-pass/foreign/foreign2.rs b/src/test/ui/run-pass/foreign/foreign2.rs index d69d6976e4a..307e6b182e7 100644 --- a/src/test/ui/run-pass/foreign/foreign2.rs +++ b/src/test/ui/run-pass/foreign/foreign2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/functions-closures/call-closure-from-overloaded-op.rs b/src/test/ui/run-pass/functions-closures/call-closure-from-overloaded-op.rs index e35398a2291..d31420f338d 100644 --- a/src/test/ui/run-pass/functions-closures/call-closure-from-overloaded-op.rs +++ b/src/test/ui/run-pass/functions-closures/call-closure-from-overloaded-op.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo() -> isize { 22 } diff --git a/src/test/ui/run-pass/functions-closures/capture-clauses-boxed-closures.rs b/src/test/ui/run-pass/functions-closures/capture-clauses-boxed-closures.rs index 45cec79e1a3..21b71c9c380 100644 --- a/src/test/ui/run-pass/functions-closures/capture-clauses-boxed-closures.rs +++ b/src/test/ui/run-pass/functions-closures/capture-clauses-boxed-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn each(x: &[T], mut f: F) where F: FnMut(&T) { for val in x { diff --git a/src/test/ui/run-pass/functions-closures/capture-clauses-unboxed-closures.rs b/src/test/ui/run-pass/functions-closures/capture-clauses-unboxed-closures.rs index e8a9dc7b8f3..d18d8d37c02 100644 --- a/src/test/ui/run-pass/functions-closures/capture-clauses-unboxed-closures.rs +++ b/src/test/ui/run-pass/functions-closures/capture-clauses-unboxed-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn each<'a,T,F:FnMut(&'a T)>(x: &'a [T], mut f: F) { for val in x { f(val) diff --git a/src/test/ui/run-pass/functions-closures/clone-closure.rs b/src/test/ui/run-pass/functions-closures/clone-closure.rs index 0fe3711d8d3..49350266a6e 100644 --- a/src/test/ui/run-pass/functions-closures/clone-closure.rs +++ b/src/test/ui/run-pass/functions-closures/clone-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that closures implement `Clone`. #[derive(Clone)] diff --git a/src/test/ui/run-pass/functions-closures/closure-bounds-can-capture-chan.rs b/src/test/ui/run-pass/functions-closures/closure-bounds-can-capture-chan.rs index 5268e855d5f..7c1230d4e90 100644 --- a/src/test/ui/run-pass/functions-closures/closure-bounds-can-capture-chan.rs +++ b/src/test/ui/run-pass/functions-closures/closure-bounds-can-capture-chan.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs b/src/test/ui/run-pass/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs index 8a90a491f7e..a58b9ba567b 100644 --- a/src/test/ui/run-pass/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs +++ b/src/test/ui/run-pass/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn with_closure(_: F) where F: FnOnce(Vec, A) { diff --git a/src/test/ui/run-pass/functions-closures/closure-expected-type/issue-38714.rs b/src/test/ui/run-pass/functions-closures/closure-expected-type/issue-38714.rs index a1d512105c9..3304b2e2600 100644 --- a/src/test/ui/run-pass/functions-closures/closure-expected-type/issue-38714.rs +++ b/src/test/ui/run-pass/functions-closures/closure-expected-type/issue-38714.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct UsizeRef<'a> { a: &'a usize } diff --git a/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-just-return-type.rs b/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-just-return-type.rs index 0b930b338fd..30e81746db6 100644 --- a/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-just-return-type.rs +++ b/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-just-return-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn with_closure(f: F) -> Result where F: FnOnce(&char) -> Result, { diff --git a/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-nothing.rs b/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-nothing.rs index 15d8b393c15..9035bca50b9 100644 --- a/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-nothing.rs +++ b/src/test/ui/run-pass/functions-closures/closure-expected-type/supply-nothing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn with_closure(f: F) -> u32 where F: FnOnce(&u32, &u32) -> u32 { diff --git a/src/test/ui/run-pass/functions-closures/closure-immediate.rs b/src/test/ui/run-pass/functions-closures/closure-immediate.rs index e566c105835..9a729532eff 100644 --- a/src/test/ui/run-pass/functions-closures/closure-immediate.rs +++ b/src/test/ui/run-pass/functions-closures/closure-immediate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // After the work to reoptimize structs, it became possible for immediate logic to fail. // This test verifies that it actually works. diff --git a/src/test/ui/run-pass/functions-closures/closure-inference.rs b/src/test/ui/run-pass/functions-closures/closure-inference.rs index 630a510ca65..e8554d27650 100644 --- a/src/test/ui/run-pass/functions-closures/closure-inference.rs +++ b/src/test/ui/run-pass/functions-closures/closure-inference.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(i: isize) -> isize { i + 1 } diff --git a/src/test/ui/run-pass/functions-closures/closure-inference2.rs b/src/test/ui/run-pass/functions-closures/closure-inference2.rs index 2f24cd4ce40..65da36e206b 100644 --- a/src/test/ui/run-pass/functions-closures/closure-inference2.rs +++ b/src/test/ui/run-pass/functions-closures/closure-inference2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a rather underspecified example: diff --git a/src/test/ui/run-pass/functions-closures/closure-reform.rs b/src/test/ui/run-pass/functions-closures/closure-reform.rs index a37733bdc2d..52e0e56026b 100644 --- a/src/test/ui/run-pass/functions-closures/closure-reform.rs +++ b/src/test/ui/run-pass/functions-closures/closure-reform.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/src/test/ui/run-pass/functions-closures/closure-returning-closure.rs b/src/test/ui/run-pass/functions-closures/closure-returning-closure.rs index 2c00f770cd9..08e7ebe5588 100644 --- a/src/test/ui/run-pass/functions-closures/closure-returning-closure.rs +++ b/src/test/ui/run-pass/functions-closures/closure-returning-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let f = |_||x, y| x+y; assert_eq!(f(())(1, 2), 3); diff --git a/src/test/ui/run-pass/functions-closures/closure-to-fn-coercion.rs b/src/test/ui/run-pass/functions-closures/closure-to-fn-coercion.rs index 343209143cc..15a46f0eca5 100644 --- a/src/test/ui/run-pass/functions-closures/closure-to-fn-coercion.rs +++ b/src/test/ui/run-pass/functions-closures/closure-to-fn-coercion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; const FOO: fn(u8) -> u8 = |v: u8| { v }; diff --git a/src/test/ui/run-pass/functions-closures/closure_to_fn_coercion-expected-types.rs b/src/test/ui/run-pass/functions-closures/closure_to_fn_coercion-expected-types.rs index 41da3089c88..e2e2b325177 100644 --- a/src/test/ui/run-pass/functions-closures/closure_to_fn_coercion-expected-types.rs +++ b/src/test/ui/run-pass/functions-closures/closure_to_fn_coercion-expected-types.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass // Ensure that we deduce expected argument types when a `fn()` type is expected (#41755) fn foo(f: fn(Vec) -> usize) { } diff --git a/src/test/ui/run-pass/functions-closures/copy-closure.rs b/src/test/ui/run-pass/functions-closures/copy-closure.rs index a211d6fc3a3..73971431d58 100644 --- a/src/test/ui/run-pass/functions-closures/copy-closure.rs +++ b/src/test/ui/run-pass/functions-closures/copy-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that closures implement `Copy`. fn call T>(f: F) -> T { f() } diff --git a/src/test/ui/run-pass/functions-closures/fn-abi.rs b/src/test/ui/run-pass/functions-closures/fn-abi.rs index 0e3005a2aaa..4e97dec2189 100644 --- a/src/test/ui/run-pass/functions-closures/fn-abi.rs +++ b/src/test/ui/run-pass/functions-closures/fn-abi.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensure that declarations and types which use `extern fn` both have the same // ABI (#9309). diff --git a/src/test/ui/run-pass/functions-closures/fn-bare-assign.rs b/src/test/ui/run-pass/functions-closures/fn-bare-assign.rs index 2d3d4cbffd0..4bf83461ed2 100644 --- a/src/test/ui/run-pass/functions-closures/fn-bare-assign.rs +++ b/src/test/ui/run-pass/functions-closures/fn-bare-assign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f(i: isize, called: &mut bool) { assert_eq!(i, 10); diff --git a/src/test/ui/run-pass/functions-closures/fn-bare-coerce-to-block.rs b/src/test/ui/run-pass/functions-closures/fn-bare-coerce-to-block.rs index 4ec32d23467..4aba898a768 100644 --- a/src/test/ui/run-pass/functions-closures/fn-bare-coerce-to-block.rs +++ b/src/test/ui/run-pass/functions-closures/fn-bare-coerce-to-block.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn bare() {} diff --git a/src/test/ui/run-pass/functions-closures/fn-bare-item.rs b/src/test/ui/run-pass/functions-closures/fn-bare-item.rs index 455b71aff87..0a8241d6fce 100644 --- a/src/test/ui/run-pass/functions-closures/fn-bare-item.rs +++ b/src/test/ui/run-pass/functions-closures/fn-bare-item.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f() { println!("This is a bare function"); } diff --git a/src/test/ui/run-pass/functions-closures/fn-bare-size.rs b/src/test/ui/run-pass/functions-closures/fn-bare-size.rs index 3ed4f103af0..eff13b7521f 100644 --- a/src/test/ui/run-pass/functions-closures/fn-bare-size.rs +++ b/src/test/ui/run-pass/functions-closures/fn-bare-size.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/functions-closures/fn-bare-spawn.rs b/src/test/ui/run-pass/functions-closures/fn-bare-spawn.rs index e6ee77cb62b..50dc51f82e6 100644 --- a/src/test/ui/run-pass/functions-closures/fn-bare-spawn.rs +++ b/src/test/ui/run-pass/functions-closures/fn-bare-spawn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is what the signature to spawn should look like with bare functions diff --git a/src/test/ui/run-pass/functions-closures/fn-coerce-field.rs b/src/test/ui/run-pass/functions-closures/fn-coerce-field.rs index 74d107d15ab..5ad8884e946 100644 --- a/src/test/ui/run-pass/functions-closures/fn-coerce-field.rs +++ b/src/test/ui/run-pass/functions-closures/fn-coerce-field.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct r where F: FnOnce() { diff --git a/src/test/ui/run-pass/functions-closures/fn-item-type-cast.rs b/src/test/ui/run-pass/functions-closures/fn-item-type-cast.rs index 9a8a8d4782e..0c032bd79fd 100644 --- a/src/test/ui/run-pass/functions-closures/fn-item-type-cast.rs +++ b/src/test/ui/run-pass/functions-closures/fn-item-type-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test explicit coercions from a fn item type to a fn pointer type. diff --git a/src/test/ui/run-pass/functions-closures/fn-item-type-coerce.rs b/src/test/ui/run-pass/functions-closures/fn-item-type-coerce.rs index 67899bfd683..3b0cd1ec1e5 100644 --- a/src/test/ui/run-pass/functions-closures/fn-item-type-coerce.rs +++ b/src/test/ui/run-pass/functions-closures/fn-item-type-coerce.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test implicit coercions from a fn item type to a fn pointer type. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/functions-closures/fn-item-type-zero-sized.rs b/src/test/ui/run-pass/functions-closures/fn-item-type-zero-sized.rs index 5fdaf083d07..0e952fe2761 100644 --- a/src/test/ui/run-pass/functions-closures/fn-item-type-zero-sized.rs +++ b/src/test/ui/run-pass/functions-closures/fn-item-type-zero-sized.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that fn item types are zero-sized. use std::mem::{size_of, size_of_val}; diff --git a/src/test/ui/run-pass/functions-closures/fn-lval.rs b/src/test/ui/run-pass/functions-closures/fn-lval.rs index 13c96f43468..806ae182256 100644 --- a/src/test/ui/run-pass/functions-closures/fn-lval.rs +++ b/src/test/ui/run-pass/functions-closures/fn-lval.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/functions-closures/fn-type-infer.rs b/src/test/ui/run-pass/functions-closures/fn-type-infer.rs index ad6c10611aa..5eea37cdc8c 100644 --- a/src/test/ui/run-pass/functions-closures/fn-type-infer.rs +++ b/src/test/ui/run-pass/functions-closures/fn-type-infer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(unused_variables)] diff --git a/src/test/ui/run-pass/functions-closures/implied-bounds-closure-arg-outlives.rs b/src/test/ui/run-pass/functions-closures/implied-bounds-closure-arg-outlives.rs index 0e5cc574f00..4277dcc149e 100644 --- a/src/test/ui/run-pass/functions-closures/implied-bounds-closure-arg-outlives.rs +++ b/src/test/ui/run-pass/functions-closures/implied-bounds-closure-arg-outlives.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to handle the relationships between free // regions bound in a closure callback. diff --git a/src/test/ui/run-pass/functions-closures/nullable-pointer-opt-closures.rs b/src/test/ui/run-pass/functions-closures/nullable-pointer-opt-closures.rs index ac5634e6cdd..2122bb897a0 100644 --- a/src/test/ui/run-pass/functions-closures/nullable-pointer-opt-closures.rs +++ b/src/test/ui/run-pass/functions-closures/nullable-pointer-opt-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/functions-closures/parallel-codegen-closures.rs b/src/test/ui/run-pass/functions-closures/parallel-codegen-closures.rs index 27b9eeccbeb..c1db23341a3 100644 --- a/src/test/ui/run-pass/functions-closures/parallel-codegen-closures.rs +++ b/src/test/ui/run-pass/functions-closures/parallel-codegen-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests parallel codegen - this can fail if the symbol for the anonymous // closure in `sum` pollutes the second codegen unit from the first. diff --git a/src/test/ui/run-pass/functions-closures/return-from-closure.rs b/src/test/ui/run-pass/functions-closures/return-from-closure.rs index 76eddd05382..f64c270b310 100644 --- a/src/test/ui/run-pass/functions-closures/return-from-closure.rs +++ b/src/test/ui/run-pass/functions-closures/return-from-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // just to make sure that `return` is only returning from the closure, // not the surrounding function. diff --git a/src/test/ui/run-pass/generics/generic-alias-unique.rs b/src/test/ui/run-pass/generics/generic-alias-unique.rs index c4fd3119615..a141ae049cc 100644 --- a/src/test/ui/run-pass/generics/generic-alias-unique.rs +++ b/src/test/ui/run-pass/generics/generic-alias-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn id(t: T) -> T { return t; } diff --git a/src/test/ui/run-pass/generics/generic-default-type-params-cross-crate.rs b/src/test/ui/run-pass/generics/generic-default-type-params-cross-crate.rs index 4cf9f93bcac..762ea4c6760 100644 --- a/src/test/ui/run-pass/generics/generic-default-type-params-cross-crate.rs +++ b/src/test/ui/run-pass/generics/generic-default-type-params-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:default_type_params_xc.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/generics/generic-default-type-params.rs b/src/test/ui/run-pass/generics/generic-default-type-params.rs index e30cb765798..6a5ae7b664f 100644 --- a/src/test/ui/run-pass/generics/generic-default-type-params.rs +++ b/src/test/ui/run-pass/generics/generic-default-type-params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { a: A } diff --git a/src/test/ui/run-pass/generics/generic-derived-type.rs b/src/test/ui/run-pass/generics/generic-derived-type.rs index 74a71873e28..76f638ca75e 100644 --- a/src/test/ui/run-pass/generics/generic-derived-type.rs +++ b/src/test/ui/run-pass/generics/generic-derived-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn g(x: X) -> X { return x; } #[derive(Clone)] diff --git a/src/test/ui/run-pass/generics/generic-exterior-unique.rs b/src/test/ui/run-pass/generics/generic-exterior-unique.rs index 64091d2926c..960d578138f 100644 --- a/src/test/ui/run-pass/generics/generic-exterior-unique.rs +++ b/src/test/ui/run-pass/generics/generic-exterior-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Recbox {x: Box} diff --git a/src/test/ui/run-pass/generics/generic-extern-mangle.rs b/src/test/ui/run-pass/generics/generic-extern-mangle.rs index debe3706891..b935922a0cd 100644 --- a/src/test/ui/run-pass/generics/generic-extern-mangle.rs +++ b/src/test/ui/run-pass/generics/generic-extern-mangle.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; extern "C" fn foo(a: T, b: T) -> T::Output { a + b } diff --git a/src/test/ui/run-pass/generics/generic-fn-infer.rs b/src/test/ui/run-pass/generics/generic-fn-infer.rs index bff86207f78..5db9228cc3c 100644 --- a/src/test/ui/run-pass/generics/generic-fn-infer.rs +++ b/src/test/ui/run-pass/generics/generic-fn-infer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/generics/generic-fn-twice.rs b/src/test/ui/run-pass/generics/generic-fn-twice.rs index b37c73f7f75..d385a153830 100644 --- a/src/test/ui/run-pass/generics/generic-fn-twice.rs +++ b/src/test/ui/run-pass/generics/generic-fn-twice.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/generics/generic-fn-unique.rs b/src/test/ui/run-pass/generics/generic-fn-unique.rs index 3585cd2e079..0e0ffa63f61 100644 --- a/src/test/ui/run-pass/generics/generic-fn-unique.rs +++ b/src/test/ui/run-pass/generics/generic-fn-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f(x: Box) -> Box { return x; } diff --git a/src/test/ui/run-pass/generics/generic-fn.rs b/src/test/ui/run-pass/generics/generic-fn.rs index 0ba0ed4bf7f..2c9426a1dc8 100644 --- a/src/test/ui/run-pass/generics/generic-fn.rs +++ b/src/test/ui/run-pass/generics/generic-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_assignment)] fn id(x: T) -> T { return x; } diff --git a/src/test/ui/run-pass/generics/generic-ivec-leak.rs b/src/test/ui/run-pass/generics/generic-ivec-leak.rs index d439c623801..2c57f87485f 100644 --- a/src/test/ui/run-pass/generics/generic-ivec-leak.rs +++ b/src/test/ui/run-pass/generics/generic-ivec-leak.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum wrapper { wrapped(T), } pub fn main() { let _w = wrapper::wrapped(vec![1, 2, 3, 4, 5]); } diff --git a/src/test/ui/run-pass/generics/generic-newtype-struct.rs b/src/test/ui/run-pass/generics/generic-newtype-struct.rs index 24b51728000..fc54a3bab54 100644 --- a/src/test/ui/run-pass/generics/generic-newtype-struct.rs +++ b/src/test/ui/run-pass/generics/generic-newtype-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct S(T); diff --git a/src/test/ui/run-pass/generics/generic-object.rs b/src/test/ui/run-pass/generics/generic-object.rs index 7e737fe00af..4745b8d2cb8 100644 --- a/src/test/ui/run-pass/generics/generic-object.rs +++ b/src/test/ui/run-pass/generics/generic-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait Foo { diff --git a/src/test/ui/run-pass/generics/generic-recursive-tag.rs b/src/test/ui/run-pass/generics/generic-recursive-tag.rs index ca2bf0ac224..3011bd170f0 100644 --- a/src/test/ui/run-pass/generics/generic-recursive-tag.rs +++ b/src/test/ui/run-pass/generics/generic-recursive-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] enum list { cons(Box, Box>), nil, } diff --git a/src/test/ui/run-pass/generics/generic-static-methods.rs b/src/test/ui/run-pass/generics/generic-static-methods.rs index ad501ec7e9b..58ec675d9b3 100644 --- a/src/test/ui/run-pass/generics/generic-static-methods.rs +++ b/src/test/ui/run-pass/generics/generic-static-methods.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait vec_utils { diff --git a/src/test/ui/run-pass/generics/generic-tag-corruption.rs b/src/test/ui/run-pass/generics/generic-tag-corruption.rs index d61ae520ada..befc86c4051 100644 --- a/src/test/ui/run-pass/generics/generic-tag-corruption.rs +++ b/src/test/ui/run-pass/generics/generic-tag-corruption.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/generics/generic-tag-local.rs b/src/test/ui/run-pass/generics/generic-tag-local.rs index 9518d590279..b9190802eac 100644 --- a/src/test/ui/run-pass/generics/generic-tag-local.rs +++ b/src/test/ui/run-pass/generics/generic-tag-local.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/generics/generic-tag-match.rs b/src/test/ui/run-pass/generics/generic-tag-match.rs index 830c982e13c..fe4afacc3a6 100644 --- a/src/test/ui/run-pass/generics/generic-tag-match.rs +++ b/src/test/ui/run-pass/generics/generic-tag-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_assignment)] enum foo { arm(T), } diff --git a/src/test/ui/run-pass/generics/generic-tag-values.rs b/src/test/ui/run-pass/generics/generic-tag-values.rs index 1acb2320900..e9e6ac83bc8 100644 --- a/src/test/ui/run-pass/generics/generic-tag-values.rs +++ b/src/test/ui/run-pass/generics/generic-tag-values.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum noption { some(T), } struct Pair { x: isize, y: isize } diff --git a/src/test/ui/run-pass/generics/generic-tag.rs b/src/test/ui/run-pass/generics/generic-tag.rs index a79465c8cd8..8217188d458 100644 --- a/src/test/ui/run-pass/generics/generic-tag.rs +++ b/src/test/ui/run-pass/generics/generic-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/generics/generic-temporary.rs b/src/test/ui/run-pass/generics/generic-temporary.rs index 80a6efe7a0e..32ff16710cf 100644 --- a/src/test/ui/run-pass/generics/generic-temporary.rs +++ b/src/test/ui/run-pass/generics/generic-temporary.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn mk() -> isize { return 1; } diff --git a/src/test/ui/run-pass/generics/generic-tup.rs b/src/test/ui/run-pass/generics/generic-tup.rs index cd0e344b89c..677e2f8349f 100644 --- a/src/test/ui/run-pass/generics/generic-tup.rs +++ b/src/test/ui/run-pass/generics/generic-tup.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn get_third(t: (T, T, T)) -> T { let (_, _, x) = t; return x; } pub fn main() { diff --git a/src/test/ui/run-pass/generics/generic-type-synonym.rs b/src/test/ui/run-pass/generics/generic-type-synonym.rs index 2b3bd5ead94..518480301b9 100644 --- a/src/test/ui/run-pass/generics/generic-type-synonym.rs +++ b/src/test/ui/run-pass/generics/generic-type-synonym.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/generics/generic-type.rs b/src/test/ui/run-pass/generics/generic-type.rs index 8e7a3add343..4f83d437dc6 100644 --- a/src/test/ui/run-pass/generics/generic-type.rs +++ b/src/test/ui/run-pass/generics/generic-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/generics/generic-unique.rs b/src/test/ui/run-pass/generics/generic-unique.rs index 1b1355ea336..c21a0be3d39 100644 --- a/src/test/ui/run-pass/generics/generic-unique.rs +++ b/src/test/ui/run-pass/generics/generic-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Triple { x: T, y: T, z: T } diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs index bcd519bc25d..641912269a1 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we handle binder levels in object types correctly. // Initially, the reference to `'tcx` in the object type // `&Typer<'tcx>` was getting an incorrect binder level, yielding diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs index 6761cc12876..19c7c8c489a 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Typer<'tcx> { diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs index 8e2e21bed0a..bd61c42dd37 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A basic test of using a higher-ranked trait bound. diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait.rs index 71e314b5132..24ae5e1f343 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A basic test of using a higher-ranked trait bound. diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-opt-in-copy.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-opt-in-copy.rs index f0214d3f37b..3eafc5aabda 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-opt-in-copy.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-opt-in-copy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we handle binder levels correctly when checking whether a // type can implement `Copy`. In particular, we had a bug where we failed to // liberate the late-bound regions from the impl, and thus wound up diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-parse.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-parse.rs index cdffaef66eb..cdc83b04788 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-parse.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-parse.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can parse all the various places that a `for` keyword // can appear representing universal quantification. diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs index 46ea2562961..32abdde39ab 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // Test that `F : Fn(isize) -> isize + Send` is interpreted as two diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs index 511d3234857..5d29115d35e 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // Test that `Fn(isize) -> isize + 'static` parses as `(Fn(isize) -> isize) + diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs index bdbcda89099..3f940cd4cd7 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A basic test of using a higher-ranked trait bound. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs index 5b9d4a834d8..5dc548fd341 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A basic test of using a higher-ranked trait bound. trait FnLike { diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs index 48d0959630f..2274fdc5684 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that `&PrinterSupport`, which is really short for `&'a // PrinterSupport<'b>`, gets properly expanded when it appears in a // closure type. This used to result in messed up De Bruijn indices. diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-type-outlives.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-type-outlives.rs index 083f042fec2..f36533629cd 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-type-outlives.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-type-outlives.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test what happens when a HR obligation is applied to an impl with // "outlives" bounds. Currently we're pretty conservative here; this // will probably improve in time. diff --git a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs index 6666b61a4a7..56af5df0105 100644 --- a/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs +++ b/src/test/ui/run-pass/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test HRTB used with the `Fn` trait. fn foo(f: F) { diff --git a/src/test/ui/run-pass/hygiene/auxiliary/legacy_interaction.rs b/src/test/ui/run-pass/hygiene/auxiliary/legacy_interaction.rs index c614ee4d575..75f81c56db2 100644 --- a/src/test/ui/run-pass/hygiene/auxiliary/legacy_interaction.rs +++ b/src/test/ui/run-pass/hygiene/auxiliary/legacy_interaction.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #[macro_export] diff --git a/src/test/ui/run-pass/hygiene/auxiliary/my_crate.rs b/src/test/ui/run-pass/hygiene/auxiliary/my_crate.rs index e10d20b6d47..10dbaa9e9ad 100644 --- a/src/test/ui/run-pass/hygiene/auxiliary/my_crate.rs +++ b/src/test/ui/run-pass/hygiene/auxiliary/my_crate.rs @@ -8,4 +8,5 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn f() {} diff --git a/src/test/ui/run-pass/hygiene/auxiliary/unhygienic_example.rs b/src/test/ui/run-pass/hygiene/auxiliary/unhygienic_example.rs index 298e0209a09..589e8b579b7 100644 --- a/src/test/ui/run-pass/hygiene/auxiliary/unhygienic_example.rs +++ b/src/test/ui/run-pass/hygiene/auxiliary/unhygienic_example.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![crate_type = "lib"] extern crate my_crate; diff --git a/src/test/ui/run-pass/hygiene/auxiliary/xcrate.rs b/src/test/ui/run-pass/hygiene/auxiliary/xcrate.rs index 2ccd043097f..f469d87f423 100644 --- a/src/test/ui/run-pass/hygiene/auxiliary/xcrate.rs +++ b/src/test/ui/run-pass/hygiene/auxiliary/xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(decl_macro)] #![allow(unused)] diff --git a/src/test/ui/run-pass/hygiene/hygiene-dodging-1.rs b/src/test/ui/run-pass/hygiene/hygiene-dodging-1.rs index 83f09850f77..bbb46d85d18 100644 --- a/src/test/ui/run-pass/hygiene/hygiene-dodging-1.rs +++ b/src/test/ui/run-pass/hygiene/hygiene-dodging-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod x { pub fn g() -> usize {14} diff --git a/src/test/ui/run-pass/hygiene/hygiene.rs b/src/test/ui/run-pass/hygiene/hygiene.rs index 91648ee5798..c6b5f9c3974 100644 --- a/src/test/ui/run-pass/hygiene/hygiene.rs +++ b/src/test/ui/run-pass/hygiene/hygiene.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused)] fn f() { diff --git a/src/test/ui/run-pass/hygiene/hygienic-labels-in-let.rs b/src/test/ui/run-pass/hygiene/hygienic-labels-in-let.rs index 2aa5f59cda6..d68809a1c6e 100644 --- a/src/test/ui/run-pass/hygiene/hygienic-labels-in-let.rs +++ b/src/test/ui/run-pass/hygiene/hygienic-labels-in-let.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that labels injected by macros do not break hygiene. This // checks cases where the macros invocations are under the rhs of a // let statement. diff --git a/src/test/ui/run-pass/hygiene/hygienic-labels.rs b/src/test/ui/run-pass/hygiene/hygienic-labels.rs index a5882f02292..723ffb30b7f 100644 --- a/src/test/ui/run-pass/hygiene/hygienic-labels.rs +++ b/src/test/ui/run-pass/hygiene/hygienic-labels.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that labels injected by macros do not break hygiene. // Issue #24278: The label/lifetime shadowing checker from #24162 diff --git a/src/test/ui/run-pass/hygiene/issue-44128.rs b/src/test/ui/run-pass/hygiene/issue-44128.rs index 213ee1edff4..879cd851434 100644 --- a/src/test/ui/run-pass/hygiene/issue-44128.rs +++ b/src/test/ui/run-pass/hygiene/issue-44128.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(decl_macro)] pub macro create_struct($a:ident) { diff --git a/src/test/ui/run-pass/hygiene/issue-47311.rs b/src/test/ui/run-pass/hygiene/issue-47311.rs index 3b6890cdce6..43c4fc747e7 100644 --- a/src/test/ui/run-pass/hygiene/issue-47311.rs +++ b/src/test/ui/run-pass/hygiene/issue-47311.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/issue-47312.rs b/src/test/ui/run-pass/hygiene/issue-47312.rs index 5e83f3808d8..68166912f5f 100644 --- a/src/test/ui/run-pass/hygiene/issue-47312.rs +++ b/src/test/ui/run-pass/hygiene/issue-47312.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/items.rs b/src/test/ui/run-pass/hygiene/items.rs index 121c341a124..1c215523892 100644 --- a/src/test/ui/run-pass/hygiene/items.rs +++ b/src/test/ui/run-pass/hygiene/items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/legacy_interaction.rs b/src/test/ui/run-pass/hygiene/legacy_interaction.rs index 683a15b99ae..d0845b5802b 100644 --- a/src/test/ui/run-pass/hygiene/legacy_interaction.rs +++ b/src/test/ui/run-pass/hygiene/legacy_interaction.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic // aux-build:legacy_interaction.rs diff --git a/src/test/ui/run-pass/hygiene/lexical.rs b/src/test/ui/run-pass/hygiene/lexical.rs index cb02a17fec3..9dc116d3af7 100644 --- a/src/test/ui/run-pass/hygiene/lexical.rs +++ b/src/test/ui/run-pass/hygiene/lexical.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/specialization.rs b/src/test/ui/run-pass/hygiene/specialization.rs index 3d46d2ec99e..a1ab5b78ca0 100644 --- a/src/test/ui/run-pass/hygiene/specialization.rs +++ b/src/test/ui/run-pass/hygiene/specialization.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/trait_items.rs b/src/test/ui/run-pass/hygiene/trait_items.rs index 2344c97ce1b..4007f5b5c8f 100644 --- a/src/test/ui/run-pass/hygiene/trait_items.rs +++ b/src/test/ui/run-pass/hygiene/trait_items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/ty_params.rs b/src/test/ui/run-pass/hygiene/ty_params.rs index 510528ede40..a057f2fc5ce 100644 --- a/src/test/ui/run-pass/hygiene/ty_params.rs +++ b/src/test/ui/run-pass/hygiene/ty_params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/hygiene/wrap_unhygienic_example.rs b/src/test/ui/run-pass/hygiene/wrap_unhygienic_example.rs index 55206950214..9516bfe50b6 100644 --- a/src/test/ui/run-pass/hygiene/wrap_unhygienic_example.rs +++ b/src/test/ui/run-pass/hygiene/wrap_unhygienic_example.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic // aux-build:my_crate.rs diff --git a/src/test/ui/run-pass/hygiene/xcrate.rs b/src/test/ui/run-pass/hygiene/xcrate.rs index 6df3a34d3c8..3e330fe3862 100644 --- a/src/test/ui/run-pass/hygiene/xcrate.rs +++ b/src/test/ui/run-pass/hygiene/xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty pretty-printing is unhygienic // aux-build:xcrate.rs diff --git a/src/test/ui/run-pass/imports/import-crate-with-invalid-spans/main.rs b/src/test/ui/run-pass/imports/import-crate-with-invalid-spans/main.rs index 2f80a0954dc..990758d52ff 100644 --- a/src/test/ui/run-pass/imports/import-crate-with-invalid-spans/main.rs +++ b/src/test/ui/run-pass/imports/import-crate-with-invalid-spans/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:crate_with_invalid_spans.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/imports/import-from.rs b/src/test/ui/run-pass/imports/import-from.rs index 9ac35fbb387..5f498a48584 100644 --- a/src/test/ui/run-pass/imports/import-from.rs +++ b/src/test/ui/run-pass/imports/import-from.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use spam::{ham, eggs}; diff --git a/src/test/ui/run-pass/imports/import-glob-0.rs b/src/test/ui/run-pass/imports/import-glob-0.rs index a57b8de629e..f72fb1f0b13 100644 --- a/src/test/ui/run-pass/imports/import-glob-0.rs +++ b/src/test/ui/run-pass/imports/import-glob-0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use module_of_many_things::*; use dug::too::greedily::and::too::deep::*; diff --git a/src/test/ui/run-pass/imports/import-glob-1.rs b/src/test/ui/run-pass/imports/import-glob-1.rs index a7949e7d6e3..b1f40d74917 100644 --- a/src/test/ui/run-pass/imports/import-glob-1.rs +++ b/src/test/ui/run-pass/imports/import-glob-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This should resolve fine. Prior to fix, the last import // was being tried too early, and marked as unrsolved before // the glob import had a chance to be resolved. diff --git a/src/test/ui/run-pass/imports/import-glob-crate.rs b/src/test/ui/run-pass/imports/import-glob-crate.rs index fec46c7e1f8..4ec5e1bd945 100644 --- a/src/test/ui/run-pass/imports/import-glob-crate.rs +++ b/src/test/ui/run-pass/imports/import-glob-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::*; pub fn main() { diff --git a/src/test/ui/run-pass/imports/import-in-block.rs b/src/test/ui/run-pass/imports/import-in-block.rs index 532cdbbee3c..655bd31b4de 100644 --- a/src/test/ui/run-pass/imports/import-in-block.rs +++ b/src/test/ui/run-pass/imports/import-in-block.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/imports/import-prefix-macro.rs b/src/test/ui/run-pass/imports/import-prefix-macro.rs index cfe4ff78e62..ceb662c6e3d 100644 --- a/src/test/ui/run-pass/imports/import-prefix-macro.rs +++ b/src/test/ui/run-pass/imports/import-prefix-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod a { pub mod b { pub mod c { diff --git a/src/test/ui/run-pass/imports/import-rename.rs b/src/test/ui/run-pass/imports/import-rename.rs index f293c284f94..8d4757f0a47 100644 --- a/src/test/ui/run-pass/imports/import-rename.rs +++ b/src/test/ui/run-pass/imports/import-rename.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use foo::{x, y as fooy}; use Maybe::{Yes as MaybeYes}; diff --git a/src/test/ui/run-pass/imports/import-trailing-comma.rs b/src/test/ui/run-pass/imports/import-trailing-comma.rs index c4744853622..6c3371b46c7 100644 --- a/src/test/ui/run-pass/imports/import-trailing-comma.rs +++ b/src/test/ui/run-pass/imports/import-trailing-comma.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use foo::bar::{baz, quux,}; diff --git a/src/test/ui/run-pass/imports/import.rs b/src/test/ui/run-pass/imports/import.rs index c2b459d2887..cb2152f5fac 100644 --- a/src/test/ui/run-pass/imports/import.rs +++ b/src/test/ui/run-pass/imports/import.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod foo { pub fn x(y: isize) { println!("{}", y); } } diff --git a/src/test/ui/run-pass/imports/import2.rs b/src/test/ui/run-pass/imports/import2.rs index 4086acc0a8e..aaf65fc1c8c 100644 --- a/src/test/ui/run-pass/imports/import2.rs +++ b/src/test/ui/run-pass/imports/import2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use zed::bar; diff --git a/src/test/ui/run-pass/imports/import3.rs b/src/test/ui/run-pass/imports/import3.rs index 2c09eff7b12..38e316f550b 100644 --- a/src/test/ui/run-pass/imports/import3.rs +++ b/src/test/ui/run-pass/imports/import3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_imports)] use baz::zed; diff --git a/src/test/ui/run-pass/imports/import4.rs b/src/test/ui/run-pass/imports/import4.rs index 229813ff55c..057e1cb5e01 100644 --- a/src/test/ui/run-pass/imports/import4.rs +++ b/src/test/ui/run-pass/imports/import4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use zed::bar; diff --git a/src/test/ui/run-pass/imports/import5.rs b/src/test/ui/run-pass/imports/import5.rs index 0cad094d55d..614c8c435c9 100644 --- a/src/test/ui/run-pass/imports/import5.rs +++ b/src/test/ui/run-pass/imports/import5.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use foo::bar; mod foo { pub use foo::zed::bar; diff --git a/src/test/ui/run-pass/imports/import6.rs b/src/test/ui/run-pass/imports/import6.rs index 545bd7cee5e..d98d5b3b0e1 100644 --- a/src/test/ui/run-pass/imports/import6.rs +++ b/src/test/ui/run-pass/imports/import6.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_imports)] use foo::zed; diff --git a/src/test/ui/run-pass/imports/import7.rs b/src/test/ui/run-pass/imports/import7.rs index 4b9d1328951..67e41824e0d 100644 --- a/src/test/ui/run-pass/imports/import7.rs +++ b/src/test/ui/run-pass/imports/import7.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_imports)] use foo::zed; diff --git a/src/test/ui/run-pass/imports/import8.rs b/src/test/ui/run-pass/imports/import8.rs index 0f3891bf067..71dd7acac5a 100644 --- a/src/test/ui/run-pass/imports/import8.rs +++ b/src/test/ui/run-pass/imports/import8.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use foo::x; use foo::x as z; diff --git a/src/test/ui/run-pass/imports/imports.rs b/src/test/ui/run-pass/imports/imports.rs index f845a2ee571..7ca7ea1fd8c 100644 --- a/src/test/ui/run-pass/imports/imports.rs +++ b/src/test/ui/run-pass/imports/imports.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused)] // Like other items, private imports can be imported and used non-lexically in paths. diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-alignment.rs b/src/test/ui/run-pass/intrinsics/intrinsic-alignment.rs index 5a6a6e0163e..0c1f7724ca8 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-alignment.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-alignment.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare seems not important to test here #![feature(intrinsics, main)] diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-assume.rs b/src/test/ui/run-pass/intrinsics/intrinsic-assume.rs index 41ef62b0ced..e428c0e50ab 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-assume.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-assume.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] use std::intrinsics::assume; diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-atomics-cc.rs b/src/test/ui/run-pass/intrinsics/intrinsic-atomics-cc.rs index abb85cc7f19..ce8b07c9075 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-atomics-cc.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-atomics-cc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_intrinsic.rs diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-atomics.rs b/src/test/ui/run-pass/intrinsics/intrinsic-atomics.rs index 4b11158e8c3..d238a57a076 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-atomics.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-atomics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #![feature(intrinsics)] diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-move-val-cleanups.rs b/src/test/ui/run-pass/intrinsics/intrinsic-move-val-cleanups.rs index 8f22579423f..93c9bd6a496 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-move-val-cleanups.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-move-val-cleanups.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // This test is checking that the move_val_init intrinsic is diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-move-val.rs b/src/test/ui/run-pass/intrinsics/intrinsic-move-val.rs index ea42b59f1f2..dcc495e5923 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-move-val.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-move-val.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #![feature(intrinsics)] diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-uninit.rs b/src/test/ui/run-pass/intrinsics/intrinsic-uninit.rs index 3d2c1ec5c19..0f58bdbb9c5 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-uninit.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-uninit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(intrinsics)] diff --git a/src/test/ui/run-pass/intrinsics/intrinsic-unreachable.rs b/src/test/ui/run-pass/intrinsics/intrinsic-unreachable.rs index 0ce446e445c..586d0a352f9 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsic-unreachable.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsic-unreachable.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] use std::intrinsics; diff --git a/src/test/ui/run-pass/intrinsics/intrinsics-integer.rs b/src/test/ui/run-pass/intrinsics/intrinsics-integer.rs index 7a8ff1befc7..97c1c93cfd4 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsics-integer.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsics-integer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no i128 support #![feature(intrinsics)] diff --git a/src/test/ui/run-pass/intrinsics/intrinsics-math.rs b/src/test/ui/run-pass/intrinsics/intrinsics-math.rs index 5132405a9d5..d08386beb9e 100644 --- a/src/test/ui/run-pass/intrinsics/intrinsics-math.rs +++ b/src/test/ui/run-pass/intrinsics/intrinsics-math.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten fma not implemented in emscripten macro_rules! assert_approx_eq { diff --git a/src/test/ui/run-pass/issues/issue-10025.rs b/src/test/ui/run-pass/issues/issue-10025.rs index 1ca2476a101..bd286bca938 100644 --- a/src/test/ui/run-pass/issues/issue-10025.rs +++ b/src/test/ui/run-pass/issues/issue-10025.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 unsafe extern fn foo() {} diff --git a/src/test/ui/run-pass/issues/issue-10028.rs b/src/test/ui/run-pass/issues/issue-10028.rs index 53d6f67f119..b89ecb0b9df 100644 --- a/src/test/ui/run-pass/issues/issue-10028.rs +++ b/src/test/ui/run-pass/issues/issue-10028.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-10028.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-10031.rs b/src/test/ui/run-pass/issues/issue-10031.rs index 4dc1487b9af..215760343f0 100644 --- a/src/test/ui/run-pass/issues/issue-10031.rs +++ b/src/test/ui/run-pass/issues/issue-10031.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_10031_aux.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-10228.rs b/src/test/ui/run-pass/issues/issue-10228.rs index b5c97bd10ed..7ed8f5be936 100644 --- a/src/test/ui/run-pass/issues/issue-10228.rs +++ b/src/test/ui/run-pass/issues/issue-10228.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum StdioContainer { diff --git a/src/test/ui/run-pass/issues/issue-10392.rs b/src/test/ui/run-pass/issues/issue-10392.rs index 1a5f423b0fd..65c88f445c2 100644 --- a/src/test/ui/run-pass/issues/issue-10392.rs +++ b/src/test/ui/run-pass/issues/issue-10392.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A { foo: isize } struct B { a: isize, b: isize, c: isize } diff --git a/src/test/ui/run-pass/issues/issue-10396.rs b/src/test/ui/run-pass/issues/issue-10396.rs index b487608d4e6..f0b3b276fcf 100644 --- a/src/test/ui/run-pass/issues/issue-10396.rs +++ b/src/test/ui/run-pass/issues/issue-10396.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] enum Foo<'s> { V(&'s str) diff --git a/src/test/ui/run-pass/issues/issue-10436.rs b/src/test/ui/run-pass/issues/issue-10436.rs index 81a955b0f22..f7f890d8188 100644 --- a/src/test/ui/run-pass/issues/issue-10436.rs +++ b/src/test/ui/run-pass/issues/issue-10436.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn works(x: T) -> Vec { vec![x] } fn also_works(x: T) -> Vec { vec![x] } diff --git a/src/test/ui/run-pass/issues/issue-10456.rs b/src/test/ui/run-pass/issues/issue-10456.rs index 10b41623054..66b813f82a4 100644 --- a/src/test/ui/run-pass/issues/issue-10456.rs +++ b/src/test/ui/run-pass/issues/issue-10456.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-10626.rs b/src/test/ui/run-pass/issues/issue-10626.rs index 9262fc342f7..75c2368d9da 100644 --- a/src/test/ui/run-pass/issues/issue-10626.rs +++ b/src/test/ui/run-pass/issues/issue-10626.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-10638.rs b/src/test/ui/run-pass/issues/issue-10638.rs index 379bdffbbb2..8648a54159f 100644 --- a/src/test/ui/run-pass/issues/issue-10638.rs +++ b/src/test/ui/run-pass/issues/issue-10638.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-10682.rs b/src/test/ui/run-pass/issues/issue-10682.rs index 67b73bdadbb..e7c23b393f0 100644 --- a/src/test/ui/run-pass/issues/issue-10682.rs +++ b/src/test/ui/run-pass/issues/issue-10682.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #10682 // Nested `proc` usage can't use outer owned data diff --git a/src/test/ui/run-pass/issues/issue-10683.rs b/src/test/ui/run-pass/issues/issue-10683.rs index d3ba477fa57..f25072538ad 100644 --- a/src/test/ui/run-pass/issues/issue-10683.rs +++ b/src/test/ui/run-pass/issues/issue-10683.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 static NAME: &'static str = "hello world"; diff --git a/src/test/ui/run-pass/issues/issue-10718.rs b/src/test/ui/run-pass/issues/issue-10718.rs index fedd94e22e7..546c06d0451 100644 --- a/src/test/ui/run-pass/issues/issue-10718.rs +++ b/src/test/ui/run-pass/issues/issue-10718.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn f(p: F) { diff --git a/src/test/ui/run-pass/issues/issue-10734.rs b/src/test/ui/run-pass/issues/issue-10734.rs index a521e5d4b6c..e6e6f928420 100644 --- a/src/test/ui/run-pass/issues/issue-10734.rs +++ b/src/test/ui/run-pass/issues/issue-10734.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static mut drop_count: usize = 0; struct Foo { diff --git a/src/test/ui/run-pass/issues/issue-10763.rs b/src/test/ui/run-pass/issues/issue-10763.rs index 3789b93ad76..9f03cd34114 100644 --- a/src/test/ui/run-pass/issues/issue-10763.rs +++ b/src/test/ui/run-pass/issues/issue-10763.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern "Rust" fn foo() {} diff --git a/src/test/ui/run-pass/issues/issue-10764.rs b/src/test/ui/run-pass/issues/issue-10764.rs index cfabf699fa2..0d912ed467a 100644 --- a/src/test/ui/run-pass/issues/issue-10764.rs +++ b/src/test/ui/run-pass/issues/issue-10764.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern "Rust" fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-10767.rs b/src/test/ui/run-pass/issues/issue-10767.rs index 2184aa00fa4..58cb663a721 100644 --- a/src/test/ui/run-pass/issues/issue-10767.rs +++ b/src/test/ui/run-pass/issues/issue-10767.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-10802.rs b/src/test/ui/run-pass/issues/issue-10802.rs index 1e700d4e18b..3967ee44583 100644 --- a/src/test/ui/run-pass/issues/issue-10802.rs +++ b/src/test/ui/run-pass/issues/issue-10802.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct DroppableStruct; diff --git a/src/test/ui/run-pass/issues/issue-10806.rs b/src/test/ui/run-pass/issues/issue-10806.rs index 49883f15d31..3cfbd703954 100644 --- a/src/test/ui/run-pass/issues/issue-10806.rs +++ b/src/test/ui/run-pass/issues/issue-10806.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-10853.rs b/src/test/ui/run-pass/issues/issue-10853.rs index 2e6d2780379..4a67d256f5d 100644 --- a/src/test/ui/run-pass/issues/issue-10853.rs +++ b/src/test/ui/run-pass/issues/issue-10853.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![deny(missing_docs)] diff --git a/src/test/ui/run-pass/issues/issue-10902.rs b/src/test/ui/run-pass/issues/issue-10902.rs index 9f0417a8be9..f27b4576d03 100644 --- a/src/test/ui/run-pass/issues/issue-10902.rs +++ b/src/test/ui/run-pass/issues/issue-10902.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub mod two_tuple { diff --git a/src/test/ui/run-pass/issues/issue-11047.rs b/src/test/ui/run-pass/issues/issue-11047.rs index 1d97d579a61..6ff9367aed5 100644 --- a/src/test/ui/run-pass/issues/issue-11047.rs +++ b/src/test/ui/run-pass/issues/issue-11047.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that static methods can be invoked on `type` aliases #![allow(unused_variables)] diff --git a/src/test/ui/run-pass/issues/issue-11085.rs b/src/test/ui/run-pass/issues/issue-11085.rs index c024c6297bf..76a047e2a20 100644 --- a/src/test/ui/run-pass/issues/issue-11085.rs +++ b/src/test/ui/run-pass/issues/issue-11085.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg foo // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-1112.rs b/src/test/ui/run-pass/issues/issue-1112.rs index 72d1a43e883..ee1711b1333 100644 --- a/src/test/ui/run-pass/issues/issue-1112.rs +++ b/src/test/ui/run-pass/issues/issue-1112.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #1112 // Alignment of interior pointers to dynamic-size types diff --git a/src/test/ui/run-pass/issues/issue-11205.rs b/src/test/ui/run-pass/issues/issue-11205.rs index 25c66bf8d48..bb7d1768f04 100644 --- a/src/test/ui/run-pass/issues/issue-11205.rs +++ b/src/test/ui/run-pass/issues/issue-11205.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-11224.rs b/src/test/ui/run-pass/issues/issue-11224.rs index 14017ee1789..944983a2453 100644 --- a/src/test/ui/run-pass/issues/issue-11224.rs +++ b/src/test/ui/run-pass/issues/issue-11224.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-11224.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-11225-1.rs b/src/test/ui/run-pass/issues/issue-11225-1.rs index 60789be62b3..3c67d9cdd37 100644 --- a/src/test/ui/run-pass/issues/issue-11225-1.rs +++ b/src/test/ui/run-pass/issues/issue-11225-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-11225-1.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-11225-2.rs b/src/test/ui/run-pass/issues/issue-11225-2.rs index 540183b7ef4..9e66e6e8672 100644 --- a/src/test/ui/run-pass/issues/issue-11225-2.rs +++ b/src/test/ui/run-pass/issues/issue-11225-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-11225-2.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-11225-3.rs b/src/test/ui/run-pass/issues/issue-11225-3.rs index 317c3d3222d..d6e9b1378a0 100644 --- a/src/test/ui/run-pass/issues/issue-11225-3.rs +++ b/src/test/ui/run-pass/issues/issue-11225-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-11225-3.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-11267.rs b/src/test/ui/run-pass/issues/issue-11267.rs index 1a1227c7920..37bf64c17eb 100644 --- a/src/test/ui/run-pass/issues/issue-11267.rs +++ b/src/test/ui/run-pass/issues/issue-11267.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that unary structs can be mutably borrowed. struct Empty; diff --git a/src/test/ui/run-pass/issues/issue-11382.rs b/src/test/ui/run-pass/issues/issue-11382.rs index 51996614d25..fc8f283fc8e 100644 --- a/src/test/ui/run-pass/issues/issue-11382.rs +++ b/src/test/ui/run-pass/issues/issue-11382.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { println!("{}", 1.2); } diff --git a/src/test/ui/run-pass/issues/issue-11384.rs b/src/test/ui/run-pass/issues/issue-11384.rs index 5b4bd6c9f2b..5f11bf2841e 100644 --- a/src/test/ui/run-pass/issues/issue-11384.rs +++ b/src/test/ui/run-pass/issues/issue-11384.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Common { fn dummy(&self) { } } diff --git a/src/test/ui/run-pass/issues/issue-11508.rs b/src/test/ui/run-pass/issues/issue-11508.rs index 21ed30683f5..d5a1214ffa4 100644 --- a/src/test/ui/run-pass/issues/issue-11508.rs +++ b/src/test/ui/run-pass/issues/issue-11508.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-11508.rs extern crate issue_11508 as rand; diff --git a/src/test/ui/run-pass/issues/issue-11529.rs b/src/test/ui/run-pass/issues/issue-11529.rs index e5d95874be6..e046956297d 100644 --- a/src/test/ui/run-pass/issues/issue-11529.rs +++ b/src/test/ui/run-pass/issues/issue-11529.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-11529.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-11552.rs b/src/test/ui/run-pass/issues/issue-11552.rs index aa980e48c5e..38dc58a2f12 100644 --- a/src/test/ui/run-pass/issues/issue-11552.rs +++ b/src/test/ui/run-pass/issues/issue-11552.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_patterns)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-11577.rs b/src/test/ui/run-pass/issues/issue-11577.rs index a64fbb6afd6..1fee0d40206 100644 --- a/src/test/ui/run-pass/issues/issue-11577.rs +++ b/src/test/ui/run-pass/issues/issue-11577.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Destructuring struct variants would ICE where regular structs wouldn't enum Foo { diff --git a/src/test/ui/run-pass/issues/issue-11592.rs b/src/test/ui/run-pass/issues/issue-11592.rs index 432e7ff2025..1157f9b7e76 100644 --- a/src/test/ui/run-pass/issues/issue-11592.rs +++ b/src/test/ui/run-pass/issues/issue-11592.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass //! Ensure the private trait Bar isn't complained about. #![deny(missing_docs)] diff --git a/src/test/ui/run-pass/issues/issue-11612.rs b/src/test/ui/run-pass/issues/issue-11612.rs index de1b0525d84..763e538fb8f 100644 --- a/src/test/ui/run-pass/issues/issue-11612.rs +++ b/src/test/ui/run-pass/issues/issue-11612.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #11612 // We weren't updating the auto adjustments with all the resolved // type information after type check. diff --git a/src/test/ui/run-pass/issues/issue-11677.rs b/src/test/ui/run-pass/issues/issue-11677.rs index 62da3b14675..a4d4feb4f8a 100644 --- a/src/test/ui/run-pass/issues/issue-11677.rs +++ b/src/test/ui/run-pass/issues/issue-11677.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-11709.rs b/src/test/ui/run-pass/issues/issue-11709.rs index 88d74a65813..ffd6f1dfb55 100644 --- a/src/test/ui/run-pass/issues/issue-11709.rs +++ b/src/test/ui/run-pass/issues/issue-11709.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37199 // Don't panic on blocks without results diff --git a/src/test/ui/run-pass/issues/issue-11820.rs b/src/test/ui/run-pass/issues/issue-11820.rs index 6d2243db300..4546529a902 100644 --- a/src/test/ui/run-pass/issues/issue-11820.rs +++ b/src/test/ui/run-pass/issues/issue-11820.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct NoClone; diff --git a/src/test/ui/run-pass/issues/issue-11869.rs b/src/test/ui/run-pass/issues/issue-11869.rs index 8a9b3e4b143..be20f7a0fec 100644 --- a/src/test/ui/run-pass/issues/issue-11869.rs +++ b/src/test/ui/run-pass/issues/issue-11869.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct A { diff --git a/src/test/ui/run-pass/issues/issue-11940.rs b/src/test/ui/run-pass/issues/issue-11940.rs index 186446a3456..8f2dae938e0 100644 --- a/src/test/ui/run-pass/issues/issue-11940.rs +++ b/src/test/ui/run-pass/issues/issue-11940.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const TEST_STR: &'static str = "abcd"; diff --git a/src/test/ui/run-pass/issues/issue-11958.rs b/src/test/ui/run-pass/issues/issue-11958.rs index 05de69cb966..6702aa38fd9 100644 --- a/src/test/ui/run-pass/issues/issue-11958.rs +++ b/src/test/ui/run-pass/issues/issue-11958.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![forbid(warnings)] // We shouldn't need to rebind a moved upvar as mut if it's already diff --git a/src/test/ui/run-pass/issues/issue-12033.rs b/src/test/ui/run-pass/issues/issue-12033.rs index 5e1d82ce52c..214dfa5a446 100644 --- a/src/test/ui/run-pass/issues/issue-12033.rs +++ b/src/test/ui/run-pass/issues/issue-12033.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::RefCell; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-12133-1.rs b/src/test/ui/run-pass/issues/issue-12133-1.rs index d47bb818c49..7f896f6a6df 100644 --- a/src/test/ui/run-pass/issues/issue-12133-1.rs +++ b/src/test/ui/run-pass/issues/issue-12133-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-12133-rlib.rs // aux-build:issue-12133-dylib.rs diff --git a/src/test/ui/run-pass/issues/issue-12133-2.rs b/src/test/ui/run-pass/issues/issue-12133-2.rs index 580c487af0d..c2f12fda193 100644 --- a/src/test/ui/run-pass/issues/issue-12133-2.rs +++ b/src/test/ui/run-pass/issues/issue-12133-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-12133-rlib.rs // aux-build:issue-12133-dylib.rs // no-prefer-dynamic diff --git a/src/test/ui/run-pass/issues/issue-12133-3.rs b/src/test/ui/run-pass/issues/issue-12133-3.rs index 2b36c94d2e2..51c39f8f9c7 100644 --- a/src/test/ui/run-pass/issues/issue-12133-3.rs +++ b/src/test/ui/run-pass/issues/issue-12133-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-12133-rlib.rs // aux-build:issue-12133-dylib.rs // aux-build:issue-12133-dylib2.rs diff --git a/src/test/ui/run-pass/issues/issue-12285.rs b/src/test/ui/run-pass/issues/issue-12285.rs index fb98909eb97..6391f13d936 100644 --- a/src/test/ui/run-pass/issues/issue-12285.rs +++ b/src/test/ui/run-pass/issues/issue-12285.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S; diff --git a/src/test/ui/run-pass/issues/issue-1251.rs b/src/test/ui/run-pass/issues/issue-1251.rs index 00e8aa69a89..a7bc8718003 100644 --- a/src/test/ui/run-pass/issues/issue-1251.rs +++ b/src/test/ui/run-pass/issues/issue-1251.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-wasm32-bare no libc to test ffi with diff --git a/src/test/ui/run-pass/issues/issue-1257.rs b/src/test/ui/run-pass/issues/issue-1257.rs index 44ebe362c72..8361151c24e 100644 --- a/src/test/ui/run-pass/issues/issue-1257.rs +++ b/src/test/ui/run-pass/issues/issue-1257.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main () { diff --git a/src/test/ui/run-pass/issues/issue-12582.rs b/src/test/ui/run-pass/issues/issue-12582.rs index b89964d968e..dd77e7287ca 100644 --- a/src/test/ui/run-pass/issues/issue-12582.rs +++ b/src/test/ui/run-pass/issues/issue-12582.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass pub fn main() { let x = 1; diff --git a/src/test/ui/run-pass/issues/issue-12612.rs b/src/test/ui/run-pass/issues/issue-12612.rs index bdf8f84a959..dd9c9abaf65 100644 --- a/src/test/ui/run-pass/issues/issue-12612.rs +++ b/src/test/ui/run-pass/issues/issue-12612.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_12612_1.rs // aux-build:issue_12612_2.rs diff --git a/src/test/ui/run-pass/issues/issue-12660.rs b/src/test/ui/run-pass/issues/issue-12660.rs index ebf390cfe4f..2713543963e 100644 --- a/src/test/ui/run-pass/issues/issue-12660.rs +++ b/src/test/ui/run-pass/issues/issue-12660.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-12660-aux.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-12677.rs b/src/test/ui/run-pass/issues/issue-12677.rs index e83a2e9727d..e4d29a59ba1 100644 --- a/src/test/ui/run-pass/issues/issue-12677.rs +++ b/src/test/ui/run-pass/issues/issue-12677.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let s = "Hello"; diff --git a/src/test/ui/run-pass/issues/issue-12699.rs b/src/test/ui/run-pass/issues/issue-12699.rs index 4620d982c1e..8e80aaa9a7e 100644 --- a/src/test/ui/run-pass/issues/issue-12699.rs +++ b/src/test/ui/run-pass/issues/issue-12699.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare can't block the thread use std::thread; diff --git a/src/test/ui/run-pass/issues/issue-12729.rs b/src/test/ui/run-pass/issues/issue-12729.rs index 1852ed21286..f75090c4223 100644 --- a/src/test/ui/run-pass/issues/issue-12729.rs +++ b/src/test/ui/run-pass/issues/issue-12729.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-12744.rs b/src/test/ui/run-pass/issues/issue-12744.rs index aec45216b1b..c0af7bdcbdf 100644 --- a/src/test/ui/run-pass/issues/issue-12744.rs +++ b/src/test/ui/run-pass/issues/issue-12744.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { fn test() -> Box { Box::new(1) } println!("{:?}", test()) diff --git a/src/test/ui/run-pass/issues/issue-12860.rs b/src/test/ui/run-pass/issues/issue-12860.rs index 58ce390cac6..fba1532e00f 100644 --- a/src/test/ui/run-pass/issues/issue-12860.rs +++ b/src/test/ui/run-pass/issues/issue-12860.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashSet; #[derive(Copy, Clone, PartialEq, Eq, Hash)] diff --git a/src/test/ui/run-pass/issues/issue-12909.rs b/src/test/ui/run-pass/issues/issue-12909.rs index e1532190730..d4db01a5e58 100644 --- a/src/test/ui/run-pass/issues/issue-12909.rs +++ b/src/test/ui/run-pass/issues/issue-12909.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::collections::HashMap; diff --git a/src/test/ui/run-pass/issues/issue-13027.rs b/src/test/ui/run-pass/issues/issue-13027.rs index 2c460900ef6..7caf1589aed 100644 --- a/src/test/ui/run-pass/issues/issue-13027.rs +++ b/src/test/ui/run-pass/issues/issue-13027.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass // Tests that match expression handles overlapped literal and range // properly in the presence of guard function. diff --git a/src/test/ui/run-pass/issues/issue-13105.rs b/src/test/ui/run-pass/issues/issue-13105.rs index f2a606a8bba..906f8ca5e7d 100644 --- a/src/test/ui/run-pass/issues/issue-13105.rs +++ b/src/test/ui/run-pass/issues/issue-13105.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo { diff --git a/src/test/ui/run-pass/issues/issue-13167.rs b/src/test/ui/run-pass/issues/issue-13167.rs index 414f6768e0a..ac0645cd403 100644 --- a/src/test/ui/run-pass/issues/issue-13167.rs +++ b/src/test/ui/run-pass/issues/issue-13167.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::slice; diff --git a/src/test/ui/run-pass/issues/issue-13204.rs b/src/test/ui/run-pass/issues/issue-13204.rs index 13e8fe0e964..4aa2c49b428 100644 --- a/src/test/ui/run-pass/issues/issue-13204.rs +++ b/src/test/ui/run-pass/issues/issue-13204.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that when instantiating trait default methods, typeck handles // lifetime parameters defined on the method bound correctly. diff --git a/src/test/ui/run-pass/issues/issue-13214.rs b/src/test/ui/run-pass/issues/issue-13214.rs index 7a3d3f4ff48..634cbbb0417 100644 --- a/src/test/ui/run-pass/issues/issue-13214.rs +++ b/src/test/ui/run-pass/issues/issue-13214.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // defining static with struct that contains enum // with &'static str variant used to cause ICE diff --git a/src/test/ui/run-pass/issues/issue-13259-windows-tcb-trash.rs b/src/test/ui/run-pass/issues/issue-13259-windows-tcb-trash.rs index 634046e86ee..de18e09532b 100644 --- a/src/test/ui/run-pass/issues/issue-13259-windows-tcb-trash.rs +++ b/src/test/ui/run-pass/issues/issue-13259-windows-tcb-trash.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(libc)] extern crate libc; diff --git a/src/test/ui/run-pass/issues/issue-13264.rs b/src/test/ui/run-pass/issues/issue-13264.rs index 383c1aef234..79871baafba 100644 --- a/src/test/ui/run-pass/issues/issue-13264.rs +++ b/src/test/ui/run-pass/issues/issue-13264.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Deref; struct Root { diff --git a/src/test/ui/run-pass/issues/issue-13304.rs b/src/test/ui/run-pass/issues/issue-13304.rs index 36036ae241e..117cb0bbe16 100644 --- a/src/test/ui/run-pass/issues/issue-13304.rs +++ b/src/test/ui/run-pass/issues/issue-13304.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-13323.rs b/src/test/ui/run-pass/issues/issue-13323.rs index de72d7152f8..b72abb8b7ac 100644 --- a/src/test/ui/run-pass/issues/issue-13323.rs +++ b/src/test/ui/run-pass/issues/issue-13323.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct StrWrap { diff --git a/src/test/ui/run-pass/issues/issue-13405.rs b/src/test/ui/run-pass/issues/issue-13405.rs index c8b26dc4aed..3b9fdf84b5d 100644 --- a/src/test/ui/run-pass/issues/issue-13405.rs +++ b/src/test/ui/run-pass/issues/issue-13405.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo<'a> { diff --git a/src/test/ui/run-pass/issues/issue-13434.rs b/src/test/ui/run-pass/issues/issue-13434.rs index 5d7a84d80d4..94d22b818e3 100644 --- a/src/test/ui/run-pass/issues/issue-13434.rs +++ b/src/test/ui/run-pass/issues/issue-13434.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct MyStruct; diff --git a/src/test/ui/run-pass/issues/issue-13494.rs b/src/test/ui/run-pass/issues/issue-13494.rs index 316190b54eb..553f3a7fec9 100644 --- a/src/test/ui/run-pass/issues/issue-13494.rs +++ b/src/test/ui/run-pass/issues/issue-13494.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // This test may not always fail, but it can be flaky if the race it used to diff --git a/src/test/ui/run-pass/issues/issue-13507-2.rs b/src/test/ui/run-pass/issues/issue-13507-2.rs index 75a724e55fb..894cd7ac011 100644 --- a/src/test/ui/run-pass/issues/issue-13507-2.rs +++ b/src/test/ui/run-pass/issues/issue-13507-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue13507.rs extern crate issue13507; diff --git a/src/test/ui/run-pass/issues/issue-13620.rs b/src/test/ui/run-pass/issues/issue-13620.rs index 4c468314187..624aeaef782 100644 --- a/src/test/ui/run-pass/issues/issue-13620.rs +++ b/src/test/ui/run-pass/issues/issue-13620.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-13620-1.rs // aux-build:issue-13620-2.rs diff --git a/src/test/ui/run-pass/issues/issue-13655.rs b/src/test/ui/run-pass/issues/issue-13655.rs index 51a9c9264a8..9978819d7db 100644 --- a/src/test/ui/run-pass/issues/issue-13655.rs +++ b/src/test/ui/run-pass/issues/issue-13655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(fn_traits, unboxed_closures)] use std::ops::Fn; diff --git a/src/test/ui/run-pass/issues/issue-13665.rs b/src/test/ui/run-pass/issues/issue-13665.rs index f4902c8e0ac..85e8ef57515 100644 --- a/src/test/ui/run-pass/issues/issue-13665.rs +++ b/src/test/ui/run-pass/issues/issue-13665.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo<'r>() { diff --git a/src/test/ui/run-pass/issues/issue-13703.rs b/src/test/ui/run-pass/issues/issue-13703.rs index 173b8dda057..d0f8be64ef3 100644 --- a/src/test/ui/run-pass/issues/issue-13703.rs +++ b/src/test/ui/run-pass/issues/issue-13703.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub struct Foo<'a, 'b: 'a> { foo: &'a &'b isize } diff --git a/src/test/ui/run-pass/issues/issue-13763.rs b/src/test/ui/run-pass/issues/issue-13763.rs index 1367ab2ed85..0b27e2fab31 100644 --- a/src/test/ui/run-pass/issues/issue-13763.rs +++ b/src/test/ui/run-pass/issues/issue-13763.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod u8 { diff --git a/src/test/ui/run-pass/issues/issue-13775.rs b/src/test/ui/run-pass/issues/issue-13775.rs index c69ae6a15cd..ae499229917 100644 --- a/src/test/ui/run-pass/issues/issue-13775.rs +++ b/src/test/ui/run-pass/issues/issue-13775.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo { diff --git a/src/test/ui/run-pass/issues/issue-13808.rs b/src/test/ui/run-pass/issues/issue-13808.rs index ccdfa0646c6..2d6b78c6b07 100644 --- a/src/test/ui/run-pass/issues/issue-13808.rs +++ b/src/test/ui/run-pass/issues/issue-13808.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo<'a> { diff --git a/src/test/ui/run-pass/issues/issue-13837.rs b/src/test/ui/run-pass/issues/issue-13837.rs index d90b9cffb6a..eaa17499850 100644 --- a/src/test/ui/run-pass/issues/issue-13837.rs +++ b/src/test/ui/run-pass/issues/issue-13837.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct TestStruct { diff --git a/src/test/ui/run-pass/issues/issue-13867.rs b/src/test/ui/run-pass/issues/issue-13867.rs index bc28dc54de6..84d7e8a3bc4 100644 --- a/src/test/ui/run-pass/issues/issue-13867.rs +++ b/src/test/ui/run-pass/issues/issue-13867.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that codegen works correctly when there are multiple refutable // patterns in match expression. diff --git a/src/test/ui/run-pass/issues/issue-13872.rs b/src/test/ui/run-pass/issues/issue-13872.rs index e9fb7945d04..e72eac8fbdd 100644 --- a/src/test/ui/run-pass/issues/issue-13872.rs +++ b/src/test/ui/run-pass/issues/issue-13872.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-13872-1.rs // aux-build:issue-13872-2.rs // aux-build:issue-13872-3.rs diff --git a/src/test/ui/run-pass/issues/issue-13902.rs b/src/test/ui/run-pass/issues/issue-13902.rs index 14019aaacd4..5b84d529ed9 100644 --- a/src/test/ui/run-pass/issues/issue-13902.rs +++ b/src/test/ui/run-pass/issues/issue-13902.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const JSVAL_TAG_CLEAR: u32 = 0xFFFFFF80; const JSVAL_TYPE_INT32: u8 = 0x01; const JSVAL_TYPE_UNDEFINED: u8 = 0x02; diff --git a/src/test/ui/run-pass/issues/issue-14082.rs b/src/test/ui/run-pass/issues/issue-14082.rs index d159d55c77c..01d3c9534f2 100644 --- a/src/test/ui/run-pass/issues/issue-14082.rs +++ b/src/test/ui/run-pass/issues/issue-14082.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(unused_imports, dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-14229.rs b/src/test/ui/run-pass/issues/issue-14229.rs index ee2bbe63750..c09b2c79104 100644 --- a/src/test/ui/run-pass/issues/issue-14229.rs +++ b/src/test/ui/run-pass/issues/issue-14229.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo: Sized { fn foo(self) {} } diff --git a/src/test/ui/run-pass/issues/issue-14254.rs b/src/test/ui/run-pass/issues/issue-14254.rs index 9049ae0548f..4e03535f613 100644 --- a/src/test/ui/run-pass/issues/issue-14254.rs +++ b/src/test/ui/run-pass/issues/issue-14254.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo: Sized { diff --git a/src/test/ui/run-pass/issues/issue-14308.rs b/src/test/ui/run-pass/issues/issue-14308.rs index 74936411da2..dce2c4aecd6 100644 --- a/src/test/ui/run-pass/issues/issue-14308.rs +++ b/src/test/ui/run-pass/issues/issue-14308.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A(isize); diff --git a/src/test/ui/run-pass/issues/issue-14330.rs b/src/test/ui/run-pass/issues/issue-14330.rs index dd5b7e722fe..d50dc64f437 100644 --- a/src/test/ui/run-pass/issues/issue-14330.rs +++ b/src/test/ui/run-pass/issues/issue-14330.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[macro_use] extern crate std as std2; diff --git a/src/test/ui/run-pass/issues/issue-14344.rs b/src/test/ui/run-pass/issues/issue-14344.rs index 06b8f44ed26..842a5c1ad77 100644 --- a/src/test/ui/run-pass/issues/issue-14344.rs +++ b/src/test/ui/run-pass/issues/issue-14344.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-14344-1.rs // aux-build:issue-14344-2.rs diff --git a/src/test/ui/run-pass/issues/issue-14382.rs b/src/test/ui/run-pass/issues/issue-14382.rs index cdb44f6a606..7fdd5e2b0db 100644 --- a/src/test/ui/run-pass/issues/issue-14382.rs +++ b/src/test/ui/run-pass/issues/issue-14382.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct Matrix4(S); trait POrd {} diff --git a/src/test/ui/run-pass/issues/issue-14393.rs b/src/test/ui/run-pass/issues/issue-14393.rs index 88af6507495..9dd3674f34f 100644 --- a/src/test/ui/run-pass/issues/issue-14393.rs +++ b/src/test/ui/run-pass/issues/issue-14393.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-14399.rs b/src/test/ui/run-pass/issues/issue-14399.rs index d5c67bea099..76785212cd7 100644 --- a/src/test/ui/run-pass/issues/issue-14399.rs +++ b/src/test/ui/run-pass/issues/issue-14399.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #14399 // We'd previously ICE if we had a method call whose return // value was coerced to a trait object. (v.clone() returns Box diff --git a/src/test/ui/run-pass/issues/issue-14421.rs b/src/test/ui/run-pass/issues/issue-14421.rs index 046d888030f..8ae622d3a29 100644 --- a/src/test/ui/run-pass/issues/issue-14421.rs +++ b/src/test/ui/run-pass/issues/issue-14421.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-14421.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-14422.rs b/src/test/ui/run-pass/issues/issue-14422.rs index 178a219f5bf..cc917812b08 100644 --- a/src/test/ui/run-pass/issues/issue-14422.rs +++ b/src/test/ui/run-pass/issues/issue-14422.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-14422.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-14456.rs b/src/test/ui/run-pass/issues/issue-14456.rs index 601fafbf02e..27eb0ebcbfe 100644 --- a/src/test/ui/run-pass/issues/issue-14456.rs +++ b/src/test/ui/run-pass/issues/issue-14456.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-1451.rs b/src/test/ui/run-pass/issues/issue-1451.rs index b65a3a9ab70..c58638ccb8d 100644 --- a/src/test/ui/run-pass/issues/issue-1451.rs +++ b/src/test/ui/run-pass/issues/issue-1451.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(unused_variables)] diff --git a/src/test/ui/run-pass/issues/issue-14589.rs b/src/test/ui/run-pass/issues/issue-14589.rs index 8aaa24e991e..78f47237ed6 100644 --- a/src/test/ui/run-pass/issues/issue-14589.rs +++ b/src/test/ui/run-pass/issues/issue-14589.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // All 3 expressions should work in that the argument gets // coerced to a trait object diff --git a/src/test/ui/run-pass/issues/issue-1460.rs b/src/test/ui/run-pass/issues/issue-1460.rs index 6e1cfc71862..85a87327355 100644 --- a/src/test/ui/run-pass/issues/issue-1460.rs +++ b/src/test/ui/run-pass/issues/issue-1460.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-14821.rs b/src/test/ui/run-pass/issues/issue-14821.rs index 50eb7767f82..c01ffb7d6b1 100644 --- a/src/test/ui/run-pass/issues/issue-14821.rs +++ b/src/test/ui/run-pass/issues/issue-14821.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait SomeTrait {} struct Meow; impl SomeTrait for Meow {} diff --git a/src/test/ui/run-pass/issues/issue-14837.rs b/src/test/ui/run-pass/issues/issue-14837.rs index 5589acdda37..9945c6e4407 100644 --- a/src/test/ui/run-pass/issues/issue-14837.rs +++ b/src/test/ui/run-pass/issues/issue-14837.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[deny(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-14865.rs b/src/test/ui/run-pass/issues/issue-14865.rs index 1ec268bb170..4e278c66886 100644 --- a/src/test/ui/run-pass/issues/issue-14865.rs +++ b/src/test/ui/run-pass/issues/issue-14865.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum X { Foo(usize), diff --git a/src/test/ui/run-pass/issues/issue-14875.rs b/src/test/ui/run-pass/issues/issue-14875.rs index e705539bb47..f983218dc8b 100644 --- a/src/test/ui/run-pass/issues/issue-14875.rs +++ b/src/test/ui/run-pass/issues/issue-14875.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare always compiled as panic=abort right now // Check that values are not leaked when a dtor panics (#14875) diff --git a/src/test/ui/run-pass/issues/issue-14901.rs b/src/test/ui/run-pass/issues/issue-14901.rs index 56683678469..7612c5bc855 100644 --- a/src/test/ui/run-pass/issues/issue-14901.rs +++ b/src/test/ui/run-pass/issues/issue-14901.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Reader {} enum Wrapper<'a> { diff --git a/src/test/ui/run-pass/issues/issue-14919.rs b/src/test/ui/run-pass/issues/issue-14919.rs index 5d0fde01798..a9768661256 100644 --- a/src/test/ui/run-pass/issues/issue-14919.rs +++ b/src/test/ui/run-pass/issues/issue-14919.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Matcher { diff --git a/src/test/ui/run-pass/issues/issue-14933.rs b/src/test/ui/run-pass/issues/issue-14933.rs index f6815b76083..30365bb3e4f 100644 --- a/src/test/ui/run-pass/issues/issue-14933.rs +++ b/src/test/ui/run-pass/issues/issue-14933.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub type BigRat = T; diff --git a/src/test/ui/run-pass/issues/issue-14936.rs b/src/test/ui/run-pass/issues/issue-14936.rs index 8a628b73c00..3786b0408ad 100644 --- a/src/test/ui/run-pass/issues/issue-14936.rs +++ b/src/test/ui/run-pass/issues/issue-14936.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(asm)] diff --git a/src/test/ui/run-pass/issues/issue-14940.rs b/src/test/ui/run-pass/issues/issue-14940.rs index c0741820119..494b790b5bd 100644 --- a/src/test/ui/run-pass/issues/issue-14940.rs +++ b/src/test/ui/run-pass/issues/issue-14940.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-14958.rs b/src/test/ui/run-pass/issues/issue-14958.rs index 0709ccf1406..90716488fab 100644 --- a/src/test/ui/run-pass/issues/issue-14958.rs +++ b/src/test/ui/run-pass/issues/issue-14958.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(fn_traits, unboxed_closures)] diff --git a/src/test/ui/run-pass/issues/issue-14959.rs b/src/test/ui/run-pass/issues/issue-14959.rs index 42824b563be..fc245fb4244 100644 --- a/src/test/ui/run-pass/issues/issue-14959.rs +++ b/src/test/ui/run-pass/issues/issue-14959.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(fn_traits, unboxed_closures)] diff --git a/src/test/ui/run-pass/issues/issue-15043.rs b/src/test/ui/run-pass/issues/issue-15043.rs index adf56388acd..3ba4966a13e 100644 --- a/src/test/ui/run-pass/issues/issue-15043.rs +++ b/src/test/ui/run-pass/issues/issue-15043.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(warnings)] diff --git a/src/test/ui/run-pass/issues/issue-15063.rs b/src/test/ui/run-pass/issues/issue-15063.rs index 695d30d7317..863dde1fc5e 100644 --- a/src/test/ui/run-pass/issues/issue-15063.rs +++ b/src/test/ui/run-pass/issues/issue-15063.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Two { A, B} impl Drop for Two { fn drop(&mut self) { diff --git a/src/test/ui/run-pass/issues/issue-15080.rs b/src/test/ui/run-pass/issues/issue-15080.rs index 59267f79e26..ee8356b99e0 100644 --- a/src/test/ui/run-pass/issues/issue-15080.rs +++ b/src/test/ui/run-pass/issues/issue-15080.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-15104.rs b/src/test/ui/run-pass/issues/issue-15104.rs index 2878f2795c5..0cb1d69d186 100644 --- a/src/test/ui/run-pass/issues/issue-15104.rs +++ b/src/test/ui/run-pass/issues/issue-15104.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-15108.rs b/src/test/ui/run-pass/issues/issue-15108.rs index aaf1e5fc183..7288ff23cb4 100644 --- a/src/test/ui/run-pass/issues/issue-15108.rs +++ b/src/test/ui/run-pass/issues/issue-15108.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-15129.rs b/src/test/ui/run-pass/issues/issue-15129.rs index 9bcfa6ea40a..b0ee797752a 100644 --- a/src/test/ui/run-pass/issues/issue-15129.rs +++ b/src/test/ui/run-pass/issues/issue-15129.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub enum T { T1(()), diff --git a/src/test/ui/run-pass/issues/issue-15155.rs b/src/test/ui/run-pass/issues/issue-15155.rs index e1ecaaab026..3abed1f5637 100644 --- a/src/test/ui/run-pass/issues/issue-15155.rs +++ b/src/test/ui/run-pass/issues/issue-15155.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait TraitWithSend: Send {} trait IndirectTraitWithSend: TraitWithSend {} diff --git a/src/test/ui/run-pass/issues/issue-15189.rs b/src/test/ui/run-pass/issues/issue-15189.rs index 54b96d66307..6c6a4404da9 100644 --- a/src/test/ui/run-pass/issues/issue-15189.rs +++ b/src/test/ui/run-pass/issues/issue-15189.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! third { ($e:expr) => ({let x = 2; $e[x]}) } diff --git a/src/test/ui/run-pass/issues/issue-15221.rs b/src/test/ui/run-pass/issues/issue-15221.rs index bb89fb2fa10..25e163e3958 100644 --- a/src/test/ui/run-pass/issues/issue-15221.rs +++ b/src/test/ui/run-pass/issues/issue-15221.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 macro_rules! inner { diff --git a/src/test/ui/run-pass/issues/issue-15261.rs b/src/test/ui/run-pass/issues/issue-15261.rs index 239fef12326..9118ea2f18f 100644 --- a/src/test/ui/run-pass/issues/issue-15261.rs +++ b/src/test/ui/run-pass/issues/issue-15261.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 static mut n_mut: usize = 0; diff --git a/src/test/ui/run-pass/issues/issue-15444.rs b/src/test/ui/run-pass/issues/issue-15444.rs index e9a9eabcd91..826ca40d63d 100644 --- a/src/test/ui/run-pass/issues/issue-15444.rs +++ b/src/test/ui/run-pass/issues/issue-15444.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait MyTrait { diff --git a/src/test/ui/run-pass/issues/issue-15487.rs b/src/test/ui/run-pass/issues/issue-15487.rs index 3616ab9e6c7..de4de14ca33 100644 --- a/src/test/ui/run-pass/issues/issue-15487.rs +++ b/src/test/ui/run-pass/issues/issue-15487.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-windows // ignore-wasm32-bare no libs to link diff --git a/src/test/ui/run-pass/issues/issue-15523-big.rs b/src/test/ui/run-pass/issues/issue-15523-big.rs index 33c81cab381..41a52283aac 100644 --- a/src/test/ui/run-pass/issues/issue-15523-big.rs +++ b/src/test/ui/run-pass/issues/issue-15523-big.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 15523: derive(PartialOrd) should use the provided // discriminant values for the derived ordering. // diff --git a/src/test/ui/run-pass/issues/issue-15523.rs b/src/test/ui/run-pass/issues/issue-15523.rs index bb8fa6791a5..a8fc2153c66 100644 --- a/src/test/ui/run-pass/issues/issue-15523.rs +++ b/src/test/ui/run-pass/issues/issue-15523.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 15523: derive(PartialOrd) should use the provided // discriminant values for the derived ordering. // diff --git a/src/test/ui/run-pass/issues/issue-15562.rs b/src/test/ui/run-pass/issues/issue-15562.rs index da1e15d826d..a3e3f528ff5 100644 --- a/src/test/ui/run-pass/issues/issue-15562.rs +++ b/src/test/ui/run-pass/issues/issue-15562.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-15562.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-15571.rs b/src/test/ui/run-pass/issues/issue-15571.rs index 35915a62102..41414b13a19 100644 --- a/src/test/ui/run-pass/issues/issue-15571.rs +++ b/src/test/ui/run-pass/issues/issue-15571.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn match_on_local() { diff --git a/src/test/ui/run-pass/issues/issue-15673.rs b/src/test/ui/run-pass/issues/issue-15673.rs index ff9a17323e4..a207a56b39b 100644 --- a/src/test/ui/run-pass/issues/issue-15673.rs +++ b/src/test/ui/run-pass/issues/issue-15673.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(iter_arith)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-15689-1.rs b/src/test/ui/run-pass/issues/issue-15689-1.rs index 20d66cd8176..02bf687e74f 100644 --- a/src/test/ui/run-pass/issues/issue-15689-1.rs +++ b/src/test/ui/run-pass/issues/issue-15689-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] enum Test<'a> { diff --git a/src/test/ui/run-pass/issues/issue-15689-2.rs b/src/test/ui/run-pass/issues/issue-15689-2.rs index 922b18c01d9..7b4d1e3e3e2 100644 --- a/src/test/ui/run-pass/issues/issue-15689-2.rs +++ b/src/test/ui/run-pass/issues/issue-15689-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Clone)] diff --git a/src/test/ui/run-pass/issues/issue-15730.rs b/src/test/ui/run-pass/issues/issue-15730.rs index 929580019ff..c2f5f9f2e60 100644 --- a/src/test/ui/run-pass/issues/issue-15730.rs +++ b/src/test/ui/run-pass/issues/issue-15730.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-15734.rs b/src/test/ui/run-pass/issues/issue-15734.rs index 5a35239cf72..6b386ed0f8d 100644 --- a/src/test/ui/run-pass/issues/issue-15734.rs +++ b/src/test/ui/run-pass/issues/issue-15734.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // If `Index` used an associated type for its output, this test would // work more smoothly. diff --git a/src/test/ui/run-pass/issues/issue-15735.rs b/src/test/ui/run-pass/issues/issue-15735.rs index bdd58bf6a7d..9e95b173e89 100644 --- a/src/test/ui/run-pass/issues/issue-15735.rs +++ b/src/test/ui/run-pass/issues/issue-15735.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A<'a> { a: &'a i32, b: &'a i32, diff --git a/src/test/ui/run-pass/issues/issue-15763.rs b/src/test/ui/run-pass/issues/issue-15763.rs index e1176d47063..f241efa74d3 100644 --- a/src/test/ui/run-pass/issues/issue-15763.rs +++ b/src/test/ui/run-pass/issues/issue-15763.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #[derive(PartialEq, Debug)] diff --git a/src/test/ui/run-pass/issues/issue-15774.rs b/src/test/ui/run-pass/issues/issue-15774.rs index eb3322e0370..3e4845886e0 100644 --- a/src/test/ui/run-pass/issues/issue-15774.rs +++ b/src/test/ui/run-pass/issues/issue-15774.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![deny(warnings)] diff --git a/src/test/ui/run-pass/issues/issue-15793.rs b/src/test/ui/run-pass/issues/issue-15793.rs index 432174a1f52..97f4c0095ec 100644 --- a/src/test/ui/run-pass/issues/issue-15793.rs +++ b/src/test/ui/run-pass/issues/issue-15793.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum NestedEnum { First, diff --git a/src/test/ui/run-pass/issues/issue-15858.rs b/src/test/ui/run-pass/issues/issue-15858.rs index a1ada18984e..f0b4db7d6bd 100644 --- a/src/test/ui/run-pass/issues/issue-15858.rs +++ b/src/test/ui/run-pass/issues/issue-15858.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static mut DROP_RAN: bool = false; trait Bar { diff --git a/src/test/ui/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs b/src/test/ui/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs index 04ffad501b0..8b0b92d8566 100644 --- a/src/test/ui/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs +++ b/src/test/ui/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass // regression test for the model lexer handling the DOTDOTDOT syntax (#15877) diff --git a/src/test/ui/run-pass/issues/issue-16151.rs b/src/test/ui/run-pass/issues/issue-16151.rs index 212dfaf3cb6..440037ff119 100644 --- a/src/test/ui/run-pass/issues/issue-16151.rs +++ b/src/test/ui/run-pass/issues/issue-16151.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-16256.rs b/src/test/ui/run-pass/issues/issue-16256.rs index b994fcb46b0..20a5bbadcf5 100644 --- a/src/test/ui/run-pass/issues/issue-16256.rs +++ b/src/test/ui/run-pass/issues/issue-16256.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-16272.rs b/src/test/ui/run-pass/issues/issue-16272.rs index f8d6e43c730..dd515ea1558 100644 --- a/src/test/ui/run-pass/issues/issue-16272.rs +++ b/src/test/ui/run-pass/issues/issue-16272.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-16278.rs b/src/test/ui/run-pass/issues/issue-16278.rs index 41af72db200..831e83c8c4b 100644 --- a/src/test/ui/run-pass/issues/issue-16278.rs +++ b/src/test/ui/run-pass/issues/issue-16278.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-tidy-cr // this file has some special \r\n endings (use xxd to see them) diff --git a/src/test/ui/run-pass/issues/issue-16441.rs b/src/test/ui/run-pass/issues/issue-16441.rs index 4624953dea3..5a0ea2adc63 100644 --- a/src/test/ui/run-pass/issues/issue-16441.rs +++ b/src/test/ui/run-pass/issues/issue-16441.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Empty; diff --git a/src/test/ui/run-pass/issues/issue-16452.rs b/src/test/ui/run-pass/issues/issue-16452.rs index b6056d0ab8c..2b78582b577 100644 --- a/src/test/ui/run-pass/issues/issue-16452.rs +++ b/src/test/ui/run-pass/issues/issue-16452.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-16492.rs b/src/test/ui/run-pass/issues/issue-16492.rs index 177550a0dd4..f4467df62e4 100644 --- a/src/test/ui/run-pass/issues/issue-16492.rs +++ b/src/test/ui/run-pass/issues/issue-16492.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::rc::Rc; use std::cell::Cell; diff --git a/src/test/ui/run-pass/issues/issue-16530.rs b/src/test/ui/run-pass/issues/issue-16530.rs index bd7e7c85189..970d7bc24d5 100644 --- a/src/test/ui/run-pass/issues/issue-16530.rs +++ b/src/test/ui/run-pass/issues/issue-16530.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::hash::{SipHasher, Hasher, Hash}; #[derive(Hash)] diff --git a/src/test/ui/run-pass/issues/issue-16560.rs b/src/test/ui/run-pass/issues/issue-16560.rs index e91569f8b24..50009f4f6ea 100644 --- a/src/test/ui/run-pass/issues/issue-16560.rs +++ b/src/test/ui/run-pass/issues/issue-16560.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/issues/issue-16596.rs b/src/test/ui/run-pass/issues/issue-16596.rs index d70158743e7..cdbc3daf4ab 100644 --- a/src/test/ui/run-pass/issues/issue-16596.rs +++ b/src/test/ui/run-pass/issues/issue-16596.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait MatrixRow { fn dummy(&self) { }} diff --git a/src/test/ui/run-pass/issues/issue-16597-empty.rs b/src/test/ui/run-pass/issues/issue-16597-empty.rs index c51e33c0104..c68e2634831 100644 --- a/src/test/ui/run-pass/issues/issue-16597-empty.rs +++ b/src/test/ui/run-pass/issues/issue-16597-empty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--test // This verifies that the test generation doesn't crash when we have diff --git a/src/test/ui/run-pass/issues/issue-16597.rs b/src/test/ui/run-pass/issues/issue-16597.rs index 583d8d46235..6b437eb65aa 100644 --- a/src/test/ui/run-pass/issues/issue-16597.rs +++ b/src/test/ui/run-pass/issues/issue-16597.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--test mod tests { diff --git a/src/test/ui/run-pass/issues/issue-1660.rs b/src/test/ui/run-pass/issues/issue-1660.rs index 2a59c3051d5..0bcce0413cf 100644 --- a/src/test/ui/run-pass/issues/issue-1660.rs +++ b/src/test/ui/run-pass/issues/issue-1660.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-16602-1.rs b/src/test/ui/run-pass/issues/issue-16602-1.rs index ee638edad6c..e351832a8c2 100644 --- a/src/test/ui/run-pass/issues/issue-16602-1.rs +++ b/src/test/ui/run-pass/issues/issue-16602-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let mut t = [1; 2]; t = [t[1] * 2, t[0] * 2]; diff --git a/src/test/ui/run-pass/issues/issue-16602-2.rs b/src/test/ui/run-pass/issues/issue-16602-2.rs index 742eb6c280e..197059202e0 100644 --- a/src/test/ui/run-pass/issues/issue-16602-2.rs +++ b/src/test/ui/run-pass/issues/issue-16602-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A { pub x: u32, pub y: u32, diff --git a/src/test/ui/run-pass/issues/issue-16602-3.rs b/src/test/ui/run-pass/issues/issue-16602-3.rs index d29932dcf68..5346851f0f2 100644 --- a/src/test/ui/run-pass/issues/issue-16602-3.rs +++ b/src/test/ui/run-pass/issues/issue-16602-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] enum Foo { Bar(u32, u32), diff --git a/src/test/ui/run-pass/issues/issue-16643.rs b/src/test/ui/run-pass/issues/issue-16643.rs index 54572296df7..7bfb5444d05 100644 --- a/src/test/ui/run-pass/issues/issue-16643.rs +++ b/src/test/ui/run-pass/issues/issue-16643.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-16643.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-16648.rs b/src/test/ui/run-pass/issues/issue-16648.rs index bf272308fa9..cd0fca9ad62 100644 --- a/src/test/ui/run-pass/issues/issue-16648.rs +++ b/src/test/ui/run-pass/issues/issue-16648.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x: (isize, &[isize]) = (2, &[1, 2]); assert_eq!(match x { diff --git a/src/test/ui/run-pass/issues/issue-16668.rs b/src/test/ui/run-pass/issues/issue-16668.rs index 7944e80a428..08f696cfcf4 100644 --- a/src/test/ui/run-pass/issues/issue-16668.rs +++ b/src/test/ui/run-pass/issues/issue-16668.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Parser<'a, I, O> { parse: Box Result + 'a> } diff --git a/src/test/ui/run-pass/issues/issue-16671.rs b/src/test/ui/run-pass/issues/issue-16671.rs index 9f34ad6726c..5ff2bc97ae2 100644 --- a/src/test/ui/run-pass/issues/issue-16671.rs +++ b/src/test/ui/run-pass/issues/issue-16671.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass //compile-flags: -Z borrowck=compare -Z emit-end-regions #![deny(warnings)] diff --git a/src/test/ui/run-pass/issues/issue-16739.rs b/src/test/ui/run-pass/issues/issue-16739.rs index 2bdedfebe3e..8404e387659 100644 --- a/src/test/ui/run-pass/issues/issue-16739.rs +++ b/src/test/ui/run-pass/issues/issue-16739.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #![feature(unboxed_closures, fn_traits)] diff --git a/src/test/ui/run-pass/issues/issue-16745.rs b/src/test/ui/run-pass/issues/issue-16745.rs index 79fe0b0177a..4603c0c2c56 100644 --- a/src/test/ui/run-pass/issues/issue-16745.rs +++ b/src/test/ui/run-pass/issues/issue-16745.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { const X: u8 = 0; let out: u8 = match 0u8 { diff --git a/src/test/ui/run-pass/issues/issue-16774.rs b/src/test/ui/run-pass/issues/issue-16774.rs index 1309d2ffab8..dbaa6c30f45 100644 --- a/src/test/ui/run-pass/issues/issue-16774.rs +++ b/src/test/ui/run-pass/issues/issue-16774.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #![feature(box_patterns)] diff --git a/src/test/ui/run-pass/issues/issue-16783.rs b/src/test/ui/run-pass/issues/issue-16783.rs index 33cdbca14e3..bafeb9716c5 100644 --- a/src/test/ui/run-pass/issues/issue-16783.rs +++ b/src/test/ui/run-pass/issues/issue-16783.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-16819.rs b/src/test/ui/run-pass/issues/issue-16819.rs index ecd8a3390b7..498abc1c733 100644 --- a/src/test/ui/run-pass/issues/issue-16819.rs +++ b/src/test/ui/run-pass/issues/issue-16819.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // `#[cfg]` on struct field permits empty unusable struct struct S { diff --git a/src/test/ui/run-pass/issues/issue-16922.rs b/src/test/ui/run-pass/issues/issue-16922.rs index 1fdc27eb128..8eb066e6f00 100644 --- a/src/test/ui/run-pass/issues/issue-16922.rs +++ b/src/test/ui/run-pass/issues/issue-16922.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::any::Any; diff --git a/src/test/ui/run-pass/issues/issue-1696.rs b/src/test/ui/run-pass/issues/issue-1696.rs index b06285b06a5..d205bed7226 100644 --- a/src/test/ui/run-pass/issues/issue-1696.rs +++ b/src/test/ui/run-pass/issues/issue-1696.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashMap; pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-1701.rs b/src/test/ui/run-pass/issues/issue-1701.rs index 49ee99b22a1..adedfbb617f 100644 --- a/src/test/ui/run-pass/issues/issue-1701.rs +++ b/src/test/ui/run-pass/issues/issue-1701.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum pattern { tabby, tortoiseshell, calico } enum breed { beagle, rottweiler, pug } diff --git a/src/test/ui/run-pass/issues/issue-17068.rs b/src/test/ui/run-pass/issues/issue-17068.rs index 91264b4ac3f..ece2284d3c5 100644 --- a/src/test/ui/run-pass/issues/issue-17068.rs +++ b/src/test/ui/run-pass/issues/issue-17068.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that regionck creates the right region links in the pattern // binding of a for loop diff --git a/src/test/ui/run-pass/issues/issue-17074.rs b/src/test/ui/run-pass/issues/issue-17074.rs index ec2d8f79781..063cf7b0a03 100644 --- a/src/test/ui/run-pass/issues/issue-17074.rs +++ b/src/test/ui/run-pass/issues/issue-17074.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static X2: u64 = !0 as u16 as u64; static Y2: u64 = !0 as u32 as u64; diff --git a/src/test/ui/run-pass/issues/issue-17121.rs b/src/test/ui/run-pass/issues/issue-17121.rs index 6eb813025ec..8da01966959 100644 --- a/src/test/ui/run-pass/issues/issue-17121.rs +++ b/src/test/ui/run-pass/issues/issue-17121.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-cloudabi no std::fs diff --git a/src/test/ui/run-pass/issues/issue-17170.rs b/src/test/ui/run-pass/issues/issue-17170.rs index c786064ba01..f876f1e1463 100644 --- a/src/test/ui/run-pass/issues/issue-17170.rs +++ b/src/test/ui/run-pass/issues/issue-17170.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_simd)] #[repr(simd)] diff --git a/src/test/ui/run-pass/issues/issue-17216.rs b/src/test/ui/run-pass/issues/issue-17216.rs index e713bbf127d..dc2848cc190 100644 --- a/src/test/ui/run-pass/issues/issue-17216.rs +++ b/src/test/ui/run-pass/issues/issue-17216.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Leak<'a> { dropped: &'a mut bool } diff --git a/src/test/ui/run-pass/issues/issue-17233.rs b/src/test/ui/run-pass/issues/issue-17233.rs index e9f0c73e29d..15571d563b2 100644 --- a/src/test/ui/run-pass/issues/issue-17233.rs +++ b/src/test/ui/run-pass/issues/issue-17233.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const X1: &'static [u8] = &[b'1']; const X2: &'static [u8] = b"1"; diff --git a/src/test/ui/run-pass/issues/issue-17302.rs b/src/test/ui/run-pass/issues/issue-17302.rs index 59625581167..708257de0b7 100644 --- a/src/test/ui/run-pass/issues/issue-17302.rs +++ b/src/test/ui/run-pass/issues/issue-17302.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static mut DROPPED: [bool; 2] = [false, false]; diff --git a/src/test/ui/run-pass/issues/issue-17322.rs b/src/test/ui/run-pass/issues/issue-17322.rs index c94345f794d..dc17f02ab62 100644 --- a/src/test/ui/run-pass/issues/issue-17322.rs +++ b/src/test/ui/run-pass/issues/issue-17322.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-17336.rs b/src/test/ui/run-pass/issues/issue-17336.rs index ce04237081f..aea2b67a92f 100644 --- a/src/test/ui/run-pass/issues/issue-17336.rs +++ b/src/test/ui/run-pass/issues/issue-17336.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[allow(dead_code)] fn check(a: &str) { let x = a as *const str; diff --git a/src/test/ui/run-pass/issues/issue-17351.rs b/src/test/ui/run-pass/issues/issue-17351.rs index 88f83a300a7..69c015ae3e8 100644 --- a/src/test/ui/run-pass/issues/issue-17351.rs +++ b/src/test/ui/run-pass/issues/issue-17351.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Str { fn foo(&self) {} } diff --git a/src/test/ui/run-pass/issues/issue-17361.rs b/src/test/ui/run-pass/issues/issue-17361.rs index 354b0861758..9e478a39b82 100644 --- a/src/test/ui/run-pass/issues/issue-17361.rs +++ b/src/test/ui/run-pass/issues/issue-17361.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that astconv doesn't forget about mutability of &mut str // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-17450.rs b/src/test/ui/run-pass/issues/issue-17450.rs index 242d8c20cd7..67a44951ae0 100644 --- a/src/test/ui/run-pass/issues/issue-17450.rs +++ b/src/test/ui/run-pass/issues/issue-17450.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code, warnings)] static mut x: isize = 3; diff --git a/src/test/ui/run-pass/issues/issue-17503.rs b/src/test/ui/run-pass/issues/issue-17503.rs index 796277ce74d..909098e3982 100644 --- a/src/test/ui/run-pass/issues/issue-17503.rs +++ b/src/test/ui/run-pass/issues/issue-17503.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let s: &[isize] = &[0, 1, 2, 3, 4]; let ss: &&[isize] = &s; diff --git a/src/test/ui/run-pass/issues/issue-17662.rs b/src/test/ui/run-pass/issues/issue-17662.rs index 320d108cfae..10ee3ce1741 100644 --- a/src/test/ui/run-pass/issues/issue-17662.rs +++ b/src/test/ui/run-pass/issues/issue-17662.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-17662.rs diff --git a/src/test/ui/run-pass/issues/issue-17718-borrow-interior.rs b/src/test/ui/run-pass/issues/issue-17718-borrow-interior.rs index cafc0375257..505aefdd1c7 100644 --- a/src/test/ui/run-pass/issues/issue-17718-borrow-interior.rs +++ b/src/test/ui/run-pass/issues/issue-17718-borrow-interior.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { a: usize } static A: S = S { a: 3 }; diff --git a/src/test/ui/run-pass/issues/issue-17718-const-destructors.rs b/src/test/ui/run-pass/issues/issue-17718-const-destructors.rs index ca0b222050e..6f8fbbd9f78 100644 --- a/src/test/ui/run-pass/issues/issue-17718-const-destructors.rs +++ b/src/test/ui/run-pass/issues/issue-17718-const-destructors.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A; impl Drop for A { fn drop(&mut self) {} diff --git a/src/test/ui/run-pass/issues/issue-17718-parse-const.rs b/src/test/ui/run-pass/issues/issue-17718-parse-const.rs index 9be92d65978..e9925252540 100644 --- a/src/test/ui/run-pass/issues/issue-17718-parse-const.rs +++ b/src/test/ui/run-pass/issues/issue-17718-parse-const.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const FOO: usize = 3; diff --git a/src/test/ui/run-pass/issues/issue-17718-static-unsafe-interior.rs b/src/test/ui/run-pass/issues/issue-17718-static-unsafe-interior.rs index 5f7629fa267..2ac6a901358 100644 --- a/src/test/ui/run-pass/issues/issue-17718-static-unsafe-interior.rs +++ b/src/test/ui/run-pass/issues/issue-17718-static-unsafe-interior.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::marker; diff --git a/src/test/ui/run-pass/issues/issue-17718.rs b/src/test/ui/run-pass/issues/issue-17718.rs index 502e4a81664..c332d0b586d 100644 --- a/src/test/ui/run-pass/issues/issue-17718.rs +++ b/src/test/ui/run-pass/issues/issue-17718.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-17718-aux.rs extern crate issue_17718_aux as other; diff --git a/src/test/ui/run-pass/issues/issue-17732.rs b/src/test/ui/run-pass/issues/issue-17732.rs index 9a678f00157..e69d8fabe86 100644 --- a/src/test/ui/run-pass/issues/issue-17732.rs +++ b/src/test/ui/run-pass/issues/issue-17732.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Person { diff --git a/src/test/ui/run-pass/issues/issue-17734.rs b/src/test/ui/run-pass/issues/issue-17734.rs index 8178c1fd7c8..e52337667c8 100644 --- a/src/test/ui/run-pass/issues/issue-17734.rs +++ b/src/test/ui/run-pass/issues/issue-17734.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that generating drop glue for Box doesn't ICE diff --git a/src/test/ui/run-pass/issues/issue-17746.rs b/src/test/ui/run-pass/issues/issue-17746.rs index a66d5e10288..7e88068419e 100644 --- a/src/test/ui/run-pass/issues/issue-17746.rs +++ b/src/test/ui/run-pass/issues/issue-17746.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #17746 fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-17756.rs b/src/test/ui/run-pass/issues/issue-17756.rs index 1b108463c74..a6eb50d3baf 100644 --- a/src/test/ui/run-pass/issues/issue-17756.rs +++ b/src/test/ui/run-pass/issues/issue-17756.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const count : usize = 2 as usize; fn main() { let larger : [usize; count*2]; diff --git a/src/test/ui/run-pass/issues/issue-17771.rs b/src/test/ui/run-pass/issues/issue-17771.rs index fc821441330..ccea8846b08 100644 --- a/src/test/ui/run-pass/issues/issue-17771.rs +++ b/src/test/ui/run-pass/issues/issue-17771.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Aaa { fn dummy(&self) { } } diff --git a/src/test/ui/run-pass/issues/issue-17816.rs b/src/test/ui/run-pass/issues/issue-17816.rs index a9aa4cdd4f6..0f96035b274 100644 --- a/src/test/ui/run-pass/issues/issue-17816.rs +++ b/src/test/ui/run-pass/issues/issue-17816.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::marker::PhantomData; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-17877.rs b/src/test/ui/run-pass/issues/issue-17877.rs index d3fe0903a1d..4dee51c4289 100644 --- a/src/test/ui/run-pass/issues/issue-17877.rs +++ b/src/test/ui/run-pass/issues/issue-17877.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-17897.rs b/src/test/ui/run-pass/issues/issue-17897.rs index 82ecd636130..e543606c9c9 100644 --- a/src/test/ui/run-pass/issues/issue-17897.rs +++ b/src/test/ui/run-pass/issues/issue-17897.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn action(mut cb: Box usize>) -> usize { cb(1) } diff --git a/src/test/ui/run-pass/issues/issue-17904.rs b/src/test/ui/run-pass/issues/issue-17904.rs index 994001a82ce..2a86611a196 100644 --- a/src/test/ui/run-pass/issues/issue-17904.rs +++ b/src/test/ui/run-pass/issues/issue-17904.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can parse where clauses on various forms of tuple // structs. diff --git a/src/test/ui/run-pass/issues/issue-18060.rs b/src/test/ui/run-pass/issues/issue-18060.rs index 322a3d8c9bb..2714de4b59f 100644 --- a/src/test/ui/run-pass/issues/issue-18060.rs +++ b/src/test/ui/run-pass/issues/issue-18060.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #18060: match arms were matching in the wrong order. fn main() { diff --git a/src/test/ui/run-pass/issues/issue-18075.rs b/src/test/ui/run-pass/issues/issue-18075.rs index 5f07ba2235f..edf923fbaf2 100644 --- a/src/test/ui/run-pass/issues/issue-18075.rs +++ b/src/test/ui/run-pass/issues/issue-18075.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // exec-env:RUST_LOG=rustc::middle=debug fn main() { diff --git a/src/test/ui/run-pass/issues/issue-18083.rs b/src/test/ui/run-pass/issues/issue-18083.rs index ff26e186db3..152cba82222 100644 --- a/src/test/ui/run-pass/issues/issue-18083.rs +++ b/src/test/ui/run-pass/issues/issue-18083.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // These crossed imports should resolve fine, and not block on // each other and be reported as unresolved. diff --git a/src/test/ui/run-pass/issues/issue-18088.rs b/src/test/ui/run-pass/issues/issue-18088.rs index a45256387d6..cff5ba70128 100644 --- a/src/test/ui/run-pass/issues/issue-18088.rs +++ b/src/test/ui/run-pass/issues/issue-18088.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Indexable: std::ops::Index { fn index2(&self, i: usize) -> &T { diff --git a/src/test/ui/run-pass/issues/issue-18110.rs b/src/test/ui/run-pass/issues/issue-18110.rs index eecdea66cf6..d6733050216 100644 --- a/src/test/ui/run-pass/issues/issue-18110.rs +++ b/src/test/ui/run-pass/issues/issue-18110.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-18173.rs b/src/test/ui/run-pass/issues/issue-18173.rs index f4266fada32..eb29de18ac9 100644 --- a/src/test/ui/run-pass/issues/issue-18173.rs +++ b/src/test/ui/run-pass/issues/issue-18173.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { type T; } diff --git a/src/test/ui/run-pass/issues/issue-18188.rs b/src/test/ui/run-pass/issues/issue-18188.rs index 18088a5f3ec..60d8edc9d59 100644 --- a/src/test/ui/run-pass/issues/issue-18188.rs +++ b/src/test/ui/run-pass/issues/issue-18188.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait Promisable: Send + Sync {} diff --git a/src/test/ui/run-pass/issues/issue-1821.rs b/src/test/ui/run-pass/issues/issue-1821.rs index bdff5ba484d..c13be23a3a3 100644 --- a/src/test/ui/run-pass/issues/issue-1821.rs +++ b/src/test/ui/run-pass/issues/issue-1821.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #1821 - Don't recurse trying to typecheck this diff --git a/src/test/ui/run-pass/issues/issue-18232.rs b/src/test/ui/run-pass/issues/issue-18232.rs index 376d6523ccb..61b7306e9df 100644 --- a/src/test/ui/run-pass/issues/issue-18232.rs +++ b/src/test/ui/run-pass/issues/issue-18232.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Cursor<'a>(::std::marker::PhantomData<&'a ()>); diff --git a/src/test/ui/run-pass/issues/issue-18352.rs b/src/test/ui/run-pass/issues/issue-18352.rs index cce6ba407a6..802e918e954 100644 --- a/src/test/ui/run-pass/issues/issue-18352.rs +++ b/src/test/ui/run-pass/issues/issue-18352.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const X: &'static str = "12345"; diff --git a/src/test/ui/run-pass/issues/issue-18353.rs b/src/test/ui/run-pass/issues/issue-18353.rs index 1386c9d0daa..279ee89a492 100644 --- a/src/test/ui/run-pass/issues/issue-18353.rs +++ b/src/test/ui/run-pass/issues/issue-18353.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that wrapping an unsized struct in an enum which gets optimised does // not ICE. diff --git a/src/test/ui/run-pass/issues/issue-18412.rs b/src/test/ui/run-pass/issues/issue-18412.rs index 1017fab5ae2..3d1a66877ed 100644 --- a/src/test/ui/run-pass/issues/issue-18412.rs +++ b/src/test/ui/run-pass/issues/issue-18412.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that non-static methods can be assigned to local variables as // function pointers. diff --git a/src/test/ui/run-pass/issues/issue-18425.rs b/src/test/ui/run-pass/issues/issue-18425.rs index 797b3197182..615dc8b4f3c 100644 --- a/src/test/ui/run-pass/issues/issue-18425.rs +++ b/src/test/ui/run-pass/issues/issue-18425.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that codegen doesn't ICE when codegenning an array repeat // expression with a count of 1 and a non-Copy element type. diff --git a/src/test/ui/run-pass/issues/issue-18446.rs b/src/test/ui/run-pass/issues/issue-18446.rs index eb321e046dc..0758ceb0954 100644 --- a/src/test/ui/run-pass/issues/issue-18446.rs +++ b/src/test/ui/run-pass/issues/issue-18446.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that methods in trait impls should override default methods. trait T { diff --git a/src/test/ui/run-pass/issues/issue-18464.rs b/src/test/ui/run-pass/issues/issue-18464.rs index f4faab5e468..64536e993c5 100644 --- a/src/test/ui/run-pass/issues/issue-18464.rs +++ b/src/test/ui/run-pass/issues/issue-18464.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(dead_code)] const LOW_RANGE: char = '0'; diff --git a/src/test/ui/run-pass/issues/issue-18501.rs b/src/test/ui/run-pass/issues/issue-18501.rs index fb8158c6ddc..2a82b1ab81d 100644 --- a/src/test/ui/run-pass/issues/issue-18501.rs +++ b/src/test/ui/run-pass/issues/issue-18501.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we don't ICE when inlining a function from another // crate that uses a trait method as a value due to incorrectly // translating the def ID of the trait during AST decoding. diff --git a/src/test/ui/run-pass/issues/issue-18514.rs b/src/test/ui/run-pass/issues/issue-18514.rs index f8bebb4a40b..6a59b74bd06 100644 --- a/src/test/ui/run-pass/issues/issue-18514.rs +++ b/src/test/ui/run-pass/issues/issue-18514.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we don't ICE when codegenning a generic impl method from // an extern crate that contains a match expression on a local // variable place where one of the match case bodies contains an diff --git a/src/test/ui/run-pass/issues/issue-18539.rs b/src/test/ui/run-pass/issues/issue-18539.rs index 8de2d1e4259..a3211845d58 100644 --- a/src/test/ui/run-pass/issues/issue-18539.rs +++ b/src/test/ui/run-pass/issues/issue-18539.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that coercing bare fn's that return a zero sized type to // a closure doesn't cause an LLVM ERROR diff --git a/src/test/ui/run-pass/issues/issue-18652.rs b/src/test/ui/run-pass/issues/issue-18652.rs index 1eddc34f5b1..2c027dada87 100644 --- a/src/test/ui/run-pass/issues/issue-18652.rs +++ b/src/test/ui/run-pass/issues/issue-18652.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests multiple free variables being passed by value into an unboxed // once closure as an optimization by codegen. This used to hit an // incorrect assert. diff --git a/src/test/ui/run-pass/issues/issue-18655.rs b/src/test/ui/run-pass/issues/issue-18655.rs index cdb83ae5caa..94638539f6e 100644 --- a/src/test/ui/run-pass/issues/issue-18655.rs +++ b/src/test/ui/run-pass/issues/issue-18655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Factory { type Product; fn create(&self) -> ::Product; diff --git a/src/test/ui/run-pass/issues/issue-1866.rs b/src/test/ui/run-pass/issues/issue-1866.rs index 2c346b93f5e..65ca5d77b28 100644 --- a/src/test/ui/run-pass/issues/issue-1866.rs +++ b/src/test/ui/run-pass/issues/issue-1866.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod a { diff --git a/src/test/ui/run-pass/issues/issue-18661.rs b/src/test/ui/run-pass/issues/issue-18661.rs index 4287f449c6f..0b20cd45cf2 100644 --- a/src/test/ui/run-pass/issues/issue-18661.rs +++ b/src/test/ui/run-pass/issues/issue-18661.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that param substitutions from the correct environment are // used when codegenning unboxed closure calls. diff --git a/src/test/ui/run-pass/issues/issue-18685.rs b/src/test/ui/run-pass/issues/issue-18685.rs index b569dbc8062..98f59ed2ccd 100644 --- a/src/test/ui/run-pass/issues/issue-18685.rs +++ b/src/test/ui/run-pass/issues/issue-18685.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the self param space is not used in a conflicting // manner by unboxed closures within a default method on a trait diff --git a/src/test/ui/run-pass/issues/issue-18711.rs b/src/test/ui/run-pass/issues/issue-18711.rs index 8239d74d6df..3c3b914e67a 100644 --- a/src/test/ui/run-pass/issues/issue-18711.rs +++ b/src/test/ui/run-pass/issues/issue-18711.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we don't panic on a RefCell borrow conflict in certain // code paths involving unboxed closures. diff --git a/src/test/ui/run-pass/issues/issue-18738.rs b/src/test/ui/run-pass/issues/issue-18738.rs index 819ec532ed2..f586552dcb3 100644 --- a/src/test/ui/run-pass/issues/issue-18738.rs +++ b/src/test/ui/run-pass/issues/issue-18738.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Eq, PartialEq, PartialOrd, Ord)] enum Test<'a> { Int(&'a isize), diff --git a/src/test/ui/run-pass/issues/issue-18767.rs b/src/test/ui/run-pass/issues/issue-18767.rs index 264985b791e..3577850be2f 100644 --- a/src/test/ui/run-pass/issues/issue-18767.rs +++ b/src/test/ui/run-pass/issues/issue-18767.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that regionck uses the right memcat for patterns in for loops // and doesn't ICE. diff --git a/src/test/ui/run-pass/issues/issue-18804/main.rs b/src/test/ui/run-pass/issues/issue-18804/main.rs index b5aa0520349..a3a5337077c 100644 --- a/src/test/ui/run-pass/issues/issue-18804/main.rs +++ b/src/test/ui/run-pass/issues/issue-18804/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test for issue #18804, #[linkage] does not propagate thorugh generic // functions. Failure results in a linker error. diff --git a/src/test/ui/run-pass/issues/issue-18809.rs b/src/test/ui/run-pass/issues/issue-18809.rs index b646fa9e62d..1895b3bdfe4 100644 --- a/src/test/ui/run-pass/issues/issue-18809.rs +++ b/src/test/ui/run-pass/issues/issue-18809.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Tup { type T0; type T1; diff --git a/src/test/ui/run-pass/issues/issue-18845.rs b/src/test/ui/run-pass/issues/issue-18845.rs index 241408ddef1..1510c774b28 100644 --- a/src/test/ui/run-pass/issues/issue-18845.rs +++ b/src/test/ui/run-pass/issues/issue-18845.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This used to generate invalid IR in that even if we took the // `false` branch we'd still try to free the Box from the other // arm. This was due to treating `*Box::new(9)` as an rvalue datum diff --git a/src/test/ui/run-pass/issues/issue-18859.rs b/src/test/ui/run-pass/issues/issue-18859.rs index 7c7501d3420..4c98cb2d02d 100644 --- a/src/test/ui/run-pass/issues/issue-18859.rs +++ b/src/test/ui/run-pass/issues/issue-18859.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod foo { pub mod bar { diff --git a/src/test/ui/run-pass/issues/issue-18906.rs b/src/test/ui/run-pass/issues/issue-18906.rs index 7cc61dd2532..08a39350c57 100644 --- a/src/test/ui/run-pass/issues/issue-18906.rs +++ b/src/test/ui/run-pass/issues/issue-18906.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait Borrow { diff --git a/src/test/ui/run-pass/issues/issue-18913.rs b/src/test/ui/run-pass/issues/issue-18913.rs index 9bb1371045e..57882648405 100644 --- a/src/test/ui/run-pass/issues/issue-18913.rs +++ b/src/test/ui/run-pass/issues/issue-18913.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-18913-1.rs // aux-build:issue-18913-2.rs diff --git a/src/test/ui/run-pass/issues/issue-18937-1.rs b/src/test/ui/run-pass/issues/issue-18937-1.rs index 7a24d087b44..bf6a33d69cc 100644 --- a/src/test/ui/run-pass/issues/issue-18937-1.rs +++ b/src/test/ui/run-pass/issues/issue-18937-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to type-check this example. In particular, // knowing that `T: 'a` allows us to deduce that `[U]: 'a` (because // when `T=[U]` it implies that `U: 'a`). diff --git a/src/test/ui/run-pass/issues/issue-18988.rs b/src/test/ui/run-pass/issues/issue-18988.rs index e41ac6bdbeb..422a0f7d7d6 100644 --- a/src/test/ui/run-pass/issues/issue-18988.rs +++ b/src/test/ui/run-pass/issues/issue-18988.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Foo : Send { } pub struct MyFoo { diff --git a/src/test/ui/run-pass/issues/issue-19001.rs b/src/test/ui/run-pass/issues/issue-19001.rs index 3340ed1ffd9..4407cbf501e 100644 --- a/src/test/ui/run-pass/issues/issue-19001.rs +++ b/src/test/ui/run-pass/issues/issue-19001.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that we handle recursive arrays correctly in `type_of` struct Loopy { diff --git a/src/test/ui/run-pass/issues/issue-19037.rs b/src/test/ui/run-pass/issues/issue-19037.rs index 0735693a4bd..eb3c265617b 100644 --- a/src/test/ui/run-pass/issues/issue-19037.rs +++ b/src/test/ui/run-pass/issues/issue-19037.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Str([u8]); diff --git a/src/test/ui/run-pass/issues/issue-19081.rs b/src/test/ui/run-pass/issues/issue-19081.rs index 8e2fa2b6197..56ceaaf9884 100644 --- a/src/test/ui/run-pass/issues/issue-19081.rs +++ b/src/test/ui/run-pass/issues/issue-19081.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Hasher { type State; diff --git a/src/test/ui/run-pass/issues/issue-19097.rs b/src/test/ui/run-pass/issues/issue-19097.rs index ca4b72f9e5b..d3415c34791 100644 --- a/src/test/ui/run-pass/issues/issue-19097.rs +++ b/src/test/ui/run-pass/issues/issue-19097.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // regression test for #19097 struct Foo(T); diff --git a/src/test/ui/run-pass/issues/issue-19098.rs b/src/test/ui/run-pass/issues/issue-19098.rs index e526dd2903e..5b114659ae9 100644 --- a/src/test/ui/run-pass/issues/issue-19098.rs +++ b/src/test/ui/run-pass/issues/issue-19098.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Handler { fn handle(&self, _: &mut String); } diff --git a/src/test/ui/run-pass/issues/issue-19102.rs b/src/test/ui/run-pass/issues/issue-19102.rs index da2af779217..eecc9db486e 100644 --- a/src/test/ui/run-pass/issues/issue-19102.rs +++ b/src/test/ui/run-pass/issues/issue-19102.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(unused_qualifications)] use self::A::B; diff --git a/src/test/ui/run-pass/issues/issue-19127.rs b/src/test/ui/run-pass/issues/issue-19127.rs index 8d169917cad..3290b179864 100644 --- a/src/test/ui/run-pass/issues/issue-19127.rs +++ b/src/test/ui/run-pass/issues/issue-19127.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo T>(f: F) {} diff --git a/src/test/ui/run-pass/issues/issue-19129-1.rs b/src/test/ui/run-pass/issues/issue-19129-1.rs index f9b605c44e9..cdb23e627c9 100644 --- a/src/test/ui/run-pass/issues/issue-19129-1.rs +++ b/src/test/ui/run-pass/issues/issue-19129-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Trait { diff --git a/src/test/ui/run-pass/issues/issue-19129-2.rs b/src/test/ui/run-pass/issues/issue-19129-2.rs index 47b8aaacdad..4999ee1287c 100644 --- a/src/test/ui/run-pass/issues/issue-19129-2.rs +++ b/src/test/ui/run-pass/issues/issue-19129-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Trait { diff --git a/src/test/ui/run-pass/issues/issue-19135.rs b/src/test/ui/run-pass/issues/issue-19135.rs index ca2098138ef..8a5fdc3b775 100644 --- a/src/test/ui/run-pass/issues/issue-19135.rs +++ b/src/test/ui/run-pass/issues/issue-19135.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::marker::PhantomData; #[derive(Debug)] diff --git a/src/test/ui/run-pass/issues/issue-19244.rs b/src/test/ui/run-pass/issues/issue-19244.rs index 92ac2e37b90..93cb0b9dd1f 100644 --- a/src/test/ui/run-pass/issues/issue-19244.rs +++ b/src/test/ui/run-pass/issues/issue-19244.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct MyStruct { field: usize } struct Nested { nested: MyStruct } diff --git a/src/test/ui/run-pass/issues/issue-19293.rs b/src/test/ui/run-pass/issues/issue-19293.rs index 95ca3efb099..5bb336eba91 100644 --- a/src/test/ui/run-pass/issues/issue-19293.rs +++ b/src/test/ui/run-pass/issues/issue-19293.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_19293.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-19340-1.rs b/src/test/ui/run-pass/issues/issue-19340-1.rs index e553c244c86..53531fcad87 100644 --- a/src/test/ui/run-pass/issues/issue-19340-1.rs +++ b/src/test/ui/run-pass/issues/issue-19340-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-19340-1.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-19340-2.rs b/src/test/ui/run-pass/issues/issue-19340-2.rs index d7747201cbe..a1b68e87626 100644 --- a/src/test/ui/run-pass/issues/issue-19340-2.rs +++ b/src/test/ui/run-pass/issues/issue-19340-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Homura { diff --git a/src/test/ui/run-pass/issues/issue-19358.rs b/src/test/ui/run-pass/issues/issue-19358.rs index c0c210b3e96..f58254496ff 100644 --- a/src/test/ui/run-pass/issues/issue-19358.rs +++ b/src/test/ui/run-pass/issues/issue-19358.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Trait { fn dummy(&self) { } } #[derive(Debug)] diff --git a/src/test/ui/run-pass/issues/issue-19367.rs b/src/test/ui/run-pass/issues/issue-19367.rs index d5bb6ebb7de..dfcc0926d80 100644 --- a/src/test/ui/run-pass/issues/issue-19367.rs +++ b/src/test/ui/run-pass/issues/issue-19367.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { o: Option } diff --git a/src/test/ui/run-pass/issues/issue-19398.rs b/src/test/ui/run-pass/issues/issue-19398.rs index 2dc5a6e9979..dd2a796dba3 100644 --- a/src/test/ui/run-pass/issues/issue-19398.rs +++ b/src/test/ui/run-pass/issues/issue-19398.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait T { diff --git a/src/test/ui/run-pass/issues/issue-19404.rs b/src/test/ui/run-pass/issues/issue-19404.rs index c0f13b0b6c7..3a5ce65aef8 100644 --- a/src/test/ui/run-pass/issues/issue-19404.rs +++ b/src/test/ui/run-pass/issues/issue-19404.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::any::TypeId; use std::rc::Rc; diff --git a/src/test/ui/run-pass/issues/issue-19479.rs b/src/test/ui/run-pass/issues/issue-19479.rs index 7557c1b44e0..6326dfd8fe0 100644 --- a/src/test/ui/run-pass/issues/issue-19479.rs +++ b/src/test/ui/run-pass/issues/issue-19479.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Base { diff --git a/src/test/ui/run-pass/issues/issue-19499.rs b/src/test/ui/run-pass/issues/issue-19499.rs index 069ceadf916..5fb209b2dfe 100644 --- a/src/test/ui/run-pass/issues/issue-19499.rs +++ b/src/test/ui/run-pass/issues/issue-19499.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #19499. Due to incorrect caching of trait // results for closures with upvars whose types were not fully // computed, this rather bizarre little program (along with many more diff --git a/src/test/ui/run-pass/issues/issue-19631.rs b/src/test/ui/run-pass/issues/issue-19631.rs index 562d2e4169e..12804983ee4 100644 --- a/src/test/ui/run-pass/issues/issue-19631.rs +++ b/src/test/ui/run-pass/issues/issue-19631.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait PoolManager { diff --git a/src/test/ui/run-pass/issues/issue-19632.rs b/src/test/ui/run-pass/issues/issue-19632.rs index 1cb20011c21..801d5947f92 100644 --- a/src/test/ui/run-pass/issues/issue-19632.rs +++ b/src/test/ui/run-pass/issues/issue-19632.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait PoolManager { diff --git a/src/test/ui/run-pass/issues/issue-1974.rs b/src/test/ui/run-pass/issues/issue-1974.rs index 7b33b4e7a4f..016afcdd54d 100644 --- a/src/test/ui/run-pass/issues/issue-1974.rs +++ b/src/test/ui/run-pass/issues/issue-1974.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 1974 // Don't double free the condition allocation // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-19811-escape-unicode.rs b/src/test/ui/run-pass/issues/issue-19811-escape-unicode.rs index b447ffd69b4..5b021f6ee54 100644 --- a/src/test/ui/run-pass/issues/issue-19811-escape-unicode.rs +++ b/src/test/ui/run-pass/issues/issue-19811-escape-unicode.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let mut escaped = String::from(""); diff --git a/src/test/ui/run-pass/issues/issue-19850.rs b/src/test/ui/run-pass/issues/issue-19850.rs index 15ca6a9d4c1..fa837f57ede 100644 --- a/src/test/ui/run-pass/issues/issue-19850.rs +++ b/src/test/ui/run-pass/issues/issue-19850.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that `::Output` and `Self::Output` are accepted as type annotations in let // bindings diff --git a/src/test/ui/run-pass/issues/issue-19982.rs b/src/test/ui/run-pass/issues/issue-19982.rs index 30edf24e8b1..380cb3cac22 100644 --- a/src/test/ui/run-pass/issues/issue-19982.rs +++ b/src/test/ui/run-pass/issues/issue-19982.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(fn_traits, unboxed_closures)] diff --git a/src/test/ui/run-pass/issues/issue-20009.rs b/src/test/ui/run-pass/issues/issue-20009.rs index 9d433eabe62..604395b3dc7 100644 --- a/src/test/ui/run-pass/issues/issue-20009.rs +++ b/src/test/ui/run-pass/issues/issue-20009.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that associated types are `Sized` // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-20055-box-trait.rs b/src/test/ui/run-pass/issues/issue-20055-box-trait.rs index 7e89cfe24e1..bd9da3a69c2 100644 --- a/src/test/ui/run-pass/issues/issue-20055-box-trait.rs +++ b/src/test/ui/run-pass/issues/issue-20055-box-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // See Issues #20055 and #21695. // We are checking here that the temporaries `Box<[i8, k]>`, for `k` diff --git a/src/test/ui/run-pass/issues/issue-20055-box-unsized-array.rs b/src/test/ui/run-pass/issues/issue-20055-box-unsized-array.rs index 5af5186e94f..6af9741dc9b 100644 --- a/src/test/ui/run-pass/issues/issue-20055-box-unsized-array.rs +++ b/src/test/ui/run-pass/issues/issue-20055-box-unsized-array.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #2005: Check that boxed fixed-size arrays are properly // accounted for (namely, only deallocated if they were actually // created) when they appear as temporaries in unused arms of a match diff --git a/src/test/ui/run-pass/issues/issue-20091.rs b/src/test/ui/run-pass/issues/issue-20091.rs index 7671b43d493..de26ceed500 100644 --- a/src/test/ui/run-pass/issues/issue-20091.rs +++ b/src/test/ui/run-pass/issues/issue-20091.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-20174.rs b/src/test/ui/run-pass/issues/issue-20174.rs index 07273881272..57e7193363e 100644 --- a/src/test/ui/run-pass/issues/issue-20174.rs +++ b/src/test/ui/run-pass/issues/issue-20174.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct GradFn usize>(F); fn main() { diff --git a/src/test/ui/run-pass/issues/issue-20186.rs b/src/test/ui/run-pass/issues/issue-20186.rs index b3895e36a19..0f42d8b1caa 100644 --- a/src/test/ui/run-pass/issues/issue-20186.rs +++ b/src/test/ui/run-pass/issues/issue-20186.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; impl Foo { diff --git a/src/test/ui/run-pass/issues/issue-20313.rs b/src/test/ui/run-pass/issues/issue-20313.rs index 0e5eaf857f3..9e6561369b8 100644 --- a/src/test/ui/run-pass/issues/issue-20313.rs +++ b/src/test/ui/run-pass/issues/issue-20313.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass // pretty-expanded FIXME #23616 #![feature(link_llvm_intrinsics)] diff --git a/src/test/ui/run-pass/issues/issue-20343.rs b/src/test/ui/run-pass/issues/issue-20343.rs index 70064f4e267..62506e1c49d 100644 --- a/src/test/ui/run-pass/issues/issue-20343.rs +++ b/src/test/ui/run-pass/issues/issue-20343.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for Issue #20343. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-20389.rs b/src/test/ui/run-pass/issues/issue-20389.rs index 03c7e9f8db7..21cd3a55268 100644 --- a/src/test/ui/run-pass/issues/issue-20389.rs +++ b/src/test/ui/run-pass/issues/issue-20389.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_20389.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-20396.rs b/src/test/ui/run-pass/issues/issue-20396.rs index f607ed373b3..6f0ce7ca2d4 100644 --- a/src/test/ui/run-pass/issues/issue-20396.rs +++ b/src/test/ui/run-pass/issues/issue-20396.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-20414.rs b/src/test/ui/run-pass/issues/issue-20414.rs index d2e2d9bd6ef..2e2449933c0 100644 --- a/src/test/ui/run-pass/issues/issue-20414.rs +++ b/src/test/ui/run-pass/issues/issue-20414.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Trait { diff --git a/src/test/ui/run-pass/issues/issue-20427.rs b/src/test/ui/run-pass/issues/issue-20427.rs index 985ca067350..7977d62b6ba 100644 --- a/src/test/ui/run-pass/issues/issue-20427.rs +++ b/src/test/ui/run-pass/issues/issue-20427.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:i8.rs // ignore-pretty issue #37201 diff --git a/src/test/ui/run-pass/issues/issue-20454.rs b/src/test/ui/run-pass/issues/issue-20454.rs index 15cb79ac6a8..41cc94909a0 100644 --- a/src/test/ui/run-pass/issues/issue-20454.rs +++ b/src/test/ui/run-pass/issues/issue-20454.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::thread; fn _foo() { diff --git a/src/test/ui/run-pass/issues/issue-20544.rs b/src/test/ui/run-pass/issues/issue-20544.rs index 322c326ef0d..1a6e647e625 100644 --- a/src/test/ui/run-pass/issues/issue-20544.rs +++ b/src/test/ui/run-pass/issues/issue-20544.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unboxed_closures)] #![feature(fn_traits)] diff --git a/src/test/ui/run-pass/issues/issue-20575.rs b/src/test/ui/run-pass/issues/issue-20575.rs index 7db7e3b28e8..35551185807 100644 --- a/src/test/ui/run-pass/issues/issue-20575.rs +++ b/src/test/ui/run-pass/issues/issue-20575.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that overloaded calls work with zero arity closures // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-20616.rs b/src/test/ui/run-pass/issues/issue-20616.rs index 5727f54cd70..c28d2123669 100644 --- a/src/test/ui/run-pass/issues/issue-20616.rs +++ b/src/test/ui/run-pass/issues/issue-20616.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type MyType<'a, T> = &'a T; // combine lifetime bounds and type arguments in usual way diff --git a/src/test/ui/run-pass/issues/issue-2063-resource.rs b/src/test/ui/run-pass/issues/issue-2063-resource.rs index c3a0dc67e83..12e9b481dc1 100644 --- a/src/test/ui/run-pass/issues/issue-2063-resource.rs +++ b/src/test/ui/run-pass/issues/issue-2063-resource.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // test that autoderef of a type like this does not // cause compiler to loop. Note that no instances // of such a type could ever be constructed. diff --git a/src/test/ui/run-pass/issues/issue-2063.rs b/src/test/ui/run-pass/issues/issue-2063.rs index 5be4f8e8e73..853c8bc6ec2 100644 --- a/src/test/ui/run-pass/issues/issue-2063.rs +++ b/src/test/ui/run-pass/issues/issue-2063.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // test that autoderef of a type like this does not // cause compiler to loop. Note that no instances // of such a type could ever be constructed. diff --git a/src/test/ui/run-pass/issues/issue-20644.rs b/src/test/ui/run-pass/issues/issue-20644.rs index 65a67d0b41a..9aefcf0317d 100644 --- a/src/test/ui/run-pass/issues/issue-20644.rs +++ b/src/test/ui/run-pass/issues/issue-20644.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A reduced version of the rustbook ice. The problem this encountered // had to do with codegen ignoring binders. diff --git a/src/test/ui/run-pass/issues/issue-20676.rs b/src/test/ui/run-pass/issues/issue-20676.rs index a3016227413..ff7ea9eaae4 100644 --- a/src/test/ui/run-pass/issues/issue-20676.rs +++ b/src/test/ui/run-pass/issues/issue-20676.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #20676. Error was that we didn't support // UFCS-style calls to a method in `Trait` where `Self` was bound to a // trait object of type `Trait`. See also `ufcs-trait-object.rs`. diff --git a/src/test/ui/run-pass/issues/issue-2074.rs b/src/test/ui/run-pass/issues/issue-2074.rs index bd844b7720c..9aba2637068 100644 --- a/src/test/ui/run-pass/issues/issue-2074.rs +++ b/src/test/ui/run-pass/issues/issue-2074.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(non_camel_case_types)] diff --git a/src/test/ui/run-pass/issues/issue-20763-1.rs b/src/test/ui/run-pass/issues/issue-20763-1.rs index 98270099df9..0afcc1bd966 100644 --- a/src/test/ui/run-pass/issues/issue-20763-1.rs +++ b/src/test/ui/run-pass/issues/issue-20763-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait T0 { diff --git a/src/test/ui/run-pass/issues/issue-20763-2.rs b/src/test/ui/run-pass/issues/issue-20763-2.rs index 340670b4120..4b25d4f05de 100644 --- a/src/test/ui/run-pass/issues/issue-20763-2.rs +++ b/src/test/ui/run-pass/issues/issue-20763-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait T0 { diff --git a/src/test/ui/run-pass/issues/issue-20797.rs b/src/test/ui/run-pass/issues/issue-20797.rs index 3a4be580fc3..9c8a2571deb 100644 --- a/src/test/ui/run-pass/issues/issue-20797.rs +++ b/src/test/ui/run-pass/issues/issue-20797.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no std::fs // Regression test for #20797. diff --git a/src/test/ui/run-pass/issues/issue-20803.rs b/src/test/ui/run-pass/issues/issue-20803.rs index 2c00510ba97..7a3e4e71ace 100644 --- a/src/test/ui/run-pass/issues/issue-20803.rs +++ b/src/test/ui/run-pass/issues/issue-20803.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; fn foo(x: T) -> >::Output where i32: Add { diff --git a/src/test/ui/run-pass/issues/issue-20823.rs b/src/test/ui/run-pass/issues/issue-20823.rs index 4d31d0cedb6..82315becaa4 100644 --- a/src/test/ui/run-pass/issues/issue-20823.rs +++ b/src/test/ui/run-pass/issues/issue-20823.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --test #![deny(unstable)] diff --git a/src/test/ui/run-pass/issues/issue-20825.rs b/src/test/ui/run-pass/issues/issue-20825.rs index 3c76b4bedff..62435fd343e 100644 --- a/src/test/ui/run-pass/issues/issue-20825.rs +++ b/src/test/ui/run-pass/issues/issue-20825.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Subscriber { type Input; } diff --git a/src/test/ui/run-pass/issues/issue-20847.rs b/src/test/ui/run-pass/issues/issue-20847.rs index d2c33560545..4cb5a01b9de 100644 --- a/src/test/ui/run-pass/issues/issue-20847.rs +++ b/src/test/ui/run-pass/issues/issue-20847.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(fn_traits)] use std::ops::Fn; diff --git a/src/test/ui/run-pass/issues/issue-20953.rs b/src/test/ui/run-pass/issues/issue-20953.rs index 647302bbc93..e3dc286df34 100644 --- a/src/test/ui/run-pass/issues/issue-20953.rs +++ b/src/test/ui/run-pass/issues/issue-20953.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let mut shrinker: Box> = Box::new(vec![1].into_iter()); println!("{:?}", shrinker.next()); diff --git a/src/test/ui/run-pass/issues/issue-21033.rs b/src/test/ui/run-pass/issues/issue-21033.rs index 00e792c9a00..f96d2db30d3 100644 --- a/src/test/ui/run-pass/issues/issue-21033.rs +++ b/src/test/ui/run-pass/issues/issue-21033.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass // pretty-expanded FIXME #23616 #![feature(box_patterns)] diff --git a/src/test/ui/run-pass/issues/issue-21058.rs b/src/test/ui/run-pass/issues/issue-21058.rs index 862439e21f4..318abfe691e 100644 --- a/src/test/ui/run-pass/issues/issue-21058.rs +++ b/src/test/ui/run-pass/issues/issue-21058.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] struct NT(str); diff --git a/src/test/ui/run-pass/issues/issue-21140.rs b/src/test/ui/run-pass/issues/issue-21140.rs index c19f3327fbb..ebd5f6752e3 100644 --- a/src/test/ui/run-pass/issues/issue-21140.rs +++ b/src/test/ui/run-pass/issues/issue-21140.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Trait where Self::Out: std::fmt::Display { type Out; } diff --git a/src/test/ui/run-pass/issues/issue-21174.rs b/src/test/ui/run-pass/issues/issue-21174.rs index 6c0280de36d..3af5e5323a6 100644 --- a/src/test/ui/run-pass/issues/issue-21174.rs +++ b/src/test/ui/run-pass/issues/issue-21174.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Trait<'a> { type A; type B; diff --git a/src/test/ui/run-pass/issues/issue-21245.rs b/src/test/ui/run-pass/issues/issue-21245.rs index e3340d9767d..6bc14489d95 100644 --- a/src/test/ui/run-pass/issues/issue-21245.rs +++ b/src/test/ui/run-pass/issues/issue-21245.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #21245. Check that we are able to infer // the types in these examples correctly. It used to be that // insufficient type propagation caused the type of the iterator to be diff --git a/src/test/ui/run-pass/issues/issue-21291.rs b/src/test/ui/run-pass/issues/issue-21291.rs index 6b45a4d0a52..99912be8f8e 100644 --- a/src/test/ui/run-pass/issues/issue-21291.rs +++ b/src/test/ui/run-pass/issues/issue-21291.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // Regression test for unwrapping the result of `join`, issue #21291 diff --git a/src/test/ui/run-pass/issues/issue-21306.rs b/src/test/ui/run-pass/issues/issue-21306.rs index bc2c7f09374..e01f0aaac10 100644 --- a/src/test/ui/run-pass/issues/issue-21306.rs +++ b/src/test/ui/run-pass/issues/issue-21306.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::Arc; diff --git a/src/test/ui/run-pass/issues/issue-21361.rs b/src/test/ui/run-pass/issues/issue-21361.rs index b89e07ef31f..4a566d7f78f 100644 --- a/src/test/ui/run-pass/issues/issue-21361.rs +++ b/src/test/ui/run-pass/issues/issue-21361.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let v = vec![1, 2, 3]; diff --git a/src/test/ui/run-pass/issues/issue-21363.rs b/src/test/ui/run-pass/issues/issue-21363.rs index 608c60d03b3..e7f7a80a1de 100644 --- a/src/test/ui/run-pass/issues/issue-21363.rs +++ b/src/test/ui/run-pass/issues/issue-21363.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![no_implicit_prelude] diff --git a/src/test/ui/run-pass/issues/issue-21384.rs b/src/test/ui/run-pass/issues/issue-21384.rs index 2ef66809a8d..eccd1208969 100644 --- a/src/test/ui/run-pass/issues/issue-21384.rs +++ b/src/test/ui/run-pass/issues/issue-21384.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use ::std::ops::RangeFull; diff --git a/src/test/ui/run-pass/issues/issue-21400.rs b/src/test/ui/run-pass/issues/issue-21400.rs index 6715b71a5f5..2c575d28e12 100644 --- a/src/test/ui/run-pass/issues/issue-21400.rs +++ b/src/test/ui/run-pass/issues/issue-21400.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #21400 which itself was extracted from // stackoverflow.com/questions/28031155/is-my-borrow-checker-drunk/28031580 diff --git a/src/test/ui/run-pass/issues/issue-21402.rs b/src/test/ui/run-pass/issues/issue-21402.rs index 7fd329da2b7..210ba0711b4 100644 --- a/src/test/ui/run-pass/issues/issue-21402.rs +++ b/src/test/ui/run-pass/issues/issue-21402.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(Hash)] diff --git a/src/test/ui/run-pass/issues/issue-21475.rs b/src/test/ui/run-pass/issues/issue-21475.rs index 99839b56506..883d6d215bd 100644 --- a/src/test/ui/run-pass/issues/issue-21475.rs +++ b/src/test/ui/run-pass/issues/issue-21475.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use m::{START, END}; diff --git a/src/test/ui/run-pass/issues/issue-21486.rs b/src/test/ui/run-pass/issues/issue-21486.rs index a61f294465d..faf9b42a0e8 100644 --- a/src/test/ui/run-pass/issues/issue-21486.rs +++ b/src/test/ui/run-pass/issues/issue-21486.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #21486: Make sure that all structures are dropped, even when // created via FRU and control-flow breaks in the middle of // construction. diff --git a/src/test/ui/run-pass/issues/issue-21520.rs b/src/test/ui/run-pass/issues/issue-21520.rs index b512fd49193..71eb229ef00 100644 --- a/src/test/ui/run-pass/issues/issue-21520.rs +++ b/src/test/ui/run-pass/issues/issue-21520.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the requirement (in `Bar`) that `T::Bar : 'static` does // not wind up propagating to `T`. diff --git a/src/test/ui/run-pass/issues/issue-21562.rs b/src/test/ui/run-pass/issues/issue-21562.rs index 51896786d0c..cb5dc67a36f 100644 --- a/src/test/ui/run-pass/issues/issue-21562.rs +++ b/src/test/ui/run-pass/issues/issue-21562.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass extern crate core; use core::marker::Sync; diff --git a/src/test/ui/run-pass/issues/issue-21622.rs b/src/test/ui/run-pass/issues/issue-21622.rs index 32f52308af1..e7289e5d162 100644 --- a/src/test/ui/run-pass/issues/issue-21622.rs +++ b/src/test/ui/run-pass/issues/issue-21622.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Index; diff --git a/src/test/ui/run-pass/issues/issue-21634.rs b/src/test/ui/run-pass/issues/issue-21634.rs index 08cc993ce4f..d398ef001fb 100644 --- a/src/test/ui/run-pass/issues/issue-21634.rs +++ b/src/test/ui/run-pass/issues/issue-21634.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(cfg_target_feature)] #[cfg(any(not(target_arch = "x86"), target_feature = "sse2"))] diff --git a/src/test/ui/run-pass/issues/issue-21655.rs b/src/test/ui/run-pass/issues/issue-21655.rs index bf01873bea5..208a5a3f926 100644 --- a/src/test/ui/run-pass/issues/issue-21655.rs +++ b/src/test/ui/run-pass/issues/issue-21655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test(it: &mut Iterator) { for x in it { diff --git a/src/test/ui/run-pass/issues/issue-21721.rs b/src/test/ui/run-pass/issues/issue-21721.rs index d1fc61ff6a5..adda70a0f79 100644 --- a/src/test/ui/run-pass/issues/issue-21721.rs +++ b/src/test/ui/run-pass/issues/issue-21721.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { static NONE: Option<((), &'static u8)> = None; diff --git a/src/test/ui/run-pass/issues/issue-21726.rs b/src/test/ui/run-pass/issues/issue-21726.rs index 9fdd89e25a1..49369759929 100644 --- a/src/test/ui/run-pass/issues/issue-21726.rs +++ b/src/test/ui/run-pass/issues/issue-21726.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #21726: an issue arose around the rules for // subtyping of projection types that resulted in an unconstrained // region, yielding region inference failures. diff --git a/src/test/ui/run-pass/issues/issue-21891.rs b/src/test/ui/run-pass/issues/issue-21891.rs index 0e35de7cdcb..32b1a7c61ed 100644 --- a/src/test/ui/run-pass/issues/issue-21891.rs +++ b/src/test/ui/run-pass/issues/issue-21891.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 static foo: [usize; 3] = [1, 2, 3]; diff --git a/src/test/ui/run-pass/issues/issue-2190-1.rs b/src/test/ui/run-pass/issues/issue-2190-1.rs index 8cc23c883ed..db20643c695 100644 --- a/src/test/ui/run-pass/issues/issue-2190-1.rs +++ b/src/test/ui/run-pass/issues/issue-2190-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-emscripten no threads diff --git a/src/test/ui/run-pass/issues/issue-21909.rs b/src/test/ui/run-pass/issues/issue-21909.rs index 6a5d76de8d3..ad5f1611e6f 100644 --- a/src/test/ui/run-pass/issues/issue-21909.rs +++ b/src/test/ui/run-pass/issues/issue-21909.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait A { diff --git a/src/test/ui/run-pass/issues/issue-21922.rs b/src/test/ui/run-pass/issues/issue-21922.rs index 2f538b365e1..79e9976672e 100644 --- a/src/test/ui/run-pass/issues/issue-21922.rs +++ b/src/test/ui/run-pass/issues/issue-21922.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; fn show(z: i32) { println!("{}", z) diff --git a/src/test/ui/run-pass/issues/issue-22008.rs b/src/test/ui/run-pass/issues/issue-22008.rs index 3e145122e5a..54882cda624 100644 --- a/src/test/ui/run-pass/issues/issue-22008.rs +++ b/src/test/ui/run-pass/issues/issue-22008.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let command = "a"; diff --git a/src/test/ui/run-pass/issues/issue-22036.rs b/src/test/ui/run-pass/issues/issue-22036.rs index 43fb286f0ec..b814712b91a 100644 --- a/src/test/ui/run-pass/issues/issue-22036.rs +++ b/src/test/ui/run-pass/issues/issue-22036.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait DigitCollection: Sized { type Iter: Iterator; diff --git a/src/test/ui/run-pass/issues/issue-22066.rs b/src/test/ui/run-pass/issues/issue-22066.rs index c2486f0dcb4..ef4753703bf 100644 --- a/src/test/ui/run-pass/issues/issue-22066.rs +++ b/src/test/ui/run-pass/issues/issue-22066.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait LineFormatter<'a> { type Iter: Iterator + 'a; fn iter(&'a self, line: &'a str) -> Self::Iter; diff --git a/src/test/ui/run-pass/issues/issue-2214.rs b/src/test/ui/run-pass/issues/issue-2214.rs index a87af59ee79..8329847d3c5 100644 --- a/src/test/ui/run-pass/issues/issue-2214.rs +++ b/src/test/ui/run-pass/issues/issue-2214.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #![feature(libc)] diff --git a/src/test/ui/run-pass/issues/issue-2216.rs b/src/test/ui/run-pass/issues/issue-2216.rs index c2f74a9d653..9283cd93fa3 100644 --- a/src/test/ui/run-pass/issues/issue-2216.rs +++ b/src/test/ui/run-pass/issues/issue-2216.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut x = 0; diff --git a/src/test/ui/run-pass/issues/issue-22258.rs b/src/test/ui/run-pass/issues/issue-22258.rs index f749131345e..6f97da9b5b5 100644 --- a/src/test/ui/run-pass/issues/issue-22258.rs +++ b/src/test/ui/run-pass/issues/issue-22258.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; fn f(a: T, b: T) -> ::Output { diff --git a/src/test/ui/run-pass/issues/issue-22346.rs b/src/test/ui/run-pass/issues/issue-22346.rs index 895b9d222a8..6689b6081ec 100644 --- a/src/test/ui/run-pass/issues/issue-22346.rs +++ b/src/test/ui/run-pass/issues/issue-22346.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // This used to cause an ICE because the retslot for the "return" had the wrong type diff --git a/src/test/ui/run-pass/issues/issue-22356.rs b/src/test/ui/run-pass/issues/issue-22356.rs index 51a871d59b3..9a5ceac9b7d 100644 --- a/src/test/ui/run-pass/issues/issue-22356.rs +++ b/src/test/ui/run-pass/issues/issue-22356.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::marker::PhantomData; diff --git a/src/test/ui/run-pass/issues/issue-22375.rs b/src/test/ui/run-pass/issues/issue-22375.rs index c6e941d844d..cf7ff0c404c 100644 --- a/src/test/ui/run-pass/issues/issue-22375.rs +++ b/src/test/ui/run-pass/issues/issue-22375.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A> {} fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-22403.rs b/src/test/ui/run-pass/issues/issue-22403.rs index 7bd66e5a83d..76c4af1140b 100644 --- a/src/test/ui/run-pass/issues/issue-22403.rs +++ b/src/test/ui/run-pass/issues/issue-22403.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x = Box::new([1, 2, 3]); let y = x as Box<[i32]>; diff --git a/src/test/ui/run-pass/issues/issue-22426.rs b/src/test/ui/run-pass/issues/issue-22426.rs index ad6ade4c59f..8056b74ff8e 100644 --- a/src/test/ui/run-pass/issues/issue-22426.rs +++ b/src/test/ui/run-pass/issues/issue-22426.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-22463.rs b/src/test/ui/run-pass/issues/issue-22463.rs index 3aeb92f0bec..e308b65ec87 100644 --- a/src/test/ui/run-pass/issues/issue-22463.rs +++ b/src/test/ui/run-pass/issues/issue-22463.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! items { () => { type A = (); diff --git a/src/test/ui/run-pass/issues/issue-22471.rs b/src/test/ui/run-pass/issues/issue-22471.rs index 1e7084b1ab3..d8635b8e364 100644 --- a/src/test/ui/run-pass/issues/issue-22471.rs +++ b/src/test/ui/run-pass/issues/issue-22471.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type Foo where T: Copy = Box; fn main(){} diff --git a/src/test/ui/run-pass/issues/issue-22536-copy-mustnt-zero.rs b/src/test/ui/run-pass/issues/issue-22536-copy-mustnt-zero.rs index af99b11c253..116d0620136 100644 --- a/src/test/ui/run-pass/issues/issue-22536-copy-mustnt-zero.rs +++ b/src/test/ui/run-pass/issues/issue-22536-copy-mustnt-zero.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for Issue #22536: If a type implements Copy, then // moving it must not zero the original memory. diff --git a/src/test/ui/run-pass/issues/issue-22546.rs b/src/test/ui/run-pass/issues/issue-22546.rs index 8516d344e1c..28aaae1d8cc 100644 --- a/src/test/ui/run-pass/issues/issue-22546.rs +++ b/src/test/ui/run-pass/issues/issue-22546.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Parsing patterns with paths with type parameters (issue #22544) use std::default::Default; diff --git a/src/test/ui/run-pass/issues/issue-22577.rs b/src/test/ui/run-pass/issues/issue-22577.rs index 83ffdb3bf44..774416c9251 100644 --- a/src/test/ui/run-pass/issues/issue-22577.rs +++ b/src/test/ui/run-pass/issues/issue-22577.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-cloudabi no std::fs diff --git a/src/test/ui/run-pass/issues/issue-22629.rs b/src/test/ui/run-pass/issues/issue-22629.rs index 07ca79295bf..9254a080794 100644 --- a/src/test/ui/run-pass/issues/issue-22629.rs +++ b/src/test/ui/run-pass/issues/issue-22629.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test transitive analysis for associated types. Collected types // should be normalized and new obligations generated. diff --git a/src/test/ui/run-pass/issues/issue-22777.rs b/src/test/ui/run-pass/issues/issue-22777.rs index 4df46c0e2e1..92ad7a43d4d 100644 --- a/src/test/ui/run-pass/issues/issue-22777.rs +++ b/src/test/ui/run-pass/issues/issue-22777.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test is reduced from libsyntax. It is just checking that we // can successfully deal with a "deep" structure, which the drop-check // was hitting a recursion limit on at one point. diff --git a/src/test/ui/run-pass/issues/issue-22781.rs b/src/test/ui/run-pass/issues/issue-22781.rs index 1aa32f20142..af95b6e1d1a 100644 --- a/src/test/ui/run-pass/issues/issue-22781.rs +++ b/src/test/ui/run-pass/issues/issue-22781.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashMap; use std::collections::hash_map::Entry::Vacant; diff --git a/src/test/ui/run-pass/issues/issue-22814.rs b/src/test/ui/run-pass/issues/issue-22814.rs index 6afcd770746..13c7dab3751 100644 --- a/src/test/ui/run-pass/issues/issue-22814.rs +++ b/src/test/ui/run-pass/issues/issue-22814.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Test {} macro_rules! test { diff --git a/src/test/ui/run-pass/issues/issue-22828.rs b/src/test/ui/run-pass/issues/issue-22828.rs index d6a4d7834df..cc92f080936 100644 --- a/src/test/ui/run-pass/issues/issue-22828.rs +++ b/src/test/ui/run-pass/issues/issue-22828.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test transitive analysis for associated types. Collected types // should be normalized and new obligations generated. diff --git a/src/test/ui/run-pass/issues/issue-2284.rs b/src/test/ui/run-pass/issues/issue-2284.rs index d606c52607a..77d1d6e0aa2 100644 --- a/src/test/ui/run-pass/issues/issue-2284.rs +++ b/src/test/ui/run-pass/issues/issue-2284.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Send { diff --git a/src/test/ui/run-pass/issues/issue-22864-1.rs b/src/test/ui/run-pass/issues/issue-22864-1.rs index df1e3c5de52..e70e199bc2f 100644 --- a/src/test/ui/run-pass/issues/issue-22864-1.rs +++ b/src/test/ui/run-pass/issues/issue-22864-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { struct Fun(F); let f = Fun(|x| 3*x); diff --git a/src/test/ui/run-pass/issues/issue-22864-2.rs b/src/test/ui/run-pass/issues/issue-22864-2.rs index f9360af011b..dea4ec49aad 100644 --- a/src/test/ui/run-pass/issues/issue-22864-2.rs +++ b/src/test/ui/run-pass/issues/issue-22864-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-2288.rs b/src/test/ui/run-pass/issues/issue-2288.rs index b8353ea4413..22ffec87304 100644 --- a/src/test/ui/run-pass/issues/issue-2288.rs +++ b/src/test/ui/run-pass/issues/issue-2288.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait clam { diff --git a/src/test/ui/run-pass/issues/issue-22894.rs b/src/test/ui/run-pass/issues/issue-22894.rs index 8acd88deef2..d1cd8efd73c 100644 --- a/src/test/ui/run-pass/issues/issue-22894.rs +++ b/src/test/ui/run-pass/issues/issue-22894.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[allow(dead_code)] static X: &'static str = &*""; fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-22992-2.rs b/src/test/ui/run-pass/issues/issue-22992-2.rs index 070d4d11759..ccf5354b4ee 100644 --- a/src/test/ui/run-pass/issues/issue-22992-2.rs +++ b/src/test/ui/run-pass/issues/issue-22992-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A(B); struct B; diff --git a/src/test/ui/run-pass/issues/issue-22992.rs b/src/test/ui/run-pass/issues/issue-22992.rs index dc612fc0bc7..18f5021f49e 100644 --- a/src/test/ui/run-pass/issues/issue-22992.rs +++ b/src/test/ui/run-pass/issues/issue-22992.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37201 struct X { val: i32 } diff --git a/src/test/ui/run-pass/issues/issue-23036.rs b/src/test/ui/run-pass/issues/issue-23036.rs index c3c9ede5ada..4017ae1731c 100644 --- a/src/test/ui/run-pass/issues/issue-23036.rs +++ b/src/test/ui/run-pass/issues/issue-23036.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no std::path use std::collections::HashMap; diff --git a/src/test/ui/run-pass/issues/issue-2311-2.rs b/src/test/ui/run-pass/issues/issue-2311-2.rs index a47c1512552..c410bbff2fa 100644 --- a/src/test/ui/run-pass/issues/issue-2311-2.rs +++ b/src/test/ui/run-pass/issues/issue-2311-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait clam { fn get(self) -> A; diff --git a/src/test/ui/run-pass/issues/issue-2311.rs b/src/test/ui/run-pass/issues/issue-2311.rs index 5a086fd6fc2..62ff6f0c486 100644 --- a/src/test/ui/run-pass/issues/issue-2311.rs +++ b/src/test/ui/run-pass/issues/issue-2311.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait clam { fn get(self) -> A; } diff --git a/src/test/ui/run-pass/issues/issue-2312.rs b/src/test/ui/run-pass/issues/issue-2312.rs index 6f479c62117..f4ca16d8c00 100644 --- a/src/test/ui/run-pass/issues/issue-2312.rs +++ b/src/test/ui/run-pass/issues/issue-2312.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Testing that the B's are resolved diff --git a/src/test/ui/run-pass/issues/issue-2316-c.rs b/src/test/ui/run-pass/issues/issue-2316-c.rs index 158e4570f2c..b7a4b6b31e4 100644 --- a/src/test/ui/run-pass/issues/issue-2316-c.rs +++ b/src/test/ui/run-pass/issues/issue-2316-c.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_2316_a.rs // aux-build:issue_2316_b.rs diff --git a/src/test/ui/run-pass/issues/issue-23208.rs b/src/test/ui/run-pass/issues/issue-23208.rs index ee3c16be731..78384017ebc 100644 --- a/src/test/ui/run-pass/issues/issue-23208.rs +++ b/src/test/ui/run-pass/issues/issue-23208.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait TheTrait : TheSuperTrait<::Item> { type Item; } diff --git a/src/test/ui/run-pass/issues/issue-23261.rs b/src/test/ui/run-pass/issues/issue-23261.rs index fc806f5429a..08f178beaf3 100644 --- a/src/test/ui/run-pass/issues/issue-23261.rs +++ b/src/test/ui/run-pass/issues/issue-23261.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Matching on a DST struct should not trigger an LLVM assertion. struct Foo { diff --git a/src/test/ui/run-pass/issues/issue-23304-1.rs b/src/test/ui/run-pass/issues/issue-23304-1.rs index ec6cf5a5628..0a6b4e41e2e 100644 --- a/src/test/ui/run-pass/issues/issue-23304-1.rs +++ b/src/test/ui/run-pass/issues/issue-23304-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] #[repr(u8)] diff --git a/src/test/ui/run-pass/issues/issue-23304-2.rs b/src/test/ui/run-pass/issues/issue-23304-2.rs index 5989b7e9c6a..511bec0dde9 100644 --- a/src/test/ui/run-pass/issues/issue-23304-2.rs +++ b/src/test/ui/run-pass/issues/issue-23304-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] enum X { A = 42 as isize } diff --git a/src/test/ui/run-pass/issues/issue-23311.rs b/src/test/ui/run-pass/issues/issue-23311.rs index fc286184dcb..3c91f5e1dfe 100644 --- a/src/test/ui/run-pass/issues/issue-23311.rs +++ b/src/test/ui/run-pass/issues/issue-23311.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we do not ICE when pattern matching an array against a slice. #![feature(slice_patterns)] diff --git a/src/test/ui/run-pass/issues/issue-23336.rs b/src/test/ui/run-pass/issues/issue-23336.rs index 21e51298444..0f0477bf844 100644 --- a/src/test/ui/run-pass/issues/issue-23336.rs +++ b/src/test/ui/run-pass/issues/issue-23336.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Data { fn doit(&self) {} } impl Data for T {} pub trait UnaryLogic { type D: Data; } diff --git a/src/test/ui/run-pass/issues/issue-23338-ensure-param-drop-order.rs b/src/test/ui/run-pass/issues/issue-23338-ensure-param-drop-order.rs index 42c72e647fd..c574a48e7c3 100644 --- a/src/test/ui/run-pass/issues/issue-23338-ensure-param-drop-order.rs +++ b/src/test/ui/run-pass/issues/issue-23338-ensure-param-drop-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37201 // This test is ensuring that parameters are indeed dropped after diff --git a/src/test/ui/run-pass/issues/issue-23338-params-outlive-temps-of-body.rs b/src/test/ui/run-pass/issues/issue-23338-params-outlive-temps-of-body.rs index cb9e852e526..e5eb41b235d 100644 --- a/src/test/ui/run-pass/issues/issue-23338-params-outlive-temps-of-body.rs +++ b/src/test/ui/run-pass/issues/issue-23338-params-outlive-temps-of-body.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is largely checking that we now accept code where temp values // are borrowing from the input parameters (the `foo` case below). // diff --git a/src/test/ui/run-pass/issues/issue-23406.rs b/src/test/ui/run-pass/issues/issue-23406.rs index c3c1b755af8..fb44e2d9270 100644 --- a/src/test/ui/run-pass/issues/issue-23406.rs +++ b/src/test/ui/run-pass/issues/issue-23406.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Inner { type T; } diff --git a/src/test/ui/run-pass/issues/issue-23433.rs b/src/test/ui/run-pass/issues/issue-23433.rs index 9547b2f08a6..9c1e9b00000 100644 --- a/src/test/ui/run-pass/issues/issue-23433.rs +++ b/src/test/ui/run-pass/issues/issue-23433.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Don't fail if we encounter a NonNull where T is an unsized type use std::ptr::NonNull; diff --git a/src/test/ui/run-pass/issues/issue-23442.rs b/src/test/ui/run-pass/issues/issue-23442.rs index 88b5a92620b..9f39b30f107 100644 --- a/src/test/ui/run-pass/issues/issue-23442.rs +++ b/src/test/ui/run-pass/issues/issue-23442.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::marker::PhantomData; pub struct UnionedKeys<'a,K> diff --git a/src/test/ui/run-pass/issues/issue-23477.rs b/src/test/ui/run-pass/issues/issue-23477.rs index d4671c919b7..c862b0dbc2f 100644 --- a/src/test/ui/run-pass/issues/issue-23477.rs +++ b/src/test/ui/run-pass/issues/issue-23477.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass // compiler-flags: -g pub struct Dst { diff --git a/src/test/ui/run-pass/issues/issue-23485.rs b/src/test/ui/run-pass/issues/issue-23485.rs index f176c60346b..42ccf5995ac 100644 --- a/src/test/ui/run-pass/issues/issue-23485.rs +++ b/src/test/ui/run-pass/issues/issue-23485.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test for an ICE that occurred when a default method implementation // was applied to a type that did not meet the prerequisites. The // problem occurred specifically because normalizing diff --git a/src/test/ui/run-pass/issues/issue-23491.rs b/src/test/ui/run-pass/issues/issue-23491.rs index 5ec228217ed..a6e06050c0e 100644 --- a/src/test/ui/run-pass/issues/issue-23491.rs +++ b/src/test/ui/run-pass/issues/issue-23491.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Node(T); diff --git a/src/test/ui/run-pass/issues/issue-23550.rs b/src/test/ui/run-pass/issues/issue-23550.rs index 6e20662b702..143e0babcd9 100644 --- a/src/test/ui/run-pass/issues/issue-23550.rs +++ b/src/test/ui/run-pass/issues/issue-23550.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] #![allow(warnings)] diff --git a/src/test/ui/run-pass/issues/issue-23611-enum-swap-in-drop.rs b/src/test/ui/run-pass/issues/issue-23611-enum-swap-in-drop.rs index 09bc3fd0214..7c1d3df80a5 100644 --- a/src/test/ui/run-pass/issues/issue-23611-enum-swap-in-drop.rs +++ b/src/test/ui/run-pass/issues/issue-23611-enum-swap-in-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 23611: this test is ensuring that, for an instance `X` of the // enum `E`, if you swap in a different variant during the execution // of the `::drop`, then the appropriate substructure will diff --git a/src/test/ui/run-pass/issues/issue-23649-1.rs b/src/test/ui/run-pass/issues/issue-23649-1.rs index a631898d868..f270f536cf1 100644 --- a/src/test/ui/run-pass/issues/issue-23649-1.rs +++ b/src/test/ui/run-pass/issues/issue-23649-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; pub struct X([u8]); diff --git a/src/test/ui/run-pass/issues/issue-23649-2.rs b/src/test/ui/run-pass/issues/issue-23649-2.rs index c48ae414cc3..6cdd94c381e 100644 --- a/src/test/ui/run-pass/issues/issue-23649-2.rs +++ b/src/test/ui/run-pass/issues/issue-23649-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no std::path use std::collections::HashMap; diff --git a/src/test/ui/run-pass/issues/issue-23649-3.rs b/src/test/ui/run-pass/issues/issue-23649-3.rs index 4aa6c53ef9e..067628ec12a 100644 --- a/src/test/ui/run-pass/issues/issue-23649-3.rs +++ b/src/test/ui/run-pass/issues/issue-23649-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq)] struct Slice { slice: [u8] } diff --git a/src/test/ui/run-pass/issues/issue-23699.rs b/src/test/ui/run-pass/issues/issue-23699.rs index 1909be4df7b..a33d1039267 100644 --- a/src/test/ui/run-pass/issues/issue-23699.rs +++ b/src/test/ui/run-pass/issues/issue-23699.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn gimme_a_raw_pointer(_: *const T) { } fn test(t: T) { } diff --git a/src/test/ui/run-pass/issues/issue-23781.rs b/src/test/ui/run-pass/issues/issue-23781.rs index 23ac8d2b782..fcd6dd196ac 100644 --- a/src/test/ui/run-pass/issues/issue-23781.rs +++ b/src/test/ui/run-pass/issues/issue-23781.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt; struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-2380-b.rs b/src/test/ui/run-pass/issues/issue-2380-b.rs index b7041624247..fe28c2f3f1b 100644 --- a/src/test/ui/run-pass/issues/issue-2380-b.rs +++ b/src/test/ui/run-pass/issues/issue-2380-b.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-2380.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-23808.rs b/src/test/ui/run-pass/issues/issue-23808.rs index 1435a1b5d38..133da00ffaa 100644 --- a/src/test/ui/run-pass/issues/issue-23808.rs +++ b/src/test/ui/run-pass/issues/issue-23808.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(dead_code)] // use different types / traits to test all combinations diff --git a/src/test/ui/run-pass/issues/issue-23825.rs b/src/test/ui/run-pass/issues/issue-23825.rs index 1b857d94c72..2bcadefe9b8 100644 --- a/src/test/ui/run-pass/issues/issue-23825.rs +++ b/src/test/ui/run-pass/issues/issue-23825.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Stringify { fn to_string(&self) -> String; } diff --git a/src/test/ui/run-pass/issues/issue-2383.rs b/src/test/ui/run-pass/issues/issue-2383.rs index a497a9fda6a..2e1318ee6c8 100644 --- a/src/test/ui/run-pass/issues/issue-2383.rs +++ b/src/test/ui/run-pass/issues/issue-2383.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::collections::VecDeque; diff --git a/src/test/ui/run-pass/issues/issue-23833.rs b/src/test/ui/run-pass/issues/issue-23833.rs index 7d63c41eb26..eeb7db925da 100644 --- a/src/test/ui/run-pass/issues/issue-23833.rs +++ b/src/test/ui/run-pass/issues/issue-23833.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt; use std::{i8, i16, i32, i64, isize}; use std::{u8, u16, u32, u64, usize}; diff --git a/src/test/ui/run-pass/issues/issue-23891.rs b/src/test/ui/run-pass/issues/issue-23891.rs index 55536de9123..c2197b885c9 100644 --- a/src/test/ui/run-pass/issues/issue-23891.rs +++ b/src/test/ui/run-pass/issues/issue-23891.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! id { ($s: pat) => ($s); } diff --git a/src/test/ui/run-pass/issues/issue-23898.rs b/src/test/ui/run-pass/issues/issue-23898.rs index 3f5546ce83d..dc2ceae305e 100644 --- a/src/test/ui/run-pass/issues/issue-23898.rs +++ b/src/test/ui/run-pass/issues/issue-23898.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Note: This test was used to demonstrate #5873 (now #23898). enum State { ST_NULL, ST_WHITESPACE } diff --git a/src/test/ui/run-pass/issues/issue-23958.rs b/src/test/ui/run-pass/issues/issue-23958.rs index 5f1c79a3c15..6f9e7e21668 100644 --- a/src/test/ui/run-pass/issues/issue-23958.rs +++ b/src/test/ui/run-pass/issues/issue-23958.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Collection where for<'a> &'a Self: IntoIterator { fn my_iter(&self) -> <&Self as IntoIterator>::IntoIter { self.into_iter() diff --git a/src/test/ui/run-pass/issues/issue-23968-const-not-overflow.rs b/src/test/ui/run-pass/issues/issue-23968-const-not-overflow.rs index 95f65917ceb..d51167c47f8 100644 --- a/src/test/ui/run-pass/issues/issue-23968-const-not-overflow.rs +++ b/src/test/ui/run-pass/issues/issue-23968-const-not-overflow.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const U8_MAX_HALF: u8 = !0u8 / 2; const U16_MAX_HALF: u16 = !0u16 / 2; const U32_MAX_HALF: u32 = !0u32 / 2; diff --git a/src/test/ui/run-pass/issues/issue-23992.rs b/src/test/ui/run-pass/issues/issue-23992.rs index d1ee4208b78..be8588f33a2 100644 --- a/src/test/ui/run-pass/issues/issue-23992.rs +++ b/src/test/ui/run-pass/issues/issue-23992.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Outer(T); pub struct Inner<'a> { value: &'a bool } diff --git a/src/test/ui/run-pass/issues/issue-24085.rs b/src/test/ui/run-pass/issues/issue-24085.rs index b15ec2986c2..6d8cacf8b29 100644 --- a/src/test/ui/run-pass/issues/issue-24085.rs +++ b/src/test/ui/run-pass/issues/issue-24085.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #24085. Errors were occurring in region // inference due to the requirement that `'a:b'`, which was getting // incorrectly codegened in connection with the closure below. diff --git a/src/test/ui/run-pass/issues/issue-24086.rs b/src/test/ui/run-pass/issues/issue-24086.rs index 0a8324eafe2..632afc00688 100644 --- a/src/test/ui/run-pass/issues/issue-24086.rs +++ b/src/test/ui/run-pass/issues/issue-24086.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Registry<'a> { listener: &'a mut (), } diff --git a/src/test/ui/run-pass/issues/issue-2414-c.rs b/src/test/ui/run-pass/issues/issue-2414-c.rs index 2e047ae0127..d285074accf 100644 --- a/src/test/ui/run-pass/issues/issue-2414-c.rs +++ b/src/test/ui/run-pass/issues/issue-2414-c.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-2414-a.rs // aux-build:issue-2414-b.rs diff --git a/src/test/ui/run-pass/issues/issue-24161.rs b/src/test/ui/run-pass/issues/issue-24161.rs index 2445ef17ecf..1ac5d1237a7 100644 --- a/src/test/ui/run-pass/issues/issue-24161.rs +++ b/src/test/ui/run-pass/issues/issue-24161.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy,Clone)] struct Functions { a: fn(u32) -> u32, diff --git a/src/test/ui/run-pass/issues/issue-24227.rs b/src/test/ui/run-pass/issues/issue-24227.rs index 34c16bd4003..86241b1763a 100644 --- a/src/test/ui/run-pass/issues/issue-24227.rs +++ b/src/test/ui/run-pass/issues/issue-24227.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This resulted in an ICE. Test for future-proofing // Issue #24227 diff --git a/src/test/ui/run-pass/issues/issue-2428.rs b/src/test/ui/run-pass/issues/issue-2428.rs index a07050d4582..f3f5248773c 100644 --- a/src/test/ui/run-pass/issues/issue-2428.rs +++ b/src/test/ui/run-pass/issues/issue-2428.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let _foo = 100; diff --git a/src/test/ui/run-pass/issues/issue-24308.rs b/src/test/ui/run-pass/issues/issue-24308.rs index 0a483fc987a..6cbdd61273f 100644 --- a/src/test/ui/run-pass/issues/issue-24308.rs +++ b/src/test/ui/run-pass/issues/issue-24308.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Foo { fn method1() {} fn method2(); diff --git a/src/test/ui/run-pass/issues/issue-24313.rs b/src/test/ui/run-pass/issues/issue-24313.rs index 2e7d2e490b3..cd20ab5a843 100644 --- a/src/test/ui/run-pass/issues/issue-24313.rs +++ b/src/test/ui/run-pass/issues/issue-24313.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no threads diff --git a/src/test/ui/run-pass/issues/issue-24353.rs b/src/test/ui/run-pass/issues/issue-24353.rs index 7a41a013927..f4b0e6814e8 100644 --- a/src/test/ui/run-pass/issues/issue-24353.rs +++ b/src/test/ui/run-pass/issues/issue-24353.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { return (); diff --git a/src/test/ui/run-pass/issues/issue-24389.rs b/src/test/ui/run-pass/issues/issue-24389.rs index 41599fa3e63..5eb622bb932 100644 --- a/src/test/ui/run-pass/issues/issue-24389.rs +++ b/src/test/ui/run-pass/issues/issue-24389.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-24434.rs b/src/test/ui/run-pass/issues/issue-24434.rs index 2b0d09d7460..a4f22e3c79a 100644 --- a/src/test/ui/run-pass/issues/issue-24434.rs +++ b/src/test/ui/run-pass/issues/issue-24434.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--cfg set1 #![cfg_attr(set1, feature(custom_attribute))] diff --git a/src/test/ui/run-pass/issues/issue-2445-b.rs b/src/test/ui/run-pass/issues/issue-2445-b.rs index c1d17d263d6..95e913dd990 100644 --- a/src/test/ui/run-pass/issues/issue-2445-b.rs +++ b/src/test/ui/run-pass/issues/issue-2445-b.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct c1 { diff --git a/src/test/ui/run-pass/issues/issue-2445.rs b/src/test/ui/run-pass/issues/issue-2445.rs index 0b6cf5890fd..f34657e4fce 100644 --- a/src/test/ui/run-pass/issues/issue-2445.rs +++ b/src/test/ui/run-pass/issues/issue-2445.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct c1 { diff --git a/src/test/ui/run-pass/issues/issue-24533.rs b/src/test/ui/run-pass/issues/issue-24533.rs index 440a4184780..316773e8915 100644 --- a/src/test/ui/run-pass/issues/issue-24533.rs +++ b/src/test/ui/run-pass/issues/issue-24533.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::slice::Iter; use std::io::{Error, ErrorKind, Result}; use std::vec::*; diff --git a/src/test/ui/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs b/src/test/ui/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs index ac415e31f2b..3f46b0e312d 100644 --- a/src/test/ui/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs +++ b/src/test/ui/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test illustrates that under NLL, we can remove our overly // conservative approach for disallowing mutations of match inputs. diff --git a/src/test/ui/run-pass/issues/issue-24589.rs b/src/test/ui/run-pass/issues/issue-24589.rs index 2fa8c8e98c0..825e3cbd93b 100644 --- a/src/test/ui/run-pass/issues/issue-24589.rs +++ b/src/test/ui/run-pass/issues/issue-24589.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct _X([u8]); impl std::ops::Deref for _X { diff --git a/src/test/ui/run-pass/issues/issue-2463.rs b/src/test/ui/run-pass/issues/issue-2463.rs index f0b0614535b..1c655f87435 100644 --- a/src/test/ui/run-pass/issues/issue-2463.rs +++ b/src/test/ui/run-pass/issues/issue-2463.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Pair { f: isize, g: isize } diff --git a/src/test/ui/run-pass/issues/issue-2472.rs b/src/test/ui/run-pass/issues/issue-2472.rs index 0cbdbda6375..bc078ea49cf 100644 --- a/src/test/ui/run-pass/issues/issue-2472.rs +++ b/src/test/ui/run-pass/issues/issue-2472.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_2472_b.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-24779.rs b/src/test/ui/run-pass/issues/issue-24779.rs index 4f13b91cdb1..85ab4c6d4c5 100644 --- a/src/test/ui/run-pass/issues/issue-24779.rs +++ b/src/test/ui/run-pass/issues/issue-24779.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { assert_eq!((||||42)()(), 42); } diff --git a/src/test/ui/run-pass/issues/issue-24805-dropck-itemless.rs b/src/test/ui/run-pass/issues/issue-24805-dropck-itemless.rs index 9fa48202298..fa50ce019bf 100644 --- a/src/test/ui/run-pass/issues/issue-24805-dropck-itemless.rs +++ b/src/test/ui/run-pass/issues/issue-24805-dropck-itemless.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that item-less traits do not cause dropck to inject extra // region constraints. diff --git a/src/test/ui/run-pass/issues/issue-2487-a.rs b/src/test/ui/run-pass/issues/issue-2487-a.rs index 76450b351f4..72fa2edab63 100644 --- a/src/test/ui/run-pass/issues/issue-2487-a.rs +++ b/src/test/ui/run-pass/issues/issue-2487-a.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct socket { diff --git a/src/test/ui/run-pass/issues/issue-24945-repeat-dash-opts.rs b/src/test/ui/run-pass/issues/issue-24945-repeat-dash-opts.rs index 33ac519a584..5206acb8e94 100644 --- a/src/test/ui/run-pass/issues/issue-24945-repeat-dash-opts.rs +++ b/src/test/ui/run-pass/issues/issue-24945-repeat-dash-opts.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test is just checking that we continue to accept `-g -g -O -O` // as options to the compiler. diff --git a/src/test/ui/run-pass/issues/issue-24947.rs b/src/test/ui/run-pass/issues/issue-24947.rs index 19a364a93fd..91549128447 100644 --- a/src/test/ui/run-pass/issues/issue-24947.rs +++ b/src/test/ui/run-pass/issues/issue-24947.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #24947 ICE using a trait-associated const in an array size diff --git a/src/test/ui/run-pass/issues/issue-24954.rs b/src/test/ui/run-pass/issues/issue-24954.rs index f525274a1df..e8f135f7f67 100644 --- a/src/test/ui/run-pass/issues/issue-24954.rs +++ b/src/test/ui/run-pass/issues/issue-24954.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { ($y:expr) => ({ $y = 2; diff --git a/src/test/ui/run-pass/issues/issue-2502.rs b/src/test/ui/run-pass/issues/issue-2502.rs index 63179cd14ac..edb85d40223 100644 --- a/src/test/ui/run-pass/issues/issue-2502.rs +++ b/src/test/ui/run-pass/issues/issue-2502.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-25089.rs b/src/test/ui/run-pass/issues/issue-25089.rs index e707023530b..e059ac329b4 100644 --- a/src/test/ui/run-pass/issues/issue-25089.rs +++ b/src/test/ui/run-pass/issues/issue-25089.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/issues/issue-25145.rs b/src/test/ui/run-pass/issues/issue-25145.rs index d5d23012e04..79b1e7c5ef8 100644 --- a/src/test/ui/run-pass/issues/issue-25145.rs +++ b/src/test/ui/run-pass/issues/issue-25145.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S; diff --git a/src/test/ui/run-pass/issues/issue-25180.rs b/src/test/ui/run-pass/issues/issue-25180.rs index 4e6f9b321ba..cf7e3b21f14 100644 --- a/src/test/ui/run-pass/issues/issue-25180.rs +++ b/src/test/ui/run-pass/issues/issue-25180.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const x: &'static Fn() = &|| println!("ICE here"); fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-25185.rs b/src/test/ui/run-pass/issues/issue-25185.rs index 9a2dbd1c96e..764cfdc187a 100644 --- a/src/test/ui/run-pass/issues/issue-25185.rs +++ b/src/test/ui/run-pass/issues/issue-25185.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-25185-1.rs // aux-build:issue-25185-2.rs // ignore-wasm32-bare no libc for ffi testing diff --git a/src/test/ui/run-pass/issues/issue-2526-a.rs b/src/test/ui/run-pass/issues/issue-2526-a.rs index 0c68c470231..210ad831859 100644 --- a/src/test/ui/run-pass/issues/issue-2526-a.rs +++ b/src/test/ui/run-pass/issues/issue-2526-a.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-2526.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-25279.rs b/src/test/ui/run-pass/issues/issue-25279.rs index e483866790f..47714cef2d5 100644 --- a/src/test/ui/run-pass/issues/issue-25279.rs +++ b/src/test/ui/run-pass/issues/issue-25279.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S<'a>(&'a ()); impl<'a> S<'a> { diff --git a/src/test/ui/run-pass/issues/issue-25339.rs b/src/test/ui/run-pass/issues/issue-25339.rs index 381df7c5d59..279a8865377 100644 --- a/src/test/ui/run-pass/issues/issue-25339.rs +++ b/src/test/ui/run-pass/issues/issue-25339.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(associated_type_defaults)] use std::marker::PhantomData; diff --git a/src/test/ui/run-pass/issues/issue-25343.rs b/src/test/ui/run-pass/issues/issue-25343.rs index 64e7350fb82..40e9924e5d5 100644 --- a/src/test/ui/run-pass/issues/issue-25343.rs +++ b/src/test/ui/run-pass/issues/issue-25343.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[allow(unused)] fn main() { || { diff --git a/src/test/ui/run-pass/issues/issue-25394.rs b/src/test/ui/run-pass/issues/issue-25394.rs index c42de6fdf34..df1fe399a4a 100644 --- a/src/test/ui/run-pass/issues/issue-25394.rs +++ b/src/test/ui/run-pass/issues/issue-25394.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct Row([T]); diff --git a/src/test/ui/run-pass/issues/issue-25467.rs b/src/test/ui/run-pass/issues/issue-25467.rs index 47758768269..37ce124e132 100644 --- a/src/test/ui/run-pass/issues/issue-25467.rs +++ b/src/test/ui/run-pass/issues/issue-25467.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-25467.rs pub type Issue25467BarT = (); diff --git a/src/test/ui/run-pass/issues/issue-25497.rs b/src/test/ui/run-pass/issues/issue-25497.rs index 730b0a274bf..ab5a0bf92f0 100644 --- a/src/test/ui/run-pass/issues/issue-25497.rs +++ b/src/test/ui/run-pass/issues/issue-25497.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Clone, Debug, PartialEq)] enum Expression { Dummy, diff --git a/src/test/ui/run-pass/issues/issue-2550.rs b/src/test/ui/run-pass/issues/issue-2550.rs index 87b0b198f9b..999fff40e99 100644 --- a/src/test/ui/run-pass/issues/issue-2550.rs +++ b/src/test/ui/run-pass/issues/issue-2550.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct C { diff --git a/src/test/ui/run-pass/issues/issue-25515.rs b/src/test/ui/run-pass/issues/issue-25515.rs index d1746ec0191..03ad360bcd3 100644 --- a/src/test/ui/run-pass/issues/issue-25515.rs +++ b/src/test/ui/run-pass/issues/issue-25515.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::rc::Rc; struct Foo<'r>(&'r mut i32); diff --git a/src/test/ui/run-pass/issues/issue-25549-multiple-drop.rs b/src/test/ui/run-pass/issues/issue-25549-multiple-drop.rs index 5280891677e..24f44f2ecba 100644 --- a/src/test/ui/run-pass/issues/issue-25549-multiple-drop.rs +++ b/src/test/ui/run-pass/issues/issue-25549-multiple-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo<'r>(&'r mut i32); impl<'r> Drop for Foo<'r> { diff --git a/src/test/ui/run-pass/issues/issue-25679.rs b/src/test/ui/run-pass/issues/issue-25679.rs index 0ba7feece60..29e4b44592f 100644 --- a/src/test/ui/run-pass/issues/issue-25679.rs +++ b/src/test/ui/run-pass/issues/issue-25679.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Device { type Resources; } diff --git a/src/test/ui/run-pass/issues/issue-25693.rs b/src/test/ui/run-pass/issues/issue-25693.rs index 0d9dc3cf605..86fe6c08147 100644 --- a/src/test/ui/run-pass/issues/issue-25693.rs +++ b/src/test/ui/run-pass/issues/issue-25693.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Parameters { type SelfRef; } struct RP<'a> { _marker: std::marker::PhantomData<&'a ()> } diff --git a/src/test/ui/run-pass/issues/issue-25700-1.rs b/src/test/ui/run-pass/issues/issue-25700-1.rs index 57f5b84b285..f1109ac93cd 100644 --- a/src/test/ui/run-pass/issues/issue-25700-1.rs +++ b/src/test/ui/run-pass/issues/issue-25700-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S(Option<&'static T>); trait Tr { type Out; } diff --git a/src/test/ui/run-pass/issues/issue-25700-2.rs b/src/test/ui/run-pass/issues/issue-25700-2.rs index 3117e6f3681..99c381042bf 100644 --- a/src/test/ui/run-pass/issues/issue-25700-2.rs +++ b/src/test/ui/run-pass/issues/issue-25700-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Parser { type Input; } diff --git a/src/test/ui/run-pass/issues/issue-25746-bool-transmute.rs b/src/test/ui/run-pass/issues/issue-25746-bool-transmute.rs index 434e019219f..da63bc61607 100644 --- a/src/test/ui/run-pass/issues/issue-25746-bool-transmute.rs +++ b/src/test/ui/run-pass/issues/issue-25746-bool-transmute.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::transmute; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-25757.rs b/src/test/ui/run-pass/issues/issue-25757.rs index d1fb7537705..f2fbef2c581 100644 --- a/src/test/ui/run-pass/issues/issue-25757.rs +++ b/src/test/ui/run-pass/issues/issue-25757.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { a: u32 } diff --git a/src/test/ui/run-pass/issues/issue-25810.rs b/src/test/ui/run-pass/issues/issue-25810.rs index 820872ad3fc..986ba48d4b7 100644 --- a/src/test/ui/run-pass/issues/issue-25810.rs +++ b/src/test/ui/run-pass/issues/issue-25810.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x = X(15); let y = x.foo(); diff --git a/src/test/ui/run-pass/issues/issue-25916.rs b/src/test/ui/run-pass/issues/issue-25916.rs index eb52e2e21c4..cf8753119bf 100644 --- a/src/test/ui/run-pass/issues/issue-25916.rs +++ b/src/test/ui/run-pass/issues/issue-25916.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { macro_rules! f { () => { 0 + 0 } diff --git a/src/test/ui/run-pass/issues/issue-26095.rs b/src/test/ui/run-pass/issues/issue-26095.rs index 9d8d9c3ff2e..2911e3c9c9c 100644 --- a/src/test/ui/run-pass/issues/issue-26095.rs +++ b/src/test/ui/run-pass/issues/issue-26095.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait HasNumber { const Number: usize; diff --git a/src/test/ui/run-pass/issues/issue-2611-3.rs b/src/test/ui/run-pass/issues/issue-2611-3.rs index e223d3412e0..4b66aa48a5b 100644 --- a/src/test/ui/run-pass/issues/issue-2611-3.rs +++ b/src/test/ui/run-pass/issues/issue-2611-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that impls are allowed to have looser, more permissive bounds // than the traits require. diff --git a/src/test/ui/run-pass/issues/issue-26127.rs b/src/test/ui/run-pass/issues/issue-26127.rs index 75cbcc83d61..c2634ed5690 100644 --- a/src/test/ui/run-pass/issues/issue-26127.rs +++ b/src/test/ui/run-pass/issues/issue-26127.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Tr { type T; } impl Tr for u8 { type T=(); } struct S(I::T); diff --git a/src/test/ui/run-pass/issues/issue-26205.rs b/src/test/ui/run-pass/issues/issue-26205.rs index dd34612af0f..e015acfdc2a 100644 --- a/src/test/ui/run-pass/issues/issue-26205.rs +++ b/src/test/ui/run-pass/issues/issue-26205.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::{Deref, DerefMut}; struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-26251.rs b/src/test/ui/run-pass/issues/issue-26251.rs index 3735d36147d..20ad091695a 100644 --- a/src/test/ui/run-pass/issues/issue-26251.rs +++ b/src/test/ui/run-pass/issues/issue-26251.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x = 'a'; diff --git a/src/test/ui/run-pass/issues/issue-2631-b.rs b/src/test/ui/run-pass/issues/issue-2631-b.rs index 913b07613e0..d53741b470e 100644 --- a/src/test/ui/run-pass/issues/issue-2631-b.rs +++ b/src/test/ui/run-pass/issues/issue-2631-b.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-2631-a.rs diff --git a/src/test/ui/run-pass/issues/issue-26322.rs b/src/test/ui/run-pass/issues/issue-26322.rs index 7f8c7f5521f..3ab12d75381 100644 --- a/src/test/ui/run-pass/issues/issue-26322.rs +++ b/src/test/ui/run-pass/issues/issue-26322.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! columnline { () => ( (column!(), line!()) diff --git a/src/test/ui/run-pass/issues/issue-2633-2.rs b/src/test/ui/run-pass/issues/issue-2633-2.rs index b955947c410..ffc2b6a32a5 100644 --- a/src/test/ui/run-pass/issues/issue-2633-2.rs +++ b/src/test/ui/run-pass/issues/issue-2633-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-2633.rs b/src/test/ui/run-pass/issues/issue-2633.rs index 5841a9ec176..21c02445914 100644 --- a/src/test/ui/run-pass/issues/issue-2633.rs +++ b/src/test/ui/run-pass/issues/issue-2633.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone)] struct cat { meow: extern "Rust" fn(), diff --git a/src/test/ui/run-pass/issues/issue-2642.rs b/src/test/ui/run-pass/issues/issue-2642.rs index f0bc31fb391..c900fa7b42c 100644 --- a/src/test/ui/run-pass/issues/issue-2642.rs +++ b/src/test/ui/run-pass/issues/issue-2642.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn f() { diff --git a/src/test/ui/run-pass/issues/issue-26468.rs b/src/test/ui/run-pass/issues/issue-26468.rs index 9fb8675e84e..2c9a48802a6 100644 --- a/src/test/ui/run-pass/issues/issue-26468.rs +++ b/src/test/ui/run-pass/issues/issue-26468.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] enum FooMode { diff --git a/src/test/ui/run-pass/issues/issue-26484.rs b/src/test/ui/run-pass/issues/issue-26484.rs index d3e6fc85f13..66fb1df1675 100644 --- a/src/test/ui/run-pass/issues/issue-26484.rs +++ b/src/test/ui/run-pass/issues/issue-26484.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:-g fn helper bool>(_f: F) { diff --git a/src/test/ui/run-pass/issues/issue-26641.rs b/src/test/ui/run-pass/issues/issue-26641.rs index 16f1d4626fb..90c2243222c 100644 --- a/src/test/ui/run-pass/issues/issue-26641.rs +++ b/src/test/ui/run-pass/issues/issue-26641.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Parser<'a>(Box); fn main() { diff --git a/src/test/ui/run-pass/issues/issue-26646.rs b/src/test/ui/run-pass/issues/issue-26646.rs index 89c0a11e292..05602f7504e 100644 --- a/src/test/ui/run-pass/issues/issue-26646.rs +++ b/src/test/ui/run-pass/issues/issue-26646.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(unused_attributes)] #[repr(C)] diff --git a/src/test/ui/run-pass/issues/issue-26655.rs b/src/test/ui/run-pass/issues/issue-26655.rs index 6d43451af6b..db373f2cc8d 100644 --- a/src/test/ui/run-pass/issues/issue-26655.rs +++ b/src/test/ui/run-pass/issues/issue-26655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // Check that the destructors of simple enums are run on unwinding diff --git a/src/test/ui/run-pass/issues/issue-26709.rs b/src/test/ui/run-pass/issues/issue-26709.rs index 62626d75865..f8f20405a3d 100644 --- a/src/test/ui/run-pass/issues/issue-26709.rs +++ b/src/test/ui/run-pass/issues/issue-26709.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Wrapper<'a, T: ?Sized>(&'a mut i32, T); impl<'a, T: ?Sized> Drop for Wrapper<'a, T> { diff --git a/src/test/ui/run-pass/issues/issue-26802.rs b/src/test/ui/run-pass/issues/issue-26802.rs index 854340b0eae..85d4e4a3f9f 100644 --- a/src/test/ui/run-pass/issues/issue-26802.rs +++ b/src/test/ui/run-pass/issues/issue-26802.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo<'a> { fn bar<'b>(&self, x: &'b u8) -> u8 where 'a: 'b { *x+7 } } diff --git a/src/test/ui/run-pass/issues/issue-26805.rs b/src/test/ui/run-pass/issues/issue-26805.rs index c996c8f65ac..0459c654458 100644 --- a/src/test/ui/run-pass/issues/issue-26805.rs +++ b/src/test/ui/run-pass/issues/issue-26805.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct NonOrd; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-26873-multifile.rs b/src/test/ui/run-pass/issues/issue-26873-multifile.rs index 51bf4bfe0e1..f1d2a8ff3f0 100644 --- a/src/test/ui/run-pass/issues/issue-26873-multifile.rs +++ b/src/test/ui/run-pass/issues/issue-26873-multifile.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 mod issue_26873_multifile; diff --git a/src/test/ui/run-pass/issues/issue-26873-onefile.rs b/src/test/ui/run-pass/issues/issue-26873-onefile.rs index a9a04fd8894..4d976b08c0f 100644 --- a/src/test/ui/run-pass/issues/issue-26873-onefile.rs +++ b/src/test/ui/run-pass/issues/issue-26873-onefile.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod A { pub mod B { use super::*; diff --git a/src/test/ui/run-pass/issues/issue-26905.rs b/src/test/ui/run-pass/issues/issue-26905.rs index 0ad193bb28c..ec0f6b15a34 100644 --- a/src/test/ui/run-pass/issues/issue-26905.rs +++ b/src/test/ui/run-pass/issues/issue-26905.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unsize, coerce_unsized)] // Verfies that PhantomData is ignored for DST coercions diff --git a/src/test/ui/run-pass/issues/issue-26996.rs b/src/test/ui/run-pass/issues/issue-26996.rs index e17845a68bc..8d53b739da2 100644 --- a/src/test/ui/run-pass/issues/issue-26996.rs +++ b/src/test/ui/run-pass/issues/issue-26996.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let mut c = (1, "".to_owned()); match c { diff --git a/src/test/ui/run-pass/issues/issue-26997.rs b/src/test/ui/run-pass/issues/issue-26997.rs index e7ecf68f108..e6d0ef14431 100644 --- a/src/test/ui/run-pass/issues/issue-26997.rs +++ b/src/test/ui/run-pass/issues/issue-26997.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Foo { x: isize, y: isize diff --git a/src/test/ui/run-pass/issues/issue-27021.rs b/src/test/ui/run-pass/issues/issue-27021.rs index eb7d529f0ad..addeebe9def 100644 --- a/src/test/ui/run-pass/issues/issue-27021.rs +++ b/src/test/ui/run-pass/issues/issue-27021.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let mut c = (1, (1, "".to_owned())); match c { diff --git a/src/test/ui/run-pass/issues/issue-27054-primitive-binary-ops.rs b/src/test/ui/run-pass/issues/issue-27054-primitive-binary-ops.rs index a97a49a1a4a..cd7e94a2352 100644 --- a/src/test/ui/run-pass/issues/issue-27054-primitive-binary-ops.rs +++ b/src/test/ui/run-pass/issues/issue-27054-primitive-binary-ops.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x = &mut 1; assert_eq!(*x + { *x=2; 1 }, 2); diff --git a/src/test/ui/run-pass/issues/issue-27060.rs b/src/test/ui/run-pass/issues/issue-27060.rs index 809c45466f0..594edb3fd71 100644 --- a/src/test/ui/run-pass/issues/issue-27060.rs +++ b/src/test/ui/run-pass/issues/issue-27060.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[repr(packed)] pub struct Good { data: &'static u32, diff --git a/src/test/ui/run-pass/issues/issue-2708.rs b/src/test/ui/run-pass/issues/issue-2708.rs index cf565b9f901..d69cc2b05ef 100644 --- a/src/test/ui/run-pass/issues/issue-2708.rs +++ b/src/test/ui/run-pass/issues/issue-2708.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-27105.rs b/src/test/ui/run-pass/issues/issue-27105.rs index 3836ad089a3..e565acde2f0 100644 --- a/src/test/ui/run-pass/issues/issue-27105.rs +++ b/src/test/ui/run-pass/issues/issue-27105.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::RefCell; use std::rc::Rc; diff --git a/src/test/ui/run-pass/issues/issue-2718.rs b/src/test/ui/run-pass/issues/issue-2718.rs index d59f2956ee4..19d81db6486 100644 --- a/src/test/ui/run-pass/issues/issue-2718.rs +++ b/src/test/ui/run-pass/issues/issue-2718.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass pub type Task = isize; diff --git a/src/test/ui/run-pass/issues/issue-2723-b.rs b/src/test/ui/run-pass/issues/issue-2723-b.rs index a6ba957a1b1..34f5238cc80 100644 --- a/src/test/ui/run-pass/issues/issue-2723-b.rs +++ b/src/test/ui/run-pass/issues/issue-2723-b.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_2723_a.rs extern crate issue_2723_a; diff --git a/src/test/ui/run-pass/issues/issue-27240.rs b/src/test/ui/run-pass/issues/issue-27240.rs index 4e341d31172..5e65a8084c3 100644 --- a/src/test/ui/run-pass/issues/issue-27240.rs +++ b/src/test/ui/run-pass/issues/issue-27240.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt; struct NoisyDrop(T); impl Drop for NoisyDrop { diff --git a/src/test/ui/run-pass/issues/issue-27268.rs b/src/test/ui/run-pass/issues/issue-27268.rs index 8af850bbada..fa23241a25b 100644 --- a/src/test/ui/run-pass/issues/issue-27268.rs +++ b/src/test/ui/run-pass/issues/issue-27268.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { const _C: &'static Fn() = &||{}; } diff --git a/src/test/ui/run-pass/issues/issue-27281.rs b/src/test/ui/run-pass/issues/issue-27281.rs index c84fc0fffe3..1dc4ac5cdcc 100644 --- a/src/test/ui/run-pass/issues/issue-27281.rs +++ b/src/test/ui/run-pass/issues/issue-27281.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Trait<'a> { type T; type U; diff --git a/src/test/ui/run-pass/issues/issue-27320.rs b/src/test/ui/run-pass/issues/issue-27320.rs index e010b162cc4..e5df3ccd76e 100644 --- a/src/test/ui/run-pass/issues/issue-27320.rs +++ b/src/test/ui/run-pass/issues/issue-27320.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_variables)] #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-2734.rs b/src/test/ui/run-pass/issues/issue-2734.rs index 916e3dd689f..2a6cd25145a 100644 --- a/src/test/ui/run-pass/issues/issue-2734.rs +++ b/src/test/ui/run-pass/issues/issue-2734.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-2735-2.rs b/src/test/ui/run-pass/issues/issue-2735-2.rs index cdce059ae71..e278b233448 100644 --- a/src/test/ui/run-pass/issues/issue-2735-2.rs +++ b/src/test/ui/run-pass/issues/issue-2735-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::Cell; // This test should behave exactly like issue-2735-3 diff --git a/src/test/ui/run-pass/issues/issue-2735-3.rs b/src/test/ui/run-pass/issues/issue-2735-3.rs index d1e28faba8b..b81a96eb184 100644 --- a/src/test/ui/run-pass/issues/issue-2735-3.rs +++ b/src/test/ui/run-pass/issues/issue-2735-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::Cell; // This test should behave exactly like issue-2735-2 diff --git a/src/test/ui/run-pass/issues/issue-2735.rs b/src/test/ui/run-pass/issues/issue-2735.rs index af8eef557f8..53dfdc6c2fb 100644 --- a/src/test/ui/run-pass/issues/issue-2735.rs +++ b/src/test/ui/run-pass/issues/issue-2735.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-27401-dropflag-reinit.rs b/src/test/ui/run-pass/issues/issue-27401-dropflag-reinit.rs index 37dc060d5d6..d72c8309a5f 100644 --- a/src/test/ui/run-pass/issues/issue-27401-dropflag-reinit.rs +++ b/src/test/ui/run-pass/issues/issue-27401-dropflag-reinit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37201 // Check that when a `let`-binding occurs in a loop, its associated diff --git a/src/test/ui/run-pass/issues/issue-2748-a.rs b/src/test/ui/run-pass/issues/issue-2748-a.rs index ac1e65ee776..fa1761b8e63 100644 --- a/src/test/ui/run-pass/issues/issue-2748-a.rs +++ b/src/test/ui/run-pass/issues/issue-2748-a.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct CMap<'a> { diff --git a/src/test/ui/run-pass/issues/issue-2748-b.rs b/src/test/ui/run-pass/issues/issue-2748-b.rs index f1cbf11a347..78e3a3882c2 100644 --- a/src/test/ui/run-pass/issues/issue-2748-b.rs +++ b/src/test/ui/run-pass/issues/issue-2748-b.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn thing<'r>(x: &'r [isize]) -> &'r [isize] { x } diff --git a/src/test/ui/run-pass/issues/issue-27583.rs b/src/test/ui/run-pass/issues/issue-27583.rs index df1b2c2cf43..1a1ad2bc194 100644 --- a/src/test/ui/run-pass/issues/issue-27583.rs +++ b/src/test/ui/run-pass/issues/issue-27583.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #27583. Unclear how useful this will be // going forward, since the issue in question was EXTREMELY sensitive // to compiler internals (like the precise numbering of nodes), but diff --git a/src/test/ui/run-pass/issues/issue-27639.rs b/src/test/ui/run-pass/issues/issue-27639.rs index ce1abb163d5..cfd3d912cd3 100644 --- a/src/test/ui/run-pass/issues/issue-27639.rs +++ b/src/test/ui/run-pass/issues/issue-27639.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { const iter: i32 = 0; diff --git a/src/test/ui/run-pass/issues/issue-27859.rs b/src/test/ui/run-pass/issues/issue-27859.rs index d184724cf6f..e289995317f 100644 --- a/src/test/ui/run-pass/issues/issue-27859.rs +++ b/src/test/ui/run-pass/issues/issue-27859.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no std::env // ignore-wasm32 issue 42629 diff --git a/src/test/ui/run-pass/issues/issue-27889.rs b/src/test/ui/run-pass/issues/issue-27889.rs index 29a5f6dd24b..a16bfeb8daa 100644 --- a/src/test/ui/run-pass/issues/issue-27889.rs +++ b/src/test/ui/run-pass/issues/issue-27889.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a field can have the same name in different variants // of an enum diff --git a/src/test/ui/run-pass/issues/issue-27890.rs b/src/test/ui/run-pass/issues/issue-27890.rs index a33882a8331..3526a77cbd5 100644 --- a/src/test/ui/run-pass/issues/issue-27890.rs +++ b/src/test/ui/run-pass/issues/issue-27890.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static PLUS_ONE: &'static (Fn(i32) -> i32 + Sync) = (&|x: i32| { x + 1 }) as &'static (Fn(i32) -> i32 + Sync); diff --git a/src/test/ui/run-pass/issues/issue-27901.rs b/src/test/ui/run-pass/issues/issue-27901.rs index b7a9daaf8ab..5d02bace609 100644 --- a/src/test/ui/run-pass/issues/issue-27901.rs +++ b/src/test/ui/run-pass/issues/issue-27901.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Stream { type Item; } impl<'a> Stream for &'a str { type Item = u8; } fn f<'s>(s: &'s str) -> (&'s str, <&'s str as Stream>::Item) { diff --git a/src/test/ui/run-pass/issues/issue-27997.rs b/src/test/ui/run-pass/issues/issue-27997.rs index 9dba477a7e5..f8dba27390c 100644 --- a/src/test/ui/run-pass/issues/issue-27997.rs +++ b/src/test/ui/run-pass/issues/issue-27997.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::atomic::{Ordering, AtomicUsize}; use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-2804-2.rs b/src/test/ui/run-pass/issues/issue-2804-2.rs index e428ecd4e5b..a080627c686 100644 --- a/src/test/ui/run-pass/issues/issue-2804-2.rs +++ b/src/test/ui/run-pass/issues/issue-2804-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Minimized version of issue-2804.rs. Both check that callee IDs don't // clobber the previous node ID in a macro expr diff --git a/src/test/ui/run-pass/issues/issue-28181.rs b/src/test/ui/run-pass/issues/issue-28181.rs index f64b92cdbb7..21b0100e815 100644 --- a/src/test/ui/run-pass/issues/issue-28181.rs +++ b/src/test/ui/run-pass/issues/issue-28181.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn bar(f: F) -> usize where F: Fn([usize; 1]) -> usize { f([2]) } fn main() { diff --git a/src/test/ui/run-pass/issues/issue-28279.rs b/src/test/ui/run-pass/issues/issue-28279.rs index 3165084b9e9..bc615c8f7e3 100644 --- a/src/test/ui/run-pass/issues/issue-28279.rs +++ b/src/test/ui/run-pass/issues/issue-28279.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::rc::Rc; fn test1() -> Rc Fn(&'a usize) + 'static> { diff --git a/src/test/ui/run-pass/issues/issue-28550.rs b/src/test/ui/run-pass/issues/issue-28550.rs index f44a535e817..95b6943849c 100644 --- a/src/test/ui/run-pass/issues/issue-28550.rs +++ b/src/test/ui/run-pass/issues/issue-28550.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct AT,T>(F::Output); struct BT,T>(A); diff --git a/src/test/ui/run-pass/issues/issue-28561.rs b/src/test/ui/run-pass/issues/issue-28561.rs index e21e487fedd..5927ce77f8e 100644 --- a/src/test/ui/run-pass/issues/issue-28561.rs +++ b/src/test/ui/run-pass/issues/issue-28561.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] struct Array { f00: [T; 00], diff --git a/src/test/ui/run-pass/issues/issue-28600.rs b/src/test/ui/run-pass/issues/issue-28600.rs index bbbdb79a11d..0f3573f7e62 100644 --- a/src/test/ui/run-pass/issues/issue-28600.rs +++ b/src/test/ui/run-pass/issues/issue-28600.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #28600 ICE: pub extern fn with parameter type &str inside struct impl struct Test; diff --git a/src/test/ui/run-pass/issues/issue-28676.rs b/src/test/ui/run-pass/issues/issue-28676.rs index a7bee427a81..5b9e460fb03 100644 --- a/src/test/ui/run-pass/issues/issue-28676.rs +++ b/src/test/ui/run-pass/issues/issue-28676.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/issues/issue-28777.rs b/src/test/ui/run-pass/issues/issue-28777.rs index ea5d4e4f3c2..a796d211df2 100644 --- a/src/test/ui/run-pass/issues/issue-28777.rs +++ b/src/test/ui/run-pass/issues/issue-28777.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let v1 = { 1 + {2} * {3} }; let v2 = 1 + {2} * {3} ; diff --git a/src/test/ui/run-pass/issues/issue-28822.rs b/src/test/ui/run-pass/issues/issue-28822.rs index 10482139a97..39e4a23e3cd 100644 --- a/src/test/ui/run-pass/issues/issue-28822.rs +++ b/src/test/ui/run-pass/issues/issue-28822.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-28828.rs b/src/test/ui/run-pass/issues/issue-28828.rs index 24e4b83e8a6..2fb6b5875c1 100644 --- a/src/test/ui/run-pass/issues/issue-28828.rs +++ b/src/test/ui/run-pass/issues/issue-28828.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Foo { type Out; } diff --git a/src/test/ui/run-pass/issues/issue-28839.rs b/src/test/ui/run-pass/issues/issue-28839.rs index 2ff4403a42f..1b536fe83c7 100644 --- a/src/test/ui/run-pass/issues/issue-28839.rs +++ b/src/test/ui/run-pass/issues/issue-28839.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37199 pub struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-28871.rs b/src/test/ui/run-pass/issues/issue-28871.rs index 92ba98f5062..2be32409274 100644 --- a/src/test/ui/run-pass/issues/issue-28871.rs +++ b/src/test/ui/run-pass/issues/issue-28871.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #28871. The problem is that rustc encountered // two ways to project, one from a where clause and one from the where // clauses on the trait definition. (In fact, in this case, the where diff --git a/src/test/ui/run-pass/issues/issue-28936.rs b/src/test/ui/run-pass/issues/issue-28936.rs index 992fbdce268..1e3e3474c17 100644 --- a/src/test/ui/run-pass/issues/issue-28936.rs +++ b/src/test/ui/run-pass/issues/issue-28936.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub type Session = i32; pub struct StreamParser<'a, T> { _tokens: T, diff --git a/src/test/ui/run-pass/issues/issue-2895.rs b/src/test/ui/run-pass/issues/issue-2895.rs index b0fd0e148c8..e52126e16f8 100644 --- a/src/test/ui/run-pass/issues/issue-2895.rs +++ b/src/test/ui/run-pass/issues/issue-2895.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-28950.rs b/src/test/ui/run-pass/issues/issue-28950.rs index 4e4530789c8..b7426571fbd 100644 --- a/src/test/ui/run-pass/issues/issue-28950.rs +++ b/src/test/ui/run-pass/issues/issue-28950.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads // compile-flags: -O diff --git a/src/test/ui/run-pass/issues/issue-28983.rs b/src/test/ui/run-pass/issues/issue-28983.rs index f70f8768766..d38a519cb98 100644 --- a/src/test/ui/run-pass/issues/issue-28983.rs +++ b/src/test/ui/run-pass/issues/issue-28983.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Test { type T; } impl Test for u32 { diff --git a/src/test/ui/run-pass/issues/issue-28999.rs b/src/test/ui/run-pass/issues/issue-28999.rs index 87112ef1719..bb5747ca744 100644 --- a/src/test/ui/run-pass/issues/issue-28999.rs +++ b/src/test/ui/run-pass/issues/issue-28999.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Xyz<'a, V> { pub v: (V, &'a u32), } diff --git a/src/test/ui/run-pass/issues/issue-29030.rs b/src/test/ui/run-pass/issues/issue-29030.rs index 43de3601df1..51dbf58a77d 100644 --- a/src/test/ui/run-pass/issues/issue-29030.rs +++ b/src/test/ui/run-pass/issues/issue-29030.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct Message<'a, P: 'a = &'a [u8]> { header: &'a [u8], diff --git a/src/test/ui/run-pass/issues/issue-29037.rs b/src/test/ui/run-pass/issues/issue-29037.rs index dc1d67cc645..2ee4446820b 100644 --- a/src/test/ui/run-pass/issues/issue-29037.rs +++ b/src/test/ui/run-pass/issues/issue-29037.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test ensures that each pointer type `P` is covariant in `X`. use std::rc::Rc; diff --git a/src/test/ui/run-pass/issues/issue-2904.rs b/src/test/ui/run-pass/issues/issue-2904.rs index d82fce97c41..48860f88f9e 100644 --- a/src/test/ui/run-pass/issues/issue-2904.rs +++ b/src/test/ui/run-pass/issues/issue-2904.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Map representation diff --git a/src/test/ui/run-pass/issues/issue-29048.rs b/src/test/ui/run-pass/issues/issue-29048.rs index 48f4327d3e9..f889cd8af61 100644 --- a/src/test/ui/run-pass/issues/issue-29048.rs +++ b/src/test/ui/run-pass/issues/issue-29048.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Chan; pub struct ChanSelect<'c, T> { chans: Vec<(&'c Chan, T)>, diff --git a/src/test/ui/run-pass/issues/issue-29053.rs b/src/test/ui/run-pass/issues/issue-29053.rs index 72655071e41..47800b48de4 100644 --- a/src/test/ui/run-pass/issues/issue-29053.rs +++ b/src/test/ui/run-pass/issues/issue-29053.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x: &'static str = "x"; diff --git a/src/test/ui/run-pass/issues/issue-29071-2.rs b/src/test/ui/run-pass/issues/issue-29071-2.rs index 8e69c063f99..f0025f25557 100644 --- a/src/test/ui/run-pass/issues/issue-29071-2.rs +++ b/src/test/ui/run-pass/issues/issue-29071-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn t1() -> u32 { let x; x = if true { [1, 2, 3] } else { [2, 3, 4] }[0]; diff --git a/src/test/ui/run-pass/issues/issue-29071.rs b/src/test/ui/run-pass/issues/issue-29071.rs index 09c17a85ab5..7e4e8fc5025 100644 --- a/src/test/ui/run-pass/issues/issue-29071.rs +++ b/src/test/ui/run-pass/issues/issue-29071.rs @@ -7,6 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass + fn ret() -> u32 { static x: u32 = 10; x & if true { 10u32 } else { 20u32 } & x diff --git a/src/test/ui/run-pass/issues/issue-29092.rs b/src/test/ui/run-pass/issues/issue-29092.rs index c55cc91cc92..3517f016675 100644 --- a/src/test/ui/run-pass/issues/issue-29092.rs +++ b/src/test/ui/run-pass/issues/issue-29092.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for Issue #29092. // // (Possibly redundant with regression test run-pass/issue-30530.rs) diff --git a/src/test/ui/run-pass/issues/issue-29147.rs b/src/test/ui/run-pass/issues/issue-29147.rs index 026b98905d0..93ff713eafe 100644 --- a/src/test/ui/run-pass/issues/issue-29147.rs +++ b/src/test/ui/run-pass/issues/issue-29147.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![recursion_limit="1024"] use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-29166.rs b/src/test/ui/run-pass/issues/issue-29166.rs index 193f977ff99..1cc2c7a8893 100644 --- a/src/test/ui/run-pass/issues/issue-29166.rs +++ b/src/test/ui/run-pass/issues/issue-29166.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test ensures that vec.into_iter does not overconstrain element lifetime. pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-29227.rs b/src/test/ui/run-pass/issues/issue-29227.rs index 7e27f7093ad..a33bb698634 100644 --- a/src/test/ui/run-pass/issues/issue-29227.rs +++ b/src/test/ui/run-pass/issues/issue-29227.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-tidy-linelength // Regression test for #29227. The problem here was that MIR diff --git a/src/test/ui/run-pass/issues/issue-29276.rs b/src/test/ui/run-pass/issues/issue-29276.rs index 393b2226031..6797dbc31c1 100644 --- a/src/test/ui/run-pass/issues/issue-29276.rs +++ b/src/test/ui/run-pass/issues/issue-29276.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S([u8; { struct Z; 0 }]); fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-2935.rs b/src/test/ui/run-pass/issues/issue-2935.rs index b2ea183e9f8..5cd821c876e 100644 --- a/src/test/ui/run-pass/issues/issue-2935.rs +++ b/src/test/ui/run-pass/issues/issue-2935.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] //type t = { a: isize }; diff --git a/src/test/ui/run-pass/issues/issue-2936.rs b/src/test/ui/run-pass/issues/issue-2936.rs index c277073a79d..d7677a97135 100644 --- a/src/test/ui/run-pass/issues/issue-2936.rs +++ b/src/test/ui/run-pass/issues/issue-2936.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait bar { fn get_bar(&self) -> T; diff --git a/src/test/ui/run-pass/issues/issue-29466.rs b/src/test/ui/run-pass/issues/issue-29466.rs index 9e7b7346722..1c8fc88f8f2 100644 --- a/src/test/ui/run-pass/issues/issue-29466.rs +++ b/src/test/ui/run-pass/issues/issue-29466.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m( ($e1:expr => $e2:expr) => ({ $e1 }) ); diff --git a/src/test/ui/run-pass/issues/issue-29485.rs b/src/test/ui/run-pass/issues/issue-29485.rs index 828b495d408..67725b02ded 100644 --- a/src/test/ui/run-pass/issues/issue-29485.rs +++ b/src/test/ui/run-pass/issues/issue-29485.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-29485.rs // ignore-emscripten no threads diff --git a/src/test/ui/run-pass/issues/issue-29488.rs b/src/test/ui/run-pass/issues/issue-29488.rs index 17a6e9bd6b2..d9d53ceaaeb 100644 --- a/src/test/ui/run-pass/issues/issue-29488.rs +++ b/src/test/ui/run-pass/issues/issue-29488.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/issues/issue-29516.rs b/src/test/ui/run-pass/issues/issue-29516.rs index 465986583b1..55caa65f1cf 100644 --- a/src/test/ui/run-pass/issues/issue-29516.rs +++ b/src/test/ui/run-pass/issues/issue-29516.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(optin_builtin_traits)] auto trait NotSame {} diff --git a/src/test/ui/run-pass/issues/issue-29522.rs b/src/test/ui/run-pass/issues/issue-29522.rs index de7c7aee055..9d5a12dadbe 100644 --- a/src/test/ui/run-pass/issues/issue-29522.rs +++ b/src/test/ui/run-pass/issues/issue-29522.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that we don't accidentally capture upvars just because their name // occurs in a path diff --git a/src/test/ui/run-pass/issues/issue-29540.rs b/src/test/ui/run-pass/issues/issue-29540.rs index 285cf5763cc..7e01efcd05f 100644 --- a/src/test/ui/run-pass/issues/issue-29540.rs +++ b/src/test/ui/run-pass/issues/issue-29540.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] pub struct Config { pub name: String, diff --git a/src/test/ui/run-pass/issues/issue-29663.rs b/src/test/ui/run-pass/issues/issue-29663.rs index 9a77be049fe..0dd0614b83c 100644 --- a/src/test/ui/run-pass/issues/issue-29663.rs +++ b/src/test/ui/run-pass/issues/issue-29663.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // write_volatile causes an LLVM assert with composite types #![feature(volatile)] diff --git a/src/test/ui/run-pass/issues/issue-29668.rs b/src/test/ui/run-pass/issues/issue-29668.rs index be785de44d1..f10152b29c9 100644 --- a/src/test/ui/run-pass/issues/issue-29668.rs +++ b/src/test/ui/run-pass/issues/issue-29668.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Functions can return unnameable types mod m1 { diff --git a/src/test/ui/run-pass/issues/issue-29710.rs b/src/test/ui/run-pass/issues/issue-29710.rs index f4cfb7e3af8..fa768340b71 100644 --- a/src/test/ui/run-pass/issues/issue-29710.rs +++ b/src/test/ui/run-pass/issues/issue-29710.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(unused_results)] #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-29740.rs b/src/test/ui/run-pass/issues/issue-29740.rs index eb7b740db6e..854b4aa66d1 100644 --- a/src/test/ui/run-pass/issues/issue-29740.rs +++ b/src/test/ui/run-pass/issues/issue-29740.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #29740. Inefficient MIR matching algorithms // generated way too much code for this sort of case, leading to OOM. diff --git a/src/test/ui/run-pass/issues/issue-29746.rs b/src/test/ui/run-pass/issues/issue-29746.rs index d4463fed1a6..c2072ddddce 100644 --- a/src/test/ui/run-pass/issues/issue-29746.rs +++ b/src/test/ui/run-pass/issues/issue-29746.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // zip!(a1,a2,a3,a4) is equivalent to: // a1.zip(a2).zip(a3).zip(a4).map(|(((x1,x2),x3),x4)| (x1,x2,x3,x4)) macro_rules! zip { diff --git a/src/test/ui/run-pass/issues/issue-29844.rs b/src/test/ui/run-pass/issues/issue-29844.rs index 51df4d60f04..0a17b708fcf 100644 --- a/src/test/ui/run-pass/issues/issue-29844.rs +++ b/src/test/ui/run-pass/issues/issue-29844.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::Arc; pub struct DescriptorSet<'a> { diff --git a/src/test/ui/run-pass/issues/issue-2989.rs b/src/test/ui/run-pass/issues/issue-2989.rs index a4342f33402..7122467de29 100644 --- a/src/test/ui/run-pass/issues/issue-2989.rs +++ b/src/test/ui/run-pass/issues/issue-2989.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait methods { fn to_bytes(&self) -> Vec ; } diff --git a/src/test/ui/run-pass/issues/issue-29914-2.rs b/src/test/ui/run-pass/issues/issue-29914-2.rs index fe0a6cf2880..e3b9aa1afae 100644 --- a/src/test/ui/run-pass/issues/issue-29914-2.rs +++ b/src/test/ui/run-pass/issues/issue-29914-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const ARR: [usize; 5] = [5, 4, 3, 2, 1]; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-29914-3.rs b/src/test/ui/run-pass/issues/issue-29914-3.rs index 3a02764164c..1d54e068a72 100644 --- a/src/test/ui/run-pass/issues/issue-29914-3.rs +++ b/src/test/ui/run-pass/issues/issue-29914-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const ARR: [usize; 5] = [5, 4, 3, 2, 1]; const BLA: usize = ARR[ARR[3]]; diff --git a/src/test/ui/run-pass/issues/issue-29914.rs b/src/test/ui/run-pass/issues/issue-29914.rs index bb933f0e422..2fb63820ded 100644 --- a/src/test/ui/run-pass/issues/issue-29914.rs +++ b/src/test/ui/run-pass/issues/issue-29914.rs @@ -7,6 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass + #![feature(const_indexing)] const ARR: [usize; 5] = [5, 4, 3, 2, 1]; diff --git a/src/test/ui/run-pass/issues/issue-29927.rs b/src/test/ui/run-pass/issues/issue-29927.rs index 3079d9de3c2..4eab938609f 100644 --- a/src/test/ui/run-pass/issues/issue-29927.rs +++ b/src/test/ui/run-pass/issues/issue-29927.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] struct A { field: usize, diff --git a/src/test/ui/run-pass/issues/issue-29948.rs b/src/test/ui/run-pass/issues/issue-29948.rs index 3a7e9ba93e1..2beaaec55a1 100644 --- a/src/test/ui/run-pass/issues/issue-29948.rs +++ b/src/test/ui/run-pass/issues/issue-29948.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default use std::panic; diff --git a/src/test/ui/run-pass/issues/issue-30018-nopanic.rs b/src/test/ui/run-pass/issues/issue-30018-nopanic.rs index 25eff9def9d..bb94d4f8517 100644 --- a/src/test/ui/run-pass/issues/issue-30018-nopanic.rs +++ b/src/test/ui/run-pass/issues/issue-30018-nopanic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // More thorough regression test for Issues #30018 and #30822. This // attempts to explore different ways that array element construction // (for both scratch arrays and non-scratch ones) interacts with diff --git a/src/test/ui/run-pass/issues/issue-30018-panic.rs b/src/test/ui/run-pass/issues/issue-30018-panic.rs index e39ffb87425..0922cfb9c21 100644 --- a/src/test/ui/run-pass/issues/issue-30018-panic.rs +++ b/src/test/ui/run-pass/issues/issue-30018-panic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for Issue #30018. This is very similar to the // original reported test, except that the panic is wrapped in a // spawned thread to isolate the expected error result from the diff --git a/src/test/ui/run-pass/issues/issue-30081.rs b/src/test/ui/run-pass/issues/issue-30081.rs index 13e9daa7883..b866f7f8f33 100644 --- a/src/test/ui/run-pass/issues/issue-30081.rs +++ b/src/test/ui/run-pass/issues/issue-30081.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This used to segfault #30081 pub enum Instruction { diff --git a/src/test/ui/run-pass/issues/issue-3012-2.rs b/src/test/ui/run-pass/issues/issue-3012-2.rs index bcf8a918091..1a64d6bb9ae 100644 --- a/src/test/ui/run-pass/issues/issue-3012-2.rs +++ b/src/test/ui/run-pass/issues/issue-3012-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-3012-1.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-30240.rs b/src/test/ui/run-pass/issues/issue-30240.rs index 3be661ce35e..c18a821c0e8 100644 --- a/src/test/ui/run-pass/issues/issue-30240.rs +++ b/src/test/ui/run-pass/issues/issue-30240.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let &ref a = &[0i32] as &[_]; assert_eq!(a, &[0i32] as &[_]); diff --git a/src/test/ui/run-pass/issues/issue-3026.rs b/src/test/ui/run-pass/issues/issue-3026.rs index 7c0dc8a0048..dcd1572c1a4 100644 --- a/src/test/ui/run-pass/issues/issue-3026.rs +++ b/src/test/ui/run-pass/issues/issue-3026.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-3037.rs b/src/test/ui/run-pass/issues/issue-3037.rs index 83a522a69e3..f070c48e1b5 100644 --- a/src/test/ui/run-pass/issues/issue-3037.rs +++ b/src/test/ui/run-pass/issues/issue-3037.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum what { } diff --git a/src/test/ui/run-pass/issues/issue-30371.rs b/src/test/ui/run-pass/issues/issue-30371.rs index a4ab475e9ea..f95d442c1b9 100644 --- a/src/test/ui/run-pass/issues/issue-30371.rs +++ b/src/test/ui/run-pass/issues/issue-30371.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(unused_variables)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-30490.rs b/src/test/ui/run-pass/issues/issue-30490.rs index 633bd53864d..500999cc1cf 100644 --- a/src/test/ui/run-pass/issues/issue-30490.rs +++ b/src/test/ui/run-pass/issues/issue-30490.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-3052.rs b/src/test/ui/run-pass/issues/issue-3052.rs index 3b56b2e28ff..6c2d3899bf3 100644 --- a/src/test/ui/run-pass/issues/issue-3052.rs +++ b/src/test/ui/run-pass/issues/issue-3052.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 type Connection = Box) + 'static>; diff --git a/src/test/ui/run-pass/issues/issue-30530.rs b/src/test/ui/run-pass/issues/issue-30530.rs index d5139c908bd..0e25d72ed88 100644 --- a/src/test/ui/run-pass/issues/issue-30530.rs +++ b/src/test/ui/run-pass/issues/issue-30530.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for Issue #30530: alloca's created for storing // intermediate scratch values during brace-less match arms need to be // initialized with their drop-flag set to "dropped" (or else we end diff --git a/src/test/ui/run-pass/issues/issue-30615.rs b/src/test/ui/run-pass/issues/issue-30615.rs index a26509d1982..28a21adbd29 100644 --- a/src/test/ui/run-pass/issues/issue-30615.rs +++ b/src/test/ui/run-pass/issues/issue-30615.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { &0u8 as *const u8 as *const PartialEq; &[0u8] as *const [u8; 1] as *const [u8]; diff --git a/src/test/ui/run-pass/issues/issue-30756.rs b/src/test/ui/run-pass/issues/issue-30756.rs index 621607e5f6f..6ed0d441b93 100644 --- a/src/test/ui/run-pass/issues/issue-30756.rs +++ b/src/test/ui/run-pass/issues/issue-30756.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![forbid(unsafe_code)] thread_local!(static FOO: u8 = 1); diff --git a/src/test/ui/run-pass/issues/issue-30891.rs b/src/test/ui/run-pass/issues/issue-30891.rs index 622e5fa544e..0ec42d44902 100644 --- a/src/test/ui/run-pass/issues/issue-30891.rs +++ b/src/test/ui/run-pass/issues/issue-30891.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const ERROR_CONST: bool = true; fn get() -> bool { diff --git a/src/test/ui/run-pass/issues/issue-3091.rs b/src/test/ui/run-pass/issues/issue-3091.rs index c67399a89e9..c6103bf017f 100644 --- a/src/test/ui/run-pass/issues/issue-3091.rs +++ b/src/test/ui/run-pass/issues/issue-3091.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = 1; diff --git a/src/test/ui/run-pass/issues/issue-3109.rs b/src/test/ui/run-pass/issues/issue-3109.rs index dc22ebce804..6017a9ffbe6 100644 --- a/src/test/ui/run-pass/issues/issue-3109.rs +++ b/src/test/ui/run-pass/issues/issue-3109.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { println!("{:?}", ("hi there!", "you")); } diff --git a/src/test/ui/run-pass/issues/issue-3121.rs b/src/test/ui/run-pass/issues/issue-3121.rs index a0bdcf18ec5..5d8e2a12658 100644 --- a/src/test/ui/run-pass/issues/issue-3121.rs +++ b/src/test/ui/run-pass/issues/issue-3121.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/issues/issue-31260.rs b/src/test/ui/run-pass/issues/issue-31260.rs index d21ffb96bef..6b31a1ac996 100644 --- a/src/test/ui/run-pass/issues/issue-31260.rs +++ b/src/test/ui/run-pass/issues/issue-31260.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Struct { pub field: K, } diff --git a/src/test/ui/run-pass/issues/issue-31267-additional.rs b/src/test/ui/run-pass/issues/issue-31267-additional.rs index 06ab310f6d2..d07cd8e2a77 100644 --- a/src/test/ui/run-pass/issues/issue-31267-additional.rs +++ b/src/test/ui/run-pass/issues/issue-31267-additional.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Clone, Copy, Debug)] struct Bar; diff --git a/src/test/ui/run-pass/issues/issue-31267.rs b/src/test/ui/run-pass/issues/issue-31267.rs index 9cbdde40491..761ef1f89ff 100644 --- a/src/test/ui/run-pass/issues/issue-31267.rs +++ b/src/test/ui/run-pass/issues/issue-31267.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #31267 diff --git a/src/test/ui/run-pass/issues/issue-31299.rs b/src/test/ui/run-pass/issues/issue-31299.rs index 6c04e66068e..6d3be955577 100644 --- a/src/test/ui/run-pass/issues/issue-31299.rs +++ b/src/test/ui/run-pass/issues/issue-31299.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #31299. This was generating an overflow error // because of eager normalization: // diff --git a/src/test/ui/run-pass/issues/issue-3149.rs b/src/test/ui/run-pass/issues/issue-3149.rs index fa33bd8fce8..bdc26064e90 100644 --- a/src/test/ui/run-pass/issues/issue-3149.rs +++ b/src/test/ui/run-pass/issues/issue-3149.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn Matrix4(m11: T, m12: T, m13: T, m14: T, diff --git a/src/test/ui/run-pass/issues/issue-31597.rs b/src/test/ui/run-pass/issues/issue-31597.rs index 9acd6384b75..50aefb7d870 100644 --- a/src/test/ui/run-pass/issues/issue-31597.rs +++ b/src/test/ui/run-pass/issues/issue-31597.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Make { type Out; diff --git a/src/test/ui/run-pass/issues/issue-31702.rs b/src/test/ui/run-pass/issues/issue-31702.rs index 334c1b2a28b..8ce06e8d343 100644 --- a/src/test/ui/run-pass/issues/issue-31702.rs +++ b/src/test/ui/run-pass/issues/issue-31702.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-31702-1.rs // aux-build:issue-31702-2.rs // ignore-test: FIXME(#31702) when this test was added it was thought that the diff --git a/src/test/ui/run-pass/issues/issue-31776.rs b/src/test/ui/run-pass/issues/issue-31776.rs index 0f1f6290a25..db866b86a2a 100644 --- a/src/test/ui/run-pass/issues/issue-31776.rs +++ b/src/test/ui/run-pass/issues/issue-31776.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Various scenarios in which `pub` is required in blocks struct S; diff --git a/src/test/ui/run-pass/issues/issue-32008.rs b/src/test/ui/run-pass/issues/issue-32008.rs index 95890d2e1b4..7fccf09bdaa 100644 --- a/src/test/ui/run-pass/issues/issue-32008.rs +++ b/src/test/ui/run-pass/issues/issue-32008.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that binary operators allow subtyping on both the LHS and RHS, // and as such do not introduce unnecessarily strict lifetime constraints. diff --git a/src/test/ui/run-pass/issues/issue-3211.rs b/src/test/ui/run-pass/issues/issue-3211.rs index 28c9bf1e83a..8f90b710dae 100644 --- a/src/test/ui/run-pass/issues/issue-3211.rs +++ b/src/test/ui/run-pass/issues/issue-3211.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut x = 0; for _ in 0..4096 { x += 1; } diff --git a/src/test/ui/run-pass/issues/issue-3220.rs b/src/test/ui/run-pass/issues/issue-3220.rs index 0a37a013037..359e1d9b345 100644 --- a/src/test/ui/run-pass/issues/issue-3220.rs +++ b/src/test/ui/run-pass/issues/issue-3220.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct thing { x: isize, } diff --git a/src/test/ui/run-pass/issues/issue-32292.rs b/src/test/ui/run-pass/issues/issue-32292.rs index ed319b1391d..856b7e2382b 100644 --- a/src/test/ui/run-pass/issues/issue-32292.rs +++ b/src/test/ui/run-pass/issues/issue-32292.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(warnings)] #[derive(Hash, Ord, PartialOrd, Eq, PartialEq, Debug, Clone, Copy)] diff --git a/src/test/ui/run-pass/issues/issue-32324.rs b/src/test/ui/run-pass/issues/issue-32324.rs index ca9dd6ada80..483ddaeb957 100644 --- a/src/test/ui/run-pass/issues/issue-32324.rs +++ b/src/test/ui/run-pass/issues/issue-32324.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] trait Resources { diff --git a/src/test/ui/run-pass/issues/issue-32389.rs b/src/test/ui/run-pass/issues/issue-32389.rs index 2f6cfb61205..31e4a5c9e47 100644 --- a/src/test/ui/run-pass/issues/issue-32389.rs +++ b/src/test/ui/run-pass/issues/issue-32389.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo() -> T { loop {} } fn test() { diff --git a/src/test/ui/run-pass/issues/issue-32518.rs b/src/test/ui/run-pass/issues/issue-32518.rs index 386d3e6524c..bc8b11d3e66 100644 --- a/src/test/ui/run-pass/issues/issue-32518.rs +++ b/src/test/ui/run-pass/issues/issue-32518.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // no-prefer-dynamic // aux-build:cgu_test.rs // aux-build:cgu_test_a.rs diff --git a/src/test/ui/run-pass/issues/issue-32805.rs b/src/test/ui/run-pass/issues/issue-32805.rs index b7ff63b75ce..4c68bed4b05 100644 --- a/src/test/ui/run-pass/issues/issue-32805.rs +++ b/src/test/ui/run-pass/issues/issue-32805.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn const_mir() -> f32 { 9007199791611905.0 } fn main() { diff --git a/src/test/ui/run-pass/issues/issue-3290.rs b/src/test/ui/run-pass/issues/issue-3290.rs index 6c775e15fb5..02f27cbf483 100644 --- a/src/test/ui/run-pass/issues/issue-3290.rs +++ b/src/test/ui/run-pass/issues/issue-3290.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-32947.rs b/src/test/ui/run-pass/issues/issue-32947.rs index d059a46b4df..9b00a09338e 100644 --- a/src/test/ui/run-pass/issues/issue-32947.rs +++ b/src/test/ui/run-pass/issues/issue-32947.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) #![feature(repr_simd, test)] diff --git a/src/test/ui/run-pass/issues/issue-33096.rs b/src/test/ui/run-pass/issues/issue-33096.rs index c3cf008c825..f89295c0627 100644 --- a/src/test/ui/run-pass/issues/issue-33096.rs +++ b/src/test/ui/run-pass/issues/issue-33096.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -g use std::ops::Deref; diff --git a/src/test/ui/run-pass/issues/issue-33185.rs b/src/test/ui/run-pass/issues/issue-33185.rs index f12e65323bc..6268454658f 100644 --- a/src/test/ui/run-pass/issues/issue-33185.rs +++ b/src/test/ui/run-pass/issues/issue-33185.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] #[macro_export] diff --git a/src/test/ui/run-pass/issues/issue-33187.rs b/src/test/ui/run-pass/issues/issue-33187.rs index 477112ab3c5..a998a953b06 100644 --- a/src/test/ui/run-pass/issues/issue-33187.rs +++ b/src/test/ui/run-pass/issues/issue-33187.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo(::Data); impl Copy for Foo where ::Data: Copy { } diff --git a/src/test/ui/run-pass/issues/issue-33202.rs b/src/test/ui/run-pass/issues/issue-33202.rs index eb4192942f5..1101861c09e 100644 --- a/src/test/ui/run-pass/issues/issue-33202.rs +++ b/src/test/ui/run-pass/issues/issue-33202.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[repr(C)] pub enum CPOption { PSome(T), diff --git a/src/test/ui/run-pass/issues/issue-33264.rs b/src/test/ui/run-pass/issues/issue-33264.rs index cb4b227548a..1c0ad2a659e 100644 --- a/src/test/ui/run-pass/issues/issue-33264.rs +++ b/src/test/ui/run-pass/issues/issue-33264.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // only-x86_64 #![allow(dead_code, non_upper_case_globals)] diff --git a/src/test/ui/run-pass/issues/issue-33287.rs b/src/test/ui/run-pass/issues/issue-33287.rs index a2021e0e527..e99c53caa87 100644 --- a/src/test/ui/run-pass/issues/issue-33287.rs +++ b/src/test/ui/run-pass/issues/issue-33287.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const A: [u32; 1] = [0]; fn test() { diff --git a/src/test/ui/run-pass/issues/issue-333.rs b/src/test/ui/run-pass/issues/issue-333.rs index bdd0a535303..4c47ab77a48 100644 --- a/src/test/ui/run-pass/issues/issue-333.rs +++ b/src/test/ui/run-pass/issues/issue-333.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn quux(x: T) -> T { let f = id::; return f(x); } diff --git a/src/test/ui/run-pass/issues/issue-33387.rs b/src/test/ui/run-pass/issues/issue-33387.rs index d30e88b3968..def4059b9df 100644 --- a/src/test/ui/run-pass/issues/issue-33387.rs +++ b/src/test/ui/run-pass/issues/issue-33387.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(rustc_attrs)] use std::sync::Arc; diff --git a/src/test/ui/run-pass/issues/issue-33461.rs b/src/test/ui/run-pass/issues/issue-33461.rs index ac7f7ff4229..17938a38474 100644 --- a/src/test/ui/run-pass/issues/issue-33461.rs +++ b/src/test/ui/run-pass/issues/issue-33461.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::marker::PhantomData; struct TheType { diff --git a/src/test/ui/run-pass/issues/issue-33498.rs b/src/test/ui/run-pass/issues/issue-33498.rs index 9b4e1918bae..e7e89083032 100644 --- a/src/test/ui/run-pass/issues/issue-33498.rs +++ b/src/test/ui/run-pass/issues/issue-33498.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let x = (0, 2); diff --git a/src/test/ui/run-pass/issues/issue-33537.rs b/src/test/ui/run-pass/issues/issue-33537.rs index 7be79f3a450..3ef1595b958 100644 --- a/src/test/ui/run-pass/issues/issue-33537.rs +++ b/src/test/ui/run-pass/issues/issue-33537.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] const fn foo() -> *const i8 { diff --git a/src/test/ui/run-pass/issues/issue-33687.rs b/src/test/ui/run-pass/issues/issue-33687.rs index 59badca065a..e6841595916 100644 --- a/src/test/ui/run-pass/issues/issue-33687.rs +++ b/src/test/ui/run-pass/issues/issue-33687.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unboxed_closures)] #![feature(fn_traits)] diff --git a/src/test/ui/run-pass/issues/issue-33770.rs b/src/test/ui/run-pass/issues/issue-33770.rs index 7fad2b3e4a2..5d1de986b47 100644 --- a/src/test/ui/run-pass/issues/issue-33770.rs +++ b/src/test/ui/run-pass/issues/issue-33770.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/issues/issue-3389.rs b/src/test/ui/run-pass/issues/issue-3389.rs index 70e3484a0c5..97829fb9687 100644 --- a/src/test/ui/run-pass/issues/issue-3389.rs +++ b/src/test/ui/run-pass/issues/issue-3389.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct trie_node { content: Vec , diff --git a/src/test/ui/run-pass/issues/issue-33903.rs b/src/test/ui/run-pass/issues/issue-33903.rs index 3bc0f7a0fde..df2f5e3e7a0 100644 --- a/src/test/ui/run-pass/issues/issue-33903.rs +++ b/src/test/ui/run-pass/issues/issue-33903.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 33903: // Built-in indexing should be used even when the index is not // trivially an integer diff --git a/src/test/ui/run-pass/issues/issue-33992.rs b/src/test/ui/run-pass/issues/issue-33992.rs index 98da7d46b1a..d10c11644d5 100644 --- a/src/test/ui/run-pass/issues/issue-33992.rs +++ b/src/test/ui/run-pass/issues/issue-33992.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-windows // ignore-macos diff --git a/src/test/ui/run-pass/issues/issue-34053.rs b/src/test/ui/run-pass/issues/issue-34053.rs index 81c45524147..fb6417ee870 100644 --- a/src/test/ui/run-pass/issues/issue-34053.rs +++ b/src/test/ui/run-pass/issues/issue-34053.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; static DROP_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; diff --git a/src/test/ui/run-pass/issues/issue-34074.rs b/src/test/ui/run-pass/issues/issue-34074.rs index 17d2bee7466..3f64cfd2e58 100644 --- a/src/test/ui/run-pass/issues/issue-34074.rs +++ b/src/test/ui/run-pass/issues/issue-34074.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Make sure several unnamed function parameters don't conflict with each other trait Tr { diff --git a/src/test/ui/run-pass/issues/issue-34194.rs b/src/test/ui/run-pass/issues/issue-34194.rs index e1aef899619..dfc0a34651a 100644 --- a/src/test/ui/run-pass/issues/issue-34194.rs +++ b/src/test/ui/run-pass/issues/issue-34194.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] struct A { diff --git a/src/test/ui/run-pass/issues/issue-3424.rs b/src/test/ui/run-pass/issues/issue-3424.rs index 74e58f31e23..4887f3f08ae 100644 --- a/src/test/ui/run-pass/issues/issue-3424.rs +++ b/src/test/ui/run-pass/issues/issue-3424.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // rustc --test ignores2.rs && ./ignores2 pub struct Path; diff --git a/src/test/ui/run-pass/issues/issue-3429.rs b/src/test/ui/run-pass/issues/issue-3429.rs index 325a3ec7151..d6bc8739377 100644 --- a/src/test/ui/run-pass/issues/issue-3429.rs +++ b/src/test/ui/run-pass/issues/issue-3429.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-34427.rs b/src/test/ui/run-pass/issues/issue-34427.rs index 6bf8a2ac6a7..b43e9ff8b52 100644 --- a/src/test/ui/run-pass/issues/issue-34427.rs +++ b/src/test/ui/run-pass/issues/issue-34427.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #34427: On ARM, the code in `foo` at one time was generating // a machine code instruction of the form: `str r0, [r0, rN]!` (for // some N), which is not legal because the source register and base diff --git a/src/test/ui/run-pass/issues/issue-3447.rs b/src/test/ui/run-pass/issues/issue-3447.rs index 1558d94bae7..7e263ef5ed2 100644 --- a/src/test/ui/run-pass/issues/issue-3447.rs +++ b/src/test/ui/run-pass/issues/issue-3447.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::cell::RefCell; diff --git a/src/test/ui/run-pass/issues/issue-34503.rs b/src/test/ui/run-pass/issues/issue-34503.rs index e6217243eeb..b470518fd43 100644 --- a/src/test/ui/run-pass/issues/issue-34503.rs +++ b/src/test/ui/run-pass/issues/issue-34503.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { struct X; trait Foo { diff --git a/src/test/ui/run-pass/issues/issue-34569.rs b/src/test/ui/run-pass/issues/issue-34569.rs index 5c7c5a2b3b9..1bdd56b15ab 100644 --- a/src/test/ui/run-pass/issues/issue-34569.rs +++ b/src/test/ui/run-pass/issues/issue-34569.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:-g // In this test we just want to make sure that the code below does not lead to diff --git a/src/test/ui/run-pass/issues/issue-34571.rs b/src/test/ui/run-pass/issues/issue-34571.rs index 7d804156576..dbb85007be8 100644 --- a/src/test/ui/run-pass/issues/issue-34571.rs +++ b/src/test/ui/run-pass/issues/issue-34571.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[repr(u8)] enum Foo { Foo(u8), diff --git a/src/test/ui/run-pass/issues/issue-34751.rs b/src/test/ui/run-pass/issues/issue-34751.rs index d4cea506f73..382212a1908 100644 --- a/src/test/ui/run-pass/issues/issue-34751.rs +++ b/src/test/ui/run-pass/issues/issue-34751.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #34751 ICE: 'rustc' panicked at 'assertion failed: !substs.has_regions_escaping_depth(0)' #[allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-34780.rs b/src/test/ui/run-pass/issues/issue-34780.rs index eda4ebb7132..5f06cecec0e 100644 --- a/src/test/ui/run-pass/issues/issue-34780.rs +++ b/src/test/ui/run-pass/issues/issue-34780.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(associated_consts)] use std::marker::PhantomData; diff --git a/src/test/ui/run-pass/issues/issue-34784.rs b/src/test/ui/run-pass/issues/issue-34784.rs index c9a214e0ced..0a6a25c41d5 100644 --- a/src/test/ui/run-pass/issues/issue-34784.rs +++ b/src/test/ui/run-pass/issues/issue-34784.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const C: *const u8 = &0; fn foo(x: *const u8) { diff --git a/src/test/ui/run-pass/issues/issue-34796.rs b/src/test/ui/run-pass/issues/issue-34796.rs index 0fb6ccc0dc8..ea9172ae483 100644 --- a/src/test/ui/run-pass/issues/issue-34796.rs +++ b/src/test/ui/run-pass/issues/issue-34796.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test case exposes conditions where the encoding of a trait object type // with projection predicates would differ between this crate and the upstream // crate, because the predicates were encoded in different order within each diff --git a/src/test/ui/run-pass/issues/issue-34798.rs b/src/test/ui/run-pass/issues/issue-34798.rs index e217d07ed72..33e78be4889 100644 --- a/src/test/ui/run-pass/issues/issue-34798.rs +++ b/src/test/ui/run-pass/issues/issue-34798.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![forbid(improper_ctypes)] #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-34932.rs b/src/test/ui/run-pass/issues/issue-34932.rs index dca387dcc21..8f249c32110 100644 --- a/src/test/ui/run-pass/issues/issue-34932.rs +++ b/src/test/ui/run-pass/issues/issue-34932.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--test // rustc-env:RUSTC_BOOTSTRAP_KEY= #![cfg(any())] // This test should be configured away diff --git a/src/test/ui/run-pass/issues/issue-3500.rs b/src/test/ui/run-pass/issues/issue-3500.rs index f1d9f888b08..c4d3255cd30 100644 --- a/src/test/ui/run-pass/issues/issue-3500.rs +++ b/src/test/ui/run-pass/issues/issue-3500.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-35376.rs b/src/test/ui/run-pass/issues/issue-35376.rs index 9e4eb84edc6..ee8c6c9f35c 100644 --- a/src/test/ui/run-pass/issues/issue-35376.rs +++ b/src/test/ui/run-pass/issues/issue-35376.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(specialization)] fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-35423.rs b/src/test/ui/run-pass/issues/issue-35423.rs index 34cb2930db0..969925679fa 100644 --- a/src/test/ui/run-pass/issues/issue-35423.rs +++ b/src/test/ui/run-pass/issues/issue-35423.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main () { let x = 4; match x { diff --git a/src/test/ui/run-pass/issues/issue-35546.rs b/src/test/ui/run-pass/issues/issue-35546.rs index e8d14f1d421..9c39941232f 100644 --- a/src/test/ui/run-pass/issues/issue-35546.rs +++ b/src/test/ui/run-pass/issues/issue-35546.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #35546. Check that we are able to codegen // this. Before we had problems because of the drop glue signature // around dropping a trait object (specifically, when dropping the diff --git a/src/test/ui/run-pass/issues/issue-3556.rs b/src/test/ui/run-pass/issues/issue-3556.rs index e6b577ada0c..b71d94adfeb 100644 --- a/src/test/ui/run-pass/issues/issue-3556.rs +++ b/src/test/ui/run-pass/issues/issue-3556.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] enum Token { diff --git a/src/test/ui/run-pass/issues/issue-3559.rs b/src/test/ui/run-pass/issues/issue-3559.rs index 64f053d9a8c..8ca001691bb 100644 --- a/src/test/ui/run-pass/issues/issue-3559.rs +++ b/src/test/ui/run-pass/issues/issue-3559.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashMap; fn check_strs(actual: &str, expected: &str) -> bool { diff --git a/src/test/ui/run-pass/issues/issue-35600.rs b/src/test/ui/run-pass/issues/issue-35600.rs index 88358eff08d..1083aa808cb 100644 --- a/src/test/ui/run-pass/issues/issue-35600.rs +++ b/src/test/ui/run-pass/issues/issue-35600.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { type bar; fn bar(); diff --git a/src/test/ui/run-pass/issues/issue-3563-2.rs b/src/test/ui/run-pass/issues/issue-3563-2.rs index 65c21317cf2..534bec59018 100644 --- a/src/test/ui/run-pass/issues/issue-3563-2.rs +++ b/src/test/ui/run-pass/issues/issue-3563-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Canvas { diff --git a/src/test/ui/run-pass/issues/issue-3563-3.rs b/src/test/ui/run-pass/issues/issue-3563-3.rs index 56208d08779..ebd86331d43 100644 --- a/src/test/ui/run-pass/issues/issue-3563-3.rs +++ b/src/test/ui/run-pass/issues/issue-3563-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ASCII art shape renderer. Demonstrates traits, impls, operator overloading, // non-copyable struct, unit testing. To run execute: rustc --test shapes.rs && // ./shapes diff --git a/src/test/ui/run-pass/issues/issue-3574.rs b/src/test/ui/run-pass/issues/issue-3574.rs index 9aac52fa2f8..1b5f80031b7 100644 --- a/src/test/ui/run-pass/issues/issue-3574.rs +++ b/src/test/ui/run-pass/issues/issue-3574.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // rustc --test match_borrowed_str.rs.rs && ./match_borrowed_str.rs diff --git a/src/test/ui/run-pass/issues/issue-35815.rs b/src/test/ui/run-pass/issues/issue-35815.rs index 61954292650..62bd6aa37fd 100644 --- a/src/test/ui/run-pass/issues/issue-35815.rs +++ b/src/test/ui/run-pass/issues/issue-35815.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; struct Foo { diff --git a/src/test/ui/run-pass/issues/issue-36023.rs b/src/test/ui/run-pass/issues/issue-36023.rs index f6c03b384f2..a654a813edf 100644 --- a/src/test/ui/run-pass/issues/issue-36023.rs +++ b/src/test/ui/run-pass/issues/issue-36023.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Deref; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-36036-associated-type-layout.rs b/src/test/ui/run-pass/issues/issue-36036-associated-type-layout.rs index 4ee3be0eb7b..772a936af86 100644 --- a/src/test/ui/run-pass/issues/issue-36036-associated-type-layout.rs +++ b/src/test/ui/run-pass/issues/issue-36036-associated-type-layout.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 36036: computing the layout of a type composed from another // trait's associated type caused compiler to ICE when the associated // type was allowed to be unsized, even though the known instantiated diff --git a/src/test/ui/run-pass/issues/issue-36053.rs b/src/test/ui/run-pass/issues/issue-36053.rs index ece58eedc56..3f1fa529d72 100644 --- a/src/test/ui/run-pass/issues/issue-36053.rs +++ b/src/test/ui/run-pass/issues/issue-36053.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #36053. ICE was caused due to obligations being // added to a special, dedicated fulfillment cx during a // probe. Problem seems to be related to the particular definition of diff --git a/src/test/ui/run-pass/issues/issue-36075.rs b/src/test/ui/run-pass/issues/issue-36075.rs index fe399e10c1c..e11d35669f5 100644 --- a/src/test/ui/run-pass/issues/issue-36075.rs +++ b/src/test/ui/run-pass/issues/issue-36075.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait DeclarationParser { type Declaration; } diff --git a/src/test/ui/run-pass/issues/issue-3609.rs b/src/test/ui/run-pass/issues/issue-3609.rs index f53053f2edc..384964188db 100644 --- a/src/test/ui/run-pass/issues/issue-3609.rs +++ b/src/test/ui/run-pass/issues/issue-3609.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::thread; use std::sync::mpsc::Sender; diff --git a/src/test/ui/run-pass/issues/issue-36139-normalize-closure-sig.rs b/src/test/ui/run-pass/issues/issue-36139-normalize-closure-sig.rs index adde0ed3066..04693f4e615 100644 --- a/src/test/ui/run-pass/issues/issue-36139-normalize-closure-sig.rs +++ b/src/test/ui/run-pass/issues/issue-36139-normalize-closure-sig.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Previously the closure's argument would be inferred to // >::Item, causing an error in MIR type // checking diff --git a/src/test/ui/run-pass/issues/issue-36260.rs b/src/test/ui/run-pass/issues/issue-36260.rs index 08dbbb5c9fe..052fd9d8477 100644 --- a/src/test/ui/run-pass/issues/issue-36260.rs +++ b/src/test/ui/run-pass/issues/issue-36260.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Make sure this compiles without getting a linker error because of missing // drop-glue because the collector missed adding drop-glue for the closure: diff --git a/src/test/ui/run-pass/issues/issue-36278-prefix-nesting.rs b/src/test/ui/run-pass/issues/issue-36278-prefix-nesting.rs index 95269d0569d..41c01db076e 100644 --- a/src/test/ui/run-pass/issues/issue-36278-prefix-nesting.rs +++ b/src/test/ui/run-pass/issues/issue-36278-prefix-nesting.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 36278: On an unsized struct with >1 level of nontrivial // nesting, ensure we are computing dynamic size of prefix correctly. diff --git a/src/test/ui/run-pass/issues/issue-36381.rs b/src/test/ui/run-pass/issues/issue-36381.rs index 2694c98dd91..e7e0dca4f64 100644 --- a/src/test/ui/run-pass/issues/issue-36381.rs +++ b/src/test/ui/run-pass/issues/issue-36381.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #36381. The monomorphization collector was asserting that // there are no projection types, but the `<&str as // StreamOnce>::Position` projection contained a late-bound region, diff --git a/src/test/ui/run-pass/issues/issue-36401.rs b/src/test/ui/run-pass/issues/issue-36401.rs index 7b08eba9e49..fb180a359dd 100644 --- a/src/test/ui/run-pass/issues/issue-36401.rs +++ b/src/test/ui/run-pass/issues/issue-36401.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] pub enum Event { Key(u8), diff --git a/src/test/ui/run-pass/issues/issue-36474.rs b/src/test/ui/run-pass/issues/issue-36474.rs index 025244ca664..cfb136c1157 100644 --- a/src/test/ui/run-pass/issues/issue-36474.rs +++ b/src/test/ui/run-pass/issues/issue-36474.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { remove_axis(&3, 0); } diff --git a/src/test/ui/run-pass/issues/issue-3656.rs b/src/test/ui/run-pass/issues/issue-3656.rs index c278dcef9dd..3807b369ce2 100644 --- a/src/test/ui/run-pass/issues/issue-3656.rs +++ b/src/test/ui/run-pass/issues/issue-3656.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #3656 // Incorrect struct size computation in the FFI, because of not taking // the alignment of elements into account. diff --git a/src/test/ui/run-pass/issues/issue-36744-bitcast-args-if-needed.rs b/src/test/ui/run-pass/issues/issue-36744-bitcast-args-if-needed.rs index 1859cc9ca00..4a566d94a50 100644 --- a/src/test/ui/run-pass/issues/issue-36744-bitcast-args-if-needed.rs +++ b/src/test/ui/run-pass/issues/issue-36744-bitcast-args-if-needed.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This tests for an ICE (and, if ignored, subsequent LLVM abort) when // a lifetime-parametric fn is passed into a context whose expected // type has a differing lifetime parameterization. diff --git a/src/test/ui/run-pass/issues/issue-36744-without-calls.rs b/src/test/ui/run-pass/issues/issue-36744-without-calls.rs index 1766edb06b4..ad54d6e403c 100644 --- a/src/test/ui/run-pass/issues/issue-36744-without-calls.rs +++ b/src/test/ui/run-pass/issues/issue-36744-without-calls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests for an LLVM abort when storing a lifetime-parametric fn into // context that is expecting one that is not lifetime-parametric // (i.e. has no `for <'_>`). diff --git a/src/test/ui/run-pass/issues/issue-36768.rs b/src/test/ui/run-pass/issues/issue-36768.rs index bb4d12919a1..c6a76b2ca13 100644 --- a/src/test/ui/run-pass/issues/issue-36768.rs +++ b/src/test/ui/run-pass/issues/issue-36768.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--test #![deny(private_in_public)] diff --git a/src/test/ui/run-pass/issues/issue-36786-resolve-call.rs b/src/test/ui/run-pass/issues/issue-36786-resolve-call.rs index 0d718c7ba46..51aa7906b94 100644 --- a/src/test/ui/run-pass/issues/issue-36786-resolve-call.rs +++ b/src/test/ui/run-pass/issues/issue-36786-resolve-call.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensure that types that rely on obligations are autoderefed // correctly diff --git a/src/test/ui/run-pass/issues/issue-36792.rs b/src/test/ui/run-pass/issues/issue-36792.rs index f2755ec3f84..91e76140b82 100644 --- a/src/test/ui/run-pass/issues/issue-36792.rs +++ b/src/test/ui/run-pass/issues/issue-36792.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo() -> impl Copy { foo } diff --git a/src/test/ui/run-pass/issues/issue-36816.rs b/src/test/ui/run-pass/issues/issue-36816.rs index 22f3a52b26e..292829b4d24 100644 --- a/src/test/ui/run-pass/issues/issue-36816.rs +++ b/src/test/ui/run-pass/issues/issue-36816.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m { () => { 1 } } macro_rules! n { () => { 1 + m!() } } diff --git a/src/test/ui/run-pass/issues/issue-3683.rs b/src/test/ui/run-pass/issues/issue-3683.rs index ed9b8066104..9b39577ec65 100644 --- a/src/test/ui/run-pass/issues/issue-3683.rs +++ b/src/test/ui/run-pass/issues/issue-3683.rs @@ -7,8 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// +// run-pass trait Foo { fn a(&self) -> isize; diff --git a/src/test/ui/run-pass/issues/issue-36856.rs b/src/test/ui/run-pass/issues/issue-36856.rs index 91a0dadd653..9aebb900183 100644 --- a/src/test/ui/run-pass/issues/issue-36856.rs +++ b/src/test/ui/run-pass/issues/issue-36856.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #36856. // compile-flags:-g diff --git a/src/test/ui/run-pass/issues/issue-36936.rs b/src/test/ui/run-pass/issues/issue-36936.rs index 34a9c291668..da187ac173d 100644 --- a/src/test/ui/run-pass/issues/issue-36936.rs +++ b/src/test/ui/run-pass/issues/issue-36936.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that casts are not being treated as lexprs. fn main() { diff --git a/src/test/ui/run-pass/issues/issue-36954.rs b/src/test/ui/run-pass/issues/issue-36954.rs index f8330ba99b7..d12e9e41ee6 100644 --- a/src/test/ui/run-pass/issues/issue-36954.rs +++ b/src/test/ui/run-pass/issues/issue-36954.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-36954.rs extern crate issue_36954 as lib; diff --git a/src/test/ui/run-pass/issues/issue-3702.rs b/src/test/ui/run-pass/issues/issue-3702.rs index 9c09b8cd1c7..5ca851f8b77 100644 --- a/src/test/ui/run-pass/issues/issue-3702.rs +++ b/src/test/ui/run-pass/issues/issue-3702.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { trait Text { diff --git a/src/test/ui/run-pass/issues/issue-37109.rs b/src/test/ui/run-pass/issues/issue-37109.rs index 1c893071d55..a683af9bbb2 100644 --- a/src/test/ui/run-pass/issues/issue-37109.rs +++ b/src/test/ui/run-pass/issues/issue-37109.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait ToRef<'a> { type Ref: 'a; } diff --git a/src/test/ui/run-pass/issues/issue-37175.rs b/src/test/ui/run-pass/issues/issue-37175.rs index 0d3613b573e..a51f829abd8 100644 --- a/src/test/ui/run-pass/issues/issue-37175.rs +++ b/src/test/ui/run-pass/issues/issue-37175.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m { (<$t:ty>) => { stringify!($t) } } fn main() { println!("{}", m!(>)); diff --git a/src/test/ui/run-pass/issues/issue-37222.rs b/src/test/ui/run-pass/issues/issue-37222.rs index 381a5799cc5..af19a922fae 100644 --- a/src/test/ui/run-pass/issues/issue-37222.rs +++ b/src/test/ui/run-pass/issues/issue-37222.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug, PartialEq)] enum Bar { A(i64), diff --git a/src/test/ui/run-pass/issues/issue-37291/main.rs b/src/test/ui/run-pass/issues/issue-37291/main.rs index 2461f7485f2..c30e87ad785 100644 --- a/src/test/ui/run-pass/issues/issue-37291/main.rs +++ b/src/test/ui/run-pass/issues/issue-37291/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:lib.rs // Regression test for #37291. The problem was that the starting diff --git a/src/test/ui/run-pass/issues/issue-3743.rs b/src/test/ui/run-pass/issues/issue-3743.rs index cd62c04a325..e884bc4d5c4 100644 --- a/src/test/ui/run-pass/issues/issue-3743.rs +++ b/src/test/ui/run-pass/issues/issue-3743.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // If `Mul` used an associated type for its output, this test would // work more smoothly. diff --git a/src/test/ui/run-pass/issues/issue-3753.rs b/src/test/ui/run-pass/issues/issue-3753.rs index e6eb8efe442..7941b016d14 100644 --- a/src/test/ui/run-pass/issues/issue-3753.rs +++ b/src/test/ui/run-pass/issues/issue-3753.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #3656 // Issue Name: pub method preceded by attribute can't be parsed // Abstract: Visibility parsing failed when compiler parsing diff --git a/src/test/ui/run-pass/issues/issue-37598.rs b/src/test/ui/run-pass/issues/issue-37598.rs index e97c8d9f417..b5a11f5a0fd 100644 --- a/src/test/ui/run-pass/issues/issue-37598.rs +++ b/src/test/ui/run-pass/issues/issue-37598.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn check(list: &[u8]) { diff --git a/src/test/ui/run-pass/issues/issue-37655.rs b/src/test/ui/run-pass/issues/issue-37655.rs index d229bcacc50..899686befc2 100644 --- a/src/test/ui/run-pass/issues/issue-37655.rs +++ b/src/test/ui/run-pass/issues/issue-37655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #37655. The problem was a false edge created by // coercion that wound up requiring that `'a` (in `split()`) outlive // `'b`, which shouldn't be necessary. diff --git a/src/test/ui/run-pass/issues/issue-37686.rs b/src/test/ui/run-pass/issues/issue-37686.rs index 47881d4d530..824f80c04f9 100644 --- a/src/test/ui/run-pass/issues/issue-37686.rs +++ b/src/test/ui/run-pass/issues/issue-37686.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { match (0, 0) { (std::usize::MIN, std::usize::MAX) => {} diff --git a/src/test/ui/run-pass/issues/issue-37725.rs b/src/test/ui/run-pass/issues/issue-37725.rs index a8fb11f9c62..ce952a7e520 100644 --- a/src/test/ui/run-pass/issues/issue-37725.rs +++ b/src/test/ui/run-pass/issues/issue-37725.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn foo(&self); } diff --git a/src/test/ui/run-pass/issues/issue-37733.rs b/src/test/ui/run-pass/issues/issue-37733.rs index 358b93254de..0b1b08d4e7b 100644 --- a/src/test/ui/run-pass/issues/issue-37733.rs +++ b/src/test/ui/run-pass/issues/issue-37733.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type A = for<> fn(); type B = for<'a,> fn(); diff --git a/src/test/ui/run-pass/issues/issue-3794.rs b/src/test/ui/run-pass/issues/issue-3794.rs index badb833ee80..936e9db6715 100644 --- a/src/test/ui/run-pass/issues/issue-3794.rs +++ b/src/test/ui/run-pass/issues/issue-3794.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait T { diff --git a/src/test/ui/run-pass/issues/issue-37991.rs b/src/test/ui/run-pass/issues/issue-37991.rs index 9b3289e6785..578c22fe232 100644 --- a/src/test/ui/run-pass/issues/issue-37991.rs +++ b/src/test/ui/run-pass/issues/issue-37991.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] const fn foo() -> i64 { diff --git a/src/test/ui/run-pass/issues/issue-38002.rs b/src/test/ui/run-pass/issues/issue-38002.rs index 4eb381b9eac..70892ba7d62 100644 --- a/src/test/ui/run-pass/issues/issue-38002.rs +++ b/src/test/ui/run-pass/issues/issue-38002.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that constant ADTs are codegened OK, part k of N. enum Bar { diff --git a/src/test/ui/run-pass/issues/issue-38033.rs b/src/test/ui/run-pass/issues/issue-38033.rs index 50549dc8b23..3f6ef26ed79 100644 --- a/src/test/ui/run-pass/issues/issue-38033.rs +++ b/src/test/ui/run-pass/issues/issue-38033.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::marker; use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-38074.rs b/src/test/ui/run-pass/issues/issue-38074.rs index 2368ba8a110..bae0f5fd3ff 100644 --- a/src/test/ui/run-pass/issues/issue-38074.rs +++ b/src/test/ui/run-pass/issues/issue-38074.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) #![feature(platform_intrinsics, repr_simd)] diff --git a/src/test/ui/run-pass/issues/issue-38091.rs b/src/test/ui/run-pass/issues/issue-38091.rs index 34050242f84..2e3cf210c4a 100644 --- a/src/test/ui/run-pass/issues/issue-38091.rs +++ b/src/test/ui/run-pass/issues/issue-38091.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(specialization)] trait Iterate<'a> { diff --git a/src/test/ui/run-pass/issues/issue-38190.rs b/src/test/ui/run-pass/issues/issue-38190.rs index ed9bf9e8095..86bc2ba02b8 100644 --- a/src/test/ui/run-pass/issues/issue-38190.rs +++ b/src/test/ui/run-pass/issues/issue-38190.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_38190.rs // ignore-pretty issue #37195 diff --git a/src/test/ui/run-pass/issues/issue-38226.rs b/src/test/ui/run-pass/issues/issue-38226.rs index dd9f9be7da7..d26807a4d68 100644 --- a/src/test/ui/run-pass/issues/issue-38226.rs +++ b/src/test/ui/run-pass/issues/issue-38226.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test makes sure that we don't run into a linker error because of the // middle::reachable pass missing trait methods with default impls. diff --git a/src/test/ui/run-pass/issues/issue-38437.rs b/src/test/ui/run-pass/issues/issue-38437.rs index a6e7df1c010..cea55270aa0 100644 --- a/src/test/ui/run-pass/issues/issue-38437.rs +++ b/src/test/ui/run-pass/issues/issue-38437.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that drop elaboration clears the "master" discriminant // drop flag even if it protects no fields. diff --git a/src/test/ui/run-pass/issues/issue-3847.rs b/src/test/ui/run-pass/issues/issue-3847.rs index bd3a726991b..1342843f870 100644 --- a/src/test/ui/run-pass/issues/issue-3847.rs +++ b/src/test/ui/run-pass/issues/issue-3847.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod buildings { pub struct Tower { pub height: usize } } diff --git a/src/test/ui/run-pass/issues/issue-38556.rs b/src/test/ui/run-pass/issues/issue-38556.rs index f6f334f650b..b1a30f910df 100644 --- a/src/test/ui/run-pass/issues/issue-38556.rs +++ b/src/test/ui/run-pass/issues/issue-38556.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Foo; macro_rules! reexport { diff --git a/src/test/ui/run-pass/issues/issue-38715.rs b/src/test/ui/run-pass/issues/issue-38715.rs index b158234eb11..8cc1d8af89c 100644 --- a/src/test/ui/run-pass/issues/issue-38715.rs +++ b/src/test/ui/run-pass/issues/issue-38715.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_38715.rs // aux-build:issue_38715-modern.rs diff --git a/src/test/ui/run-pass/issues/issue-38727.rs b/src/test/ui/run-pass/issues/issue-38727.rs index e60b6a99f92..81e63476524 100644 --- a/src/test/ui/run-pass/issues/issue-38727.rs +++ b/src/test/ui/run-pass/issues/issue-38727.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[repr(u64)] enum A { A = 0u64, diff --git a/src/test/ui/run-pass/issues/issue-3874.rs b/src/test/ui/run-pass/issues/issue-3874.rs index a29a2675865..53a57c9943b 100644 --- a/src/test/ui/run-pass/issues/issue-3874.rs +++ b/src/test/ui/run-pass/issues/issue-3874.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum PureCounter { PureCounterVariant(usize) } diff --git a/src/test/ui/run-pass/issues/issue-38763.rs b/src/test/ui/run-pass/issues/issue-38763.rs index e038062ff9a..c488aa5ca1a 100644 --- a/src/test/ui/run-pass/issues/issue-38763.rs +++ b/src/test/ui/run-pass/issues/issue-38763.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten #[repr(C)] diff --git a/src/test/ui/run-pass/issues/issue-3878.rs b/src/test/ui/run-pass/issues/issue-3878.rs index e0e11b4fd86..9e073c749bb 100644 --- a/src/test/ui/run-pass/issues/issue-3878.rs +++ b/src/test/ui/run-pass/issues/issue-3878.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(path_statements)] diff --git a/src/test/ui/run-pass/issues/issue-3888-2.rs b/src/test/ui/run-pass/issues/issue-3888-2.rs index 24c1a5d05c8..707145392c7 100644 --- a/src/test/ui/run-pass/issues/issue-3888-2.rs +++ b/src/test/ui/run-pass/issues/issue-3888-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn vec_peek<'r, T>(v: &'r [T]) -> &'r [T] { diff --git a/src/test/ui/run-pass/issues/issue-38942.rs b/src/test/ui/run-pass/issues/issue-38942.rs index 9c1c999d090..740bf952828 100644 --- a/src/test/ui/run-pass/issues/issue-38942.rs +++ b/src/test/ui/run-pass/issues/issue-38942.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // See https://github.com/rust-lang/rust/issues/38942 #[repr(u64)] diff --git a/src/test/ui/run-pass/issues/issue-3895.rs b/src/test/ui/run-pass/issues/issue-3895.rs index ffe14dab300..3620cb874f5 100644 --- a/src/test/ui/run-pass/issues/issue-3895.rs +++ b/src/test/ui/run-pass/issues/issue-3895.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { enum State { BadChar, BadSyntax } diff --git a/src/test/ui/run-pass/issues/issue-38987.rs b/src/test/ui/run-pass/issues/issue-38987.rs index 31a3b7233d8..ef89ed6fee4 100644 --- a/src/test/ui/run-pass/issues/issue-38987.rs +++ b/src/test/ui/run-pass/issues/issue-38987.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let _ = -0x8000_0000_0000_0000_0000_0000_0000_0000i128; } diff --git a/src/test/ui/run-pass/issues/issue-3904.rs b/src/test/ui/run-pass/issues/issue-3904.rs index e917ecc745f..1f5b777c4d2 100644 --- a/src/test/ui/run-pass/issues/issue-3904.rs +++ b/src/test/ui/run-pass/issues/issue-3904.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn example_err(prog: &str, arg: &str) { println!("{}: {}", prog, arg) } diff --git a/src/test/ui/run-pass/issues/issue-39089.rs b/src/test/ui/run-pass/issues/issue-39089.rs index c3a58844547..e4ace4299bd 100644 --- a/src/test/ui/run-pass/issues/issue-39089.rs +++ b/src/test/ui/run-pass/issues/issue-39089.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f Sized>() {} fn main() {} diff --git a/src/test/ui/run-pass/issues/issue-39292.rs b/src/test/ui/run-pass/issues/issue-39292.rs index dc2b21f3470..4b79e08f334 100644 --- a/src/test/ui/run-pass/issues/issue-39292.rs +++ b/src/test/ui/run-pass/issues/issue-39292.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #39292. The object vtable was being // incorrectly left with a null pointer. diff --git a/src/test/ui/run-pass/issues/issue-3935.rs b/src/test/ui/run-pass/issues/issue-3935.rs index 45ff20fc0a9..756bc7b5797 100644 --- a/src/test/ui/run-pass/issues/issue-3935.rs +++ b/src/test/ui/run-pass/issues/issue-3935.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq)] struct Bike { diff --git a/src/test/ui/run-pass/issues/issue-39367.rs b/src/test/ui/run-pass/issues/issue-39367.rs index 3e72efada84..4f6ed57a7ae 100644 --- a/src/test/ui/run-pass/issues/issue-39367.rs +++ b/src/test/ui/run-pass/issues/issue-39367.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Deref; struct ArenaSet::Target>(U, &'static V) diff --git a/src/test/ui/run-pass/issues/issue-39467.rs b/src/test/ui/run-pass/issues/issue-39467.rs index 9f94be271ee..3fab06d9a68 100644 --- a/src/test/ui/run-pass/issues/issue-39467.rs +++ b/src/test/ui/run-pass/issues/issue-39467.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! expr { () => { () } } enum A {} diff --git a/src/test/ui/run-pass/issues/issue-39548.rs b/src/test/ui/run-pass/issues/issue-39548.rs index 7da50670d1d..28bf971c830 100644 --- a/src/test/ui/run-pass/issues/issue-39548.rs +++ b/src/test/ui/run-pass/issues/issue-39548.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type Array = [(); ((1 < 2) == false) as usize]; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-39709.rs b/src/test/ui/run-pass/issues/issue-39709.rs index ebca9312a64..44caa644edf 100644 --- a/src/test/ui/run-pass/issues/issue-39709.rs +++ b/src/test/ui/run-pass/issues/issue-39709.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { println!("{}", { macro_rules! x { ($(t:tt)*) => {} } 33 }); } diff --git a/src/test/ui/run-pass/issues/issue-39720.rs b/src/test/ui/run-pass/issues/issue-39720.rs index 9873a8c2bf4..90bf06bcc4b 100644 --- a/src/test/ui/run-pass/issues/issue-39720.rs +++ b/src/test/ui/run-pass/issues/issue-39720.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) #![feature(repr_simd, platform_intrinsics)] diff --git a/src/test/ui/run-pass/issues/issue-3979-2.rs b/src/test/ui/run-pass/issues/issue-3979-2.rs index 4cd3c04bac3..9b8e5817c6c 100644 --- a/src/test/ui/run-pass/issues/issue-3979-2.rs +++ b/src/test/ui/run-pass/issues/issue-3979-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait A { diff --git a/src/test/ui/run-pass/issues/issue-3979-generics.rs b/src/test/ui/run-pass/issues/issue-3979-generics.rs index 2b56799f6b0..8153fab5fcf 100644 --- a/src/test/ui/run-pass/issues/issue-3979-generics.rs +++ b/src/test/ui/run-pass/issues/issue-3979-generics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; diff --git a/src/test/ui/run-pass/issues/issue-3979-xcrate.rs b/src/test/ui/run-pass/issues/issue-3979-xcrate.rs index acacc488566..d698e7ac775 100644 --- a/src/test/ui/run-pass/issues/issue-3979-xcrate.rs +++ b/src/test/ui/run-pass/issues/issue-3979-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_3979_traits.rs extern crate issue_3979_traits; diff --git a/src/test/ui/run-pass/issues/issue-3979.rs b/src/test/ui/run-pass/issues/issue-3979.rs index 9b5f7296ab5..e65e4931f66 100644 --- a/src/test/ui/run-pass/issues/issue-3979.rs +++ b/src/test/ui/run-pass/issues/issue-3979.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Positioned { fn SetX(&mut self, _: isize); diff --git a/src/test/ui/run-pass/issues/issue-39808.rs b/src/test/ui/run-pass/issues/issue-39808.rs index 91c70d76eef..78c67302a99 100644 --- a/src/test/ui/run-pass/issues/issue-39808.rs +++ b/src/test/ui/run-pass/issues/issue-39808.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unreachable_code)] // Regression test for #39808. The type parameter of `Owned` was diff --git a/src/test/ui/run-pass/issues/issue-39823.rs b/src/test/ui/run-pass/issues/issue-39823.rs index 061a55b03b2..4a2e4846a59 100644 --- a/src/test/ui/run-pass/issues/issue-39823.rs +++ b/src/test/ui/run-pass/issues/issue-39823.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_39823.rs extern crate issue_39823; diff --git a/src/test/ui/run-pass/issues/issue-39827.rs b/src/test/ui/run-pass/issues/issue-39827.rs index b753cf5844f..c7b2a0d4fc0 100644 --- a/src/test/ui/run-pass/issues/issue-39827.rs +++ b/src/test/ui/run-pass/issues/issue-39827.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![feature(core_intrinsics)] use std::intrinsics::{ volatile_copy_memory, volatile_store, volatile_load, diff --git a/src/test/ui/run-pass/issues/issue-3991.rs b/src/test/ui/run-pass/issues/issue-3991.rs index d89cf8c2e10..d3efcaf636e 100644 --- a/src/test/ui/run-pass/issues/issue-3991.rs +++ b/src/test/ui/run-pass/issues/issue-3991.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-39984.rs b/src/test/ui/run-pass/issues/issue-39984.rs index a0019e7215c..450620da35a 100644 --- a/src/test/ui/run-pass/issues/issue-39984.rs +++ b/src/test/ui/run-pass/issues/issue-39984.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #39984. // // The key here is that the error type of the `Ok` call ought to be diff --git a/src/test/ui/run-pass/issues/issue-40003.rs b/src/test/ui/run-pass/issues/issue-40003.rs index 103a365af0e..cf18ab47c39 100644 --- a/src/test/ui/run-pass/issues/issue-40003.rs +++ b/src/test/ui/run-pass/issues/issue-40003.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { if false { test(); } } diff --git a/src/test/ui/run-pass/issues/issue-40085.rs b/src/test/ui/run-pass/issues/issue-40085.rs index b6d02908a0f..062366941d9 100644 --- a/src/test/ui/run-pass/issues/issue-40085.rs +++ b/src/test/ui/run-pass/issues/issue-40085.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Index; fn bar() {} static UNIT: () = (); diff --git a/src/test/ui/run-pass/issues/issue-40136.rs b/src/test/ui/run-pass/issues/issue-40136.rs index 488754af06f..5c1a527dbeb 100644 --- a/src/test/ui/run-pass/issues/issue-40136.rs +++ b/src/test/ui/run-pass/issues/issue-40136.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m { () => { 0 } } diff --git a/src/test/ui/run-pass/issues/issue-40235.rs b/src/test/ui/run-pass/issues/issue-40235.rs index 90f170d8e42..3c26183f146 100644 --- a/src/test/ui/run-pass/issues/issue-40235.rs +++ b/src/test/ui/run-pass/issues/issue-40235.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo() {} fn main() { diff --git a/src/test/ui/run-pass/issues/issue-4025.rs b/src/test/ui/run-pass/issues/issue-4025.rs index dec148ca0f6..f216ba9b9c9 100644 --- a/src/test/ui/run-pass/issues/issue-4025.rs +++ b/src/test/ui/run-pass/issues/issue-4025.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* # if b { x } else { y } requires identical types for x and y */ diff --git a/src/test/ui/run-pass/issues/issue-40408.rs b/src/test/ui/run-pass/issues/issue-40408.rs index a73dc1966b4..68f2858df47 100644 --- a/src/test/ui/run-pass/issues/issue-40408.rs +++ b/src/test/ui/run-pass/issues/issue-40408.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { println!("{}", 0E+10); println!("{}", 0e+10); diff --git a/src/test/ui/run-pass/issues/issue-40469.rs b/src/test/ui/run-pass/issues/issue-40469.rs index 30055e532cd..fd0ad2d0e08 100644 --- a/src/test/ui/run-pass/issues/issue-40469.rs +++ b/src/test/ui/run-pass/issues/issue-40469.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-40770.rs b/src/test/ui/run-pass/issues/issue-40770.rs index 599d0b273e3..d27b13c3a10 100644 --- a/src/test/ui/run-pass/issues/issue-40770.rs +++ b/src/test/ui/run-pass/issues/issue-40770.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m { ($e:expr) => { macro_rules! n { () => { $e } } diff --git a/src/test/ui/run-pass/issues/issue-40847.rs b/src/test/ui/run-pass/issues/issue-40847.rs index 2fa99984401..4d18cd6c7de 100644 --- a/src/test/ui/run-pass/issues/issue-40847.rs +++ b/src/test/ui/run-pass/issues/issue-40847.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! gen { ($name:ident ( $($dol:tt $var:ident)* ) $($body:tt)*) => { macro_rules! $name { diff --git a/src/test/ui/run-pass/issues/issue-40883.rs b/src/test/ui/run-pass/issues/issue-40883.rs index c1f3b2028aa..357152b60e5 100644 --- a/src/test/ui/run-pass/issues/issue-40883.rs +++ b/src/test/ui/run-pass/issues/issue-40883.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that we don't have linear stack usage with multiple calls to `push` #![feature(test)] diff --git a/src/test/ui/run-pass/issues/issue-40951.rs b/src/test/ui/run-pass/issues/issue-40951.rs index adc7101b16a..b6f74f4f1cd 100644 --- a/src/test/ui/run-pass/issues/issue-40951.rs +++ b/src/test/ui/run-pass/issues/issue-40951.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #40951. const FOO: [&'static str; 1] = ["foo"]; diff --git a/src/test/ui/run-pass/issues/issue-40962.rs b/src/test/ui/run-pass/issues/issue-40962.rs index b35cfa12eab..9c9fb2ce9cb 100644 --- a/src/test/ui/run-pass/issues/issue-40962.rs +++ b/src/test/ui/run-pass/issues/issue-40962.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m { ($i:meta) => { #[derive($i)] diff --git a/src/test/ui/run-pass/issues/issue-41053.rs b/src/test/ui/run-pass/issues/issue-41053.rs index 769d841e364..2d9dec6bbc7 100644 --- a/src/test/ui/run-pass/issues/issue-41053.rs +++ b/src/test/ui/run-pass/issues/issue-41053.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_41053.rs pub trait Trait { fn foo(&self) {} } diff --git a/src/test/ui/run-pass/issues/issue-4107.rs b/src/test/ui/run-pass/issues/issue-4107.rs index 6c5f4bf36de..a05b1ddd9f4 100644 --- a/src/test/ui/run-pass/issues/issue-4107.rs +++ b/src/test/ui/run-pass/issues/issue-4107.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let _id: &Mat2 = &Matrix::identity(1.0); diff --git a/src/test/ui/run-pass/issues/issue-41213.rs b/src/test/ui/run-pass/issues/issue-41213.rs index d4755020fef..0f1d8fe7249 100644 --- a/src/test/ui/run-pass/issues/issue-41213.rs +++ b/src/test/ui/run-pass/issues/issue-41213.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum A { A1, A2, diff --git a/src/test/ui/run-pass/issues/issue-41272.rs b/src/test/ui/run-pass/issues/issue-41272.rs index d6a0034690a..3debd77d123 100644 --- a/src/test/ui/run-pass/issues/issue-41272.rs +++ b/src/test/ui/run-pass/issues/issue-41272.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; impl Foo { diff --git a/src/test/ui/run-pass/issues/issue-41298.rs b/src/test/ui/run-pass/issues/issue-41298.rs index 2b9baa74674..62e1afb9230 100644 --- a/src/test/ui/run-pass/issues/issue-41298.rs +++ b/src/test/ui/run-pass/issues/issue-41298.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Function { t: T, f: F } impl Function R> { fn foo() { } } diff --git a/src/test/ui/run-pass/issues/issue-41394.rs b/src/test/ui/run-pass/issues/issue-41394.rs index 798905599a8..9287c672108 100644 --- a/src/test/ui/run-pass/issues/issue-41394.rs +++ b/src/test/ui/run-pass/issues/issue-41394.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-41394.rs extern crate issue_41394 as lib; diff --git a/src/test/ui/run-pass/issues/issue-41479.rs b/src/test/ui/run-pass/issues/issue-41479.rs index cc97b3323cf..f527257207a 100644 --- a/src/test/ui/run-pass/issues/issue-41479.rs +++ b/src/test/ui/run-pass/issues/issue-41479.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn split(pair: (A, B)) { let _a = pair.0; let _b = pair.1; diff --git a/src/test/ui/run-pass/issues/issue-41498.rs b/src/test/ui/run-pass/issues/issue-41498.rs index 66fd30bdbbb..18acc7d7c31 100644 --- a/src/test/ui/run-pass/issues/issue-41498.rs +++ b/src/test/ui/run-pass/issues/issue-41498.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // regression test for issue #41498. struct S; diff --git a/src/test/ui/run-pass/issues/issue-41604.rs b/src/test/ui/run-pass/issues/issue-41604.rs index 20fb8c7e7d6..c4eda86c9c0 100644 --- a/src/test/ui/run-pass/issues/issue-41604.rs +++ b/src/test/ui/run-pass/issues/issue-41604.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct B; impl B { diff --git a/src/test/ui/run-pass/issues/issue-41628.rs b/src/test/ui/run-pass/issues/issue-41628.rs index cba47f98441..75924274f1c 100644 --- a/src/test/ui/run-pass/issues/issue-41628.rs +++ b/src/test/ui/run-pass/issues/issue-41628.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(dead_code)] #![feature(used)] diff --git a/src/test/ui/run-pass/issues/issue-41677.rs b/src/test/ui/run-pass/issues/issue-41677.rs index d014382ca39..b99a5f7f2a7 100644 --- a/src/test/ui/run-pass/issues/issue-41677.rs +++ b/src/test/ui/run-pass/issues/issue-41677.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #41677. The local variable was winding up with // a type `Receiver` where `?T` was unconstrained, because we // failed to enforce the WF obligations and `?T` is a bivariant type diff --git a/src/test/ui/run-pass/issues/issue-41696.rs b/src/test/ui/run-pass/issues/issue-41696.rs index 1888be58c57..780290dce7f 100644 --- a/src/test/ui/run-pass/issues/issue-41696.rs +++ b/src/test/ui/run-pass/issues/issue-41696.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // this used to cause exponential code-size blowup during LLVM passes. #![feature(test)] diff --git a/src/test/ui/run-pass/issues/issue-41744.rs b/src/test/ui/run-pass/issues/issue-41744.rs index 276067d7d74..b667b1d929b 100644 --- a/src/test/ui/run-pass/issues/issue-41744.rs +++ b/src/test/ui/run-pass/issues/issue-41744.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Tc {} impl Tc for bool {} diff --git a/src/test/ui/run-pass/issues/issue-41803.rs b/src/test/ui/run-pass/issues/issue-41803.rs index e18b4204584..30e3d60bd34 100644 --- a/src/test/ui/run-pass/issues/issue-41803.rs +++ b/src/test/ui/run-pass/issues/issue-41803.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /// A compile-time map from identifiers to arbitrary (heterogeneous) expressions macro_rules! ident_map { ( $name:ident = { $($key:ident => $e:expr,)* } ) => { diff --git a/src/test/ui/run-pass/issues/issue-41849-variance-req.rs b/src/test/ui/run-pass/issues/issue-41849-variance-req.rs index 0557a6ef376..2f8c108f590 100644 --- a/src/test/ui/run-pass/issues/issue-41849-variance-req.rs +++ b/src/test/ui/run-pass/issues/issue-41849-variance-req.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #41849. use std::ops::Mul; diff --git a/src/test/ui/run-pass/issues/issue-41888.rs b/src/test/ui/run-pass/issues/issue-41888.rs index e145cde039d..5ae8029e224 100644 --- a/src/test/ui/run-pass/issues/issue-41888.rs +++ b/src/test/ui/run-pass/issues/issue-41888.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let _ = g(Some(E::F(K))); } type R = Result<(), ()>; diff --git a/src/test/ui/run-pass/issues/issue-41936-variance-coerce-unsized-cycle.rs b/src/test/ui/run-pass/issues/issue-41936-variance-coerce-unsized-cycle.rs index bfbead87891..f47e69931d5 100644 --- a/src/test/ui/run-pass/issues/issue-41936-variance-coerce-unsized-cycle.rs +++ b/src/test/ui/run-pass/issues/issue-41936-variance-coerce-unsized-cycle.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #41936. The coerce-unsized trait check in // coherence was using subtyping, which triggered variance // computation, which failed because it required type info for fields diff --git a/src/test/ui/run-pass/issues/issue-42007.rs b/src/test/ui/run-pass/issues/issue-42007.rs index cc7e3bc372c..b72343f05c6 100644 --- a/src/test/ui/run-pass/issues/issue-42007.rs +++ b/src/test/ui/run-pass/issues/issue-42007.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_42007_s.rs extern crate issue_42007_s; diff --git a/src/test/ui/run-pass/issues/issue-4208.rs b/src/test/ui/run-pass/issues/issue-4208.rs index 52f5d53c046..fa6f56bc817 100644 --- a/src/test/ui/run-pass/issues/issue-4208.rs +++ b/src/test/ui/run-pass/issues/issue-4208.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-4208-cc.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-42148.rs b/src/test/ui/run-pass/issues/issue-42148.rs index 0196649a3f6..76947e8b0ba 100644 --- a/src/test/ui/run-pass/issues/issue-42148.rs +++ b/src/test/ui/run-pass/issues/issue-42148.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Zst; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-42210.rs b/src/test/ui/run-pass/issues/issue-42210.rs index ecdf78cd5bd..d3b0da5e044 100644 --- a/src/test/ui/run-pass/issues/issue-42210.rs +++ b/src/test/ui/run-pass/issues/issue-42210.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #42210. // compile-flags: -g diff --git a/src/test/ui/run-pass/issues/issue-4228.rs b/src/test/ui/run-pass/issues/issue-4228.rs index 3d283849b1f..e66921fe115 100644 --- a/src/test/ui/run-pass/issues/issue-4228.rs +++ b/src/test/ui/run-pass/issues/issue-4228.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo; diff --git a/src/test/ui/run-pass/issues/issue-42453.rs b/src/test/ui/run-pass/issues/issue-42453.rs index dfe3a21961e..240060ad02b 100644 --- a/src/test/ui/run-pass/issues/issue-42453.rs +++ b/src/test/ui/run-pass/issues/issue-42453.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct builder; diff --git a/src/test/ui/run-pass/issues/issue-42463.rs b/src/test/ui/run-pass/issues/issue-42463.rs index 7182fc213f7..9074ab8b6dd 100644 --- a/src/test/ui/run-pass/issues/issue-42463.rs +++ b/src/test/ui/run-pass/issues/issue-42463.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::{Deref, DerefMut}; struct CheckedDeref { diff --git a/src/test/ui/run-pass/issues/issue-42467.rs b/src/test/ui/run-pass/issues/issue-42467.rs index 1b2ee959b2d..0f89d505751 100644 --- a/src/test/ui/run-pass/issues/issue-42467.rs +++ b/src/test/ui/run-pass/issues/issue-42467.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo(T); struct IntoIter(T); diff --git a/src/test/ui/run-pass/issues/issue-4252.rs b/src/test/ui/run-pass/issues/issue-4252.rs index e604141dab8..c733bf5b764 100644 --- a/src/test/ui/run-pass/issues/issue-4252.rs +++ b/src/test/ui/run-pass/issues/issue-4252.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait X { fn call(&self, x: &T); fn default_method(&self, x: &T) { diff --git a/src/test/ui/run-pass/issues/issue-42552.rs b/src/test/ui/run-pass/issues/issue-42552.rs index fd1265b7174..e1c3a1bd141 100644 --- a/src/test/ui/run-pass/issues/issue-42552.rs +++ b/src/test/ui/run-pass/issues/issue-42552.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for an obscure issue with the projection cache. fn into_iter(a: &I) -> Groups { diff --git a/src/test/ui/run-pass/issues/issue-42679.rs b/src/test/ui/run-pass/issues/issue-42679.rs index 312835225ed..452d231a846 100644 --- a/src/test/ui/run-pass/issues/issue-42679.rs +++ b/src/test/ui/run-pass/issues/issue-42679.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #![feature(box_patterns)] diff --git a/src/test/ui/run-pass/issues/issue-42747.rs b/src/test/ui/run-pass/issues/issue-42747.rs index 05043ae6b21..c91de3f40ea 100644 --- a/src/test/ui/run-pass/issues/issue-42747.rs +++ b/src/test/ui/run-pass/issues/issue-42747.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! fooN { ($cur:ident $prev:ty) => { #[allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-42956.rs b/src/test/ui/run-pass/issues/issue-42956.rs index 9bda6ee4bcb..c3c8106945d 100644 --- a/src/test/ui/run-pass/issues/issue-42956.rs +++ b/src/test/ui/run-pass/issues/issue-42956.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(associated_consts)] impl A for i32 { diff --git a/src/test/ui/run-pass/issues/issue-43057.rs b/src/test/ui/run-pass/issues/issue-43057.rs index 152ddfb193f..26140246a7f 100644 --- a/src/test/ui/run-pass/issues/issue-43057.rs +++ b/src/test/ui/run-pass/issues/issue-43057.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused)] macro_rules! column { diff --git a/src/test/ui/run-pass/issues/issue-43132.rs b/src/test/ui/run-pass/issues/issue-43132.rs index 64b3b092b89..b80e000d2e7 100644 --- a/src/test/ui/run-pass/issues/issue-43132.rs +++ b/src/test/ui/run-pass/issues/issue-43132.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-43205.rs b/src/test/ui/run-pass/issues/issue-43205.rs index 0e613ac0727..8f89942ddfc 100644 --- a/src/test/ui/run-pass/issues/issue-43205.rs +++ b/src/test/ui/run-pass/issues/issue-43205.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { &&[()][0]; println!("{:?}", &[(),()][1]); diff --git a/src/test/ui/run-pass/issues/issue-43291.rs b/src/test/ui/run-pass/issues/issue-43291.rs index 98de8f78859..cb850b54f7b 100644 --- a/src/test/ui/run-pass/issues/issue-43291.rs +++ b/src/test/ui/run-pass/issues/issue-43291.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { assert_eq!(!0usize as *const (), foo(0, 1)); assert_eq!(!0usize as *const (), (0i8 - 1) as *const ()); diff --git a/src/test/ui/run-pass/issues/issue-4333.rs b/src/test/ui/run-pass/issues/issue-4333.rs index a84d7f3fe82..193a438fc9c 100644 --- a/src/test/ui/run-pass/issues/issue-4333.rs +++ b/src/test/ui/run-pass/issues/issue-4333.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::io; diff --git a/src/test/ui/run-pass/issues/issue-43357.rs b/src/test/ui/run-pass/issues/issue-43357.rs index 9a5f65d67b1..75d05c06428 100644 --- a/src/test/ui/run-pass/issues/issue-43357.rs +++ b/src/test/ui/run-pass/issues/issue-43357.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Trait { type Output; } diff --git a/src/test/ui/run-pass/issues/issue-43483.rs b/src/test/ui/run-pass/issues/issue-43483.rs index 48482af76db..52ee080125f 100644 --- a/src/test/ui/run-pass/issues/issue-43483.rs +++ b/src/test/ui/run-pass/issues/issue-43483.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait VecN { const DIM: usize; } diff --git a/src/test/ui/run-pass/issues/issue-43692.rs b/src/test/ui/run-pass/issues/issue-43692.rs index 23e96f8c1bf..a84dd86a156 100644 --- a/src/test/ui/run-pass/issues/issue-43692.rs +++ b/src/test/ui/run-pass/issues/issue-43692.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { assert_eq!('\u{10__FFFF}', '\u{10FFFF}'); assert_eq!("\u{10_F0FF__}foo\u{1_0_0_0__}", "\u{10F0FF}foo\u{1000}"); diff --git a/src/test/ui/run-pass/issues/issue-43853.rs b/src/test/ui/run-pass/issues/issue-43853.rs index e9f8d2744a1..bb8af71b54d 100644 --- a/src/test/ui/run-pass/issues/issue-43853.rs +++ b/src/test/ui/run-pass/issues/issue-43853.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default use std::panic; diff --git a/src/test/ui/run-pass/issues/issue-4387.rs b/src/test/ui/run-pass/issues/issue-4387.rs index 9c4ae04bf7b..45c26433a20 100644 --- a/src/test/ui/run-pass/issues/issue-4387.rs +++ b/src/test/ui/run-pass/issues/issue-4387.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-43910.rs b/src/test/ui/run-pass/issues/issue-43910.rs index d61ce7f4689..5c401a7f82d 100644 --- a/src/test/ui/run-pass/issues/issue-43910.rs +++ b/src/test/ui/run-pass/issues/issue-43910.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(unused_variables)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-43923.rs b/src/test/ui/run-pass/issues/issue-43923.rs index e1992e4fc50..220a68e1335 100644 --- a/src/test/ui/run-pass/issues/issue-43923.rs +++ b/src/test/ui/run-pass/issues/issue-43923.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A { ptr: T } fn foo(x: &A<[T]>) {} diff --git a/src/test/ui/run-pass/issues/issue-44005.rs b/src/test/ui/run-pass/issues/issue-44005.rs index a53026f36ab..699cb18ffc7 100644 --- a/src/test/ui/run-pass/issues/issue-44005.rs +++ b/src/test/ui/run-pass/issues/issue-44005.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Foo<'a> { type Bar; fn foo(&'a self) -> Self::Bar; diff --git a/src/test/ui/run-pass/issues/issue-4401.rs b/src/test/ui/run-pass/issues/issue-4401.rs index e4fea724c79..5935901efe7 100644 --- a/src/test/ui/run-pass/issues/issue-4401.rs +++ b/src/test/ui/run-pass/issues/issue-4401.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut count = 0; for _ in 0..999_999 { count += 1; } diff --git a/src/test/ui/run-pass/issues/issue-44056.rs b/src/test/ui/run-pass/issues/issue-44056.rs index dcaa0bf8629..50fe9997066 100644 --- a/src/test/ui/run-pass/issues/issue-44056.rs +++ b/src/test/ui/run-pass/issues/issue-44056.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // only-x86_64 // no-prefer-dynamic // compile-flags: -Ctarget-feature=+avx -Clto diff --git a/src/test/ui/run-pass/issues/issue-44247.rs b/src/test/ui/run-pass/issues/issue-44247.rs index 27b0aeaac55..f431e94889c 100644 --- a/src/test/ui/run-pass/issues/issue-44247.rs +++ b/src/test/ui/run-pass/issues/issue-44247.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait T { type X; const X: Self::X; diff --git a/src/test/ui/run-pass/issues/issue-44333.rs b/src/test/ui/run-pass/issues/issue-44333.rs index 72731f41321..28fadb9014d 100644 --- a/src/test/ui/run-pass/issues/issue-44333.rs +++ b/src/test/ui/run-pass/issues/issue-44333.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type Func = fn(usize, usize) -> usize; fn foo(a: usize, b: usize) -> usize { a + b } diff --git a/src/test/ui/run-pass/issues/issue-44373.rs b/src/test/ui/run-pass/issues/issue-44373.rs index d0f8ed96f4c..4d5bb5449b7 100644 --- a/src/test/ui/run-pass/issues/issue-44373.rs +++ b/src/test/ui/run-pass/issues/issue-44373.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z borrowck=compare struct Foo(bool); diff --git a/src/test/ui/run-pass/issues/issue-44402.rs b/src/test/ui/run-pass/issues/issue-44402.rs index 5cbd3446d9b..427ac016c08 100644 --- a/src/test/ui/run-pass/issues/issue-44402.rs +++ b/src/test/ui/run-pass/issues/issue-44402.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(never_type)] #![feature(exhaustive_patterns)] diff --git a/src/test/ui/run-pass/issues/issue-4446.rs b/src/test/ui/run-pass/issues/issue-4446.rs index 5eec800d588..3cd70df23cf 100644 --- a/src/test/ui/run-pass/issues/issue-4446.rs +++ b/src/test/ui/run-pass/issues/issue-4446.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/issues/issue-4448.rs b/src/test/ui/run-pass/issues/issue-4448.rs index 6f0356b5bfb..eb474d4c459 100644 --- a/src/test/ui/run-pass/issues/issue-4448.rs +++ b/src/test/ui/run-pass/issues/issue-4448.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/issues/issue-4464.rs b/src/test/ui/run-pass/issues/issue-4464.rs index 675ca2c3b7e..bb788aaf88d 100644 --- a/src/test/ui/run-pass/issues/issue-4464.rs +++ b/src/test/ui/run-pass/issues/issue-4464.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn broken(v: &[u8], i: usize, j: usize) -> &[u8] { &v[i..j] } diff --git a/src/test/ui/run-pass/issues/issue-44730.rs b/src/test/ui/run-pass/issues/issue-44730.rs index 6e8aba01255..0f4d2e174fc 100644 --- a/src/test/ui/run-pass/issues/issue-44730.rs +++ b/src/test/ui/run-pass/issues/issue-44730.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass //! dox #![deny(missing_docs)] diff --git a/src/test/ui/run-pass/issues/issue-44851.rs b/src/test/ui/run-pass/issues/issue-44851.rs index 62d675b13be..1e9f4d3e4e5 100644 --- a/src/test/ui/run-pass/issues/issue-44851.rs +++ b/src/test/ui/run-pass/issues/issue-44851.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! a { () => { "a" } } diff --git a/src/test/ui/run-pass/issues/issue-45124.rs b/src/test/ui/run-pass/issues/issue-45124.rs index cb79eda8b07..774ad8ac760 100644 --- a/src/test/ui/run-pass/issues/issue-45124.rs +++ b/src/test/ui/run-pass/issues/issue-45124.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --edition 2018 #![feature(try_blocks)] diff --git a/src/test/ui/run-pass/issues/issue-45152.rs b/src/test/ui/run-pass/issues/issue-45152.rs index a5c349adb8d..71c1f92baa7 100644 --- a/src/test/ui/run-pass/issues/issue-45152.rs +++ b/src/test/ui/run-pass/issues/issue-45152.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unsize, coerce_unsized)] #[repr(packed)] diff --git a/src/test/ui/run-pass/issues/issue-4541.rs b/src/test/ui/run-pass/issues/issue-4541.rs index 68f6945cd9c..99415297feb 100644 --- a/src/test/ui/run-pass/issues/issue-4541.rs +++ b/src/test/ui/run-pass/issues/issue-4541.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no std::env fn parse_args() -> String { diff --git a/src/test/ui/run-pass/issues/issue-4542.rs b/src/test/ui/run-pass/issues/issue-4542.rs index 59837e4bd53..3e19e7fa583 100644 --- a/src/test/ui/run-pass/issues/issue-4542.rs +++ b/src/test/ui/run-pass/issues/issue-4542.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-cloudabi no std::env diff --git a/src/test/ui/run-pass/issues/issue-45425.rs b/src/test/ui/run-pass/issues/issue-45425.rs index 06ffa6b3dea..c7523664047 100644 --- a/src/test/ui/run-pass/issues/issue-45425.rs +++ b/src/test/ui/run-pass/issues/issue-45425.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; fn ref_add(a: &T, b: &T) -> T diff --git a/src/test/ui/run-pass/issues/issue-4545.rs b/src/test/ui/run-pass/issues/issue-4545.rs index 6cb7ccc0e95..94eedbdb93a 100644 --- a/src/test/ui/run-pass/issues/issue-4545.rs +++ b/src/test/ui/run-pass/issues/issue-4545.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-4545.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-45731.rs b/src/test/ui/run-pass/issues/issue-45731.rs index e2c04c964d7..568d6674c3a 100644 --- a/src/test/ui/run-pass/issues/issue-45731.rs +++ b/src/test/ui/run-pass/issues/issue-45731.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--test -g #[cfg(target_os = "macos")] diff --git a/src/test/ui/run-pass/issues/issue-46069.rs b/src/test/ui/run-pass/issues/issue-46069.rs index 70db20e4a6c..573b2b8198a 100644 --- a/src/test/ui/run-pass/issues/issue-46069.rs +++ b/src/test/ui/run-pass/issues/issue-46069.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::iter::{Fuse, Cloned}; use std::slice::Iter; diff --git a/src/test/ui/run-pass/issues/issue-46095.rs b/src/test/ui/run-pass/issues/issue-46095.rs index 35e51ebe70b..ac6ca3923f7 100644 --- a/src/test/ui/run-pass/issues/issue-46095.rs +++ b/src/test/ui/run-pass/issues/issue-46095.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A; impl A { diff --git a/src/test/ui/run-pass/issues/issue-46519.rs b/src/test/ui/run-pass/issues/issue-46519.rs index 878cae4e387..94b7032417a 100644 --- a/src/test/ui/run-pass/issues/issue-46519.rs +++ b/src/test/ui/run-pass/issues/issue-46519.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:--test -O #[test] diff --git a/src/test/ui/run-pass/issues/issue-46553.rs b/src/test/ui/run-pass/issues/issue-46553.rs index cf00ae4c467..001db9d8691 100644 --- a/src/test/ui/run-pass/issues/issue-46553.rs +++ b/src/test/ui/run-pass/issues/issue-46553.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(const_fn)] #![deny(const_err)] diff --git a/src/test/ui/run-pass/issues/issue-46845.rs b/src/test/ui/run-pass/issues/issue-46845.rs index 92f68dcfc34..f8f3a2bb5bd 100644 --- a/src/test/ui/run-pass/issues/issue-46845.rs +++ b/src/test/ui/run-pass/issues/issue-46845.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // To work around #46855 // compile-flags: -Z mir-opt-level=0 // Regression test for the inhabitedness of unions with uninhabited variants, issue #46845 diff --git a/src/test/ui/run-pass/issues/issue-46855.rs b/src/test/ui/run-pass/issues/issue-46855.rs index 28aa6c731ec..8e6a37083e3 100644 --- a/src/test/ui/run-pass/issues/issue-46855.rs +++ b/src/test/ui/run-pass/issues/issue-46855.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Zmir-opt-level=1 use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-46920-byte-array-patterns.rs b/src/test/ui/run-pass/issues/issue-46920-byte-array-patterns.rs index 236f6995c51..1e1f1f0baa9 100644 --- a/src/test/ui/run-pass/issues/issue-46920-byte-array-patterns.rs +++ b/src/test/ui/run-pass/issues/issue-46920-byte-array-patterns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const CURSOR_PARTITION_LABEL: &'static [u8] = b"partition"; const CURSOR_EVENT_TYPE_LABEL: &'static [u8] = b"event_type"; const BYTE_PATTERN: &'static [u8; 5] = b"hello"; diff --git a/src/test/ui/run-pass/issues/issue-46959.rs b/src/test/ui/run-pass/issues/issue-46959.rs index 7f050c055b0..baaff2d4581 100644 --- a/src/test/ui/run-pass/issues/issue-46959.rs +++ b/src/test/ui/run-pass/issues/issue-46959.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(non_camel_case_types)] #[allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-46964.rs b/src/test/ui/run-pass/issues/issue-46964.rs index 2a82c6dd438..ad4d6e3ac1a 100644 --- a/src/test/ui/run-pass/issues/issue-46964.rs +++ b/src/test/ui/run-pass/issues/issue-46964.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod my_mod { #[derive(Clone, Copy, Eq, PartialEq, PartialOrd, Ord, Hash)] pub struct Name<'a> { diff --git a/src/test/ui/run-pass/issues/issue-47139-1.rs b/src/test/ui/run-pass/issues/issue-47139-1.rs index cb87991a491..df225b6e0d9 100644 --- a/src/test/ui/run-pass/issues/issue-47139-1.rs +++ b/src/test/ui/run-pass/issues/issue-47139-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #47139: // // Coherence was encountering an (unnecessary) overflow trying to diff --git a/src/test/ui/run-pass/issues/issue-47139-2.rs b/src/test/ui/run-pass/issues/issue-47139-2.rs index 08eaee5acd7..dfc506dc8f1 100644 --- a/src/test/ui/run-pass/issues/issue-47139-2.rs +++ b/src/test/ui/run-pass/issues/issue-47139-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #47139: // // Same as issue-47139-1.rs, but the impls of dummy are in the diff --git a/src/test/ui/run-pass/issues/issue-4734.rs b/src/test/ui/run-pass/issues/issue-4734.rs index 9fb826712ad..216fd537022 100644 --- a/src/test/ui/run-pass/issues/issue-4734.rs +++ b/src/test/ui/run-pass/issues/issue-4734.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensures that destructors are run for expressions of the form "e;" where // `e` is a type which requires a destructor. diff --git a/src/test/ui/run-pass/issues/issue-4735.rs b/src/test/ui/run-pass/issues/issue-4735.rs index 7eb09e055a2..1b136be9a91 100644 --- a/src/test/ui/run-pass/issues/issue-4735.rs +++ b/src/test/ui/run-pass/issues/issue-4735.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::mem::transmute; diff --git a/src/test/ui/run-pass/issues/issue-47364.rs b/src/test/ui/run-pass/issues/issue-47364.rs index 2847ac2a0ba..6bf47398745 100644 --- a/src/test/ui/run-pass/issues/issue-47364.rs +++ b/src/test/ui/run-pass/issues/issue-47364.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -C codegen-units=8 -O fn main() { diff --git a/src/test/ui/run-pass/issues/issue-4759-1.rs b/src/test/ui/run-pass/issues/issue-4759-1.rs index a565460c42e..f05cea777af 100644 --- a/src/test/ui/run-pass/issues/issue-4759-1.rs +++ b/src/test/ui/run-pass/issues/issue-4759-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait U { fn f(self); } impl U for isize { fn f(self) {} } pub fn main() { 4.f(); } diff --git a/src/test/ui/run-pass/issues/issue-4759.rs b/src/test/ui/run-pass/issues/issue-4759.rs index 7788a8f3ec2..2b25a07d557 100644 --- a/src/test/ui/run-pass/issues/issue-4759.rs +++ b/src/test/ui/run-pass/issues/issue-4759.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-47638.rs b/src/test/ui/run-pass/issues/issue-47638.rs index 6f627b2a3c1..c3c662ea2d4 100644 --- a/src/test/ui/run-pass/issues/issue-47638.rs +++ b/src/test/ui/run-pass/issues/issue-47638.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn id<'c, 'b>(f: &'c &'b Fn(&i32)) -> &'c &'b Fn(&'static i32) { f } diff --git a/src/test/ui/run-pass/issues/issue-47673.rs b/src/test/ui/run-pass/issues/issue-47673.rs index 22f7f169e29..e950b2756d8 100644 --- a/src/test/ui/run-pass/issues/issue-47673.rs +++ b/src/test/ui/run-pass/issues/issue-47673.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_import)] use {{}, {}}; diff --git a/src/test/ui/run-pass/issues/issue-47703-1.rs b/src/test/ui/run-pass/issues/issue-47703-1.rs index facdee5cc17..8fa931abb86 100644 --- a/src/test/ui/run-pass/issues/issue-47703-1.rs +++ b/src/test/ui/run-pass/issues/issue-47703-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(nll)] struct AtomicRefMut<'a> { diff --git a/src/test/ui/run-pass/issues/issue-47703-tuple.rs b/src/test/ui/run-pass/issues/issue-47703-tuple.rs index 4fec3efc0a0..188d4bc5520 100644 --- a/src/test/ui/run-pass/issues/issue-47703-tuple.rs +++ b/src/test/ui/run-pass/issues/issue-47703-tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(nll)] struct WithDrop; diff --git a/src/test/ui/run-pass/issues/issue-47703.rs b/src/test/ui/run-pass/issues/issue-47703.rs index 2146986377a..0a0388ac48e 100644 --- a/src/test/ui/run-pass/issues/issue-47703.rs +++ b/src/test/ui/run-pass/issues/issue-47703.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(nll)] struct MyStruct<'a> { diff --git a/src/test/ui/run-pass/issues/issue-47722.rs b/src/test/ui/run-pass/issues/issue-47722.rs index 3b5d808e1f5..92309297356 100644 --- a/src/test/ui/run-pass/issues/issue-47722.rs +++ b/src/test/ui/run-pass/issues/issue-47722.rs @@ -7,7 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass + // Tests that automatic coercions from &mut T to *mut T // allow borrows of T to expire immediately - essentially, that // they work identically to 'foo as *mut T' diff --git a/src/test/ui/run-pass/issues/issue-47789.rs b/src/test/ui/run-pass/issues/issue-47789.rs index 3148939992c..2b1d94c609f 100644 --- a/src/test/ui/run-pass/issues/issue-47789.rs +++ b/src/test/ui/run-pass/issues/issue-47789.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(nll)] diff --git a/src/test/ui/run-pass/issues/issue-48159.rs b/src/test/ui/run-pass/issues/issue-48159.rs index ce4585607e9..2f625747b25 100644 --- a/src/test/ui/run-pass/issues/issue-48159.rs +++ b/src/test/ui/run-pass/issues/issue-48159.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_packed)] #![allow(non_camel_case_types)] diff --git a/src/test/ui/run-pass/issues/issue-4830.rs b/src/test/ui/run-pass/issues/issue-4830.rs index f615767c215..42800255c6b 100644 --- a/src/test/ui/run-pass/issues/issue-4830.rs +++ b/src/test/ui/run-pass/issues/issue-4830.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-48508-aux.rs b/src/test/ui/run-pass/issues/issue-48508-aux.rs index a00361a2c9d..1d5ae23cb5e 100644 --- a/src/test/ui/run-pass/issues/issue-48508-aux.rs +++ b/src/test/ui/run-pass/issues/issue-48508-aux.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-test Not a test. Used by issue-48508.rs pub fn other() -> f64 { diff --git a/src/test/ui/run-pass/issues/issue-48508.rs b/src/test/ui/run-pass/issues/issue-48508.rs index 1b10d873f11..8297d7c33a7 100644 --- a/src/test/ui/run-pass/issues/issue-48508.rs +++ b/src/test/ui/run-pass/issues/issue-48508.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #48508: // // Confusion between global and local file offsets caused incorrect handling of multibyte character diff --git a/src/test/ui/run-pass/issues/issue-48551.rs b/src/test/ui/run-pass/issues/issue-48551.rs index 93bddbc5335..b4059d1fd75 100644 --- a/src/test/ui/run-pass/issues/issue-48551.rs +++ b/src/test/ui/run-pass/issues/issue-48551.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #48551. Covers a case where duplicate candidates // arose during associated type projection. diff --git a/src/test/ui/run-pass/issues/issue-4865-1.rs b/src/test/ui/run-pass/issues/issue-4865-1.rs index 3c477795130..9a22cf08c04 100644 --- a/src/test/ui/run-pass/issues/issue-4865-1.rs +++ b/src/test/ui/run-pass/issues/issue-4865-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This should resolve fine. // Prior to fix, the crossed imports between a and b // would block on the glob import, itself never being resolved diff --git a/src/test/ui/run-pass/issues/issue-4865-2.rs b/src/test/ui/run-pass/issues/issue-4865-2.rs index 6de2f437b20..6d0395f7ab2 100644 --- a/src/test/ui/run-pass/issues/issue-4865-2.rs +++ b/src/test/ui/run-pass/issues/issue-4865-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Previously, this would have failed to resolve due to the circular // block between `use say` and `pub use hello::*`. // diff --git a/src/test/ui/run-pass/issues/issue-4865-3.rs b/src/test/ui/run-pass/issues/issue-4865-3.rs index d800ea6a665..4a18539c302 100644 --- a/src/test/ui/run-pass/issues/issue-4865-3.rs +++ b/src/test/ui/run-pass/issues/issue-4865-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This should resolve fine even with the circular imports as // they are not `pub`. diff --git a/src/test/ui/run-pass/issues/issue-4875.rs b/src/test/ui/run-pass/issues/issue-4875.rs index 7ac96c21c62..d33d08ab18c 100644 --- a/src/test/ui/run-pass/issues/issue-4875.rs +++ b/src/test/ui/run-pass/issues/issue-4875.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // regression test for issue 4875 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-48962.rs b/src/test/ui/run-pass/issues/issue-48962.rs index 46aeb329c89..ea309981af1 100644 --- a/src/test/ui/run-pass/issues/issue-48962.rs +++ b/src/test/ui/run-pass/issues/issue-48962.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to reinitialize box with moved referent #![feature(nll)] static mut ORDER: [usize; 3] = [0, 0, 0]; diff --git a/src/test/ui/run-pass/issues/issue-48984.rs b/src/test/ui/run-pass/issues/issue-48984.rs index 227ad4e58f1..faffc2e4fb0 100644 --- a/src/test/ui/run-pass/issues/issue-48984.rs +++ b/src/test/ui/run-pass/issues/issue-48984.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-48984-aux.rs extern crate issue48984aux; use issue48984aux::Bar; diff --git a/src/test/ui/run-pass/issues/issue-49298.rs b/src/test/ui/run-pass/issues/issue-49298.rs index 0b2169c9476..22a34f334cb 100644 --- a/src/test/ui/run-pass/issues/issue-49298.rs +++ b/src/test/ui/run-pass/issues/issue-49298.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(test)] extern crate test; diff --git a/src/test/ui/run-pass/issues/issue-49556.rs b/src/test/ui/run-pass/issues/issue-49556.rs index 70ccee99f66..aeeb55d6c60 100644 --- a/src/test/ui/run-pass/issues/issue-49556.rs +++ b/src/test/ui/run-pass/issues/issue-49556.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn iter<'a>(data: &'a [usize]) -> impl Iterator + 'a { data.iter() .map( diff --git a/src/test/ui/run-pass/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs b/src/test/ui/run-pass/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs index 51b2b5a4f7c..3a70bdfb2fd 100644 --- a/src/test/ui/run-pass/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs +++ b/src/test/ui/run-pass/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(non_shorthand_field_patterns)] pub struct Value { pub value: A } diff --git a/src/test/ui/run-pass/issues/issue-49632.rs b/src/test/ui/run-pass/issues/issue-49632.rs index 8cbb7d21af7..2552363b9c9 100644 --- a/src/test/ui/run-pass/issues/issue-49632.rs +++ b/src/test/ui/run-pass/issues/issue-49632.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(stmt_expr_attributes)] pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-49685.rs b/src/test/ui/run-pass/issues/issue-49685.rs index 1e4e7955323..e4dfef1e3da 100644 --- a/src/test/ui/run-pass/issues/issue-49685.rs +++ b/src/test/ui/run-pass/issues/issue-49685.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for #49685: drop elaboration was not revealing the // value of `impl Trait` returns, leading to an ICE. diff --git a/src/test/ui/run-pass/issues/issue-49854.rs b/src/test/ui/run-pass/issues/issue-49854.rs index 5bb80b5e2c6..5dd323eaf8e 100644 --- a/src/test/ui/run-pass/issues/issue-49854.rs +++ b/src/test/ui/run-pass/issues/issue-49854.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ffi::OsString; fn main() { diff --git a/src/test/ui/run-pass/issues/issue-49955-2.rs b/src/test/ui/run-pass/issues/issue-49955-2.rs index 17e1de95dd3..40827b01622 100644 --- a/src/test/ui/run-pass/issues/issue-49955-2.rs +++ b/src/test/ui/run-pass/issues/issue-49955-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z borrowck=mir use std::cell::Cell; diff --git a/src/test/ui/run-pass/issues/issue-49955.rs b/src/test/ui/run-pass/issues/issue-49955.rs index 57a1264aaee..a5e67928115 100644 --- a/src/test/ui/run-pass/issues/issue-49955.rs +++ b/src/test/ui/run-pass/issues/issue-49955.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z borrowck=compare const ALL_THE_NUMS: [u32; 1] = [ diff --git a/src/test/ui/run-pass/issues/issue-49973.rs b/src/test/ui/run-pass/issues/issue-49973.rs index 641e9239177..c5a3f6c124a 100644 --- a/src/test/ui/run-pass/issues/issue-49973.rs +++ b/src/test/ui/run-pass/issues/issue-49973.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] #[repr(i32)] enum E { diff --git a/src/test/ui/run-pass/issues/issue-5008-borrowed-traitobject-method-call.rs b/src/test/ui/run-pass/issues/issue-5008-borrowed-traitobject-method-call.rs index 90900ca46ce..6a08a0c58ac 100644 --- a/src/test/ui/run-pass/issues/issue-5008-borrowed-traitobject-method-call.rs +++ b/src/test/ui/run-pass/issues/issue-5008-borrowed-traitobject-method-call.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* #5008 cast to &Trait causes code to segfault on method call diff --git a/src/test/ui/run-pass/issues/issue-50415.rs b/src/test/ui/run-pass/issues/issue-50415.rs index aa493ce0321..282b3b414fa 100644 --- a/src/test/ui/run-pass/issues/issue-50415.rs +++ b/src/test/ui/run-pass/issues/issue-50415.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { // -------- Simplified test case -------- diff --git a/src/test/ui/run-pass/issues/issue-50442.rs b/src/test/ui/run-pass/issues/issue-50442.rs index 1e43bebf5c3..6a55f2d633b 100644 --- a/src/test/ui/run-pass/issues/issue-50442.rs +++ b/src/test/ui/run-pass/issues/issue-50442.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Void {} enum Foo { diff --git a/src/test/ui/run-pass/issues/issue-5060.rs b/src/test/ui/run-pass/issues/issue-5060.rs index 21e3343f445..2caa6541f09 100644 --- a/src/test/ui/run-pass/issues/issue-5060.rs +++ b/src/test/ui/run-pass/issues/issue-5060.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! print_hd_tl { ($field_hd:ident, $($field_tl:ident),+) => ({ print!("{}", stringify!($field_hd)); diff --git a/src/test/ui/run-pass/issues/issue-50689.rs b/src/test/ui/run-pass/issues/issue-50689.rs index d437b9d88f4..bc94066b041 100644 --- a/src/test/ui/run-pass/issues/issue-50689.rs +++ b/src/test/ui/run-pass/issues/issue-50689.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { Bar = (|x: i32| { }, 42).1, } diff --git a/src/test/ui/run-pass/issues/issue-50731.rs b/src/test/ui/run-pass/issues/issue-50731.rs index 06df2b989af..fd1d5579fbf 100644 --- a/src/test/ui/run-pass/issues/issue-50731.rs +++ b/src/test/ui/run-pass/issues/issue-50731.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Void {} fn foo(_: Result<(Void, u32), (Void, String)>) {} fn main() { diff --git a/src/test/ui/run-pass/issues/issue-50811.rs b/src/test/ui/run-pass/issues/issue-50811.rs index 05b168d98f1..381afd4ee11 100644 --- a/src/test/ui/run-pass/issues/issue-50811.rs +++ b/src/test/ui/run-pass/issues/issue-50811.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(test)] extern crate test; diff --git a/src/test/ui/run-pass/issues/issue-50865-private-impl-trait/main.rs b/src/test/ui/run-pass/issues/issue-50865-private-impl-trait/main.rs index bc347edf8a7..8c53ecd9c55 100644 --- a/src/test/ui/run-pass/issues/issue-50865-private-impl-trait/main.rs +++ b/src/test/ui/run-pass/issues/issue-50865-private-impl-trait/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:lib.rs // Regression test for #50865. diff --git a/src/test/ui/run-pass/issues/issue-51185.rs b/src/test/ui/run-pass/issues/issue-51185.rs index 8e286ad1419..3fd38e76d1d 100644 --- a/src/test/ui/run-pass/issues/issue-51185.rs +++ b/src/test/ui/run-pass/issues/issue-51185.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo() -> impl Into fn(&'a ())> { (|_| {}) as for<'a> fn(&'a ()) } diff --git a/src/test/ui/run-pass/issues/issue-51345.rs b/src/test/ui/run-pass/issues/issue-51345.rs index 7d392944685..887feada3c8 100644 --- a/src/test/ui/run-pass/issues/issue-51345.rs +++ b/src/test/ui/run-pass/issues/issue-51345.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(nll)] fn main() { diff --git a/src/test/ui/run-pass/issues/issue-51582.rs b/src/test/ui/run-pass/issues/issue-51582.rs index bca05d83e40..6c513e843eb 100644 --- a/src/test/ui/run-pass/issues/issue-51582.rs +++ b/src/test/ui/run-pass/issues/issue-51582.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] #[repr(i8)] diff --git a/src/test/ui/run-pass/issues/issue-51655.rs b/src/test/ui/run-pass/issues/issue-51655.rs index b5b89ede91b..17c04a4097a 100644 --- a/src/test/ui/run-pass/issues/issue-51655.rs +++ b/src/test/ui/run-pass/issues/issue-51655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] const PATH_DOT: &[u8] = &[b'.']; diff --git a/src/test/ui/run-pass/issues/issue-51907.rs b/src/test/ui/run-pass/issues/issue-51907.rs index de2a59c5f01..3ac31fde31f 100644 --- a/src/test/ui/run-pass/issues/issue-51907.rs +++ b/src/test/ui/run-pass/issues/issue-51907.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { extern fn borrow(&self); extern fn take(self: Box); diff --git a/src/test/ui/run-pass/issues/issue-5192.rs b/src/test/ui/run-pass/issues/issue-5192.rs index 0758ace42da..df9664dc234 100644 --- a/src/test/ui/run-pass/issues/issue-5192.rs +++ b/src/test/ui/run-pass/issues/issue-5192.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-52140/main.rs b/src/test/ui/run-pass/issues/issue-52140/main.rs index 6fae6adc442..c17a4796555 100644 --- a/src/test/ui/run-pass/issues/issue-52140/main.rs +++ b/src/test/ui/run-pass/issues/issue-52140/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:some_crate.rs // edition:2018 diff --git a/src/test/ui/run-pass/issues/issue-52141/main.rs b/src/test/ui/run-pass/issues/issue-52141/main.rs index 8f3fc9f9698..d1003bb2908 100644 --- a/src/test/ui/run-pass/issues/issue-52141/main.rs +++ b/src/test/ui/run-pass/issues/issue-52141/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:some_crate.rs // edition:2018 diff --git a/src/test/ui/run-pass/issues/issue-52169.rs b/src/test/ui/run-pass/issues/issue-52169.rs index f2163416922..19c0f51d235 100644 --- a/src/test/ui/run-pass/issues/issue-52169.rs +++ b/src/test/ui/run-pass/issues/issue-52169.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(macro_literal_matcher)] macro_rules! a { diff --git a/src/test/ui/run-pass/issues/issue-5239-2.rs b/src/test/ui/run-pass/issues/issue-5239-2.rs index 406746ab8c5..2b328c5177c 100644 --- a/src/test/ui/run-pass/issues/issue-5239-2.rs +++ b/src/test/ui/run-pass/issues/issue-5239-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #5239 diff --git a/src/test/ui/run-pass/issues/issue-5243.rs b/src/test/ui/run-pass/issues/issue-5243.rs index 9bd13c4d3a0..708187643d8 100644 --- a/src/test/ui/run-pass/issues/issue-5243.rs +++ b/src/test/ui/run-pass/issues/issue-5243.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that merely having lifetime parameters is not // enough for codegen to consider this as non-monomorphic, // which led to various assertions and failures in turn. diff --git a/src/test/ui/run-pass/issues/issue-52557.rs b/src/test/ui/run-pass/issues/issue-52557.rs index 2b8dfe162cc..3c987d32b90 100644 --- a/src/test/ui/run-pass/issues/issue-52557.rs +++ b/src/test/ui/run-pass/issues/issue-52557.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test checks for namespace pollution by private tests. // Tests used to marked as public causing name conflicts with normal // functions only in test builds. diff --git a/src/test/ui/run-pass/issues/issue-52705/main.rs b/src/test/ui/run-pass/issues/issue-52705/main.rs index fb7b2f812c3..3d828ba60d3 100644 --- a/src/test/ui/run-pass/issues/issue-52705/main.rs +++ b/src/test/ui/run-pass/issues/issue-52705/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:png2.rs // edition:2018 diff --git a/src/test/ui/run-pass/issues/issue-5280.rs b/src/test/ui/run-pass/issues/issue-5280.rs index 5e2e4df95b3..f80b80c72af 100644 --- a/src/test/ui/run-pass/issues/issue-5280.rs +++ b/src/test/ui/run-pass/issues/issue-5280.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass type FontTableTag = u32; diff --git a/src/test/ui/run-pass/issues/issue-5315.rs b/src/test/ui/run-pass/issues/issue-5315.rs index b8532c55c4c..11a6b61dc58 100644 --- a/src/test/ui/run-pass/issues/issue-5315.rs +++ b/src/test/ui/run-pass/issues/issue-5315.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct A(bool); diff --git a/src/test/ui/run-pass/issues/issue-5321-immediates-with-bare-self.rs b/src/test/ui/run-pass/issues/issue-5321-immediates-with-bare-self.rs index dd00fab5020..54d45716de1 100644 --- a/src/test/ui/run-pass/issues/issue-5321-immediates-with-bare-self.rs +++ b/src/test/ui/run-pass/issues/issue-5321-immediates-with-bare-self.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass trait Fooable { fn yes(self); diff --git a/src/test/ui/run-pass/issues/issue-53333.rs b/src/test/ui/run-pass/issues/issue-53333.rs index 51b90af7164..8cb0d17cc16 100644 --- a/src/test/ui/run-pass/issues/issue-53333.rs +++ b/src/test/ui/run-pass/issues/issue-53333.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // edition:2018 fn main() { diff --git a/src/test/ui/run-pass/issues/issue-5353.rs b/src/test/ui/run-pass/issues/issue-5353.rs index 34ef63572ae..678a42e7549 100644 --- a/src/test/ui/run-pass/issues/issue-5353.rs +++ b/src/test/ui/run-pass/issues/issue-5353.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 const INVALID_ENUM : u32 = 0; diff --git a/src/test/ui/run-pass/issues/issue-5518.rs b/src/test/ui/run-pass/issues/issue-5518.rs index 5981a0148a0..4adcc7822e6 100644 --- a/src/test/ui/run-pass/issues/issue-5518.rs +++ b/src/test/ui/run-pass/issues/issue-5518.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-5518.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-5521.rs b/src/test/ui/run-pass/issues/issue-5521.rs index 136f7aa956c..4890156f7b8 100644 --- a/src/test/ui/run-pass/issues/issue-5521.rs +++ b/src/test/ui/run-pass/issues/issue-5521.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-5521.rs diff --git a/src/test/ui/run-pass/issues/issue-5530.rs b/src/test/ui/run-pass/issues/issue-5530.rs index bd7d7af71df..cf0a225290f 100644 --- a/src/test/ui/run-pass/issues/issue-5530.rs +++ b/src/test/ui/run-pass/issues/issue-5530.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Enum { Foo { foo: usize }, diff --git a/src/test/ui/run-pass/issues/issue-5550.rs b/src/test/ui/run-pass/issues/issue-5550.rs index 91741f938a5..5436557a9ad 100644 --- a/src/test/ui/run-pass/issues/issue-5550.rs +++ b/src/test/ui/run-pass/issues/issue-5550.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/issues/issue-5554.rs b/src/test/ui/run-pass/issues/issue-5554.rs index e8190a7245a..8ff48c8600e 100644 --- a/src/test/ui/run-pass/issues/issue-5554.rs +++ b/src/test/ui/run-pass/issues/issue-5554.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::default::Default; diff --git a/src/test/ui/run-pass/issues/issue-5572.rs b/src/test/ui/run-pass/issues/issue-5572.rs index 6ae9dc68a5c..418119e2fd6 100644 --- a/src/test/ui/run-pass/issues/issue-5572.rs +++ b/src/test/ui/run-pass/issues/issue-5572.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo(_t: T) { } diff --git a/src/test/ui/run-pass/issues/issue-5666.rs b/src/test/ui/run-pass/issues/issue-5666.rs index eba83227f44..c578397487e 100644 --- a/src/test/ui/run-pass/issues/issue-5666.rs +++ b/src/test/ui/run-pass/issues/issue-5666.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Dog { diff --git a/src/test/ui/run-pass/issues/issue-5688.rs b/src/test/ui/run-pass/issues/issue-5688.rs index 88ff103723c..fdad413776e 100644 --- a/src/test/ui/run-pass/issues/issue-5688.rs +++ b/src/test/ui/run-pass/issues/issue-5688.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* # Corrupted initialization in the static struct diff --git a/src/test/ui/run-pass/issues/issue-5708.rs b/src/test/ui/run-pass/issues/issue-5708.rs index 6ab33951099..2fef9bc1973 100644 --- a/src/test/ui/run-pass/issues/issue-5708.rs +++ b/src/test/ui/run-pass/issues/issue-5708.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* # ICE when returning struct with reference to trait diff --git a/src/test/ui/run-pass/issues/issue-5718.rs b/src/test/ui/run-pass/issues/issue-5718.rs index 0bc9a07cb00..444d3103ada 100644 --- a/src/test/ui/run-pass/issues/issue-5718.rs +++ b/src/test/ui/run-pass/issues/issue-5718.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-5741.rs b/src/test/ui/run-pass/issues/issue-5741.rs index 5190bd95ada..32eb956cc08 100644 --- a/src/test/ui/run-pass/issues/issue-5741.rs +++ b/src/test/ui/run-pass/issues/issue-5741.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(unreachable_code)] diff --git a/src/test/ui/run-pass/issues/issue-5754.rs b/src/test/ui/run-pass/issues/issue-5754.rs index e6bc516acc3..7933c44932f 100644 --- a/src/test/ui/run-pass/issues/issue-5754.rs +++ b/src/test/ui/run-pass/issues/issue-5754.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct TwoDoubles { diff --git a/src/test/ui/run-pass/issues/issue-5791.rs b/src/test/ui/run-pass/issues/issue-5791.rs index 2e93279f756..e6c9106111f 100644 --- a/src/test/ui/run-pass/issues/issue-5791.rs +++ b/src/test/ui/run-pass/issues/issue-5791.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 extern { diff --git a/src/test/ui/run-pass/issues/issue-5884.rs b/src/test/ui/run-pass/issues/issue-5884.rs index c3247876c7a..26816f235e9 100644 --- a/src/test/ui/run-pass/issues/issue-5884.rs +++ b/src/test/ui/run-pass/issues/issue-5884.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-5900.rs b/src/test/ui/run-pass/issues/issue-5900.rs index d3a43b51dcf..d75291bf1f3 100644 --- a/src/test/ui/run-pass/issues/issue-5900.rs +++ b/src/test/ui/run-pass/issues/issue-5900.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub mod foo { diff --git a/src/test/ui/run-pass/issues/issue-5917.rs b/src/test/ui/run-pass/issues/issue-5917.rs index 112ad0185d8..32f4edb74da 100644 --- a/src/test/ui/run-pass/issues/issue-5917.rs +++ b/src/test/ui/run-pass/issues/issue-5917.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct T (&'static [isize]); static t : T = T (&[5, 4, 3]); diff --git a/src/test/ui/run-pass/issues/issue-5950.rs b/src/test/ui/run-pass/issues/issue-5950.rs index b0e01db14d8..239f9680413 100644 --- a/src/test/ui/run-pass/issues/issue-5950.rs +++ b/src/test/ui/run-pass/issues/issue-5950.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-5988.rs b/src/test/ui/run-pass/issues/issue-5988.rs index 2cf0089c6bb..d068195ade7 100644 --- a/src/test/ui/run-pass/issues/issue-5988.rs +++ b/src/test/ui/run-pass/issues/issue-5988.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait B { diff --git a/src/test/ui/run-pass/issues/issue-5997.rs b/src/test/ui/run-pass/issues/issue-5997.rs index 0c41acf04aa..d888f691477 100644 --- a/src/test/ui/run-pass/issues/issue-5997.rs +++ b/src/test/ui/run-pass/issues/issue-5997.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f() -> bool { enum E { V(T) } diff --git a/src/test/ui/run-pass/issues/issue-6117.rs b/src/test/ui/run-pass/issues/issue-6117.rs index 55527297402..fa9ef84746d 100644 --- a/src/test/ui/run-pass/issues/issue-6117.rs +++ b/src/test/ui/run-pass/issues/issue-6117.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Either { Left(T), Right(U) } diff --git a/src/test/ui/run-pass/issues/issue-6128.rs b/src/test/ui/run-pass/issues/issue-6128.rs index b52900746e3..d060da34723 100644 --- a/src/test/ui/run-pass/issues/issue-6128.rs +++ b/src/test/ui/run-pass/issues/issue-6128.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-6130.rs b/src/test/ui/run-pass/issues/issue-6130.rs index f124b851f09..c29f849b744 100644 --- a/src/test/ui/run-pass/issues/issue-6130.rs +++ b/src/test/ui/run-pass/issues/issue-6130.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(type_limits)] diff --git a/src/test/ui/run-pass/issues/issue-6153.rs b/src/test/ui/run-pass/issues/issue-6153.rs index 1b16418ac42..e6141b0121c 100644 --- a/src/test/ui/run-pass/issues/issue-6153.rs +++ b/src/test/ui/run-pass/issues/issue-6153.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn swap(f: F) -> Vec where F: FnOnce(Vec) -> Vec { diff --git a/src/test/ui/run-pass/issues/issue-6157.rs b/src/test/ui/run-pass/issues/issue-6157.rs index 2c5bc48abe8..ff4c6adc55d 100644 --- a/src/test/ui/run-pass/issues/issue-6157.rs +++ b/src/test/ui/run-pass/issues/issue-6157.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait OpInt { fn call(&mut self, _: isize, _: isize) -> isize; } diff --git a/src/test/ui/run-pass/issues/issue-6318.rs b/src/test/ui/run-pass/issues/issue-6318.rs index 69c7ec4cf1f..59ca54a4318 100644 --- a/src/test/ui/run-pass/issues/issue-6318.rs +++ b/src/test/ui/run-pass/issues/issue-6318.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-6334.rs b/src/test/ui/run-pass/issues/issue-6334.rs index fca1c296ddd..e7c6e74938f 100644 --- a/src/test/ui/run-pass/issues/issue-6334.rs +++ b/src/test/ui/run-pass/issues/issue-6334.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that everything still compiles and runs fine even when // we reorder the bounds. diff --git a/src/test/ui/run-pass/issues/issue-6341.rs b/src/test/ui/run-pass/issues/issue-6341.rs index 41abaa2c8b8..ca79e304b15 100644 --- a/src/test/ui/run-pass/issues/issue-6341.rs +++ b/src/test/ui/run-pass/issues/issue-6341.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #[derive(PartialEq)] diff --git a/src/test/ui/run-pass/issues/issue-6344-let.rs b/src/test/ui/run-pass/issues/issue-6344-let.rs index 8449d9f572b..f6d20570e4a 100644 --- a/src/test/ui/run-pass/issues/issue-6344-let.rs +++ b/src/test/ui/run-pass/issues/issue-6344-let.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A { x: usize } impl Drop for A { diff --git a/src/test/ui/run-pass/issues/issue-6344-match.rs b/src/test/ui/run-pass/issues/issue-6344-match.rs index 4bb23295c85..7d310a501d2 100644 --- a/src/test/ui/run-pass/issues/issue-6344-match.rs +++ b/src/test/ui/run-pass/issues/issue-6344-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A { x: usize } impl Drop for A { diff --git a/src/test/ui/run-pass/issues/issue-6449.rs b/src/test/ui/run-pass/issues/issue-6449.rs index 09a4e288404..1987bca9330 100644 --- a/src/test/ui/run-pass/issues/issue-6449.rs +++ b/src/test/ui/run-pass/issues/issue-6449.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { Bar(isize), diff --git a/src/test/ui/run-pass/issues/issue-6470.rs b/src/test/ui/run-pass/issues/issue-6470.rs index 9b5f78a1450..77b11459121 100644 --- a/src/test/ui/run-pass/issues/issue-6470.rs +++ b/src/test/ui/run-pass/issues/issue-6470.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub mod Bar { diff --git a/src/test/ui/run-pass/issues/issue-6557.rs b/src/test/ui/run-pass/issues/issue-6557.rs index 109383b343b..5179ddb472b 100644 --- a/src/test/ui/run-pass/issues/issue-6557.rs +++ b/src/test/ui/run-pass/issues/issue-6557.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_patterns)] diff --git a/src/test/ui/run-pass/issues/issue-6892.rs b/src/test/ui/run-pass/issues/issue-6892.rs index 75420ad6ff1..173ad5833e5 100644 --- a/src/test/ui/run-pass/issues/issue-6892.rs +++ b/src/test/ui/run-pass/issues/issue-6892.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensures that destructors are run for expressions of the form "let _ = e;" // where `e` is a type which requires a destructor. diff --git a/src/test/ui/run-pass/issues/issue-6898.rs b/src/test/ui/run-pass/issues/issue-6898.rs index e0d2f13ad68..b9a3a24585b 100644 --- a/src/test/ui/run-pass/issues/issue-6898.rs +++ b/src/test/ui/run-pass/issues/issue-6898.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::mem; diff --git a/src/test/ui/run-pass/issues/issue-6919.rs b/src/test/ui/run-pass/issues/issue-6919.rs index 3495c0eb1ae..94c1a1ae00a 100644 --- a/src/test/ui/run-pass/issues/issue-6919.rs +++ b/src/test/ui/run-pass/issues/issue-6919.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:iss.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-6991.rs b/src/test/ui/run-pass/issues/issue-6991.rs index 32a9a055d49..a9a88b311d2 100644 --- a/src/test/ui/run-pass/issues/issue-6991.rs +++ b/src/test/ui/run-pass/issues/issue-6991.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static x: &'static usize = &1; static y: usize = *x; diff --git a/src/test/ui/run-pass/issues/issue-7012.rs b/src/test/ui/run-pass/issues/issue-7012.rs index 3a9864f3a76..02d592c5703 100644 --- a/src/test/ui/run-pass/issues/issue-7012.rs +++ b/src/test/ui/run-pass/issues/issue-7012.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* # Comparison of static arrays diff --git a/src/test/ui/run-pass/issues/issue-7178.rs b/src/test/ui/run-pass/issues/issue-7178.rs index 0882203cb1e..3a74ed833e9 100644 --- a/src/test/ui/run-pass/issues/issue-7178.rs +++ b/src/test/ui/run-pass/issues/issue-7178.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-7178.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-7222.rs b/src/test/ui/run-pass/issues/issue-7222.rs index 3eb39ad6aad..f7ad90bdee5 100644 --- a/src/test/ui/run-pass/issues/issue-7222.rs +++ b/src/test/ui/run-pass/issues/issue-7222.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-7268.rs b/src/test/ui/run-pass/issues/issue-7268.rs index 626adfe292b..3a93a144ee8 100644 --- a/src/test/ui/run-pass/issues/issue-7268.rs +++ b/src/test/ui/run-pass/issues/issue-7268.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo(_: T) {} diff --git a/src/test/ui/run-pass/issues/issue-7344.rs b/src/test/ui/run-pass/issues/issue-7344.rs index fb348fb4538..cc160c79ae9 100644 --- a/src/test/ui/run-pass/issues/issue-7344.rs +++ b/src/test/ui/run-pass/issues/issue-7344.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(unreachable_code)] diff --git a/src/test/ui/run-pass/issues/issue-7519-match-unit-in-arg.rs b/src/test/ui/run-pass/issues/issue-7519-match-unit-in-arg.rs index c5c59407ab2..3e60d24627c 100644 --- a/src/test/ui/run-pass/issues/issue-7519-match-unit-in-arg.rs +++ b/src/test/ui/run-pass/issues/issue-7519-match-unit-in-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 /* diff --git a/src/test/ui/run-pass/issues/issue-7563.rs b/src/test/ui/run-pass/issues/issue-7563.rs index 6d2a602fc8d..203c9cdfa49 100644 --- a/src/test/ui/run-pass/issues/issue-7563.rs +++ b/src/test/ui/run-pass/issues/issue-7563.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait IDummy { fn do_nothing(&self); } diff --git a/src/test/ui/run-pass/issues/issue-7575.rs b/src/test/ui/run-pass/issues/issue-7575.rs index 508ebf3f69d..e027119855e 100644 --- a/src/test/ui/run-pass/issues/issue-7575.rs +++ b/src/test/ui/run-pass/issues/issue-7575.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn new() -> bool { false } diff --git a/src/test/ui/run-pass/issues/issue-7607-2.rs b/src/test/ui/run-pass/issues/issue-7607-2.rs index 799513e6e4f..7a1f0159df9 100644 --- a/src/test/ui/run-pass/issues/issue-7607-2.rs +++ b/src/test/ui/run-pass/issues/issue-7607-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub mod a { diff --git a/src/test/ui/run-pass/issues/issue-7660.rs b/src/test/ui/run-pass/issues/issue-7660.rs index 3f3e11a2ddb..774d9706d90 100644 --- a/src/test/ui/run-pass/issues/issue-7660.rs +++ b/src/test/ui/run-pass/issues/issue-7660.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue 7660 // rvalue lifetime too short when equivalent `match` works diff --git a/src/test/ui/run-pass/issues/issue-7663.rs b/src/test/ui/run-pass/issues/issue-7663.rs index 87e0799f634..2c2ce9483da 100644 --- a/src/test/ui/run-pass/issues/issue-7663.rs +++ b/src/test/ui/run-pass/issues/issue-7663.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_imports, dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-7673-cast-generically-implemented-trait.rs b/src/test/ui/run-pass/issues/issue-7673-cast-generically-implemented-trait.rs index f5acebf3a66..f9dae8472a8 100644 --- a/src/test/ui/run-pass/issues/issue-7673-cast-generically-implemented-trait.rs +++ b/src/test/ui/run-pass/issues/issue-7673-cast-generically-implemented-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 /* diff --git a/src/test/ui/run-pass/issues/issue-7784.rs b/src/test/ui/run-pass/issues/issue-7784.rs index 8d21594aa12..864371cab4d 100644 --- a/src/test/ui/run-pass/issues/issue-7784.rs +++ b/src/test/ui/run-pass/issues/issue-7784.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] use std::ops::Add; diff --git a/src/test/ui/run-pass/issues/issue-7899.rs b/src/test/ui/run-pass/issues/issue-7899.rs index a17565fa0ac..74a5b060822 100644 --- a/src/test/ui/run-pass/issues/issue-7899.rs +++ b/src/test/ui/run-pass/issues/issue-7899.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-7899.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-7911.rs b/src/test/ui/run-pass/issues/issue-7911.rs index 764d6fa7918..f2299eecb40 100644 --- a/src/test/ui/run-pass/issues/issue-7911.rs +++ b/src/test/ui/run-pass/issues/issue-7911.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // (Closes #7911) Test that we can use the same self expression // with different mutability in macro in two methods diff --git a/src/test/ui/run-pass/issues/issue-8044.rs b/src/test/ui/run-pass/issues/issue-8044.rs index 4f72409c36e..3a3d08dc35a 100644 --- a/src/test/ui/run-pass/issues/issue-8044.rs +++ b/src/test/ui/run-pass/issues/issue-8044.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-8044.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-8171-default-method-self-inherit-builtin-trait.rs b/src/test/ui/run-pass/issues/issue-8171-default-method-self-inherit-builtin-trait.rs index 92d1c7c5a1c..311fd129ab0 100644 --- a/src/test/ui/run-pass/issues/issue-8171-default-method-self-inherit-builtin-trait.rs +++ b/src/test/ui/run-pass/issues/issue-8171-default-method-self-inherit-builtin-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 /* diff --git a/src/test/ui/run-pass/issues/issue-8248.rs b/src/test/ui/run-pass/issues/issue-8248.rs index b58be361f15..21060576f2e 100644 --- a/src/test/ui/run-pass/issues/issue-8248.rs +++ b/src/test/ui/run-pass/issues/issue-8248.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait A { diff --git a/src/test/ui/run-pass/issues/issue-8249.rs b/src/test/ui/run-pass/issues/issue-8249.rs index 3e65bc000ff..9afa6f937b5 100644 --- a/src/test/ui/run-pass/issues/issue-8249.rs +++ b/src/test/ui/run-pass/issues/issue-8249.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait A { diff --git a/src/test/ui/run-pass/issues/issue-8259.rs b/src/test/ui/run-pass/issues/issue-8259.rs index e7f09789c5b..4843de5583c 100644 --- a/src/test/ui/run-pass/issues/issue-8259.rs +++ b/src/test/ui/run-pass/issues/issue-8259.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-8259.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-8351-1.rs b/src/test/ui/run-pass/issues/issue-8351-1.rs index ed78b37604e..3caecf9fb93 100644 --- a/src/test/ui/run-pass/issues/issue-8351-1.rs +++ b/src/test/ui/run-pass/issues/issue-8351-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { Foo{f: isize}, diff --git a/src/test/ui/run-pass/issues/issue-8351-2.rs b/src/test/ui/run-pass/issues/issue-8351-2.rs index 1ed93915b8a..da70fc415c0 100644 --- a/src/test/ui/run-pass/issues/issue-8351-2.rs +++ b/src/test/ui/run-pass/issues/issue-8351-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum E { Foo{f: isize, b: bool}, diff --git a/src/test/ui/run-pass/issues/issue-8391.rs b/src/test/ui/run-pass/issues/issue-8391.rs index b832c410443..d6c85370b8e 100644 --- a/src/test/ui/run-pass/issues/issue-8391.rs +++ b/src/test/ui/run-pass/issues/issue-8391.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { let x = match Some(1) { diff --git a/src/test/ui/run-pass/issues/issue-8398.rs b/src/test/ui/run-pass/issues/issue-8398.rs index 5c2c03f9857..e4f5a457f41 100644 --- a/src/test/ui/run-pass/issues/issue-8398.rs +++ b/src/test/ui/run-pass/issues/issue-8398.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait Writer { diff --git a/src/test/ui/run-pass/issues/issue-8401.rs b/src/test/ui/run-pass/issues/issue-8401.rs index afdd572b129..966f89486b7 100644 --- a/src/test/ui/run-pass/issues/issue-8401.rs +++ b/src/test/ui/run-pass/issues/issue-8401.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_8401.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-8460.rs b/src/test/ui/run-pass/issues/issue-8460.rs index 17ea5b9a794..9f0f7e2fa42 100644 --- a/src/test/ui/run-pass/issues/issue-8460.rs +++ b/src/test/ui/run-pass/issues/issue-8460.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(rustc_attrs)] diff --git a/src/test/ui/run-pass/issues/issue-8498.rs b/src/test/ui/run-pass/issues/issue-8498.rs index d57b2a32368..334c331dba7 100644 --- a/src/test/ui/run-pass/issues/issue-8498.rs +++ b/src/test/ui/run-pass/issues/issue-8498.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { match &[(Box::new(5),Box::new(7))] { diff --git a/src/test/ui/run-pass/issues/issue-8506.rs b/src/test/ui/run-pass/issues/issue-8506.rs index 24632a0d13a..f1daa13184d 100644 --- a/src/test/ui/run-pass/issues/issue-8506.rs +++ b/src/test/ui/run-pass/issues/issue-8506.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_code)] diff --git a/src/test/ui/run-pass/issues/issue-8521.rs b/src/test/ui/run-pass/issues/issue-8521.rs index ce362c4bcd1..b70a79bed3c 100644 --- a/src/test/ui/run-pass/issues/issue-8521.rs +++ b/src/test/ui/run-pass/issues/issue-8521.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo1 {} trait A {} diff --git a/src/test/ui/run-pass/issues/issue-8578.rs b/src/test/ui/run-pass/issues/issue-8578.rs index ce392f8d881..9404d2b2c9c 100644 --- a/src/test/ui/run-pass/issues/issue-8578.rs +++ b/src/test/ui/run-pass/issues/issue-8578.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub struct UninterpretedOption_NamePart { diff --git a/src/test/ui/run-pass/issues/issue-868.rs b/src/test/ui/run-pass/issues/issue-868.rs index 64b463ddf5c..a545abefb7a 100644 --- a/src/test/ui/run-pass/issues/issue-868.rs +++ b/src/test/ui/run-pass/issues/issue-868.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn f(g: F) -> T where F: FnOnce() -> T { g() } diff --git a/src/test/ui/run-pass/issues/issue-8709.rs b/src/test/ui/run-pass/issues/issue-8709.rs index 44759cef286..3d0739caf1a 100644 --- a/src/test/ui/run-pass/issues/issue-8709.rs +++ b/src/test/ui/run-pass/issues/issue-8709.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! sty { ($t:ty) => (stringify!($t)) diff --git a/src/test/ui/run-pass/issues/issue-8783.rs b/src/test/ui/run-pass/issues/issue-8783.rs index 485a76ff7ec..741411aeffb 100644 --- a/src/test/ui/run-pass/issues/issue-8783.rs +++ b/src/test/ui/run-pass/issues/issue-8783.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::default::Default; diff --git a/src/test/ui/run-pass/issues/issue-8827.rs b/src/test/ui/run-pass/issues/issue-8827.rs index 6b573698a36..d854793c22a 100644 --- a/src/test/ui/run-pass/issues/issue-8827.rs +++ b/src/test/ui/run-pass/issues/issue-8827.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/issues/issue-8851.rs b/src/test/ui/run-pass/issues/issue-8851.rs index 2a0c02b23e8..19fd51b476d 100644 --- a/src/test/ui/run-pass/issues/issue-8851.rs +++ b/src/test/ui/run-pass/issues/issue-8851.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // after fixing #9384 and implementing hygiene for match bindings, // this now fails because the insertion of the 'y' into the match // doesn't cause capture. Making this macro hygienic (as I've done) diff --git a/src/test/ui/run-pass/issues/issue-8860.rs b/src/test/ui/run-pass/issues/issue-8860.rs index 127f9e355c7..c4d9cab9ff3 100644 --- a/src/test/ui/run-pass/issues/issue-8860.rs +++ b/src/test/ui/run-pass/issues/issue-8860.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z borrowck=compare static mut DROP: isize = 0; diff --git a/src/test/ui/run-pass/issues/issue-8898.rs b/src/test/ui/run-pass/issues/issue-8898.rs index 065cef2c60d..d405a0949e8 100644 --- a/src/test/ui/run-pass/issues/issue-8898.rs +++ b/src/test/ui/run-pass/issues/issue-8898.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn assert_repr_eq(obj : T, expected : String) { assert_eq!(expected, format!("{:?}", obj)); diff --git a/src/test/ui/run-pass/issues/issue-9047.rs b/src/test/ui/run-pass/issues/issue-9047.rs index aa3e601c3a2..30f886f6784 100644 --- a/src/test/ui/run-pass/issues/issue-9047.rs +++ b/src/test/ui/run-pass/issues/issue-9047.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn decode() -> String { 'outer: loop { let mut ch_start: usize; diff --git a/src/test/ui/run-pass/issues/issue-9110.rs b/src/test/ui/run-pass/issues/issue-9110.rs index 298ae5e6aac..9b1daf4d444 100644 --- a/src/test/ui/run-pass/issues/issue-9110.rs +++ b/src/test/ui/run-pass/issues/issue-9110.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 macro_rules! silly_macro { diff --git a/src/test/ui/run-pass/issues/issue-9123.rs b/src/test/ui/run-pass/issues/issue-9123.rs index 4da0c22a0b1..0f41acecaaa 100644 --- a/src/test/ui/run-pass/issues/issue-9123.rs +++ b/src/test/ui/run-pass/issues/issue-9123.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_9123.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-9129.rs b/src/test/ui/run-pass/issues/issue-9129.rs index 485f10357b3..20329a17a00 100644 --- a/src/test/ui/run-pass/issues/issue-9129.rs +++ b/src/test/ui/run-pass/issues/issue-9129.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty unreported #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-9188.rs b/src/test/ui/run-pass/issues/issue-9188.rs index e2272837efb..44fe06eed49 100644 --- a/src/test/ui/run-pass/issues/issue-9188.rs +++ b/src/test/ui/run-pass/issues/issue-9188.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_9188.rs diff --git a/src/test/ui/run-pass/issues/issue-9243.rs b/src/test/ui/run-pass/issues/issue-9243.rs index b857465aabc..656247d62de 100644 --- a/src/test/ui/run-pass/issues/issue-9243.rs +++ b/src/test/ui/run-pass/issues/issue-9243.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue 9243 pub struct Test { diff --git a/src/test/ui/run-pass/issues/issue-9249.rs b/src/test/ui/run-pass/issues/issue-9249.rs index e4d848dbd75..d11665c531e 100644 --- a/src/test/ui/run-pass/issues/issue-9249.rs +++ b/src/test/ui/run-pass/issues/issue-9249.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 static DATA:&'static [&'static str] = &["my string"]; diff --git a/src/test/ui/run-pass/issues/issue-9259.rs b/src/test/ui/run-pass/issues/issue-9259.rs index 996548de817..481014fe3f3 100644 --- a/src/test/ui/run-pass/issues/issue-9259.rs +++ b/src/test/ui/run-pass/issues/issue-9259.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A<'a> { a: &'a [String], diff --git a/src/test/ui/run-pass/issues/issue-9382.rs b/src/test/ui/run-pass/issues/issue-9382.rs index 7538e55fd95..f1e2c1cb4be 100644 --- a/src/test/ui/run-pass/issues/issue-9382.rs +++ b/src/test/ui/run-pass/issues/issue-9382.rs @@ -10,6 +10,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unnecessary_allocation)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/issues/issue-9394-inherited-trait-calls.rs b/src/test/ui/run-pass/issues/issue-9394-inherited-trait-calls.rs index 7d2c435b384..ca94a7b2fbd 100644 --- a/src/test/ui/run-pass/issues/issue-9394-inherited-trait-calls.rs +++ b/src/test/ui/run-pass/issues/issue-9394-inherited-trait-calls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Base: Base2 + Base3{ fn foo(&self) -> String; diff --git a/src/test/ui/run-pass/issues/issue-9396.rs b/src/test/ui/run-pass/issues/issue-9396.rs index 5af2006f081..f35829080fb 100644 --- a/src/test/ui/run-pass/issues/issue-9396.rs +++ b/src/test/ui/run-pass/issues/issue-9396.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::sync::mpsc::{TryRecvError, channel}; diff --git a/src/test/ui/run-pass/issues/issue-9446.rs b/src/test/ui/run-pass/issues/issue-9446.rs index a6adb1d369e..efd04a1c5ac 100644 --- a/src/test/ui/run-pass/issues/issue-9446.rs +++ b/src/test/ui/run-pass/issues/issue-9446.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Wrapper(String); impl Wrapper { diff --git a/src/test/ui/run-pass/issues/issue-9719.rs b/src/test/ui/run-pass/issues/issue-9719.rs index 108f1a0d73d..1e52f326c1f 100644 --- a/src/test/ui/run-pass/issues/issue-9719.rs +++ b/src/test/ui/run-pass/issues/issue-9719.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod a { diff --git a/src/test/ui/run-pass/issues/issue-9737.rs b/src/test/ui/run-pass/issues/issue-9737.rs index 5e1fd87b57a..304eb7808a7 100644 --- a/src/test/ui/run-pass/issues/issue-9737.rs +++ b/src/test/ui/run-pass/issues/issue-9737.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! f { (v: $x:expr) => ( println!("{}", $x) ) } diff --git a/src/test/ui/run-pass/issues/issue-979.rs b/src/test/ui/run-pass/issues/issue-979.rs index 43fa9812426..fb54e97cf3f 100644 --- a/src/test/ui/run-pass/issues/issue-979.rs +++ b/src/test/ui/run-pass/issues/issue-979.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::Cell; struct r<'a> { diff --git a/src/test/ui/run-pass/issues/issue-9837.rs b/src/test/ui/run-pass/issues/issue-9837.rs index f887459836c..0a4c53ae1c5 100644 --- a/src/test/ui/run-pass/issues/issue-9837.rs +++ b/src/test/ui/run-pass/issues/issue-9837.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const C1: i32 = 0x12345678; const C2: isize = C1 as i16 as isize; diff --git a/src/test/ui/run-pass/issues/issue-9906.rs b/src/test/ui/run-pass/issues/issue-9906.rs index 84f848fc9cd..546de0f6429 100644 --- a/src/test/ui/run-pass/issues/issue-9906.rs +++ b/src/test/ui/run-pass/issues/issue-9906.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-9906.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue-9918.rs b/src/test/ui/run-pass/issues/issue-9918.rs index a766e6b707e..bfad636876c 100644 --- a/src/test/ui/run-pass/issues/issue-9918.rs +++ b/src/test/ui/run-pass/issues/issue-9918.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { assert_eq!((0 + 0u8) as char, '\0'); diff --git a/src/test/ui/run-pass/issues/issue-9942.rs b/src/test/ui/run-pass/issues/issue-9942.rs index 222eb0c6518..7c50c96e9a8 100644 --- a/src/test/ui/run-pass/issues/issue-9942.rs +++ b/src/test/ui/run-pass/issues/issue-9942.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/issues/issue-9951.rs b/src/test/ui/run-pass/issues/issue-9951.rs index 63807395fb0..35cdafc87d0 100644 --- a/src/test/ui/run-pass/issues/issue-9951.rs +++ b/src/test/ui/run-pass/issues/issue-9951.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(unused_variables)] diff --git a/src/test/ui/run-pass/issues/issue-9968.rs b/src/test/ui/run-pass/issues/issue-9968.rs index c8af811d13d..8fe54ff0c63 100644 --- a/src/test/ui/run-pass/issues/issue-9968.rs +++ b/src/test/ui/run-pass/issues/issue-9968.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue-9968.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue2170exe.rs b/src/test/ui/run-pass/issues/issue2170exe.rs index d126d1f6ce1..84b8d421da6 100644 --- a/src/test/ui/run-pass/issues/issue2170exe.rs +++ b/src/test/ui/run-pass/issues/issue2170exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue2170lib.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue24687-embed-debuginfo/main.rs b/src/test/ui/run-pass/issues/issue24687-embed-debuginfo/main.rs index abec252c74e..af93c9bff0f 100644 --- a/src/test/ui/run-pass/issues/issue24687-embed-debuginfo/main.rs +++ b/src/test/ui/run-pass/issues/issue24687-embed-debuginfo/main.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue24687_lib.rs // compile-flags:-g diff --git a/src/test/ui/run-pass/issues/issue28498-must-work-ex1.rs b/src/test/ui/run-pass/issues/issue28498-must-work-ex1.rs index 83a978d57b9..54c53465acb 100644 --- a/src/test/ui/run-pass/issues/issue28498-must-work-ex1.rs +++ b/src/test/ui/run-pass/issues/issue28498-must-work-ex1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Example taken from RFC 1238 text // https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md diff --git a/src/test/ui/run-pass/issues/issue28498-must-work-ex2.rs b/src/test/ui/run-pass/issues/issue28498-must-work-ex2.rs index 93652a1b612..b8667710925 100644 --- a/src/test/ui/run-pass/issues/issue28498-must-work-ex2.rs +++ b/src/test/ui/run-pass/issues/issue28498-must-work-ex2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Example taken from RFC 1238 text // https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md diff --git a/src/test/ui/run-pass/issues/issue28498-ugeh-ex1.rs b/src/test/ui/run-pass/issues/issue28498-ugeh-ex1.rs index b07831f552c..d566b2ab113 100644 --- a/src/test/ui/run-pass/issues/issue28498-ugeh-ex1.rs +++ b/src/test/ui/run-pass/issues/issue28498-ugeh-ex1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Example taken from RFC 1238 text // https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md diff --git a/src/test/ui/run-pass/issues/issue28498-ugeh-with-lifetime-param.rs b/src/test/ui/run-pass/issues/issue28498-ugeh-with-lifetime-param.rs index 19be2568e4f..72e1317cce9 100644 --- a/src/test/ui/run-pass/issues/issue28498-ugeh-with-lifetime-param.rs +++ b/src/test/ui/run-pass/issues/issue28498-ugeh-with-lifetime-param.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Demonstrate the use of the unguarded escape hatch with a lifetime param // to assert that destructor will not access any dead data. // diff --git a/src/test/ui/run-pass/issues/issue28498-ugeh-with-passed-to-fn.rs b/src/test/ui/run-pass/issues/issue28498-ugeh-with-passed-to-fn.rs index bb430ea3e33..113994227e6 100644 --- a/src/test/ui/run-pass/issues/issue28498-ugeh-with-passed-to-fn.rs +++ b/src/test/ui/run-pass/issues/issue28498-ugeh-with-passed-to-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Demonstrate the use of the unguarded escape hatch with a type param in negative position // to assert that destructor will not access any dead data. // diff --git a/src/test/ui/run-pass/issues/issue28498-ugeh-with-trait-bound.rs b/src/test/ui/run-pass/issues/issue28498-ugeh-with-trait-bound.rs index 2e9633b3a21..c7677992833 100644 --- a/src/test/ui/run-pass/issues/issue28498-ugeh-with-trait-bound.rs +++ b/src/test/ui/run-pass/issues/issue28498-ugeh-with-trait-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Demonstrate the use of the unguarded escape hatch with a trait bound // to assert that destructor will not access any dead data. // diff --git a/src/test/ui/run-pass/issues/issue29927-1.rs b/src/test/ui/run-pass/issues/issue29927-1.rs index 488bc6e6927..c613560aff1 100644 --- a/src/test/ui/run-pass/issues/issue29927-1.rs +++ b/src/test/ui/run-pass/issues/issue29927-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(min_const_fn)] const fn f() -> usize { 5 diff --git a/src/test/ui/run-pass/issues/issue_26873_multifile/A/B.rs b/src/test/ui/run-pass/issues/issue_26873_multifile/A/B.rs index 8917a98b8cf..cd4d9bc64ed 100644 --- a/src/test/ui/run-pass/issues/issue_26873_multifile/A/B.rs +++ b/src/test/ui/run-pass/issues/issue_26873_multifile/A/B.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use super::*; pub struct S; diff --git a/src/test/ui/run-pass/issues/issue_26873_multifile/A/C.rs b/src/test/ui/run-pass/issues/issue_26873_multifile/A/C.rs index 64aaf9c2798..fb2567584c8 100644 --- a/src/test/ui/run-pass/issues/issue_26873_multifile/A/C.rs +++ b/src/test/ui/run-pass/issues/issue_26873_multifile/A/C.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use super::*; use super::B::S; diff --git a/src/test/ui/run-pass/issues/issue_26873_multifile/A/mod.rs b/src/test/ui/run-pass/issues/issue_26873_multifile/A/mod.rs index a2aeb1cc43f..c36c5b8c4c0 100644 --- a/src/test/ui/run-pass/issues/issue_26873_multifile/A/mod.rs +++ b/src/test/ui/run-pass/issues/issue_26873_multifile/A/mod.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub mod B; pub mod C; diff --git a/src/test/ui/run-pass/issues/issue_26873_multifile/mod.rs b/src/test/ui/run-pass/issues/issue_26873_multifile/mod.rs index 3643b94e31a..95ed215d04f 100644 --- a/src/test/ui/run-pass/issues/issue_26873_multifile/mod.rs +++ b/src/test/ui/run-pass/issues/issue_26873_multifile/mod.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod A; use self::A::*; diff --git a/src/test/ui/run-pass/issues/issue_3136_b.rs b/src/test/ui/run-pass/issues/issue_3136_b.rs index cffe3f9572b..bf513c8391e 100644 --- a/src/test/ui/run-pass/issues/issue_3136_b.rs +++ b/src/test/ui/run-pass/issues/issue_3136_b.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_3136_a.rc // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/issues/issue_9155.rs b/src/test/ui/run-pass/issues/issue_9155.rs index 9db556bf9a2..cb73b6a201d 100644 --- a/src/test/ui/run-pass/issues/issue_9155.rs +++ b/src/test/ui/run-pass/issues/issue_9155.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:issue_9155.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/iterators/into-iterator-type-inference-shift.rs b/src/test/ui/run-pass/iterators/into-iterator-type-inference-shift.rs index 7ec18ef1276..0043c1bc829 100644 --- a/src/test/ui/run-pass/iterators/into-iterator-type-inference-shift.rs +++ b/src/test/ui/run-pass/iterators/into-iterator-type-inference-shift.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for type inference failure around shifting. In this // case, the iteration yields an isize, but we hadn't run the full type // propagation yet, and so we just saw a type variable, yielding an diff --git a/src/test/ui/run-pass/iterators/iter-cloned-type-inference.rs b/src/test/ui/run-pass/iterators/iter-cloned-type-inference.rs index e3351bda335..44268d3b8e1 100644 --- a/src/test/ui/run-pass/iterators/iter-cloned-type-inference.rs +++ b/src/test/ui/run-pass/iterators/iter-cloned-type-inference.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test to see that the element type of .cloned() can be inferred // properly. Previously this would fail to deduce the type of `sum`. diff --git a/src/test/ui/run-pass/iterators/iter-range.rs b/src/test/ui/run-pass/iterators/iter-range.rs index a6130841b5c..017ffb3f9be 100644 --- a/src/test/ui/run-pass/iterators/iter-range.rs +++ b/src/test/ui/run-pass/iterators/iter-range.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn range_(a: isize, b: isize, mut it: F) where F: FnMut(isize) { diff --git a/src/test/ui/run-pass/iterators/iter-step-overflow-debug.rs b/src/test/ui/run-pass/iterators/iter-step-overflow-debug.rs index c45a10eac52..35f4d7b0c00 100644 --- a/src/test/ui/run-pass/iterators/iter-step-overflow-debug.rs +++ b/src/test/ui/run-pass/iterators/iter-step-overflow-debug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default // compile-flags: -C debug_assertions=yes diff --git a/src/test/ui/run-pass/iterators/iter-step-overflow-ndebug.rs b/src/test/ui/run-pass/iterators/iter-step-overflow-ndebug.rs index 8642f1643c1..9f12d08254d 100644 --- a/src/test/ui/run-pass/iterators/iter-step-overflow-ndebug.rs +++ b/src/test/ui/run-pass/iterators/iter-step-overflow-ndebug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -C debug_assertions=no fn main() { diff --git a/src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs b/src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs index c640f7cd280..acd70657f44 100644 --- a/src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs +++ b/src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default // compile-flags: -C debug_assertions=yes diff --git a/src/test/ui/run-pass/iterators/iter-sum-overflow-ndebug.rs b/src/test/ui/run-pass/iterators/iter-sum-overflow-ndebug.rs index 65ac1ef29ed..1cd8026e456 100644 --- a/src/test/ui/run-pass/iterators/iter-sum-overflow-ndebug.rs +++ b/src/test/ui/run-pass/iterators/iter-sum-overflow-ndebug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -C debug_assertions=no fn main() { diff --git a/src/test/ui/run-pass/iterators/iter-sum-overflow-overflow-checks.rs b/src/test/ui/run-pass/iterators/iter-sum-overflow-overflow-checks.rs index 517cd139cf3..a4a237c57a5 100644 --- a/src/test/ui/run-pass/iterators/iter-sum-overflow-overflow-checks.rs +++ b/src/test/ui/run-pass/iterators/iter-sum-overflow-overflow-checks.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default // compile-flags: -C overflow-checks diff --git a/src/test/ui/run-pass/iterators/iter-zip.rs b/src/test/ui/run-pass/iterators/iter-zip.rs index b0503bc2048..f2402fe185a 100644 --- a/src/test/ui/run-pass/iterators/iter-zip.rs +++ b/src/test/ui/run-pass/iterators/iter-zip.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that .zip() specialization preserves side effects // in sideeffectful iterator adaptors. diff --git a/src/test/ui/run-pass/macros/assert-eq-macro-success.rs b/src/test/ui/run-pass/macros/assert-eq-macro-success.rs index 3110e22d5da..a96147db4e1 100644 --- a/src/test/ui/run-pass/macros/assert-eq-macro-success.rs +++ b/src/test/ui/run-pass/macros/assert-eq-macro-success.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Point { x : isize } diff --git a/src/test/ui/run-pass/macros/assert-eq-macro-unsized.rs b/src/test/ui/run-pass/macros/assert-eq-macro-unsized.rs index e21d3ef0ed0..b9e93b175a4 100644 --- a/src/test/ui/run-pass/macros/assert-eq-macro-unsized.rs +++ b/src/test/ui/run-pass/macros/assert-eq-macro-unsized.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { assert_eq!([1, 2, 3][..], vec![1, 2, 3][..]); } diff --git a/src/test/ui/run-pass/macros/assert-ne-macro-success.rs b/src/test/ui/run-pass/macros/assert-ne-macro-success.rs index ce671d2f1b5..e554607233f 100644 --- a/src/test/ui/run-pass/macros/assert-ne-macro-success.rs +++ b/src/test/ui/run-pass/macros/assert-ne-macro-success.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Point { x : isize } diff --git a/src/test/ui/run-pass/macros/assert-ne-macro-unsized.rs b/src/test/ui/run-pass/macros/assert-ne-macro-unsized.rs index eeac0b6f9f6..8833eb34918 100644 --- a/src/test/ui/run-pass/macros/assert-ne-macro-unsized.rs +++ b/src/test/ui/run-pass/macros/assert-ne-macro-unsized.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { assert_ne!([6, 6, 6][..], vec![1, 2, 3][..]); } diff --git a/src/test/ui/run-pass/macros/colorful-write-macros.rs b/src/test/ui/run-pass/macros/colorful-write-macros.rs index 21ff6d6938a..37eaf2e8cde 100644 --- a/src/test/ui/run-pass/macros/colorful-write-macros.rs +++ b/src/test/ui/run-pass/macros/colorful-write-macros.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::io::Write; use std::fmt; diff --git a/src/test/ui/run-pass/macros/conditional-debug-macro-on.rs b/src/test/ui/run-pass/macros/conditional-debug-macro-on.rs index 7da33be7a57..14e911f61fc 100644 --- a/src/test/ui/run-pass/macros/conditional-debug-macro-on.rs +++ b/src/test/ui/run-pass/macros/conditional-debug-macro-on.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { // exits early if println! evaluates its arguments, otherwise it // will hit the panic. diff --git a/src/test/ui/run-pass/macros/die-macro.rs b/src/test/ui/run-pass/macros/die-macro.rs index 0816e258e84..65ba591404b 100644 --- a/src/test/ui/run-pass/macros/die-macro.rs +++ b/src/test/ui/run-pass/macros/die-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Just testing that panic!() type checks in statement or expr diff --git a/src/test/ui/run-pass/macros/log_syntax-trace_macros-macro-locations.rs b/src/test/ui/run-pass/macros/log_syntax-trace_macros-macro-locations.rs index 49328311867..8356eb3ecd6 100644 --- a/src/test/ui/run-pass/macros/log_syntax-trace_macros-macro-locations.rs +++ b/src/test/ui/run-pass/macros/log_syntax-trace_macros-macro-locations.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(trace_macros, log_syntax)] diff --git a/src/test/ui/run-pass/macros/macro-2.rs b/src/test/ui/run-pass/macros/macro-2.rs index 801d92b6dcb..cfce7f9c8c1 100644 --- a/src/test/ui/run-pass/macros/macro-2.rs +++ b/src/test/ui/run-pass/macros/macro-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { macro_rules! mylambda_tt { diff --git a/src/test/ui/run-pass/macros/macro-at-most-once-rep.rs b/src/test/ui/run-pass/macros/macro-at-most-once-rep.rs index 61c3e781c08..3625e0e7efa 100644 --- a/src/test/ui/run-pass/macros/macro-at-most-once-rep.rs +++ b/src/test/ui/run-pass/macros/macro-at-most-once-rep.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // The logic for parsing Kleene operators in macros has a special case to disambiguate `?`. // Specifically, `$(pat)?` is the ZeroOrOne operator whereas `$(pat)?+` or `$(pat)?*` are the // ZeroOrMore and OneOrMore operators using `?` as a separator. These tests are intended to diff --git a/src/test/ui/run-pass/macros/macro-attribute-expansion.rs b/src/test/ui/run-pass/macros/macro-attribute-expansion.rs index c3de9f736fb..2f4e62e0faa 100644 --- a/src/test/ui/run-pass/macros/macro-attribute-expansion.rs +++ b/src/test/ui/run-pass/macros/macro-attribute-expansion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! descriptions { ($name:ident is $desc:expr) => { // Check that we will correctly expand attributes diff --git a/src/test/ui/run-pass/macros/macro-attributes.rs b/src/test/ui/run-pass/macros/macro-attributes.rs index 839fee3a2d2..70190d495a5 100644 --- a/src/test/ui/run-pass/macros/macro-attributes.rs +++ b/src/test/ui/run-pass/macros/macro-attributes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(custom_attribute)] macro_rules! compiles_fine { diff --git a/src/test/ui/run-pass/macros/macro-block-nonterminal.rs b/src/test/ui/run-pass/macros/macro-block-nonterminal.rs index 21b284f420f..02ad360880f 100644 --- a/src/test/ui/run-pass/macros/macro-block-nonterminal.rs +++ b/src/test/ui/run-pass/macros/macro-block-nonterminal.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! do_block{ ($val:block) => {$val} diff --git a/src/test/ui/run-pass/macros/macro-comma-behavior.rs b/src/test/ui/run-pass/macros/macro-comma-behavior.rs index 2a434009e13..bfa32817b10 100644 --- a/src/test/ui/run-pass/macros/macro-comma-behavior.rs +++ b/src/test/ui/run-pass/macros/macro-comma-behavior.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ideally, any macro call with a trailing comma should behave // identically to a call without the comma. // diff --git a/src/test/ui/run-pass/macros/macro-comma-support.rs b/src/test/ui/run-pass/macros/macro-comma-support.rs index f645849cd51..9186974f0a3 100644 --- a/src/test/ui/run-pass/macros/macro-comma-support.rs +++ b/src/test/ui/run-pass/macros/macro-comma-support.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is meant to be a comprehensive test of invocations with/without // trailing commas (or other, similar optionally-trailing separators). // Every macro is accounted for, even those not tested in this file. diff --git a/src/test/ui/run-pass/macros/macro-crate-def-only.rs b/src/test/ui/run-pass/macros/macro-crate-def-only.rs index 28be058b9a3..3a48d0489ce 100644 --- a/src/test/ui/run-pass/macros/macro-crate-def-only.rs +++ b/src/test/ui/run-pass/macros/macro-crate-def-only.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:macro_crate_def_only.rs diff --git a/src/test/ui/run-pass/macros/macro-crate-nonterminal-renamed.rs b/src/test/ui/run-pass/macros/macro-crate-nonterminal-renamed.rs index 93f5899e3ac..c2a9729ec1c 100644 --- a/src/test/ui/run-pass/macros/macro-crate-nonterminal-renamed.rs +++ b/src/test/ui/run-pass/macros/macro-crate-nonterminal-renamed.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:macro_crate_nonterminal.rs #[macro_use] diff --git a/src/test/ui/run-pass/macros/macro-crate-nonterminal.rs b/src/test/ui/run-pass/macros/macro-crate-nonterminal.rs index 28f9393ab7a..114d8961817 100644 --- a/src/test/ui/run-pass/macros/macro-crate-nonterminal.rs +++ b/src/test/ui/run-pass/macros/macro-crate-nonterminal.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:macro_crate_nonterminal.rs #[macro_use] diff --git a/src/test/ui/run-pass/macros/macro-crate-use.rs b/src/test/ui/run-pass/macros/macro-crate-use.rs index c7255f67fa6..b74d5ec91b5 100644 --- a/src/test/ui/run-pass/macros/macro-crate-use.rs +++ b/src/test/ui/run-pass/macros/macro-crate-use.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn increment(x: usize) -> usize { x + 1 diff --git a/src/test/ui/run-pass/macros/macro-deep_expansion.rs b/src/test/ui/run-pass/macros/macro-deep_expansion.rs index 3e8548ff49d..d6def354673 100644 --- a/src/test/ui/run-pass/macros/macro-deep_expansion.rs +++ b/src/test/ui/run-pass/macros/macro-deep_expansion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo2 { () => { diff --git a/src/test/ui/run-pass/macros/macro-delimiter-significance.rs b/src/test/ui/run-pass/macros/macro-delimiter-significance.rs index a2ae3fbf83b..0b6b183e6e8 100644 --- a/src/test/ui/run-pass/macros/macro-delimiter-significance.rs +++ b/src/test/ui/run-pass/macros/macro-delimiter-significance.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { vec![1_usize, 2, 3].len(); } diff --git a/src/test/ui/run-pass/macros/macro-doc-comments.rs b/src/test/ui/run-pass/macros/macro-doc-comments.rs index 506813df5b3..59439e03468 100644 --- a/src/test/ui/run-pass/macros/macro-doc-comments.rs +++ b/src/test/ui/run-pass/macros/macro-doc-comments.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! doc { ( $(#[$outer:meta])* diff --git a/src/test/ui/run-pass/macros/macro-doc-escapes.rs b/src/test/ui/run-pass/macros/macro-doc-escapes.rs index ea92f0ffebe..5253d960c8d 100644 --- a/src/test/ui/run-pass/macros/macro-doc-escapes.rs +++ b/src/test/ui/run-pass/macros/macro-doc-escapes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // When expanding a macro, documentation attributes (including documentation comments) must be // passed "as is" without being parsed. Otherwise, some text will be incorrectly interpreted as // escape sequences, leading to an ICE. diff --git a/src/test/ui/run-pass/macros/macro-doc-raw-str-hashes.rs b/src/test/ui/run-pass/macros/macro-doc-raw-str-hashes.rs index ffbe237b74e..b12e00eccc9 100644 --- a/src/test/ui/run-pass/macros/macro-doc-raw-str-hashes.rs +++ b/src/test/ui/run-pass/macros/macro-doc-raw-str-hashes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // The number of `#`s used to wrap the documentation comment should differ regarding the content. // // Related issue: #27489 diff --git a/src/test/ui/run-pass/macros/macro-export-inner-module.rs b/src/test/ui/run-pass/macros/macro-export-inner-module.rs index e39f81e49d7..e114790f71a 100644 --- a/src/test/ui/run-pass/macros/macro-export-inner-module.rs +++ b/src/test/ui/run-pass/macros/macro-export-inner-module.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass //aux-build:macro_export_inner_module.rs #[macro_use] #[no_link] diff --git a/src/test/ui/run-pass/macros/macro-first-set.rs b/src/test/ui/run-pass/macros/macro-first-set.rs index 9216040ab6e..984a31d4d52 100644 --- a/src/test/ui/run-pass/macros/macro-first-set.rs +++ b/src/test/ui/run-pass/macros/macro-first-set.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![cfg_attr(stage0, feature(macro_vis_matcher))] //{{{ issue 40569 ============================================================== diff --git a/src/test/ui/run-pass/macros/macro-follow.rs b/src/test/ui/run-pass/macros/macro-follow.rs index dca676f8cf9..2cb2e43fd65 100644 --- a/src/test/ui/run-pass/macros/macro-follow.rs +++ b/src/test/ui/run-pass/macros/macro-follow.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check the macro follow sets (see corresponding cfail test). // FOLLOW(pat) = {FatArrow, Comma, Eq, Or, Ident(if), Ident(in)} diff --git a/src/test/ui/run-pass/macros/macro-followed-by-seq.rs b/src/test/ui/run-pass/macros/macro-followed-by-seq.rs index 15224930b84..8b796187664 100644 --- a/src/test/ui/run-pass/macros/macro-followed-by-seq.rs +++ b/src/test/ui/run-pass/macros/macro-followed-by-seq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #25436: check that things which can be // followed by any token also permit X* to come afterwards. diff --git a/src/test/ui/run-pass/macros/macro-include-items.rs b/src/test/ui/run-pass/macros/macro-include-items.rs index f8728ebb915..3d0a2bbedba 100644 --- a/src/test/ui/run-pass/macros/macro-include-items.rs +++ b/src/test/ui/run-pass/macros/macro-include-items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 fn bar() {} diff --git a/src/test/ui/run-pass/macros/macro-interpolation.rs b/src/test/ui/run-pass/macros/macro-interpolation.rs index 6dcd1538ebc..bc0c15bd403 100644 --- a/src/test/ui/run-pass/macros/macro-interpolation.rs +++ b/src/test/ui/run-pass/macros/macro-interpolation.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! overly_complicated { ($fnname:ident, $arg:ident, $ty:ty, $body:block, $val:expr, $pat:pat, $res:path) => diff --git a/src/test/ui/run-pass/macros/macro-invocation-in-count-expr-fixed-array-type.rs b/src/test/ui/run-pass/macros/macro-invocation-in-count-expr-fixed-array-type.rs index 9fafeb6531d..457b7232f0a 100644 --- a/src/test/ui/run-pass/macros/macro-invocation-in-count-expr-fixed-array-type.rs +++ b/src/test/ui/run-pass/macros/macro-invocation-in-count-expr-fixed-array-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 macro_rules! four { diff --git a/src/test/ui/run-pass/macros/macro-lifetime-used-with-bound.rs b/src/test/ui/run-pass/macros/macro-lifetime-used-with-bound.rs index b9e1fde6b1f..eadef980377 100644 --- a/src/test/ui/run-pass/macros/macro-lifetime-used-with-bound.rs +++ b/src/test/ui/run-pass/macros/macro-lifetime-used-with-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { ($l:lifetime, $l2:lifetime) => { fn f<$l: $l2, $l2>(arg: &$l str, arg2: &$l2 str) -> &$l str { diff --git a/src/test/ui/run-pass/macros/macro-lifetime-used-with-labels.rs b/src/test/ui/run-pass/macros/macro-lifetime-used-with-labels.rs index d003d7dcfb6..3d815c8b867 100644 --- a/src/test/ui/run-pass/macros/macro-lifetime-used-with-labels.rs +++ b/src/test/ui/run-pass/macros/macro-lifetime-used-with-labels.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unreachable_code)] macro_rules! x { diff --git a/src/test/ui/run-pass/macros/macro-lifetime-used-with-static.rs b/src/test/ui/run-pass/macros/macro-lifetime-used-with-static.rs index 5c1f8683e00..2b37ce461cb 100644 --- a/src/test/ui/run-pass/macros/macro-lifetime-used-with-static.rs +++ b/src/test/ui/run-pass/macros/macro-lifetime-used-with-static.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { ($l:lifetime) => { fn f(arg: &$l str) -> &$l str { diff --git a/src/test/ui/run-pass/macros/macro-lifetime.rs b/src/test/ui/run-pass/macros/macro-lifetime.rs index ff5798ff78d..f385d73e5bb 100644 --- a/src/test/ui/run-pass/macros/macro-lifetime.rs +++ b/src/test/ui/run-pass/macros/macro-lifetime.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { ($l:lifetime) => { fn f<$l>(arg: &$l str) -> &$l str { diff --git a/src/test/ui/run-pass/macros/macro-literal.rs b/src/test/ui/run-pass/macros/macro-literal.rs index 6d5e8bc97c0..ecbb47757d1 100644 --- a/src/test/ui/run-pass/macros/macro-literal.rs +++ b/src/test/ui/run-pass/macros/macro-literal.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(macro_literal_matcher)] macro_rules! mtester { diff --git a/src/test/ui/run-pass/macros/macro-meta-items.rs b/src/test/ui/run-pass/macros/macro-meta-items.rs index 9c1e1fca341..d19c33b2e3a 100644 --- a/src/test/ui/run-pass/macros/macro-meta-items.rs +++ b/src/test/ui/run-pass/macros/macro-meta-items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg foo macro_rules! compiles_fine { diff --git a/src/test/ui/run-pass/macros/macro-method-issue-4621.rs b/src/test/ui/run-pass/macros/macro-method-issue-4621.rs index 64648cae5e6..17f6b84d108 100644 --- a/src/test/ui/run-pass/macros/macro-method-issue-4621.rs +++ b/src/test/ui/run-pass/macros/macro-method-issue-4621.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct A; diff --git a/src/test/ui/run-pass/macros/macro-multiple-items.rs b/src/test/ui/run-pass/macros/macro-multiple-items.rs index 190bfc53a9e..6ebfead9761 100644 --- a/src/test/ui/run-pass/macros/macro-multiple-items.rs +++ b/src/test/ui/run-pass/macros/macro-multiple-items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! make_foo { () => ( struct Foo; diff --git a/src/test/ui/run-pass/macros/macro-named-default.rs b/src/test/ui/run-pass/macros/macro-named-default.rs index 028d59a19dd..1a7674ad4e6 100644 --- a/src/test/ui/run-pass/macros/macro-named-default.rs +++ b/src/test/ui/run-pass/macros/macro-named-default.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! default { ($($x:tt)*) => { $($x)* } } diff --git a/src/test/ui/run-pass/macros/macro-nested_definition_issue-31946.rs b/src/test/ui/run-pass/macros/macro-nested_definition_issue-31946.rs index 84ff2dc4d0d..276aef879e0 100644 --- a/src/test/ui/run-pass/macros/macro-nested_definition_issue-31946.rs +++ b/src/test/ui/run-pass/macros/macro-nested_definition_issue-31946.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { println!("{}", { macro_rules! foo { diff --git a/src/test/ui/run-pass/macros/macro-nested_expr.rs b/src/test/ui/run-pass/macros/macro-nested_expr.rs index 993ded60c36..5af4649f58b 100644 --- a/src/test/ui/run-pass/macros/macro-nested_expr.rs +++ b/src/test/ui/run-pass/macros/macro-nested_expr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #42164 #![feature(decl_macro)] diff --git a/src/test/ui/run-pass/macros/macro-nested_stmt_macros.rs b/src/test/ui/run-pass/macros/macro-nested_stmt_macros.rs index 5997a4f18e7..81400927d88 100644 --- a/src/test/ui/run-pass/macros/macro-nested_stmt_macros.rs +++ b/src/test/ui/run-pass/macros/macro-nested_stmt_macros.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { () => { struct Bar; diff --git a/src/test/ui/run-pass/macros/macro-nt-list.rs b/src/test/ui/run-pass/macros/macro-nt-list.rs index f3367ff2b41..55388ed278f 100644 --- a/src/test/ui/run-pass/macros/macro-nt-list.rs +++ b/src/test/ui/run-pass/macros/macro-nt-list.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 macro_rules! list { diff --git a/src/test/ui/run-pass/macros/macro-of-higher-order.rs b/src/test/ui/run-pass/macros/macro-of-higher-order.rs index c982e8ac6f8..9a535881197 100644 --- a/src/test/ui/run-pass/macros/macro-of-higher-order.rs +++ b/src/test/ui/run-pass/macros/macro-of-higher-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! higher_order { (subst $lhs:tt => $rhs:tt) => ({ diff --git a/src/test/ui/run-pass/macros/macro-pat-follow.rs b/src/test/ui/run-pass/macros/macro-pat-follow.rs index c1abebd5f90..12cbfa84505 100644 --- a/src/test/ui/run-pass/macros/macro-pat-follow.rs +++ b/src/test/ui/run-pass/macros/macro-pat-follow.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! pat_in { ($p:pat in $e:expr) => {{ let mut iter = $e.into_iter(); diff --git a/src/test/ui/run-pass/macros/macro-pat-neg-lit.rs b/src/test/ui/run-pass/macros/macro-pat-neg-lit.rs index 43ac697edce..ddde5d32e39 100644 --- a/src/test/ui/run-pass/macros/macro-pat-neg-lit.rs +++ b/src/test/ui/run-pass/macros/macro-pat-neg-lit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! enum_number { ($name:ident { $($variant:ident = $value:expr, )* }) => { enum $name { diff --git a/src/test/ui/run-pass/macros/macro-pat.rs b/src/test/ui/run-pass/macros/macro-pat.rs index 48e521de57e..1ed0663fc5a 100644 --- a/src/test/ui/run-pass/macros/macro-pat.rs +++ b/src/test/ui/run-pass/macros/macro-pat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! mypat { () => ( diff --git a/src/test/ui/run-pass/macros/macro-path.rs b/src/test/ui/run-pass/macros/macro-path.rs index 7aecc1dc203..ae776e18479 100644 --- a/src/test/ui/run-pass/macros/macro-path.rs +++ b/src/test/ui/run-pass/macros/macro-path.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod m { pub type t = isize; diff --git a/src/test/ui/run-pass/macros/macro-pub-matcher.rs b/src/test/ui/run-pass/macros/macro-pub-matcher.rs index db8331358b9..7d8bb430232 100644 --- a/src/test/ui/run-pass/macros/macro-pub-matcher.rs +++ b/src/test/ui/run-pass/macros/macro-pub-matcher.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code, unused_imports)] #![cfg_attr(stage0, feature(macro_vis_matcher))] #![feature(crate_visibility_modifier)] diff --git a/src/test/ui/run-pass/macros/macro-seq-followed-by-seq.rs b/src/test/ui/run-pass/macros/macro-seq-followed-by-seq.rs index 23c7d2516a2..594717ffcdb 100644 --- a/src/test/ui/run-pass/macros/macro-seq-followed-by-seq.rs +++ b/src/test/ui/run-pass/macros/macro-seq-followed-by-seq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test of allowing two sequences repetitions in a row, // functionality added as byproduct of RFC amendment #1384 // https://github.com/rust-lang/rfcs/pull/1384 diff --git a/src/test/ui/run-pass/macros/macro-stability.rs b/src/test/ui/run-pass/macros/macro-stability.rs index 9afcd51aa85..a5c0cbbcde4 100644 --- a/src/test/ui/run-pass/macros/macro-stability.rs +++ b/src/test/ui/run-pass/macros/macro-stability.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:unstable-macros.rs #![feature(unstable_macros)] diff --git a/src/test/ui/run-pass/macros/macro-stmt.rs b/src/test/ui/run-pass/macros/macro-stmt.rs index 027df9f93a8..98b0dcb8336 100644 --- a/src/test/ui/run-pass/macros/macro-stmt.rs +++ b/src/test/ui/run-pass/macros/macro-stmt.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! myfn { ( $f:ident, ( $( $x:ident ),* ), $body:block ) => ( fn $f( $( $x : isize),* ) -> isize $body diff --git a/src/test/ui/run-pass/macros/macro-stmt_macro_in_expr_macro.rs b/src/test/ui/run-pass/macros/macro-stmt_macro_in_expr_macro.rs index c5badd78a63..22e983dd9ce 100644 --- a/src/test/ui/run-pass/macros/macro-stmt_macro_in_expr_macro.rs +++ b/src/test/ui/run-pass/macros/macro-stmt_macro_in_expr_macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { () => { struct Bar; diff --git a/src/test/ui/run-pass/macros/macro-tt-followed-by-seq.rs b/src/test/ui/run-pass/macros/macro-tt-followed-by-seq.rs index cdb1f86aea5..204fdcf7049 100644 --- a/src/test/ui/run-pass/macros/macro-tt-followed-by-seq.rs +++ b/src/test/ui/run-pass/macros/macro-tt-followed-by-seq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #25436: permit token-trees to be followed // by sequences, enabling more general parsing. diff --git a/src/test/ui/run-pass/macros/macro-use-all-and-none.rs b/src/test/ui/run-pass/macros/macro-use-all-and-none.rs index 60e1d6287f1..6e035ff7f39 100644 --- a/src/test/ui/run-pass/macros/macro-use-all-and-none.rs +++ b/src/test/ui/run-pass/macros/macro-use-all-and-none.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:two_macros.rs #[macro_use] diff --git a/src/test/ui/run-pass/macros/macro-use-all.rs b/src/test/ui/run-pass/macros/macro-use-all.rs index ca9c0e23e7c..8bbec89ace2 100644 --- a/src/test/ui/run-pass/macros/macro-use-all.rs +++ b/src/test/ui/run-pass/macros/macro-use-all.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:two_macros.rs #[macro_use] diff --git a/src/test/ui/run-pass/macros/macro-use-both.rs b/src/test/ui/run-pass/macros/macro-use-both.rs index 7e0a374ef15..5e5b4b778a2 100644 --- a/src/test/ui/run-pass/macros/macro-use-both.rs +++ b/src/test/ui/run-pass/macros/macro-use-both.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:two_macros.rs #[macro_use(macro_one, macro_two)] diff --git a/src/test/ui/run-pass/macros/macro-use-one.rs b/src/test/ui/run-pass/macros/macro-use-one.rs index 6a30b3e55ba..bdd9cc25b63 100644 --- a/src/test/ui/run-pass/macros/macro-use-one.rs +++ b/src/test/ui/run-pass/macros/macro-use-one.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:two_macros.rs #[macro_use(macro_two)] diff --git a/src/test/ui/run-pass/macros/macro-with-attrs1.rs b/src/test/ui/run-pass/macros/macro-with-attrs1.rs index 99bf71b1f01..4b2413d2deb 100644 --- a/src/test/ui/run-pass/macros/macro-with-attrs1.rs +++ b/src/test/ui/run-pass/macros/macro-with-attrs1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg foo diff --git a/src/test/ui/run-pass/macros/macro-with-attrs2.rs b/src/test/ui/run-pass/macros/macro-with-attrs2.rs index 062c8d55d52..37fc4ba6f2b 100644 --- a/src/test/ui/run-pass/macros/macro-with-attrs2.rs +++ b/src/test/ui/run-pass/macros/macro-with-attrs2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[cfg(foo)] macro_rules! foo { () => (1) } diff --git a/src/test/ui/run-pass/macros/macro-with-braces-in-expr-position.rs b/src/test/ui/run-pass/macros/macro-with-braces-in-expr-position.rs index c3fad3a19f9..830ec620fca 100644 --- a/src/test/ui/run-pass/macros/macro-with-braces-in-expr-position.rs +++ b/src/test/ui/run-pass/macros/macro-with-braces-in-expr-position.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/macros/macro_with_super_2.rs b/src/test/ui/run-pass/macros/macro_with_super_2.rs index 9ecf186d5b1..2c984f86f0b 100644 --- a/src/test/ui/run-pass/macros/macro_with_super_2.rs +++ b/src/test/ui/run-pass/macros/macro_with_super_2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:macro_with_super_1.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/macros/macros-in-extern.rs b/src/test/ui/run-pass/macros/macros-in-extern.rs index d9094934356..2d3d2a9589c 100644 --- a/src/test/ui/run-pass/macros/macros-in-extern.rs +++ b/src/test/ui/run-pass/macros/macros-in-extern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32 #![feature(decl_macro, macros_in_extern)] diff --git a/src/test/ui/run-pass/macros/parse-complex-macro-invoc-op.rs b/src/test/ui/run-pass/macros/parse-complex-macro-invoc-op.rs index e4c9fd9d8ef..b35dd66b6d0 100644 --- a/src/test/ui/run-pass/macros/parse-complex-macro-invoc-op.rs +++ b/src/test/ui/run-pass/macros/parse-complex-macro-invoc-op.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test parsing binary operators after macro invocations. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/macros/paths-in-macro-invocations.rs b/src/test/ui/run-pass/macros/paths-in-macro-invocations.rs index e860f7021e5..358c97d468b 100644 --- a/src/test/ui/run-pass/macros/paths-in-macro-invocations.rs +++ b/src/test/ui/run-pass/macros/paths-in-macro-invocations.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:two_macros.rs extern crate two_macros; diff --git a/src/test/ui/run-pass/macros/pub-item-inside-macro.rs b/src/test/ui/run-pass/macros/pub-item-inside-macro.rs index d082ca624e0..f17d0ac47b6 100644 --- a/src/test/ui/run-pass/macros/pub-item-inside-macro.rs +++ b/src/test/ui/run-pass/macros/pub-item-inside-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #14660 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/macros/pub-method-inside-macro.rs b/src/test/ui/run-pass/macros/pub-method-inside-macro.rs index 2e2e261b6d0..3bd48c11def 100644 --- a/src/test/ui/run-pass/macros/pub-method-inside-macro.rs +++ b/src/test/ui/run-pass/macros/pub-method-inside-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #17436 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/macros/semi-after-macro-ty.rs b/src/test/ui/run-pass/macros/semi-after-macro-ty.rs index 2b4304252a1..1eaa8c49222 100644 --- a/src/test/ui/run-pass/macros/semi-after-macro-ty.rs +++ b/src/test/ui/run-pass/macros/semi-after-macro-ty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! foo { ($t:ty; $p:path;) => {} } diff --git a/src/test/ui/run-pass/macros/stmt_expr_attr_macro_parse.rs b/src/test/ui/run-pass/macros/stmt_expr_attr_macro_parse.rs index 23559e8789b..faf02af5387 100644 --- a/src/test/ui/run-pass/macros/stmt_expr_attr_macro_parse.rs +++ b/src/test/ui/run-pass/macros/stmt_expr_attr_macro_parse.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! m { ($e:expr) => { "expr includes attr" diff --git a/src/test/ui/run-pass/macros/syntax-extension-cfg.rs b/src/test/ui/run-pass/macros/syntax-extension-cfg.rs index c1d8713b20e..f3b2f1df219 100644 --- a/src/test/ui/run-pass/macros/syntax-extension-cfg.rs +++ b/src/test/ui/run-pass/macros/syntax-extension-cfg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: --cfg foo --cfg qux="foo" diff --git a/src/test/ui/run-pass/macros/syntax-extension-source-utils.rs b/src/test/ui/run-pass/macros/syntax-extension-source-utils.rs index 1b2741f14b6..7652f9e8417 100644 --- a/src/test/ui/run-pass/macros/syntax-extension-source-utils.rs +++ b/src/test/ui/run-pass/macros/syntax-extension-source-utils.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 pub mod m1 { diff --git a/src/test/ui/run-pass/macros/try-macro.rs b/src/test/ui/run-pass/macros/try-macro.rs index a12e20702d2..4a8f55ac83c 100644 --- a/src/test/ui/run-pass/macros/try-macro.rs +++ b/src/test/ui/run-pass/macros/try-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::num::{ParseFloatError, ParseIntError}; fn main() { diff --git a/src/test/ui/run-pass/macros/two-macro-use.rs b/src/test/ui/run-pass/macros/two-macro-use.rs index 5df9d0222b4..28c18d71991 100644 --- a/src/test/ui/run-pass/macros/two-macro-use.rs +++ b/src/test/ui/run-pass/macros/two-macro-use.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:two_macros.rs #[macro_use(macro_one)] diff --git a/src/test/ui/run-pass/macros/type-macros-hlist.rs b/src/test/ui/run-pass/macros/type-macros-hlist.rs index 84c0983de80..41d4cef07f2 100644 --- a/src/test/ui/run-pass/macros/type-macros-hlist.rs +++ b/src/test/ui/run-pass/macros/type-macros-hlist.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::*; #[derive(Copy, Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] diff --git a/src/test/ui/run-pass/macros/type-macros-simple.rs b/src/test/ui/run-pass/macros/type-macros-simple.rs index 67b1d2c06e3..8f091ec192b 100644 --- a/src/test/ui/run-pass/macros/type-macros-simple.rs +++ b/src/test/ui/run-pass/macros/type-macros-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! Tuple { { $A:ty,$B:ty } => { ($A, $B) } } diff --git a/src/test/ui/run-pass/macros/typeck-macro-interaction-issue-8852.rs b/src/test/ui/run-pass/macros/typeck-macro-interaction-issue-8852.rs index 696e151a80e..31bf37ec0a9 100644 --- a/src/test/ui/run-pass/macros/typeck-macro-interaction-issue-8852.rs +++ b/src/test/ui/run-pass/macros/typeck-macro-interaction-issue-8852.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum T { A(isize), diff --git a/src/test/ui/run-pass/macros/use-macro-self.rs b/src/test/ui/run-pass/macros/use-macro-self.rs index 66ab00da7f4..fb816f9e78f 100644 --- a/src/test/ui/run-pass/macros/use-macro-self.rs +++ b/src/test/ui/run-pass/macros/use-macro-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:use-macro-self.rs #[macro_use] diff --git a/src/test/ui/run-pass/methods/method-argument-inference-associated-type.rs b/src/test/ui/run-pass/methods/method-argument-inference-associated-type.rs index 76b8cf92329..0db38516cb9 100644 --- a/src/test/ui/run-pass/methods/method-argument-inference-associated-type.rs +++ b/src/test/ui/run-pass/methods/method-argument-inference-associated-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct ClientMap; pub struct ClientMap2; diff --git a/src/test/ui/run-pass/methods/method-attributes.rs b/src/test/ui/run-pass/methods/method-attributes.rs index 400ecda411e..53d0d5bcdd4 100644 --- a/src/test/ui/run-pass/methods/method-attributes.rs +++ b/src/test/ui/run-pass/methods/method-attributes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pp-exact - Make sure we print all the attributes // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/methods/method-early-bound-lifetimes-on-self.rs b/src/test/ui/run-pass/methods/method-early-bound-lifetimes-on-self.rs index 3babb543bf2..f98a35bb9e3 100644 --- a/src/test/ui/run-pass/methods/method-early-bound-lifetimes-on-self.rs +++ b/src/test/ui/run-pass/methods/method-early-bound-lifetimes-on-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that we successfully handle methods where the `self` type has // an early-bound lifetime. Issue #18208. diff --git a/src/test/ui/run-pass/methods/method-mut-self-modifies-mut-slice-lvalue.rs b/src/test/ui/run-pass/methods/method-mut-self-modifies-mut-slice-lvalue.rs index 220482f57eb..7e6f0d9e27b 100644 --- a/src/test/ui/run-pass/methods/method-mut-self-modifies-mut-slice-lvalue.rs +++ b/src/test/ui/run-pass/methods/method-mut-self-modifies-mut-slice-lvalue.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that an `&mut self` method, when invoked on a place whose // type is `&mut [u8]`, passes in a pointer to the place and not a // temporary. Issue #19147. diff --git a/src/test/ui/run-pass/methods/method-normalize-bounds-issue-20604.rs b/src/test/ui/run-pass/methods/method-normalize-bounds-issue-20604.rs index 3a1ce74a64c..1206712acfa 100644 --- a/src/test/ui/run-pass/methods/method-normalize-bounds-issue-20604.rs +++ b/src/test/ui/run-pass/methods/method-normalize-bounds-issue-20604.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we handle projection types which wind up important for // resolving methods. This test was reduced from a larger example; the // call to `foo()` at the end was failing to resolve because the diff --git a/src/test/ui/run-pass/methods/method-projection.rs b/src/test/ui/run-pass/methods/method-projection.rs index 41d92cc7593..a997c8ffbfb 100644 --- a/src/test/ui/run-pass/methods/method-projection.rs +++ b/src/test/ui/run-pass/methods/method-projection.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can use method notation to call methods based on a // projection bound from a trait. Issue #20469. diff --git a/src/test/ui/run-pass/methods/method-recursive-blanket-impl.rs b/src/test/ui/run-pass/methods/method-recursive-blanket-impl.rs index 6877bf376a6..d1cd974070f 100644 --- a/src/test/ui/run-pass/methods/method-recursive-blanket-impl.rs +++ b/src/test/ui/run-pass/methods/method-recursive-blanket-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we don't trigger on the blanket impl for all `&'a T` but // rather keep autoderefing and trigger on the underlying impl. To // know not to stop at the blanket, we have to recursively evaluate diff --git a/src/test/ui/run-pass/methods/method-self-arg-aux1.rs b/src/test/ui/run-pass/methods/method-self-arg-aux1.rs index 2572baf68fd..c56a69ae4cd 100644 --- a/src/test/ui/run-pass/methods/method-self-arg-aux1.rs +++ b/src/test/ui/run-pass/methods/method-self-arg-aux1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test method calls with self as an argument (cross-crate) #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/methods/method-self-arg-aux2.rs b/src/test/ui/run-pass/methods/method-self-arg-aux2.rs index 51de69ff01f..1dffa813ceb 100644 --- a/src/test/ui/run-pass/methods/method-self-arg-aux2.rs +++ b/src/test/ui/run-pass/methods/method-self-arg-aux2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test method calls with self as an argument (cross-crate) #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/methods/method-self-arg-trait.rs b/src/test/ui/run-pass/methods/method-self-arg-trait.rs index 34e849bd0d2..9429d69a156 100644 --- a/src/test/ui/run-pass/methods/method-self-arg-trait.rs +++ b/src/test/ui/run-pass/methods/method-self-arg-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test method calls with self as an argument #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/methods/method-self-arg.rs b/src/test/ui/run-pass/methods/method-self-arg.rs index b7fb2fa138d..38e8dfe3e4b 100644 --- a/src/test/ui/run-pass/methods/method-self-arg.rs +++ b/src/test/ui/run-pass/methods/method-self-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test method calls with self as an argument #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-1.rs b/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-1.rs index ff80ee19868..8ea656d7af1 100644 --- a/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-1.rs +++ b/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we pick which version of `foo` to run based on the // type that is (ultimately) inferred for `x`. diff --git a/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-2.rs b/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-2.rs index f403f526039..3550326327d 100644 --- a/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-2.rs +++ b/src/test/ui/run-pass/methods/method-two-trait-defer-resolution-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that when we write `x.foo()`, we do not have to know the // complete type of `x` in order to type-check the method call. In // this case, we know that `x: Vec<_1>`, but we don't know what type diff --git a/src/test/ui/run-pass/methods/method-two-traits-distinguished-via-where-clause.rs b/src/test/ui/run-pass/methods/method-two-traits-distinguished-via-where-clause.rs index 3f0f4f35745..89ac0fc890c 100644 --- a/src/test/ui/run-pass/methods/method-two-traits-distinguished-via-where-clause.rs +++ b/src/test/ui/run-pass/methods/method-two-traits-distinguished-via-where-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we select between traits A and B. To do that, we must // consider the `Sized` bound. diff --git a/src/test/ui/run-pass/methods/method-where-clause.rs b/src/test/ui/run-pass/methods/method-where-clause.rs index 078dbe0e79e..721de2bf8e1 100644 --- a/src/test/ui/run-pass/methods/method-where-clause.rs +++ b/src/test/ui/run-pass/methods/method-where-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can use method notation to call methods based on a // where clause type, and not only type parameters. diff --git a/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45493.rs b/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45493.rs index bd178f0e5bd..85323d56616 100644 --- a/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45493.rs +++ b/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45493.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:-Zmir-opt-level=2 trait Array { diff --git a/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45885.rs b/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45885.rs index 702cb6a9bc1..f5401279c89 100644 --- a/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45885.rs +++ b/src/test/ui/run-pass/mir/mir-inlining/ice-issue-45885.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:-Zmir-opt-level=2 pub enum Enum { diff --git a/src/test/ui/run-pass/mir/mir-inlining/no-trait-method-issue-40473.rs b/src/test/ui/run-pass/mir/mir-inlining/no-trait-method-issue-40473.rs index 11a29d97417..ff5bf4e75a3 100644 --- a/src/test/ui/run-pass/mir/mir-inlining/no-trait-method-issue-40473.rs +++ b/src/test/ui/run-pass/mir/mir-inlining/no-trait-method-issue-40473.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags:-Zmir-opt-level=2 pub trait Foo { fn bar(&self) -> usize { 2 } diff --git a/src/test/ui/run-pass/mir/mir-typeck-normalize-fn-sig.rs b/src/test/ui/run-pass/mir/mir-typeck-normalize-fn-sig.rs index 11918d3739d..3fc2ce44eaa 100644 --- a/src/test/ui/run-pass/mir/mir-typeck-normalize-fn-sig.rs +++ b/src/test/ui/run-pass/mir/mir-typeck-normalize-fn-sig.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This code was creating an ICE in the MIR type checker. The reason // is that we are reifying a reference to a function (`foo::<'x>`), // which involves extracting its signature, but we were not diff --git a/src/test/ui/run-pass/mir/mir_adt_construction.rs b/src/test/ui/run-pass/mir/mir_adt_construction.rs index eb96d94efec..066edfef0ad 100644 --- a/src/test/ui/run-pass/mir/mir_adt_construction.rs +++ b/src/test/ui/run-pass/mir/mir_adt_construction.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt; #[repr(C)] diff --git a/src/test/ui/run-pass/mir/mir_ascription_coercion.rs b/src/test/ui/run-pass/mir/mir_ascription_coercion.rs index bc1013429aa..f52467e5ae8 100644 --- a/src/test/ui/run-pass/mir/mir_ascription_coercion.rs +++ b/src/test/ui/run-pass/mir/mir_ascription_coercion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that the result of type ascription has adjustments applied #![feature(type_ascription)] diff --git a/src/test/ui/run-pass/mir/mir_augmented_assignments.rs b/src/test/ui/run-pass/mir/mir_augmented_assignments.rs index bb90f25fce5..dfc6a016185 100644 --- a/src/test/ui/run-pass/mir/mir_augmented_assignments.rs +++ b/src/test/ui/run-pass/mir/mir_augmented_assignments.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; use std::ops::{ AddAssign, BitAndAssign, BitOrAssign, BitXorAssign, DivAssign, MulAssign, RemAssign, diff --git a/src/test/ui/run-pass/mir/mir_autoderef.rs b/src/test/ui/run-pass/mir/mir_autoderef.rs index f0032fee283..c2d7e6d99ee 100644 --- a/src/test/ui/run-pass/mir/mir_autoderef.rs +++ b/src/test/ui/run-pass/mir/mir_autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::{Deref, DerefMut}; pub struct MyRef(u32); diff --git a/src/test/ui/run-pass/mir/mir_boxing.rs b/src/test/ui/run-pass/mir/mir_boxing.rs index 1c5134755d7..31b10975a4a 100644 --- a/src/test/ui/run-pass/mir/mir_boxing.rs +++ b/src/test/ui/run-pass/mir/mir_boxing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn test() -> Box { diff --git a/src/test/ui/run-pass/mir/mir_build_match_comparisons.rs b/src/test/ui/run-pass/mir/mir_build_match_comparisons.rs index b195ff63412..45ac6566637 100644 --- a/src/test/ui/run-pass/mir/mir_build_match_comparisons.rs +++ b/src/test/ui/run-pass/mir/mir_build_match_comparisons.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test1(x: i8) -> i32 { match x { 1...10 => 0, diff --git a/src/test/ui/run-pass/mir/mir_call_with_associated_type.rs b/src/test/ui/run-pass/mir/mir_call_with_associated_type.rs index 935d0e58985..1d960d1b716 100644 --- a/src/test/ui/run-pass/mir/mir_call_with_associated_type.rs +++ b/src/test/ui/run-pass/mir/mir_call_with_associated_type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Trait { type Type; } diff --git a/src/test/ui/run-pass/mir/mir_calls_to_shims.rs b/src/test/ui/run-pass/mir/mir_calls_to_shims.rs index 9641ed28293..d9cdec40694 100644 --- a/src/test/ui/run-pass/mir/mir_calls_to_shims.rs +++ b/src/test/ui/run-pass/mir/mir_calls_to_shims.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default #![feature(fn_traits)] diff --git a/src/test/ui/run-pass/mir/mir_cast_fn_ret.rs b/src/test/ui/run-pass/mir/mir_cast_fn_ret.rs index 311d5451eb6..d2d29120855 100644 --- a/src/test/ui/run-pass/mir/mir_cast_fn_ret.rs +++ b/src/test/ui/run-pass/mir/mir_cast_fn_ret.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub extern "C" fn tuple2() -> (u16, u8) { (1, 2) } diff --git a/src/test/ui/run-pass/mir/mir_codegen_array.rs b/src/test/ui/run-pass/mir/mir_codegen_array.rs index b7f247012ce..a0cd3c8dd12 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_array.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_array.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn into_inner() -> [u64; 1024] { let mut x = 10 + 20; [x; 1024] diff --git a/src/test/ui/run-pass/mir/mir_codegen_array_2.rs b/src/test/ui/run-pass/mir/mir_codegen_array_2.rs index c7133fb0c0e..2734bc71b58 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_array_2.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_array_2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn into_inner(x: u64) -> [u64; 1024] { [x; 2*4*8*16] } diff --git a/src/test/ui/run-pass/mir/mir_codegen_call_converging.rs b/src/test/ui/run-pass/mir/mir_codegen_call_converging.rs index 7d420bb86c6..d7bce4d5be3 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_call_converging.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_call_converging.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn converging_fn() -> u64 { 43 } diff --git a/src/test/ui/run-pass/mir/mir_codegen_calls.rs b/src/test/ui/run-pass/mir/mir_codegen_calls.rs index d02e3287bc3..33ffab40428 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_calls.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_calls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(fn_traits, test)] extern crate test; diff --git a/src/test/ui/run-pass/mir/mir_codegen_calls_variadic.rs b/src/test/ui/run-pass/mir/mir_codegen_calls_variadic.rs index 7845c9426e2..ee32f2d0e0f 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_calls_variadic.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_calls_variadic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #[link(name = "rust_test_helpers", kind = "static")] diff --git a/src/test/ui/run-pass/mir/mir_codegen_critical_edge.rs b/src/test/ui/run-pass/mir/mir_codegen_critical_edge.rs index c742e71633f..48a5d6ab0f0 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_critical_edge.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_critical_edge.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This code produces a CFG with critical edges that, if we don't // handle properly, will cause invalid codegen. diff --git a/src/test/ui/run-pass/mir/mir_codegen_spike1.rs b/src/test/ui/run-pass/mir/mir_codegen_spike1.rs index 27e1583af34..0317aa0b509 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_spike1.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_spike1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A simple spike test for MIR version of codegen. fn sum(x: i32, y: i32) -> i32 { diff --git a/src/test/ui/run-pass/mir/mir_codegen_switch.rs b/src/test/ui/run-pass/mir/mir_codegen_switch.rs index b097bf46ad3..d793337925d 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_switch.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_switch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Abc { A(u8), B(i8), diff --git a/src/test/ui/run-pass/mir/mir_codegen_switchint.rs b/src/test/ui/run-pass/mir/mir_codegen_switchint.rs index 537734596a5..ef0a98a6e70 100644 --- a/src/test/ui/run-pass/mir/mir_codegen_switchint.rs +++ b/src/test/ui/run-pass/mir/mir_codegen_switchint.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn foo(x: i8) -> i32 { match x { 1 => 0, diff --git a/src/test/ui/run-pass/mir/mir_coercion_casts.rs b/src/test/ui/run-pass/mir/mir_coercion_casts.rs index 2be2854fac9..3de87029e0f 100644 --- a/src/test/ui/run-pass/mir/mir_coercion_casts.rs +++ b/src/test/ui/run-pass/mir/mir_coercion_casts.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests the coercion casts are handled properly fn main() { diff --git a/src/test/ui/run-pass/mir/mir_coercions.rs b/src/test/ui/run-pass/mir/mir_coercions.rs index 79d1cfde7cd..79a8030e9b5 100644 --- a/src/test/ui/run-pass/mir/mir_coercions.rs +++ b/src/test/ui/run-pass/mir/mir_coercions.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(coerce_unsized, unsize)] use std::ops::CoerceUnsized; diff --git a/src/test/ui/run-pass/mir/mir_constval_adts.rs b/src/test/ui/run-pass/mir/mir_constval_adts.rs index 696ff8a7e60..d35dd9c441b 100644 --- a/src/test/ui/run-pass/mir/mir_constval_adts.rs +++ b/src/test/ui/run-pass/mir/mir_constval_adts.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Point { _x: i32, diff --git a/src/test/ui/run-pass/mir/mir_drop_order.rs b/src/test/ui/run-pass/mir/mir_drop_order.rs index 7ab133bbab4..abc21eee636 100644 --- a/src/test/ui/run-pass/mir/mir_drop_order.rs +++ b/src/test/ui/run-pass/mir/mir_drop_order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default use std::cell::RefCell; diff --git a/src/test/ui/run-pass/mir/mir_early_return_scope.rs b/src/test/ui/run-pass/mir/mir_early_return_scope.rs index c27e57358b0..27b90722328 100644 --- a/src/test/ui/run-pass/mir/mir_early_return_scope.rs +++ b/src/test/ui/run-pass/mir/mir_early_return_scope.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static mut DROP: bool = false; struct ConnWrap(Conn); diff --git a/src/test/ui/run-pass/mir/mir_fat_ptr.rs b/src/test/ui/run-pass/mir/mir_fat_ptr.rs index e5c9e3577d1..b3facb3b4c4 100644 --- a/src/test/ui/run-pass/mir/mir_fat_ptr.rs +++ b/src/test/ui/run-pass/mir/mir_fat_ptr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // test that ordinary fat pointer operations work. struct Wrapper(u32, T); diff --git a/src/test/ui/run-pass/mir/mir_fat_ptr_drop.rs b/src/test/ui/run-pass/mir/mir_fat_ptr_drop.rs index 64e68c78c3c..f69eba429db 100644 --- a/src/test/ui/run-pass/mir/mir_fat_ptr_drop.rs +++ b/src/test/ui/run-pass/mir/mir_fat_ptr_drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // test that ordinary fat pointer operations work. #![feature(braced_empty_structs)] diff --git a/src/test/ui/run-pass/mir/mir_heavy_promoted.rs b/src/test/ui/run-pass/mir/mir_heavy_promoted.rs index b5085217577..2f788f1408d 100644 --- a/src/test/ui/run-pass/mir/mir_heavy_promoted.rs +++ b/src/test/ui/run-pass/mir/mir_heavy_promoted.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten apparently only works in optimized mode const TEST_DATA: [u8; 32 * 1024 * 1024] = [42; 32 * 1024 * 1024]; diff --git a/src/test/ui/run-pass/mir/mir_match_arm_guard.rs b/src/test/ui/run-pass/mir/mir_match_arm_guard.rs index 487999e6ed6..b53f8535079 100644 --- a/src/test/ui/run-pass/mir/mir_match_arm_guard.rs +++ b/src/test/ui/run-pass/mir/mir_match_arm_guard.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #30527 - We were not generating arms with guards in certain cases. fn match_with_guard(x: Option) -> i8 { diff --git a/src/test/ui/run-pass/mir/mir_misc_casts.rs b/src/test/ui/run-pass/mir/mir_misc_casts.rs index 81c8b75fb9b..081814edcd1 100644 --- a/src/test/ui/run-pass/mir/mir_misc_casts.rs +++ b/src/test/ui/run-pass/mir/mir_misc_casts.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn func(){} const STR: &'static str = "hello"; diff --git a/src/test/ui/run-pass/mir/mir_overflow_off.rs b/src/test/ui/run-pass/mir/mir_overflow_off.rs index a2cfca01dac..9d6624b53d0 100644 --- a/src/test/ui/run-pass/mir/mir_overflow_off.rs +++ b/src/test/ui/run-pass/mir/mir_overflow_off.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z force-overflow-checks=off // Test that with MIR codegen, overflow checks can be diff --git a/src/test/ui/run-pass/mir/mir_raw_fat_ptr.rs b/src/test/ui/run-pass/mir/mir_raw_fat_ptr.rs index 846318ec4fd..b5ae15b2ce1 100644 --- a/src/test/ui/run-pass/mir/mir_raw_fat_ptr.rs +++ b/src/test/ui/run-pass/mir/mir_raw_fat_ptr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check raw fat pointer ops in mir // FIXME: please improve this when we get monomorphization support diff --git a/src/test/ui/run-pass/mir/mir_refs_correct.rs b/src/test/ui/run-pass/mir/mir_refs_correct.rs index df90fe2b791..1166b6188c2 100644 --- a/src/test/ui/run-pass/mir/mir_refs_correct.rs +++ b/src/test/ui/run-pass/mir/mir_refs_correct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:mir_external_refs.rs extern crate mir_external_refs as ext; diff --git a/src/test/ui/run-pass/mir/mir_small_agg_arg.rs b/src/test/ui/run-pass/mir/mir_small_agg_arg.rs index 639a585ae00..48eae959b4e 100644 --- a/src/test/ui/run-pass/mir/mir_small_agg_arg.rs +++ b/src/test/ui/run-pass/mir/mir_small_agg_arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo((x, y): (i8, i8)) { } diff --git a/src/test/ui/run-pass/mir/mir_struct_with_assoc_ty.rs b/src/test/ui/run-pass/mir/mir_struct_with_assoc_ty.rs index 7b2514c27c8..f94b44a1eea 100644 --- a/src/test/ui/run-pass/mir/mir_struct_with_assoc_ty.rs +++ b/src/test/ui/run-pass/mir/mir_struct_with_assoc_ty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::marker::PhantomData; pub trait DataBind { diff --git a/src/test/ui/run-pass/mir/mir_temp_promotions.rs b/src/test/ui/run-pass/mir/mir_temp_promotions.rs index 4865e955091..ba3e85a0dcf 100644 --- a/src/test/ui/run-pass/mir/mir_temp_promotions.rs +++ b/src/test/ui/run-pass/mir/mir_temp_promotions.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test1(f: f32) -> bool { // test that we properly promote temporaries to allocas when a temporary is assigned to // multiple times (assignment is still happening once ∀ possible dataflows). diff --git a/src/test/ui/run-pass/mir/mir_void_return.rs b/src/test/ui/run-pass/mir/mir_void_return.rs index 78cb9fb39d6..c984bfd8cb1 100644 --- a/src/test/ui/run-pass/mir/mir_void_return.rs +++ b/src/test/ui/run-pass/mir/mir_void_return.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn mir() -> (){ let x = 1; let mut y = 0; diff --git a/src/test/ui/run-pass/mir/mir_void_return_2.rs b/src/test/ui/run-pass/mir/mir_void_return_2.rs index fc9e3d5e3b5..fbe457fdd83 100644 --- a/src/test/ui/run-pass/mir/mir_void_return_2.rs +++ b/src/test/ui/run-pass/mir/mir_void_return_2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn nil() {} fn mir(){ diff --git a/src/test/ui/run-pass/modules/mod-inside-fn.rs b/src/test/ui/run-pass/modules/mod-inside-fn.rs index 6b922634aad..da7a3d97c10 100644 --- a/src/test/ui/run-pass/modules/mod-inside-fn.rs +++ b/src/test/ui/run-pass/modules/mod-inside-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f() -> isize { mod m { diff --git a/src/test/ui/run-pass/modules/mod-view-items.rs b/src/test/ui/run-pass/modules/mod-view-items.rs index ba23197b83c..ecca9c7ce95 100644 --- a/src/test/ui/run-pass/modules/mod-view-items.rs +++ b/src/test/ui/run-pass/modules/mod-view-items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test view items inside non-file-level mods // This is a regression test for an issue where we were failing to diff --git a/src/test/ui/run-pass/modules/mod_dir_implicit.rs b/src/test/ui/run-pass/modules/mod_dir_implicit.rs index f8034f9e073..e9a1d6cfa29 100644 --- a/src/test/ui/run-pass/modules/mod_dir_implicit.rs +++ b/src/test/ui/run-pass/modules/mod_dir_implicit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 mod mod_dir_implicit_aux; diff --git a/src/test/ui/run-pass/modules/mod_dir_implicit_aux/mod.rs b/src/test/ui/run-pass/modules/mod_dir_implicit_aux/mod.rs index 58c1beee3be..8687b33cac3 100644 --- a/src/test/ui/run-pass/modules/mod_dir_implicit_aux/mod.rs +++ b/src/test/ui/run-pass/modules/mod_dir_implicit_aux/mod.rs @@ -8,4 +8,5 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn foo() -> isize { 10 } diff --git a/src/test/ui/run-pass/modules/mod_dir_path.rs b/src/test/ui/run-pass/modules/mod_dir_path.rs index fc91ea870d5..d614b2fb860 100644 --- a/src/test/ui/run-pass/modules/mod_dir_path.rs +++ b/src/test/ui/run-pass/modules/mod_dir_path.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 mod mod_dir_simple { diff --git a/src/test/ui/run-pass/modules/mod_dir_path2.rs b/src/test/ui/run-pass/modules/mod_dir_path2.rs index b96c1ae0722..9b116d534d9 100644 --- a/src/test/ui/run-pass/modules/mod_dir_path2.rs +++ b/src/test/ui/run-pass/modules/mod_dir_path2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 #[path = "mod_dir_simple"] diff --git a/src/test/ui/run-pass/modules/mod_dir_path3.rs b/src/test/ui/run-pass/modules/mod_dir_path3.rs index 3160064d7c2..5bdf2ca2e59 100644 --- a/src/test/ui/run-pass/modules/mod_dir_path3.rs +++ b/src/test/ui/run-pass/modules/mod_dir_path3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 #[path = "mod_dir_simple"] diff --git a/src/test/ui/run-pass/modules/mod_dir_path_multi.rs b/src/test/ui/run-pass/modules/mod_dir_path_multi.rs index 12b28cf98af..e6a22c21cbc 100644 --- a/src/test/ui/run-pass/modules/mod_dir_path_multi.rs +++ b/src/test/ui/run-pass/modules/mod_dir_path_multi.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 #[path = "mod_dir_simple"] diff --git a/src/test/ui/run-pass/modules/mod_dir_recursive.rs b/src/test/ui/run-pass/modules/mod_dir_recursive.rs index 8964d9ccd25..88dc845bcb5 100644 --- a/src/test/ui/run-pass/modules/mod_dir_recursive.rs +++ b/src/test/ui/run-pass/modules/mod_dir_recursive.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 // Testing that the parser for each file tracks its modules diff --git a/src/test/ui/run-pass/modules/mod_dir_simple.rs b/src/test/ui/run-pass/modules/mod_dir_simple.rs index 429b4ebe639..cb45b3cadaf 100644 --- a/src/test/ui/run-pass/modules/mod_dir_simple.rs +++ b/src/test/ui/run-pass/modules/mod_dir_simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 mod mod_dir_simple { diff --git a/src/test/ui/run-pass/modules/mod_dir_simple/load_another_mod.rs b/src/test/ui/run-pass/modules/mod_dir_simple/load_another_mod.rs index ca45864a5a1..40717782b92 100644 --- a/src/test/ui/run-pass/modules/mod_dir_simple/load_another_mod.rs +++ b/src/test/ui/run-pass/modules/mod_dir_simple/load_another_mod.rs @@ -8,5 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[path = "test.rs"] pub mod test; diff --git a/src/test/ui/run-pass/modules/mod_dir_simple/test.rs b/src/test/ui/run-pass/modules/mod_dir_simple/test.rs index 58c1beee3be..8687b33cac3 100644 --- a/src/test/ui/run-pass/modules/mod_dir_simple/test.rs +++ b/src/test/ui/run-pass/modules/mod_dir_simple/test.rs @@ -8,4 +8,5 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn foo() -> isize { 10 } diff --git a/src/test/ui/run-pass/modules/mod_file.rs b/src/test/ui/run-pass/modules/mod_file.rs index c18fecd7c56..26bf83ca5a4 100644 --- a/src/test/ui/run-pass/modules/mod_file.rs +++ b/src/test/ui/run-pass/modules/mod_file.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 // Testing that a plain .rs file can load modules from other source files diff --git a/src/test/ui/run-pass/modules/mod_file_aux.rs b/src/test/ui/run-pass/modules/mod_file_aux.rs index b7470811f60..a7810a3cae1 100644 --- a/src/test/ui/run-pass/modules/mod_file_aux.rs +++ b/src/test/ui/run-pass/modules/mod_file_aux.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-test Not a test. Used by other tests pub fn foo() -> isize { 10 } diff --git a/src/test/ui/run-pass/modules/mod_file_with_path_attr.rs b/src/test/ui/run-pass/modules/mod_file_with_path_attr.rs index d9f28ceb0ec..ede610bcfad 100644 --- a/src/test/ui/run-pass/modules/mod_file_with_path_attr.rs +++ b/src/test/ui/run-pass/modules/mod_file_with_path_attr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty issue #37195 // Testing that a plain .rs file can load modules from other source files diff --git a/src/test/ui/run-pass/moves/move-1-unique.rs b/src/test/ui/run-pass/moves/move-1-unique.rs index 5c8dd41c646..1557f13b10d 100644 --- a/src/test/ui/run-pass/moves/move-1-unique.rs +++ b/src/test/ui/run-pass/moves/move-1-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #[derive(Clone)] diff --git a/src/test/ui/run-pass/moves/move-2-unique.rs b/src/test/ui/run-pass/moves/move-2-unique.rs index 0b67e54e234..270a5990496 100644 --- a/src/test/ui/run-pass/moves/move-2-unique.rs +++ b/src/test/ui/run-pass/moves/move-2-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct X { x: isize, y: isize, z: isize } diff --git a/src/test/ui/run-pass/moves/move-2.rs b/src/test/ui/run-pass/moves/move-2.rs index 0fbc2de91e6..9207c71e083 100644 --- a/src/test/ui/run-pass/moves/move-2.rs +++ b/src/test/ui/run-pass/moves/move-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct X { x: isize, y: isize, z: isize } diff --git a/src/test/ui/run-pass/moves/move-3-unique.rs b/src/test/ui/run-pass/moves/move-3-unique.rs index 36ad3a40b3f..6f86674104c 100644 --- a/src/test/ui/run-pass/moves/move-3-unique.rs +++ b/src/test/ui/run-pass/moves/move-3-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #[derive(Clone)] diff --git a/src/test/ui/run-pass/moves/move-4-unique.rs b/src/test/ui/run-pass/moves/move-4-unique.rs index 266e34c98a4..0876f37fd2d 100644 --- a/src/test/ui/run-pass/moves/move-4-unique.rs +++ b/src/test/ui/run-pass/moves/move-4-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Triple {a: isize, b: isize, c: isize} diff --git a/src/test/ui/run-pass/moves/move-4.rs b/src/test/ui/run-pass/moves/move-4.rs index 481068869e3..61dcc08805b 100644 --- a/src/test/ui/run-pass/moves/move-4.rs +++ b/src/test/ui/run-pass/moves/move-4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Triple { a: isize, b: isize, c: isize } diff --git a/src/test/ui/run-pass/moves/move-arg-2-unique.rs b/src/test/ui/run-pass/moves/move-arg-2-unique.rs index b6e225cc8b7..279b6d49358 100644 --- a/src/test/ui/run-pass/moves/move-arg-2-unique.rs +++ b/src/test/ui/run-pass/moves/move-arg-2-unique.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn test(foo: Box> ) { assert_eq!((*foo)[0], 10); } diff --git a/src/test/ui/run-pass/moves/move-arg-2.rs b/src/test/ui/run-pass/moves/move-arg-2.rs index 78774854c9f..a813d7ec922 100644 --- a/src/test/ui/run-pass/moves/move-arg-2.rs +++ b/src/test/ui/run-pass/moves/move-arg-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn test(foo: Box>) { assert_eq!((*foo)[0], 10); } diff --git a/src/test/ui/run-pass/moves/move-arg.rs b/src/test/ui/run-pass/moves/move-arg.rs index 1883c66987e..1fa10fe48b4 100644 --- a/src/test/ui/run-pass/moves/move-arg.rs +++ b/src/test/ui/run-pass/moves/move-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test(foo: isize) { assert_eq!(foo, 10); } diff --git a/src/test/ui/run-pass/moves/move-nullary-fn.rs b/src/test/ui/run-pass/moves/move-nullary-fn.rs index cec1e439972..b737c8c066c 100644 --- a/src/test/ui/run-pass/moves/move-nullary-fn.rs +++ b/src/test/ui/run-pass/moves/move-nullary-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #922 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/moves/move-out-of-field.rs b/src/test/ui/run-pass/moves/move-out-of-field.rs index 262add090bd..8c91c524f26 100644 --- a/src/test/ui/run-pass/moves/move-out-of-field.rs +++ b/src/test/ui/run-pass/moves/move-out-of-field.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::string::String; diff --git a/src/test/ui/run-pass/moves/move-scalar.rs b/src/test/ui/run-pass/moves/move-scalar.rs index 798424d107e..c72be92654c 100644 --- a/src/test/ui/run-pass/moves/move-scalar.rs +++ b/src/test/ui/run-pass/moves/move-scalar.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/moves/moves-based-on-type-capture-clause.rs b/src/test/ui/run-pass/moves/moves-based-on-type-capture-clause.rs index 548a62f4603..857bf7ff260 100644 --- a/src/test/ui/run-pass/moves/moves-based-on-type-capture-clause.rs +++ b/src/test/ui/run-pass/moves/moves-based-on-type-capture-clause.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/numbers-arithmetic/arith-0.rs b/src/test/ui/run-pass/numbers-arithmetic/arith-0.rs index a4365efbbbd..4d432cd5b4e 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/arith-0.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/arith-0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/numbers-arithmetic/arith-1.rs b/src/test/ui/run-pass/numbers-arithmetic/arith-1.rs index fd281ea1173..b78b359ced0 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/arith-1.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/arith-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/numbers-arithmetic/arith-2.rs b/src/test/ui/run-pass/numbers-arithmetic/arith-2.rs index 48e834cf54d..91e207c2b2f 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/arith-2.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/arith-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/arith-unsigned.rs b/src/test/ui/run-pass/numbers-arithmetic/arith-unsigned.rs index e5ff97e3cdb..eb94a73b837 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/arith-unsigned.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/arith-unsigned.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(type_limits)] diff --git a/src/test/ui/run-pass/numbers-arithmetic/div-mod.rs b/src/test/ui/run-pass/numbers-arithmetic/div-mod.rs index b6cae71df86..d04638f790b 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/div-mod.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/div-mod.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs b/src/test/ui/run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs index f84432abbfa..97f5f39a9e5 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no i128 support #![deny(const_err)] diff --git a/src/test/ui/run-pass/numbers-arithmetic/float-literal-inference.rs b/src/test/ui/run-pass/numbers-arithmetic/float-literal-inference.rs index b7c2c8d4953..e3e724cbe77 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float-literal-inference.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float-literal-inference.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { z: f64 } diff --git a/src/test/ui/run-pass/numbers-arithmetic/float-nan.rs b/src/test/ui/run-pass/numbers-arithmetic/float-nan.rs index 856599431fd..7725859eec6 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float-nan.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float-nan.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::f64; pub fn main() { diff --git a/src/test/ui/run-pass/numbers-arithmetic/float-signature.rs b/src/test/ui/run-pass/numbers-arithmetic/float-signature.rs index 08daf1bd80e..12a25aa6e8e 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float-signature.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float-signature.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/numbers-arithmetic/float.rs b/src/test/ui/run-pass/numbers-arithmetic/float.rs index 22d54162c43..597b4630683 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let pi = 3.1415927f64; println!("{}", -pi * (pi + 2.0 / pi) - pi * 5.0); diff --git a/src/test/ui/run-pass/numbers-arithmetic/float2.rs b/src/test/ui/run-pass/numbers-arithmetic/float2.rs index e9f6e0f51b4..70c7c600f40 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float2.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/float_math.rs b/src/test/ui/run-pass/numbers-arithmetic/float_math.rs index c1b4b55bd37..d86ad34c9d8 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/float_math.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/float_math.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(core_intrinsics)] use std::intrinsics::{fadd_fast, fsub_fast, fmul_fast, fdiv_fast, frem_fast}; diff --git a/src/test/ui/run-pass/numbers-arithmetic/floatlits.rs b/src/test/ui/run-pass/numbers-arithmetic/floatlits.rs index d133f3463a3..34f52ccb33a 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/floatlits.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/floatlits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/i128-ffi.rs b/src/test/ui/run-pass/numbers-arithmetic/i128-ffi.rs index edf278cbf64..585421ecbd4 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/i128-ffi.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/i128-ffi.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // MSVC doesn't support 128 bit integers, and other Windows // C compilers have very inconsistent views on how the ABI // should look like. diff --git a/src/test/ui/run-pass/numbers-arithmetic/i128.rs b/src/test/ui/run-pass/numbers-arithmetic/i128.rs index baf3b339984..77569f5ceb3 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/i128.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/i128.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten i128 doesn't work // compile-flags: -Z borrowck=compare diff --git a/src/test/ui/run-pass/numbers-arithmetic/i32-sub.rs b/src/test/ui/run-pass/numbers-arithmetic/i32-sub.rs index 143787a466b..12a0004ca48 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/i32-sub.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/i32-sub.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/i8-incr.rs b/src/test/ui/run-pass/numbers-arithmetic/i8-incr.rs index 242cea264af..e9779d202b0 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/i8-incr.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/i8-incr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/int-abs-overflow.rs b/src/test/ui/run-pass/numbers-arithmetic/int-abs-overflow.rs index e17e3a16d68..92094f7b058 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/int-abs-overflow.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/int-abs-overflow.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -Z force-overflow-checks=on // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/numbers-arithmetic/int.rs b/src/test/ui/run-pass/numbers-arithmetic/int.rs index 9495552af40..7d8af653833 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/int.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/int.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-radix.rs b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-radix.rs index ba9d22f06a9..814d7de01a4 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-radix.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-radix.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let a = 0xBEEF_isize; diff --git a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-2.rs b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-2.rs index e953cf2fda1..240d235c712 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-2.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo(_: *const ()) {} diff --git a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-3.rs b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-3.rs index 31aca964def..7b10a049dc6 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-3.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() { println!("{}", std::mem::size_of_val(&1)); } diff --git a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference.rs b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference.rs index 57f80bb14e2..ecbadb94a82 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/integer-literal-suffix-inference.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub fn main() { diff --git a/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs b/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs index 2135b3f8764..704aca19367 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -C debug_assertions=yes // ignore-wasm32-bare compiled with panic=abort by default // ignore-emscripten dies with an LLVM error diff --git a/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs b/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs index b05c1863d90..e581f7c97cc 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -C debug_assertions=no // ignore-emscripten dies with an LLVM error diff --git a/src/test/ui/run-pass/numbers-arithmetic/num-wrapping.rs b/src/test/ui/run-pass/numbers-arithmetic/num-wrapping.rs index 20c7f27336e..6d3653e7977 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/num-wrapping.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/num-wrapping.rs @@ -7,7 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass + // compile-flags: -C debug-assertions // // Test std::num::Wrapping for {uN, iN, usize, isize} diff --git a/src/test/ui/run-pass/numbers-arithmetic/numeric-method-autoexport.rs b/src/test/ui/run-pass/numbers-arithmetic/numeric-method-autoexport.rs index 15ece09abd8..22db67bf920 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/numeric-method-autoexport.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/numeric-method-autoexport.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This file is intended to test only that methods are automatically // reachable for each numeric type, for each exported impl, with no imports // necessary. Testing the methods of the impls is done within the source diff --git a/src/test/ui/run-pass/numbers-arithmetic/promoted_overflow_opt.rs b/src/test/ui/run-pass/numbers-arithmetic/promoted_overflow_opt.rs index 6b2f1c6d3c8..16042128901 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/promoted_overflow_opt.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/promoted_overflow_opt.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(const_err)] // compile-flags: -O diff --git a/src/test/ui/run-pass/numbers-arithmetic/saturating-float-casts.rs b/src/test/ui/run-pass/numbers-arithmetic/saturating-float-casts.rs index ad3b4b17259..a822ac604fa 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/saturating-float-casts.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/saturating-float-casts.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests saturating float->int casts. See u128-as-f32.rs for the opposite direction. // compile-flags: -Z saturating-float-casts diff --git a/src/test/ui/run-pass/numbers-arithmetic/shift-near-oflo.rs b/src/test/ui/run-pass/numbers-arithmetic/shift-near-oflo.rs index 527ced54c42..3effc8de97f 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/shift-near-oflo.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/shift-near-oflo.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // compile-flags: -C debug-assertions // Check that we do *not* overflow on a number of edge cases. diff --git a/src/test/ui/run-pass/numbers-arithmetic/shift-various-types.rs b/src/test/ui/run-pass/numbers-arithmetic/shift-various-types.rs index 9238112a081..1ae94255adf 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/shift-various-types.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/shift-various-types.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can do shifts by any integral type. diff --git a/src/test/ui/run-pass/numbers-arithmetic/shift.rs b/src/test/ui/run-pass/numbers-arithmetic/shift.rs index 2f417e0e2f4..7bc95ecad59 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/shift.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/shift.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Testing shifts for various combinations of integers // Issue #1570 diff --git a/src/test/ui/run-pass/numbers-arithmetic/signed-shift-const-eval.rs b/src/test/ui/run-pass/numbers-arithmetic/signed-shift-const-eval.rs index 9ea2dedcba1..70964b2543b 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/signed-shift-const-eval.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/signed-shift-const-eval.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum test { thing = -5 >> 1_usize } pub fn main() { diff --git a/src/test/ui/run-pass/numbers-arithmetic/u128-as-f32.rs b/src/test/ui/run-pass/numbers-arithmetic/u128-as-f32.rs index 2848fb2d51a..99dfd3ba1cf 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/u128-as-f32.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/u128-as-f32.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten u128 not supported #![feature(test)] diff --git a/src/test/ui/run-pass/numbers-arithmetic/u128.rs b/src/test/ui/run-pass/numbers-arithmetic/u128.rs index d649b3b74d3..c03d39e8416 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/u128.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/u128.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten u128 not supported // compile-flags: -Z borrowck=compare diff --git a/src/test/ui/run-pass/numbers-arithmetic/u32-decr.rs b/src/test/ui/run-pass/numbers-arithmetic/u32-decr.rs index b56b6f32c02..e86d3abefa7 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/u32-decr.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/u32-decr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/u8-incr-decr.rs b/src/test/ui/run-pass/numbers-arithmetic/u8-incr-decr.rs index d35ef015e6f..2567da479f1 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/u8-incr-decr.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/u8-incr-decr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/u8-incr.rs b/src/test/ui/run-pass/numbers-arithmetic/u8-incr.rs index 9554f9c2dfb..ca49efaade6 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/u8-incr.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/u8-incr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/numbers-arithmetic/uint.rs b/src/test/ui/run-pass/numbers-arithmetic/uint.rs index a894d762979..01ee2167c72 100644 --- a/src/test/ui/run-pass/numbers-arithmetic/uint.rs +++ b/src/test/ui/run-pass/numbers-arithmetic/uint.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/overloaded/overloaded-autoderef-count.rs b/src/test/ui/run-pass/overloaded/overloaded-autoderef-count.rs index 14a9cc4c248..0e07be53829 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-autoderef-count.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-autoderef-count.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::Cell; use std::ops::{Deref, DerefMut}; diff --git a/src/test/ui/run-pass/overloaded/overloaded-autoderef-indexing.rs b/src/test/ui/run-pass/overloaded/overloaded-autoderef-indexing.rs index 67b8bc1d157..f4f42add88f 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-autoderef-indexing.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-autoderef-indexing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Deref; diff --git a/src/test/ui/run-pass/overloaded/overloaded-autoderef-order.rs b/src/test/ui/run-pass/overloaded/overloaded-autoderef-order.rs index 8ea8b375b17..1480b036542 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-autoderef-order.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-autoderef-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::rc::Rc; use std::ops::Deref; diff --git a/src/test/ui/run-pass/overloaded/overloaded-autoderef-vtable.rs b/src/test/ui/run-pass/overloaded/overloaded-autoderef-vtable.rs index 38ed90a4547..2ed9032f86e 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-autoderef-vtable.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-autoderef-vtable.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Deref; diff --git a/src/test/ui/run-pass/overloaded/overloaded-autoderef-xcrate.rs b/src/test/ui/run-pass/overloaded/overloaded-autoderef-xcrate.rs index 174e09cb14c..9408d02ba33 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-autoderef-xcrate.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-autoderef-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:overloaded_autoderef_xc.rs diff --git a/src/test/ui/run-pass/overloaded/overloaded-autoderef.rs b/src/test/ui/run-pass/overloaded/overloaded-autoderef.rs index 759e2aace61..e532af5e86a 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-autoderef.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax, core)] use std::cell::RefCell; diff --git a/src/test/ui/run-pass/overloaded/overloaded-calls-object-one-arg.rs b/src/test/ui/run-pass/overloaded/overloaded-calls-object-one-arg.rs index ec64f627c94..d80ed4531fe 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-calls-object-one-arg.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-calls-object-one-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests calls to closure arguments where the closure takes 1 argument. // This is a bit tricky due to rust-call ABI. diff --git a/src/test/ui/run-pass/overloaded/overloaded-calls-object-two-args.rs b/src/test/ui/run-pass/overloaded/overloaded-calls-object-two-args.rs index c38a62147a0..bfc815baeaa 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-calls-object-two-args.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-calls-object-two-args.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests calls to closure arguments where the closure takes 2 arguments. // This is a bit tricky due to rust-call ABI. diff --git a/src/test/ui/run-pass/overloaded/overloaded-calls-object-zero-args.rs b/src/test/ui/run-pass/overloaded/overloaded-calls-object-zero-args.rs index 08ab465ebb0..ebabaf09f57 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-calls-object-zero-args.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-calls-object-zero-args.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests calls to closure arguments where the closure takes 0 arguments. // This is a bit tricky due to rust-call ABI. diff --git a/src/test/ui/run-pass/overloaded/overloaded-calls-param-vtables.rs b/src/test/ui/run-pass/overloaded/overloaded-calls-param-vtables.rs index c15c6df5fac..6db534d3081 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-calls-param-vtables.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-calls-param-vtables.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that nested vtables work with overloaded calls. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/overloaded/overloaded-calls-simple.rs b/src/test/ui/run-pass/overloaded/overloaded-calls-simple.rs index 24a79a26837..825263c891d 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-calls-simple.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-calls-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(lang_items, unboxed_closures, fn_traits)] diff --git a/src/test/ui/run-pass/overloaded/overloaded-calls-zero-args.rs b/src/test/ui/run-pass/overloaded/overloaded-calls-zero-args.rs index 5fd6d5cb10f..de8915493da 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-calls-zero-args.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-calls-zero-args.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unboxed_closures, fn_traits)] diff --git a/src/test/ui/run-pass/overloaded/overloaded-deref-count.rs b/src/test/ui/run-pass/overloaded/overloaded-deref-count.rs index a8a3b3014e0..79040afbd0e 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-deref-count.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-deref-count.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::Cell; use std::ops::{Deref, DerefMut}; diff --git a/src/test/ui/run-pass/overloaded/overloaded-deref.rs b/src/test/ui/run-pass/overloaded/overloaded-deref.rs index 9cdf45b485c..779d1b2391e 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-deref.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-deref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::RefCell; use std::rc::Rc; use std::string::String; diff --git a/src/test/ui/run-pass/overloaded/overloaded-index-assoc-list.rs b/src/test/ui/run-pass/overloaded/overloaded-index-assoc-list.rs index 50140d1aab9..7c23e8e28f8 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-index-assoc-list.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-index-assoc-list.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test overloading of the `[]` operator. In particular test that it // takes its argument *by reference*. diff --git a/src/test/ui/run-pass/overloaded/overloaded-index-autoderef.rs b/src/test/ui/run-pass/overloaded/overloaded-index-autoderef.rs index 9988599d59d..0b6e3a76c5b 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-index-autoderef.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-index-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test overloaded indexing combined with autoderef. #![feature(box_syntax, core)] diff --git a/src/test/ui/run-pass/overloaded/overloaded-index-in-field.rs b/src/test/ui/run-pass/overloaded/overloaded-index-in-field.rs index 7e2b586631d..3302a4e3a7d 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-index-in-field.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-index-in-field.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test using overloaded indexing when the "map" is stored in a // field. This caused problems at some point. diff --git a/src/test/ui/run-pass/overloaded/overloaded-index.rs b/src/test/ui/run-pass/overloaded/overloaded-index.rs index b54a18f722a..8ae612764a7 100644 --- a/src/test/ui/run-pass/overloaded/overloaded-index.rs +++ b/src/test/ui/run-pass/overloaded/overloaded-index.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::{Index, IndexMut}; struct Foo { diff --git a/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern.rs b/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern.rs index f72d4964251..d092df32957 100644 --- a/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern.rs +++ b/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we choose Deref or DerefMut appropriately based on mutability of ref bindings (#15609). use std::ops::{Deref, DerefMut}; diff --git a/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs b/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs index e5eb6ab8f61..8f0b3356d07 100644 --- a/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs +++ b/src/test/ui/run-pass/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we choose Deref or DerefMut appropriately based on mutability of ref bindings (#15609). fn main() { diff --git a/src/test/ui/run-pass/packed/packed-struct-borrow-element.rs b/src/test/ui/run-pass/packed/packed-struct-borrow-element.rs index c8a8643ed6b..5d5bcbd325d 100644 --- a/src/test/ui/run-pass/packed/packed-struct-borrow-element.rs +++ b/src/test/ui/run-pass/packed/packed-struct-borrow-element.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten weird assertion? #![feature(repr_packed)] diff --git a/src/test/ui/run-pass/packed/packed-struct-drop-aligned.rs b/src/test/ui/run-pass/packed/packed-struct-drop-aligned.rs index bbe31a65e86..8cc29797772 100644 --- a/src/test/ui/run-pass/packed/packed-struct-drop-aligned.rs +++ b/src/test/ui/run-pass/packed/packed-struct-drop-aligned.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cell::Cell; use std::mem; diff --git a/src/test/ui/run-pass/packed/packed-struct-generic-layout.rs b/src/test/ui/run-pass/packed/packed-struct-generic-layout.rs index b962a5c7933..e941d3067ba 100644 --- a/src/test/ui/run-pass/packed/packed-struct-generic-layout.rs +++ b/src/test/ui/run-pass/packed/packed-struct-generic-layout.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/packed/packed-struct-generic-size.rs b/src/test/ui/run-pass/packed/packed-struct-generic-size.rs index 127d873b2d9..84d27b50859 100644 --- a/src/test/ui/run-pass/packed/packed-struct-generic-size.rs +++ b/src/test/ui/run-pass/packed/packed-struct-generic-size.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_packed)] use std::mem; diff --git a/src/test/ui/run-pass/packed/packed-struct-layout.rs b/src/test/ui/run-pass/packed/packed-struct-layout.rs index a4a0055785f..2c9216a96c2 100644 --- a/src/test/ui/run-pass/packed/packed-struct-layout.rs +++ b/src/test/ui/run-pass/packed/packed-struct-layout.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; #[repr(packed)] diff --git a/src/test/ui/run-pass/packed/packed-struct-match.rs b/src/test/ui/run-pass/packed/packed-struct-match.rs index c02d524d763..e349a4e7f54 100644 --- a/src/test/ui/run-pass/packed/packed-struct-match.rs +++ b/src/test/ui/run-pass/packed/packed-struct-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_packed)] #[repr(packed)] diff --git a/src/test/ui/run-pass/packed/packed-struct-optimized-enum.rs b/src/test/ui/run-pass/packed/packed-struct-optimized-enum.rs index 9d23a0c7148..e22e8c26fe5 100644 --- a/src/test/ui/run-pass/packed/packed-struct-optimized-enum.rs +++ b/src/test/ui/run-pass/packed/packed-struct-optimized-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[repr(packed)] struct Packed(T); diff --git a/src/test/ui/run-pass/packed/packed-struct-size-xc.rs b/src/test/ui/run-pass/packed/packed-struct-size-xc.rs index 48f34554ca1..5b1fb6b92c7 100644 --- a/src/test/ui/run-pass/packed/packed-struct-size-xc.rs +++ b/src/test/ui/run-pass/packed/packed-struct-size-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:packed.rs diff --git a/src/test/ui/run-pass/packed/packed-struct-size.rs b/src/test/ui/run-pass/packed/packed-struct-size.rs index f8e23610fe2..5b5cd3412f3 100644 --- a/src/test/ui/run-pass/packed/packed-struct-size.rs +++ b/src/test/ui/run-pass/packed/packed-struct-size.rs @@ -7,6 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass + #![feature(repr_packed)] diff --git a/src/test/ui/run-pass/packed/packed-struct-vec.rs b/src/test/ui/run-pass/packed/packed-struct-vec.rs index 9d8b3d0d074..d64bfe0033b 100644 --- a/src/test/ui/run-pass/packed/packed-struct-vec.rs +++ b/src/test/ui/run-pass/packed/packed-struct-vec.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_packed)] use std::fmt; diff --git a/src/test/ui/run-pass/packed/packed-tuple-struct-layout.rs b/src/test/ui/run-pass/packed/packed-tuple-struct-layout.rs index 18f7eff280a..c709a40cabb 100644 --- a/src/test/ui/run-pass/packed/packed-tuple-struct-layout.rs +++ b/src/test/ui/run-pass/packed/packed-tuple-struct-layout.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; #[repr(packed)] diff --git a/src/test/ui/run-pass/packed/packed-tuple-struct-size.rs b/src/test/ui/run-pass/packed/packed-tuple-struct-size.rs index 9def6ac28e5..7608cba72d5 100644 --- a/src/test/ui/run-pass/packed/packed-tuple-struct-size.rs +++ b/src/test/ui/run-pass/packed/packed-tuple-struct-size.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_packed)] use std::mem; diff --git a/src/test/ui/run-pass/panics/panic-handler-chain.rs b/src/test/ui/run-pass/panics/panic-handler-chain.rs index e2de795bdb7..2da2ff35ef6 100644 --- a/src/test/ui/run-pass/panics/panic-handler-chain.rs +++ b/src/test/ui/run-pass/panics/panic-handler-chain.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(std_panic)] diff --git a/src/test/ui/run-pass/panics/panic-handler-flail-wildly.rs b/src/test/ui/run-pass/panics/panic-handler-flail-wildly.rs index f0c50f842ab..38297780e0d 100644 --- a/src/test/ui/run-pass/panics/panic-handler-flail-wildly.rs +++ b/src/test/ui/run-pass/panics/panic-handler-flail-wildly.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(std_panic)] diff --git a/src/test/ui/run-pass/panics/panic-handler-set-twice.rs b/src/test/ui/run-pass/panics/panic-handler-set-twice.rs index 120483ab336..13b7c095059 100644 --- a/src/test/ui/run-pass/panics/panic-handler-set-twice.rs +++ b/src/test/ui/run-pass/panics/panic-handler-set-twice.rs @@ -7,6 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass + #![feature(std_panic)] // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/panics/panic-in-dtor-drops-fields.rs b/src/test/ui/run-pass/panics/panic-in-dtor-drops-fields.rs index c5f92fbd55a..f81c25ebc40 100644 --- a/src/test/ui/run-pass/panics/panic-in-dtor-drops-fields.rs +++ b/src/test/ui/run-pass/panics/panic-in-dtor-drops-fields.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/panics/panic-recover-propagate.rs b/src/test/ui/run-pass/panics/panic-recover-propagate.rs index cc2cfb6be96..42571615105 100644 --- a/src/test/ui/run-pass/panics/panic-recover-propagate.rs +++ b/src/test/ui/run-pass/panics/panic-recover-propagate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; diff --git a/src/test/ui/run-pass/panics/panic-safe.rs b/src/test/ui/run-pass/panics/panic-safe.rs index 9bda07f077f..0d1ce110639 100644 --- a/src/test/ui/run-pass/panics/panic-safe.rs +++ b/src/test/ui/run-pass/panics/panic-safe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] use std::panic::{UnwindSafe, AssertUnwindSafe}; diff --git a/src/test/ui/run-pass/privacy/priv-impl-prim-ty.rs b/src/test/ui/run-pass/privacy/priv-impl-prim-ty.rs index aa2db260dd4..2cb4dee90af 100644 --- a/src/test/ui/run-pass/privacy/priv-impl-prim-ty.rs +++ b/src/test/ui/run-pass/privacy/priv-impl-prim-ty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:priv-impl-prim-ty.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/privacy/privacy-ns.rs b/src/test/ui/run-pass/privacy/privacy-ns.rs index 8082816c436..0132f2deb6c 100644 --- a/src/test/ui/run-pass/privacy/privacy-ns.rs +++ b/src/test/ui/run-pass/privacy/privacy-ns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check we do the correct privacy checks when we import a name and there is an // item with that name in both the value and type namespaces. diff --git a/src/test/ui/run-pass/privacy/privacy-reexport.rs b/src/test/ui/run-pass/privacy/privacy-reexport.rs index 15c977afe2a..a12f7bb2611 100644 --- a/src/test/ui/run-pass/privacy/privacy-reexport.rs +++ b/src/test/ui/run-pass/privacy/privacy-reexport.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:privacy_reexport.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/privacy/privacy1.rs b/src/test/ui/run-pass/privacy/privacy1.rs index 329c4aaa873..7c1dbb500d8 100644 --- a/src/test/ui/run-pass/privacy/privacy1.rs +++ b/src/test/ui/run-pass/privacy/privacy1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub mod test2 { diff --git a/src/test/ui/run-pass/privacy/private-class-field.rs b/src/test/ui/run-pass/privacy/private-class-field.rs index 8c92a05ba2a..533b50e65ad 100644 --- a/src/test/ui/run-pass/privacy/private-class-field.rs +++ b/src/test/ui/run-pass/privacy/private-class-field.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct cat { meows : usize, diff --git a/src/test/ui/run-pass/privacy/private-method.rs b/src/test/ui/run-pass/privacy/private-method.rs index 0d6e6010c56..754589830ef 100644 --- a/src/test/ui/run-pass/privacy/private-method.rs +++ b/src/test/ui/run-pass/privacy/private-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct cat { diff --git a/src/test/ui/run-pass/privacy/pub-extern-privacy.rs b/src/test/ui/run-pass/privacy/pub-extern-privacy.rs index 1ef804fe8fe..a86133fb283 100644 --- a/src/test/ui/run-pass/privacy/pub-extern-privacy.rs +++ b/src/test/ui/run-pass/privacy/pub-extern-privacy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/privacy/pub-use-xcrate.rs b/src/test/ui/run-pass/privacy/pub-use-xcrate.rs index 3318c0380be..f9c2de224db 100644 --- a/src/test/ui/run-pass/privacy/pub-use-xcrate.rs +++ b/src/test/ui/run-pass/privacy/pub-use-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:pub_use_xcrate1.rs // aux-build:pub_use_xcrate2.rs diff --git a/src/test/ui/run-pass/privacy/pub_use_mods_xcrate_exe.rs b/src/test/ui/run-pass/privacy/pub_use_mods_xcrate_exe.rs index 9373b7945d5..4ca7c735308 100644 --- a/src/test/ui/run-pass/privacy/pub_use_mods_xcrate_exe.rs +++ b/src/test/ui/run-pass/privacy/pub_use_mods_xcrate_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:pub_use_mods_xcrate.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/process/process-envs.rs b/src/test/ui/run-pass/process/process-envs.rs index e399bc20d52..4fb21d4dc66 100644 --- a/src/test/ui/run-pass/process/process-envs.rs +++ b/src/test/ui/run-pass/process/process-envs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/process/process-exit.rs b/src/test/ui/run-pass/process/process-exit.rs index 44ef4a9df71..e43631e3189 100644 --- a/src/test/ui/run-pass/process/process-exit.rs +++ b/src/test/ui/run-pass/process/process-exit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/process/process-remove-from-env.rs b/src/test/ui/run-pass/process/process-remove-from-env.rs index 9011ffcf45a..d9c35f3e993 100644 --- a/src/test/ui/run-pass/process/process-remove-from-env.rs +++ b/src/test/ui/run-pass/process/process-remove-from-env.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/process/process-sigpipe.rs b/src/test/ui/run-pass/process/process-sigpipe.rs index a436e48ea53..f19f247691f 100644 --- a/src/test/ui/run-pass/process/process-sigpipe.rs +++ b/src/test/ui/run-pass/process/process-sigpipe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-android since the dynamic linker sets a SIGPIPE handler (to do // a crash report) so inheritance is moot on the entire platform diff --git a/src/test/ui/run-pass/process/process-spawn-nonexistent.rs b/src/test/ui/run-pass/process/process-spawn-nonexistent.rs index 9219cd625f3..926e93104f3 100644 --- a/src/test/ui/run-pass/process/process-spawn-nonexistent.rs +++ b/src/test/ui/run-pass/process/process-spawn-nonexistent.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/process/process-spawn-with-unicode-params.rs b/src/test/ui/run-pass/process/process-spawn-with-unicode-params.rs index 1e22f17986c..70ed7982508 100644 --- a/src/test/ui/run-pass/process/process-spawn-with-unicode-params.rs +++ b/src/test/ui/run-pass/process/process-spawn-with-unicode-params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // no-prefer-dynamic // The test copies itself into a subdirectory with a non-ASCII name and then diff --git a/src/test/ui/run-pass/process/process-status-inherits-stdin.rs b/src/test/ui/run-pass/process/process-status-inherits-stdin.rs index fdf5cf5ad92..1b09d5e52bc 100644 --- a/src/test/ui/run-pass/process/process-status-inherits-stdin.rs +++ b/src/test/ui/run-pass/process/process-status-inherits-stdin.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi no processes // ignore-emscripten no processes diff --git a/src/test/ui/run-pass/regions/regions-addr-of-interior-of-unique-box.rs b/src/test/ui/run-pass/regions/regions-addr-of-interior-of-unique-box.rs index 4839067e53d..770733b8939 100644 --- a/src/test/ui/run-pass/regions/regions-addr-of-interior-of-unique-box.rs +++ b/src/test/ui/run-pass/regions/regions-addr-of-interior-of-unique-box.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/regions/regions-addr-of-ret.rs b/src/test/ui/run-pass/regions/regions-addr-of-ret.rs index 3baf2fa2de5..a9953edb2f5 100644 --- a/src/test/ui/run-pass/regions/regions-addr-of-ret.rs +++ b/src/test/ui/run-pass/regions/regions-addr-of-ret.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f(x: &isize) -> &isize { return &*x; } diff --git a/src/test/ui/run-pass/regions/regions-assoc-type-region-bound.rs b/src/test/ui/run-pass/regions/regions-assoc-type-region-bound.rs index b51d62f490f..a7801136a84 100644 --- a/src/test/ui/run-pass/regions/regions-assoc-type-region-bound.rs +++ b/src/test/ui/run-pass/regions/regions-assoc-type-region-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the compiler considers the 'a bound declared in the // trait. Issue #20890. diff --git a/src/test/ui/run-pass/regions/regions-assoc-type-static-bound.rs b/src/test/ui/run-pass/regions/regions-assoc-type-static-bound.rs index 344f707aefc..b81d3056813 100644 --- a/src/test/ui/run-pass/regions/regions-assoc-type-static-bound.rs +++ b/src/test/ui/run-pass/regions/regions-assoc-type-static-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the compiler considers the 'static bound declared in the // trait. Issue #20890. diff --git a/src/test/ui/run-pass/regions/regions-borrow-at.rs b/src/test/ui/run-pass/regions/regions-borrow-at.rs index abebb670e65..02603292d1b 100644 --- a/src/test/ui/run-pass/regions/regions-borrow-at.rs +++ b/src/test/ui/run-pass/regions/regions-borrow-at.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn foo(x: &usize) -> usize { diff --git a/src/test/ui/run-pass/regions/regions-borrow-evec-fixed.rs b/src/test/ui/run-pass/regions/regions-borrow-evec-fixed.rs index 6d1f2930abf..50336cf8cdc 100644 --- a/src/test/ui/run-pass/regions/regions-borrow-evec-fixed.rs +++ b/src/test/ui/run-pass/regions/regions-borrow-evec-fixed.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(x: &[isize]) -> isize { x[0] diff --git a/src/test/ui/run-pass/regions/regions-borrow-evec-uniq.rs b/src/test/ui/run-pass/regions/regions-borrow-evec-uniq.rs index e61a8d14775..5f61ab89635 100644 --- a/src/test/ui/run-pass/regions/regions-borrow-evec-uniq.rs +++ b/src/test/ui/run-pass/regions/regions-borrow-evec-uniq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo(x: &[isize]) -> isize { diff --git a/src/test/ui/run-pass/regions/regions-borrow-uniq.rs b/src/test/ui/run-pass/regions/regions-borrow-uniq.rs index 48b09b33851..cc88528f64b 100644 --- a/src/test/ui/run-pass/regions/regions-borrow-uniq.rs +++ b/src/test/ui/run-pass/regions/regions-borrow-uniq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn foo(x: &usize) -> usize { diff --git a/src/test/ui/run-pass/regions/regions-bot.rs b/src/test/ui/run-pass/regions/regions-bot.rs index 4347cbe2dc9..d3af66b4162 100644 --- a/src/test/ui/run-pass/regions/regions-bot.rs +++ b/src/test/ui/run-pass/regions/regions-bot.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A very limited test of the "bottom" region diff --git a/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate-2.rs b/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate-2.rs index 47d2fe363d3..2faade1391b 100644 --- a/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate-2.rs +++ b/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(issue_5723_bootstrap)] trait Foo { diff --git a/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate.rs b/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate.rs index 72db92aa93c..0ed0814d4a3 100644 --- a/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate.rs +++ b/src/test/ui/run-pass/regions/regions-bound-lists-feature-gate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(issue_5723_bootstrap)] trait Foo { diff --git a/src/test/ui/run-pass/regions/regions-close-over-type-parameter-successfully.rs b/src/test/ui/run-pass/regions/regions-close-over-type-parameter-successfully.rs index 4a24e201b35..b2bf71f02fb 100644 --- a/src/test/ui/run-pass/regions/regions-close-over-type-parameter-successfully.rs +++ b/src/test/ui/run-pass/regions/regions-close-over-type-parameter-successfully.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A test where we (successfully) close over a reference into // an object. diff --git a/src/test/ui/run-pass/regions/regions-copy-closure.rs b/src/test/ui/run-pass/regions/regions-copy-closure.rs index 371823ece29..bd6fe58c22a 100644 --- a/src/test/ui/run-pass/regions/regions-copy-closure.rs +++ b/src/test/ui/run-pass/regions/regions-copy-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct closure_box<'a> { cl: Box, } diff --git a/src/test/ui/run-pass/regions/regions-creating-enums2.rs b/src/test/ui/run-pass/regions/regions-creating-enums2.rs index 66d28f5afa1..676bf95df31 100644 --- a/src/test/ui/run-pass/regions/regions-creating-enums2.rs +++ b/src/test/ui/run-pass/regions/regions-creating-enums2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum ast<'a> { diff --git a/src/test/ui/run-pass/regions/regions-creating-enums5.rs b/src/test/ui/run-pass/regions/regions-creating-enums5.rs index 4bd12863e2a..a56dc6ed018 100644 --- a/src/test/ui/run-pass/regions/regions-creating-enums5.rs +++ b/src/test/ui/run-pass/regions/regions-creating-enums5.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum ast<'a> { diff --git a/src/test/ui/run-pass/regions/regions-debruijn-of-object.rs b/src/test/ui/run-pass/regions/regions-debruijn-of-object.rs index 9f2d27f024b..551de7f1bf3 100644 --- a/src/test/ui/run-pass/regions/regions-debruijn-of-object.rs +++ b/src/test/ui/run-pass/regions/regions-debruijn-of-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct ctxt<'tcx> { diff --git a/src/test/ui/run-pass/regions/regions-dependent-addr-of.rs b/src/test/ui/run-pass/regions/regions-dependent-addr-of.rs index c8b39bbe749..2a86d8aa4e5 100644 --- a/src/test/ui/run-pass/regions/regions-dependent-addr-of.rs +++ b/src/test/ui/run-pass/regions/regions-dependent-addr-of.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test lifetimes are linked properly when we create dependent region pointers. // Issue #3148. diff --git a/src/test/ui/run-pass/regions/regions-dependent-autofn.rs b/src/test/ui/run-pass/regions/regions-dependent-autofn.rs index ef05fc595df..19b345575c3 100644 --- a/src/test/ui/run-pass/regions/regions-dependent-autofn.rs +++ b/src/test/ui/run-pass/regions/regions-dependent-autofn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test lifetimes are linked properly when we autoslice a vector. // Issue #3148. diff --git a/src/test/ui/run-pass/regions/regions-dependent-autoslice.rs b/src/test/ui/run-pass/regions/regions-dependent-autoslice.rs index cd140f7aa59..12e14ed49b9 100644 --- a/src/test/ui/run-pass/regions/regions-dependent-autoslice.rs +++ b/src/test/ui/run-pass/regions/regions-dependent-autoslice.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test lifetimes are linked properly when we autoslice a vector. // Issue #3148. diff --git a/src/test/ui/run-pass/regions/regions-dependent-let-ref.rs b/src/test/ui/run-pass/regions/regions-dependent-let-ref.rs index 1b869e462b0..fa0955bc351 100644 --- a/src/test/ui/run-pass/regions/regions-dependent-let-ref.rs +++ b/src/test/ui/run-pass/regions/regions-dependent-let-ref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test lifetimes are linked properly when we take reference // to interior. diff --git a/src/test/ui/run-pass/regions/regions-early-bound-lifetime-in-assoc-fn.rs b/src/test/ui/run-pass/regions/regions-early-bound-lifetime-in-assoc-fn.rs index 0ffbc432aae..77659c100ff 100644 --- a/src/test/ui/run-pass/regions/regions-early-bound-lifetime-in-assoc-fn.rs +++ b/src/test/ui/run-pass/regions/regions-early-bound-lifetime-in-assoc-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to compile calls to associated fns like // `decode()` where the bound on the `Self` parameter references a // lifetime parameter of the trait. This example indicates why trait diff --git a/src/test/ui/run-pass/regions/regions-early-bound-trait-param.rs b/src/test/ui/run-pass/regions/regions-early-bound-trait-param.rs index 75c209a0920..220614c9203 100644 --- a/src/test/ui/run-pass/regions/regions-early-bound-trait-param.rs +++ b/src/test/ui/run-pass/regions/regions-early-bound-trait-param.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that you can use an early-bound lifetime parameter as // on of the generic parameters in a trait. diff --git a/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound-method.rs b/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound-method.rs index c7bc8dc0a51..718ab873a41 100644 --- a/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound-method.rs +++ b/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that you can use a fn lifetime parameter as part of // the value for a type parameter in a bound. diff --git a/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound.rs b/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound.rs index 3c8c78aa116..e994303643f 100644 --- a/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound.rs +++ b/src/test/ui/run-pass/regions/regions-early-bound-used-in-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that you can use a fn lifetime parameter as part of // the value for a type parameter in a bound. diff --git a/src/test/ui/run-pass/regions/regions-early-bound-used-in-type-param.rs b/src/test/ui/run-pass/regions/regions-early-bound-used-in-type-param.rs index 8d145fad004..fd4e46b5392 100644 --- a/src/test/ui/run-pass/regions/regions-early-bound-used-in-type-param.rs +++ b/src/test/ui/run-pass/regions/regions-early-bound-used-in-type-param.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that you can use a fn lifetime parameter as part of // the value for a type parameter in a bound. diff --git a/src/test/ui/run-pass/regions/regions-escape-into-other-fn.rs b/src/test/ui/run-pass/regions/regions-escape-into-other-fn.rs index 7cb719cccce..1601e73aff9 100644 --- a/src/test/ui/run-pass/regions/regions-escape-into-other-fn.rs +++ b/src/test/ui/run-pass/regions/regions-escape-into-other-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn foo(x: &usize) -> &usize { x } diff --git a/src/test/ui/run-pass/regions/regions-expl-self.rs b/src/test/ui/run-pass/regions/regions-expl-self.rs index 7ad3c3f4e17..1af6febb53a 100644 --- a/src/test/ui/run-pass/regions/regions-expl-self.rs +++ b/src/test/ui/run-pass/regions/regions-expl-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that you can insert an explicit lifetime in explicit self. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/regions/regions-fn-subtyping-2.rs b/src/test/ui/run-pass/regions/regions-fn-subtyping-2.rs index 7f2fc11cb8e..a23c5005f07 100644 --- a/src/test/ui/run-pass/regions/regions-fn-subtyping-2.rs +++ b/src/test/ui/run-pass/regions/regions-fn-subtyping-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #2263. // Here, `f` is a function that takes a pointer `x` and a function diff --git a/src/test/ui/run-pass/regions/regions-fn-subtyping.rs b/src/test/ui/run-pass/regions/regions-fn-subtyping.rs index f762b4f41ed..44102d7af5e 100644 --- a/src/test/ui/run-pass/regions/regions-fn-subtyping.rs +++ b/src/test/ui/run-pass/regions/regions-fn-subtyping.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #2263. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/regions/regions-free-region-outlives-static-outlives-free-region.rs b/src/test/ui/run-pass/regions/regions-free-region-outlives-static-outlives-free-region.rs index 09c8d1f23a2..67a77940742 100644 --- a/src/test/ui/run-pass/regions/regions-free-region-outlives-static-outlives-free-region.rs +++ b/src/test/ui/run-pass/regions/regions-free-region-outlives-static-outlives-free-region.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we recognize that if you have // // 'a : 'static diff --git a/src/test/ui/run-pass/regions/regions-infer-borrow-scope-addr-of.rs b/src/test/ui/run-pass/regions/regions-infer-borrow-scope-addr-of.rs index 5c80863ce85..6ac09930f85 100644 --- a/src/test/ui/run-pass/regions/regions-infer-borrow-scope-addr-of.rs +++ b/src/test/ui/run-pass/regions/regions-infer-borrow-scope-addr-of.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::swap; diff --git a/src/test/ui/run-pass/regions/regions-infer-borrow-scope-view.rs b/src/test/ui/run-pass/regions/regions-infer-borrow-scope-view.rs index 262e936826e..2ad1378de04 100644 --- a/src/test/ui/run-pass/regions/regions-infer-borrow-scope-view.rs +++ b/src/test/ui/run-pass/regions/regions-infer-borrow-scope-view.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn view(x: &[T]) -> &[T] {x} diff --git a/src/test/ui/run-pass/regions/regions-infer-borrow-scope-within-loop-ok.rs b/src/test/ui/run-pass/regions/regions-infer-borrow-scope-within-loop-ok.rs index a40ba8382fc..d527f298ce0 100644 --- a/src/test/ui/run-pass/regions/regions-infer-borrow-scope-within-loop-ok.rs +++ b/src/test/ui/run-pass/regions/regions-infer-borrow-scope-within-loop-ok.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn borrow(x: &T) -> &T {x} diff --git a/src/test/ui/run-pass/regions/regions-infer-borrow-scope.rs b/src/test/ui/run-pass/regions/regions-infer-borrow-scope.rs index 72208272df7..f3660d8dd17 100644 --- a/src/test/ui/run-pass/regions/regions-infer-borrow-scope.rs +++ b/src/test/ui/run-pass/regions/regions-infer-borrow-scope.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct Point {x: isize, y: isize} diff --git a/src/test/ui/run-pass/regions/regions-infer-call-2.rs b/src/test/ui/run-pass/regions/regions-infer-call-2.rs index b994bc7b855..8fcfd5f2ee5 100644 --- a/src/test/ui/run-pass/regions/regions-infer-call-2.rs +++ b/src/test/ui/run-pass/regions/regions-infer-call-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn takes_two(x: &isize, y: &isize) -> isize { *x + *y } diff --git a/src/test/ui/run-pass/regions/regions-infer-call.rs b/src/test/ui/run-pass/regions/regions-infer-call.rs index 76b93f2356b..42ab24705de 100644 --- a/src/test/ui/run-pass/regions/regions-infer-call.rs +++ b/src/test/ui/run-pass/regions/regions-infer-call.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn takes_two(x: &isize, y: &isize) -> isize { *x + *y } diff --git a/src/test/ui/run-pass/regions/regions-infer-contravariance-due-to-ret.rs b/src/test/ui/run-pass/regions/regions-infer-contravariance-due-to-ret.rs index 3c6bc133999..480297f28ad 100644 --- a/src/test/ui/run-pass/regions/regions-infer-contravariance-due-to-ret.rs +++ b/src/test/ui/run-pass/regions/regions-infer-contravariance-due-to-ret.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct boxed_int<'a> { f: &'a isize, diff --git a/src/test/ui/run-pass/regions/regions-infer-reborrow-ref-mut-recurse.rs b/src/test/ui/run-pass/regions/regions-infer-reborrow-ref-mut-recurse.rs index 2349b6c3bc1..f6ed97195c1 100644 --- a/src/test/ui/run-pass/regions/regions-infer-reborrow-ref-mut-recurse.rs +++ b/src/test/ui/run-pass/regions/regions-infer-reborrow-ref-mut-recurse.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test an edge case in region inference: the lifetime of the borrow // of `*x` must be extended to at least 'a. diff --git a/src/test/ui/run-pass/regions/regions-infer-region-in-fn-but-not-type.rs b/src/test/ui/run-pass/regions/regions-infer-region-in-fn-but-not-type.rs index a8418f967fd..d63afaff69a 100644 --- a/src/test/ui/run-pass/regions/regions-infer-region-in-fn-but-not-type.rs +++ b/src/test/ui/run-pass/regions/regions-infer-region-in-fn-but-not-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // check that the &isize here does not cause us to think that `foo` // contains region pointers diff --git a/src/test/ui/run-pass/regions/regions-infer-static-from-proc.rs b/src/test/ui/run-pass/regions/regions-infer-static-from-proc.rs index 403dfbf655f..10bf957aa68 100644 --- a/src/test/ui/run-pass/regions/regions-infer-static-from-proc.rs +++ b/src/test/ui/run-pass/regions/regions-infer-static-from-proc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that the 'static bound on a proc influences lifetimes of // region variables contained within (otherwise, region inference will // give `x` a very short lifetime). diff --git a/src/test/ui/run-pass/regions/regions-issue-21422.rs b/src/test/ui/run-pass/regions/regions-issue-21422.rs index ecc170a1462..6e76793e8b9 100644 --- a/src/test/ui/run-pass/regions/regions-issue-21422.rs +++ b/src/test/ui/run-pass/regions/regions-issue-21422.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #21422, which was related to failing to // add inference constraints that the operands of a binary operator // should outlive the binary operation itself. diff --git a/src/test/ui/run-pass/regions/regions-issue-22246.rs b/src/test/ui/run-pass/regions/regions-issue-22246.rs index b6815d92967..8a54f30133e 100644 --- a/src/test/ui/run-pass/regions/regions-issue-22246.rs +++ b/src/test/ui/run-pass/regions/regions-issue-22246.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #22246 -- we should be able to deduce // that `&'a B::Owned` implies that `B::Owned : 'a`. diff --git a/src/test/ui/run-pass/regions/regions-lifetime-nonfree-late-bound.rs b/src/test/ui/run-pass/regions/regions-lifetime-nonfree-late-bound.rs index 2a20cd2b773..1a294dceab8 100644 --- a/src/test/ui/run-pass/regions/regions-lifetime-nonfree-late-bound.rs +++ b/src/test/ui/run-pass/regions/regions-lifetime-nonfree-late-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is a regression test for the ICE from issue #10846. // // The original issue causing the ICE: the LUB-computations during diff --git a/src/test/ui/run-pass/regions/regions-lifetime-static-items-enclosing-scopes.rs b/src/test/ui/run-pass/regions/regions-lifetime-static-items-enclosing-scopes.rs index df034df7362..758473634cb 100644 --- a/src/test/ui/run-pass/regions/regions-lifetime-static-items-enclosing-scopes.rs +++ b/src/test/ui/run-pass/regions/regions-lifetime-static-items-enclosing-scopes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test verifies that temporary lifetime is correctly computed // for static objects in enclosing scopes. diff --git a/src/test/ui/run-pass/regions/regions-link-fn-args.rs b/src/test/ui/run-pass/regions/regions-link-fn-args.rs index 9e8ce616048..cb52c69cbe3 100644 --- a/src/test/ui/run-pass/regions/regions-link-fn-args.rs +++ b/src/test/ui/run-pass/regions/regions-link-fn-args.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that region inference correctly links up the regions when a // `ref` borrow occurs inside a fn argument. diff --git a/src/test/ui/run-pass/regions/regions-lub-ref-ref-rc.rs b/src/test/ui/run-pass/regions/regions-lub-ref-ref-rc.rs index ade742863a9..907746a65ee 100644 --- a/src/test/ui/run-pass/regions/regions-lub-ref-ref-rc.rs +++ b/src/test/ui/run-pass/regions/regions-lub-ref-ref-rc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a corner case of LUB coercion. In this case, one arm of the // match requires a deref coercion and the other doesn't, and there // is an extra `&` on the `rc`. We want to be sure that the lifetime diff --git a/src/test/ui/run-pass/regions/regions-mock-codegen.rs b/src/test/ui/run-pass/regions/regions-mock-codegen.rs index b58e837f3bd..ba49da97775 100644 --- a/src/test/ui/run-pass/regions/regions-mock-codegen.rs +++ b/src/test/ui/run-pass/regions/regions-mock-codegen.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(allocator_api)] diff --git a/src/test/ui/run-pass/regions/regions-no-bound-in-argument-cleanup.rs b/src/test/ui/run-pass/regions/regions-no-bound-in-argument-cleanup.rs index cdb58d1ba4c..0f2fa1f7c78 100644 --- a/src/test/ui/run-pass/regions/regions-no-bound-in-argument-cleanup.rs +++ b/src/test/ui/run-pass/regions/regions-no-bound-in-argument-cleanup.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::marker; diff --git a/src/test/ui/run-pass/regions/regions-no-variance-from-fn-generics.rs b/src/test/ui/run-pass/regions/regions-no-variance-from-fn-generics.rs index c339be25f8b..3d0d5f2dbcf 100644 --- a/src/test/ui/run-pass/regions/regions-no-variance-from-fn-generics.rs +++ b/src/test/ui/run-pass/regions/regions-no-variance-from-fn-generics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #12856: a lifetime formal binding introduced by a generic fn // should not upset the variance inference for actual occurrences of // that lifetime in type expressions. diff --git a/src/test/ui/run-pass/regions/regions-nullary-variant.rs b/src/test/ui/run-pass/regions/regions-nullary-variant.rs index ae55b97dc93..d103fe750e0 100644 --- a/src/test/ui/run-pass/regions/regions-nullary-variant.rs +++ b/src/test/ui/run-pass/regions/regions-nullary-variant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum roption<'a> { diff --git a/src/test/ui/run-pass/regions/regions-params.rs b/src/test/ui/run-pass/regions/regions-params.rs index dbd52bd6b60..b7060cb2b94 100644 --- a/src/test/ui/run-pass/regions/regions-params.rs +++ b/src/test/ui/run-pass/regions/regions-params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn region_identity(x: &usize) -> &usize { x } diff --git a/src/test/ui/run-pass/regions/regions-reassign-let-bound-pointer.rs b/src/test/ui/run-pass/regions/regions-reassign-let-bound-pointer.rs index b29cc8f9036..0a30dcb721f 100644 --- a/src/test/ui/run-pass/regions/regions-reassign-let-bound-pointer.rs +++ b/src/test/ui/run-pass/regions/regions-reassign-let-bound-pointer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that the type checker permits us to reassign `z` which // started out with a longer lifetime and was reassigned to a shorter // one (it should infer to be the intersection). diff --git a/src/test/ui/run-pass/regions/regions-reassign-match-bound-pointer.rs b/src/test/ui/run-pass/regions/regions-reassign-match-bound-pointer.rs index 58d4f556a79..28455b1f3cf 100644 --- a/src/test/ui/run-pass/regions/regions-reassign-match-bound-pointer.rs +++ b/src/test/ui/run-pass/regions/regions-reassign-match-bound-pointer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that the type checker permits us to reassign `z` which // started out with a longer lifetime and was reassigned to a shorter // one (it should infer to be the intersection). diff --git a/src/test/ui/run-pass/regions/regions-refcell.rs b/src/test/ui/run-pass/regions/regions-refcell.rs index ca6a62c10c2..0042edb65ad 100644 --- a/src/test/ui/run-pass/regions/regions-refcell.rs +++ b/src/test/ui/run-pass/regions/regions-refcell.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is a regression test for something that only came up while // attempting to bootstrap librustc with new destructor lifetime // semantics. diff --git a/src/test/ui/run-pass/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs b/src/test/ui/run-pass/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs index 3322fc36fd3..86d84172629 100644 --- a/src/test/ui/run-pass/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs +++ b/src/test/ui/run-pass/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that this fairly specialized, but also reasonable, pattern // typechecks. The pattern involves regions bound in closures that // wind up related to inference variables. diff --git a/src/test/ui/run-pass/regions/regions-return-interior-of-option.rs b/src/test/ui/run-pass/regions/regions-return-interior-of-option.rs index fe1c68ff428..6566969185c 100644 --- a/src/test/ui/run-pass/regions/regions-return-interior-of-option.rs +++ b/src/test/ui/run-pass/regions/regions-return-interior-of-option.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn get(opt: &Option) -> &T { match *opt { diff --git a/src/test/ui/run-pass/regions/regions-scope-chain-example.rs b/src/test/ui/run-pass/regions/regions-scope-chain-example.rs index 185d5db1f51..973f7bd5319 100644 --- a/src/test/ui/run-pass/regions/regions-scope-chain-example.rs +++ b/src/test/ui/run-pass/regions/regions-scope-chain-example.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is an example where the older inference algorithm failed. The // specifics of why it failed are somewhat, but not entirely, tailed // to the algorithm. Ultimately the problem is that when computing the diff --git a/src/test/ui/run-pass/regions/regions-self-impls.rs b/src/test/ui/run-pass/regions/regions-self-impls.rs index 26e3fbfab9e..9f6ad138e8f 100644 --- a/src/test/ui/run-pass/regions/regions-self-impls.rs +++ b/src/test/ui/run-pass/regions/regions-self-impls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Clam<'a> { chowder: &'a isize } diff --git a/src/test/ui/run-pass/regions/regions-self-in-enums.rs b/src/test/ui/run-pass/regions/regions-self-in-enums.rs index 9ff20e93a0d..5ff2b30b8c9 100644 --- a/src/test/ui/run-pass/regions/regions-self-in-enums.rs +++ b/src/test/ui/run-pass/regions/regions-self-in-enums.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum int_wrapper<'a> { int_wrapper_ctor(&'a isize) } diff --git a/src/test/ui/run-pass/regions/regions-simple.rs b/src/test/ui/run-pass/regions/regions-simple.rs index f4fe73131fe..66492b966d1 100644 --- a/src/test/ui/run-pass/regions/regions-simple.rs +++ b/src/test/ui/run-pass/regions/regions-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut x: isize = 3; let y: &mut isize = &mut x; diff --git a/src/test/ui/run-pass/regions/regions-static-bound.rs b/src/test/ui/run-pass/regions/regions-static-bound.rs index 1c6411e3b8f..7a8e91ccdda 100644 --- a/src/test/ui/run-pass/regions/regions-static-bound.rs +++ b/src/test/ui/run-pass/regions/regions-static-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn invariant_id<'a,'b>(t: &'b mut &'static ()) -> &'b mut &'a () where 'a: 'static { t } fn static_id<'a>(t: &'a ()) -> &'static () diff --git a/src/test/ui/run-pass/regions/regions-static-closure.rs b/src/test/ui/run-pass/regions/regions-static-closure.rs index fa1c3b230c6..7cb5fabbf1b 100644 --- a/src/test/ui/run-pass/regions/regions-static-closure.rs +++ b/src/test/ui/run-pass/regions/regions-static-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct closure_box<'a> { cl: Box, } diff --git a/src/test/ui/run-pass/regions/regions-trait-object-1.rs b/src/test/ui/run-pass/regions/regions-trait-object-1.rs index 542dc76061f..63bbe31d431 100644 --- a/src/test/ui/run-pass/regions/regions-trait-object-1.rs +++ b/src/test/ui/run-pass/regions/regions-trait-object-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This is a regression test for something that only came up while // attempting to bootstrap libsyntax; it is adapted from // `syntax::ext::tt::generic_extension`. diff --git a/src/test/ui/run-pass/regions/regions-variance-contravariant-use-contravariant.rs b/src/test/ui/run-pass/regions/regions-variance-contravariant-use-contravariant.rs index 5e5be1c2587..ffab7dc2e41 100644 --- a/src/test/ui/run-pass/regions/regions-variance-contravariant-use-contravariant.rs +++ b/src/test/ui/run-pass/regions/regions-variance-contravariant-use-contravariant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a type which is contravariant with respect to its region // parameter compiles successfully when used in a contravariant way. // diff --git a/src/test/ui/run-pass/regions/regions-variance-covariant-use-covariant.rs b/src/test/ui/run-pass/regions/regions-variance-covariant-use-covariant.rs index 02562781373..ea0051c6b26 100644 --- a/src/test/ui/run-pass/regions/regions-variance-covariant-use-covariant.rs +++ b/src/test/ui/run-pass/regions/regions-variance-covariant-use-covariant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a type which is covariant with respect to its region // parameter is successful when used in a covariant way. // diff --git a/src/test/ui/run-pass/rfcs/rfc-1014-2.rs b/src/test/ui/run-pass/rfcs/rfc-1014-2.rs index 7cdaf278a08..f0ff8561243 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1014-2.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1014-2.rs @@ -7,6 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass + #![feature(libc)] extern crate libc; diff --git a/src/test/ui/run-pass/rfcs/rfc-1014.rs b/src/test/ui/run-pass/rfcs/rfc-1014.rs index 61487b6953d..35290ae8e6a 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1014.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1014.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-cloudabi stdout does not map to file descriptor 1 by default // ignore-wasm32-bare no libc diff --git a/src/test/ui/run-pass/rfcs/rfc-1789-as-cell/from-mut.rs b/src/test/ui/run-pass/rfcs/rfc-1789-as-cell/from-mut.rs index 88f7fbc86df..e873b1946d9 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1789-as-cell/from-mut.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1789-as-cell/from-mut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(as_cell)] use std::cell::Cell; diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs index 183bb553530..b245b659559 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::error::Error; fn main() -> Result<(), Box> { diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs index 046d27a9f0f..62ad0e2489a 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs @@ -8,4 +8,5 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() {} diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs index 4aa7d8c3a77..bff6f9a6bca 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(process_exitcode_placeholder)] use std::process::ExitCode; diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs index 5bce3f8045e..6c3f2fe4ea5 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(termination_trait_lib)] fn main() -> impl std::process::Termination { } diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs index 33686ed0b8f..cf63737d07f 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::io::Error; fn main() -> Result<(), Box> { diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs index 1c87e31e763..d61876d422a 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::io::Error; fn main() -> Result<(), Error> { diff --git a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs index 2023ff75564..4f60eda0d9a 100644 --- a/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs +++ b/src/test/ui/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn main() -> Result<(), &'static str> { Ok(()) } diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/box.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/box.rs index 95bce1935e5..f0ef9ca37b3 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/box.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/box.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax, box_patterns)] struct Foo{} diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/constref.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/constref.rs index af40ef2b1c5..ac245ba6ff8 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/constref.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/constref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass const CONST_REF: &[u8; 3] = b"foo"; trait Foo { diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs index 4755fc37ef3..6ea3b6f99ce 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Wrapper { Wrap(i32), } diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/for.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/for.rs index c2467d3f009..e85d11f073d 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/for.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/for.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let mut tups = vec![(0u8, 1u8)]; diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/general.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/general.rs index df28046d7d7..2aad9ccd6ef 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/general.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/general.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn some_or_wildcard(r: &Option, b: &i32) { let _: &i32 = match r { Some(a) => a, diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/lit.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/lit.rs index 004ea42b65b..ac6f61b32b7 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/lit.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/lit.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn with_u8() { let s = 5u8; let r = match &s { diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/range.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/range.rs index f38bd2de869..3c8463f77ef 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/range.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/range.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let i = 5; match &&&&i { diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/ref-region.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/ref-region.rs index bc96853fd94..7cdd35acaad 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/ref-region.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/ref-region.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn foo<'a, 'b>(x: &'a &'b Option) -> &'a u32 { let x: &'a &'a Option = x; match x { diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/reset-mode.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/reset-mode.rs index 1d86a2ecf86..c8144e09fc8 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/reset-mode.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/reset-mode.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we "reset" the mode as we pass through a `&` pattern. // // cc #46688 diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/slice.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/slice.rs index 0d1d0893c59..90fa52bc903 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/slice.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/slice.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(slice_patterns)] fn slice_pat() { diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/struct.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/struct.rs index 017439b3b14..5e41f012137 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/struct.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug, PartialEq)] struct Foo { x: u8, diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs index 3b55405abdd..072332cd9d0 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { Bar(Option, (), (), Vec), Baz, diff --git a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple.rs b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple.rs index 966b8e1a812..830e6f5e5ba 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2005-default-binding-mode/tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { let foo = (Some(1), (), (), vec![2, 3]); diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/enums.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/enums.rs index 12d1bf9ea91..0dbc5c8f969 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/enums.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/enums.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![crate_type = "rlib"] #![feature(non_exhaustive)] diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/structs.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/structs.rs index a2c6f8c05e2..25764457701 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/structs.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/structs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(non_exhaustive)] #[non_exhaustive] diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/variants.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/variants.rs index d04c1073ad9..2975126709b 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/variants.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/auxiliary/variants.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![crate_type = "rlib"] #![feature(non_exhaustive)] diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums.rs index 83fb24cda08..ff8b473b43b 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:enums.rs extern crate enums; diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums_same_crate.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums_same_crate.rs index 8f1ba364b0e..8f0274f318d 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums_same_crate.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/enums_same_crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(non_exhaustive)] #[non_exhaustive] diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs.rs index bb65e10da27..2bfdddc8eb7 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:structs.rs extern crate structs; diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs_same_crate.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs_same_crate.rs index 175782f10fc..6c71c05709c 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs_same_crate.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/structs_same_crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(non_exhaustive)] #[non_exhaustive] diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants.rs index 2658c59a699..2122534facb 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:variants.rs extern crate variants; diff --git a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants_same_crate.rs b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants_same_crate.rs index a1c376c1798..e339c046b18 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants_same_crate.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2008-non-exhaustive/variants_same_crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(non_exhaustive)] /* diff --git a/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs b/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs index 31f683a1735..e44ab838caf 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(crate_in_paths)] use crate::m::f; diff --git a/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs b/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs index 4646d81cf51..37821777822 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(crate_in_paths)] #![feature(crate_visibility_modifier)] diff --git a/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs b/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs index 93384b81e4a..c5a356d979d 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate.rs // edition:2018 diff --git a/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/extern.rs b/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/extern.rs index 15b754e1fe6..3d31c2d3a4d 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/extern.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/extern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate.rs #![feature(extern_in_paths)] diff --git a/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs b/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs index cace83d6274..a8fa07af14d 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that `#[test]` works with extern-absolute-paths enabled. // // Regression test for #47075. diff --git a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/attr.rs b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/attr.rs index 2ef9fba2076..95db3873619 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/attr.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/attr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; #[r#repr(r#C, r#packed)] diff --git a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/basic.rs b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/basic.rs index eefce3981be..38c00f4a7e1 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/basic.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/basic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn r#fn(r#match: u32) -> u32 { r#match } diff --git a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/items.rs b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/items.rs index 4306ffe2042..b3ea7b28362 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/items.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/items.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug, PartialEq, Eq)] struct IntWrapper(u32); diff --git a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/macros.rs b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/macros.rs index 9e89b79266c..ed39498526d 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/macros.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2151-raw-identifiers/macros.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(decl_macro)] r#macro_rules! r#struct { diff --git a/src/test/ui/run-pass/rfcs/rfc-2175-or-if-while-let/basic.rs b/src/test/ui/run-pass/rfcs/rfc-2175-or-if-while-let/basic.rs index a516a3e5dcd..29e8ab8ed1f 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2175-or-if-while-let/basic.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2175-or-if-while-let/basic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(if_while_or_patterns)] enum E { diff --git a/src/test/ui/run-pass/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs b/src/test/ui/run-pass/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs index 7d8050a07a3..755e3cb8c3b 100644 --- a/src/test/ui/run-pass/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs +++ b/src/test/ui/run-pass/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that removed keywords are allowed as identifiers. fn main () { let offsetof = (); diff --git a/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs b/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs index 241fe6c6ab1..a6b46d9c00c 100644 --- a/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs +++ b/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] macro_rules! foo { diff --git a/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match.rs b/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match.rs index f02a45625c9..2dfe62b044a 100644 --- a/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match.rs +++ b/src/test/ui/run-pass/rfcs/rfc1445/eq-allows-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] #[derive(PartialEq, Eq)] diff --git a/src/test/ui/run-pass/rfcs/rfc1623.rs b/src/test/ui/run-pass/rfcs/rfc1623.rs index 17453933c8a..00502e1caaa 100644 --- a/src/test/ui/run-pass/rfcs/rfc1623.rs +++ b/src/test/ui/run-pass/rfcs/rfc1623.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] // very simple test for a 'static static with default lifetime diff --git a/src/test/ui/run-pass/rfcs/rfc1717/library-override.rs b/src/test/ui/run-pass/rfcs/rfc1717/library-override.rs index c51b33f9c4a..6e0ff447081 100644 --- a/src/test/ui/run-pass/rfcs/rfc1717/library-override.rs +++ b/src/test/ui/run-pass/rfcs/rfc1717/library-override.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with // compile-flags: -lstatic=wronglibrary:rust_test_helpers diff --git a/src/test/ui/run-pass/rfcs/rfc1857-drop-order.rs b/src/test/ui/run-pass/rfcs/rfc1857-drop-order.rs index 94b2a586ddf..66edfd06730 100644 --- a/src/test/ui/run-pass/rfcs/rfc1857-drop-order.rs +++ b/src/test/ui/run-pass/rfcs/rfc1857-drop-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare compiled with panic=abort by default #![allow(dead_code, unreachable_code)] diff --git a/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_struct.rs b/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_struct.rs index 8b6941e1c63..c609f0dd83e 100644 --- a/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_struct.rs +++ b/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(arbitrary_self_types)] use std::rc::Rc; diff --git a/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_trait.rs b/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_trait.rs index f70e38a14e4..86b3c86564b 100644 --- a/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_trait.rs +++ b/src/test/ui/run-pass/self/arbitrary_self_types_raw_pointer_trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(arbitrary_self_types)] use std::ptr; diff --git a/src/test/ui/run-pass/self/arbitrary_self_types_silly.rs b/src/test/ui/run-pass/self/arbitrary_self_types_silly.rs index 755a8d7ea29..9fb023403ec 100644 --- a/src/test/ui/run-pass/self/arbitrary_self_types_silly.rs +++ b/src/test/ui/run-pass/self/arbitrary_self_types_silly.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![feature(arbitrary_self_types)] struct Foo; diff --git a/src/test/ui/run-pass/self/arbitrary_self_types_struct.rs b/src/test/ui/run-pass/self/arbitrary_self_types_struct.rs index 961717de046..bc526701b6c 100644 --- a/src/test/ui/run-pass/self/arbitrary_self_types_struct.rs +++ b/src/test/ui/run-pass/self/arbitrary_self_types_struct.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![feature(arbitrary_self_types)] use std::rc::Rc; diff --git a/src/test/ui/run-pass/self/arbitrary_self_types_trait.rs b/src/test/ui/run-pass/self/arbitrary_self_types_trait.rs index e74d614dd6b..bd06573c99b 100644 --- a/src/test/ui/run-pass/self/arbitrary_self_types_trait.rs +++ b/src/test/ui/run-pass/self/arbitrary_self_types_trait.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![feature(arbitrary_self_types)] use std::rc::Rc; diff --git a/src/test/ui/run-pass/self/arbitrary_self_types_unsized_struct.rs b/src/test/ui/run-pass/self/arbitrary_self_types_unsized_struct.rs index 8dc40e7aab1..e75e848db24 100644 --- a/src/test/ui/run-pass/self/arbitrary_self_types_unsized_struct.rs +++ b/src/test/ui/run-pass/self/arbitrary_self_types_unsized_struct.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![feature(arbitrary_self_types)] use std::rc::Rc; diff --git a/src/test/ui/run-pass/self/builtin-superkinds-self-type.rs b/src/test/ui/run-pass/self/builtin-superkinds-self-type.rs index 9b8893b0762..a7754e06892 100644 --- a/src/test/ui/run-pass/self/builtin-superkinds-self-type.rs +++ b/src/test/ui/run-pass/self/builtin-superkinds-self-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests the ability for the Self type in default methods to use // capabilities granted by builtin kinds as supertraits. diff --git a/src/test/ui/run-pass/self/by-value-self-in-mut-slot.rs b/src/test/ui/run-pass/self/by-value-self-in-mut-slot.rs index 846b695c35b..d7f9ac6cc76 100644 --- a/src/test/ui/run-pass/self/by-value-self-in-mut-slot.rs +++ b/src/test/ui/run-pass/self/by-value-self-in-mut-slot.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct X { a: isize diff --git a/src/test/ui/run-pass/self/explicit-self-closures.rs b/src/test/ui/run-pass/self/explicit-self-closures.rs index cb3a28d19d2..0144433010f 100644 --- a/src/test/ui/run-pass/self/explicit-self-closures.rs +++ b/src/test/ui/run-pass/self/explicit-self-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test to make sure that explicit self params work inside closures // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/self/explicit-self-generic.rs b/src/test/ui/run-pass/self/explicit-self-generic.rs index d2274ced556..cf1546810a4 100644 --- a/src/test/ui/run-pass/self/explicit-self-generic.rs +++ b/src/test/ui/run-pass/self/explicit-self-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/self/explicit-self-objects-uniq.rs b/src/test/ui/run-pass/self/explicit-self-objects-uniq.rs index bb7e612a9f2..373325aca06 100644 --- a/src/test/ui/run-pass/self/explicit-self-objects-uniq.rs +++ b/src/test/ui/run-pass/self/explicit-self-objects-uniq.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait Foo { diff --git a/src/test/ui/run-pass/self/explicit-self.rs b/src/test/ui/run-pass/self/explicit-self.rs index 11711e6ab74..fb804a9c8cf 100644 --- a/src/test/ui/run-pass/self/explicit-self.rs +++ b/src/test/ui/run-pass/self/explicit-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] static tau: f64 = 2.0*3.14159265358979323; diff --git a/src/test/ui/run-pass/self/explicit_self_xcrate_exe.rs b/src/test/ui/run-pass/self/explicit_self_xcrate_exe.rs index eaaf92fbea9..3847bb4c661 100644 --- a/src/test/ui/run-pass/self/explicit_self_xcrate_exe.rs +++ b/src/test/ui/run-pass/self/explicit_self_xcrate_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:explicit_self_xcrate.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/self/move-self.rs b/src/test/ui/run-pass/self/move-self.rs index c69cd17864a..d414a11edf4 100644 --- a/src/test/ui/run-pass/self/move-self.rs +++ b/src/test/ui/run-pass/self/move-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { x: String } diff --git a/src/test/ui/run-pass/self/object-safety-sized-self-by-value-self.rs b/src/test/ui/run-pass/self/object-safety-sized-self-by-value-self.rs index 81acd94ebe5..2ea1dcb221e 100644 --- a/src/test/ui/run-pass/self/object-safety-sized-self-by-value-self.rs +++ b/src/test/ui/run-pass/self/object-safety-sized-self-by-value-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that a trait is still object-safe (and usable) if it has // methods with by-value self so long as they require `Self : Sized`. diff --git a/src/test/ui/run-pass/self/object-safety-sized-self-generic-method.rs b/src/test/ui/run-pass/self/object-safety-sized-self-generic-method.rs index 2e84117566e..5f8ae3ce495 100644 --- a/src/test/ui/run-pass/self/object-safety-sized-self-generic-method.rs +++ b/src/test/ui/run-pass/self/object-safety-sized-self-generic-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that a trait is still object-safe (and usable) if it has // generic methods so long as they require `Self : Sized`. diff --git a/src/test/ui/run-pass/self/object-safety-sized-self-return-Self.rs b/src/test/ui/run-pass/self/object-safety-sized-self-return-Self.rs index eda541262bd..09e28473fa7 100644 --- a/src/test/ui/run-pass/self/object-safety-sized-self-return-Self.rs +++ b/src/test/ui/run-pass/self/object-safety-sized-self-return-Self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that a trait is still object-safe (and usable) if it has // methods that return `Self` so long as they require `Self : Sized`. diff --git a/src/test/ui/run-pass/self/self-impl.rs b/src/test/ui/run-pass/self/self-impl.rs index fcd233c361b..c0a7eee437c 100644 --- a/src/test/ui/run-pass/self/self-impl.rs +++ b/src/test/ui/run-pass/self/self-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can use `Self` types in impls in the expected way. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/self/self-in-mut-slot-default-method.rs b/src/test/ui/run-pass/self/self-in-mut-slot-default-method.rs index 905a23f22a6..058ad2ef64e 100644 --- a/src/test/ui/run-pass/self/self-in-mut-slot-default-method.rs +++ b/src/test/ui/run-pass/self/self-in-mut-slot-default-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct X { diff --git a/src/test/ui/run-pass/self/self-in-mut-slot-immediate-value.rs b/src/test/ui/run-pass/self/self-in-mut-slot-immediate-value.rs index 24014c289f9..d32f1e13804 100644 --- a/src/test/ui/run-pass/self/self-in-mut-slot-immediate-value.rs +++ b/src/test/ui/run-pass/self/self-in-mut-slot-immediate-value.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Assert that `mut self` on an immediate value doesn't // allow mutating the original - issue #10615. diff --git a/src/test/ui/run-pass/self/self-in-typedefs.rs b/src/test/ui/run-pass/self/self-in-typedefs.rs index d262e8c60a1..d3920f7e901 100644 --- a/src/test/ui/run-pass/self/self-in-typedefs.rs +++ b/src/test/ui/run-pass/self/self-in-typedefs.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(self_in_typedefs)] #![feature(untagged_unions)] diff --git a/src/test/ui/run-pass/self/self-re-assign.rs b/src/test/ui/run-pass/self/self-re-assign.rs index 05295aa3309..982cc6675fa 100644 --- a/src/test/ui/run-pass/self/self-re-assign.rs +++ b/src/test/ui/run-pass/self/self-re-assign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensure assigning an owned or managed variable to itself works. In particular, // that we do not glue_drop before we glue_take (#3290). diff --git a/src/test/ui/run-pass/self/self-shadowing-import.rs b/src/test/ui/run-pass/self/self-shadowing-import.rs index 5ef6e08f857..fbf965df06b 100644 --- a/src/test/ui/run-pass/self/self-shadowing-import.rs +++ b/src/test/ui/run-pass/self/self-shadowing-import.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod a { pub mod b { diff --git a/src/test/ui/run-pass/self/self-type-param.rs b/src/test/ui/run-pass/self/self-type-param.rs index ac810606a93..13e28e62e5e 100644 --- a/src/test/ui/run-pass/self/self-type-param.rs +++ b/src/test/ui/run-pass/self/self-type-param.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait MyTrait { diff --git a/src/test/ui/run-pass/self/string-self-append.rs b/src/test/ui/run-pass/self/string-self-append.rs index cef7a93aeed..54729856a6a 100644 --- a/src/test/ui/run-pass/self/string-self-append.rs +++ b/src/test/ui/run-pass/self/string-self-append.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { // Make sure we properly handle repeated self-appends. let mut a: String = "A".to_string(); diff --git a/src/test/ui/run-pass/self/ufcs-explicit-self.rs b/src/test/ui/run-pass/self/ufcs-explicit-self.rs index b3cbd2c4eb3..df86065904d 100644 --- a/src/test/ui/run-pass/self/ufcs-explicit-self.rs +++ b/src/test/ui/run-pass/self/ufcs-explicit-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/self/uniq-self-in-mut-slot.rs b/src/test/ui/run-pass/self/uniq-self-in-mut-slot.rs index a4f953ceaf5..46d51d48547 100644 --- a/src/test/ui/run-pass/self/uniq-self-in-mut-slot.rs +++ b/src/test/ui/run-pass/self/uniq-self-in-mut-slot.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct X { diff --git a/src/test/ui/run-pass/self/where-for-self.rs b/src/test/ui/run-pass/self/where-for-self.rs index ee19e76c146..147ab0be74a 100644 --- a/src/test/ui/run-pass/self/where-for-self.rs +++ b/src/test/ui/run-pass/self/where-for-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can quantify lifetimes outside a constraint (i.e., including // the self type) in a where clause. diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-cci.rs b/src/test/ui/run-pass/sepcomp/sepcomp-cci.rs index d3d3de0e2c0..beeece32337 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-cci.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-cci.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-bitrig // compile-flags: -C codegen-units=3 // aux-build:sepcomp_cci_lib.rs diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-extern.rs b/src/test/ui/run-pass/sepcomp/sepcomp-extern.rs index f21b787dab7..1bf8f3bc5ac 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-extern.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-extern.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-bitrig // compile-flags: -C codegen-units=3 // aux-build:sepcomp-extern-lib.rs diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-fns-backwards.rs b/src/test/ui/run-pass/sepcomp/sepcomp-fns-backwards.rs index 4fea07028b6..96993d3a7be 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-fns-backwards.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-fns-backwards.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-bitrig // compile-flags: -C codegen-units=3 diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-fns.rs b/src/test/ui/run-pass/sepcomp/sepcomp-fns.rs index a2356cf02a1..3d917cb70e3 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-fns.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-fns.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-bitrig // compile-flags: -C codegen-units=3 diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-lib-lto.rs b/src/test/ui/run-pass/sepcomp/sepcomp-lib-lto.rs index 8d73f4db7d2..03b837cdcf4 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-lib-lto.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-lib-lto.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Check that we can use `-C lto` when linking against libraries that were // separately compiled. diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-lib.rs b/src/test/ui/run-pass/sepcomp/sepcomp-lib.rs index abe842a332d..11ad12611e1 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-lib.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-lib.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:sepcomp_lib.rs // Test linking against a library built with -C codegen-units > 1 diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-statics.rs b/src/test/ui/run-pass/sepcomp/sepcomp-statics.rs index 8cda469a88b..7022a5eee71 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-statics.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-statics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-bitrig // compile-flags: -C codegen-units=3 diff --git a/src/test/ui/run-pass/sepcomp/sepcomp-unwind.rs b/src/test/ui/run-pass/sepcomp/sepcomp-unwind.rs index 3a93845a062..15b07653224 100644 --- a/src/test/ui/run-pass/sepcomp/sepcomp-unwind.rs +++ b/src/test/ui/run-pass/sepcomp/sepcomp-unwind.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-bitrig // compile-flags: -C codegen-units=3 // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/simd/simd-generics.rs b/src/test/ui/run-pass/simd/simd-generics.rs index ef40a6ce96b..87d252db2af 100644 --- a/src/test/ui/run-pass/simd/simd-generics.rs +++ b/src/test/ui/run-pass/simd/simd-generics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_simd, platform_intrinsics)] diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-float-math.rs b/src/test/ui/run-pass/simd/simd-intrinsic-float-math.rs index 3c7ca21459f..216855db747 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-float-math.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-float-math.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten // ignore-android diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-float-minmax.rs b/src/test/ui/run-pass/simd/simd-intrinsic-float-minmax.rs index d35123e2235..a146b4b2f70 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-float-minmax.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-float-minmax.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten // min-llvm-version 7.0 // error-pattern: panicked diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-arithmetic.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-arithmetic.rs index ac6d0c697ec..0ba06a88ec0 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-arithmetic.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-arithmetic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) hits an LLVM assert #![feature(repr_simd, platform_intrinsics)] diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-cast.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-cast.rs index ed2786edf3a..e24a141e6e0 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-cast.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) hits an LLVM assert #![feature(repr_simd, platform_intrinsics, concat_idents, test)] diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-comparison.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-comparison.rs index d27378ba893..0c36d88dafd 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-comparison.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-comparison.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) hits an LLVM assert #![feature(repr_simd, platform_intrinsics, concat_idents)] diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-elements.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-elements.rs index 72fcef27a66..0dd1cae18f1 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-elements.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-elements.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten FIXME(#45351) hits an LLVM assert #![feature(repr_simd, platform_intrinsics)] diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-gather.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-gather.rs index 54143739a88..5f6a72a8e1e 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-gather.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-gather.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten // min-llvm-version 6.0 diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-reduction.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-reduction.rs index 8e999b7115e..d254002d4d4 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-reduction.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-reduction.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten // Test that the simd_reduce_{op} intrinsics produce the correct results. diff --git a/src/test/ui/run-pass/simd/simd-intrinsic-generic-select.rs b/src/test/ui/run-pass/simd/simd-intrinsic-generic-select.rs index 8e94d797e89..6affd5f5fc6 100644 --- a/src/test/ui/run-pass/simd/simd-intrinsic-generic-select.rs +++ b/src/test/ui/run-pass/simd/simd-intrinsic-generic-select.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten // Test that the simd_select intrinsics produces correct results. diff --git a/src/test/ui/run-pass/simd/simd-size-align.rs b/src/test/ui/run-pass/simd/simd-size-align.rs index b8d7cd84141..00432920eeb 100644 --- a/src/test/ui/run-pass/simd/simd-size-align.rs +++ b/src/test/ui/run-pass/simd/simd-size-align.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(repr_simd)] #![allow(non_camel_case_types)] diff --git a/src/test/ui/run-pass/simd/simd-target-feature-mixup.rs b/src/test/ui/run-pass/simd/simd-target-feature-mixup.rs index a7fd9f299c0..794c124fc06 100644 --- a/src/test/ui/run-pass/simd/simd-target-feature-mixup.rs +++ b/src/test/ui/run-pass/simd/simd-target-feature-mixup.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten #![feature(repr_simd, target_feature, cfg_target_feature)] diff --git a/src/test/ui/run-pass/simd/simd-type.rs b/src/test/ui/run-pass/simd/simd-type.rs index 2883b80a25b..a1a655eec86 100644 --- a/src/test/ui/run-pass/simd/simd-type.rs +++ b/src/test/ui/run-pass/simd/simd-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/simd/simd-upgraded.rs b/src/test/ui/run-pass/simd/simd-upgraded.rs index 821a505c138..511b772e55b 100644 --- a/src/test/ui/run-pass/simd/simd-upgraded.rs +++ b/src/test/ui/run-pass/simd/simd-upgraded.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that removed LLVM SIMD intrinsics continue // to work via the "AutoUpgrade" mechanism. diff --git a/src/test/ui/run-pass/statics/static-fn-inline-xc.rs b/src/test/ui/run-pass/statics/static-fn-inline-xc.rs index 80de65c0e9f..a30c3dba3c3 100644 --- a/src/test/ui/run-pass/statics/static-fn-inline-xc.rs +++ b/src/test/ui/run-pass/statics/static-fn-inline-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:static_fn_inline_xc_aux.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/statics/static-fn-trait-xc.rs b/src/test/ui/run-pass/statics/static-fn-trait-xc.rs index 550e03c8b12..da6108c7852 100644 --- a/src/test/ui/run-pass/statics/static-fn-trait-xc.rs +++ b/src/test/ui/run-pass/statics/static-fn-trait-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:static_fn_trait_xc_aux.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/statics/static-function-pointer-xc.rs b/src/test/ui/run-pass/statics/static-function-pointer-xc.rs index a09928bd220..19231ca5134 100644 --- a/src/test/ui/run-pass/statics/static-function-pointer-xc.rs +++ b/src/test/ui/run-pass/statics/static-function-pointer-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:static-function-pointer-aux.rs extern crate static_function_pointer_aux as aux; diff --git a/src/test/ui/run-pass/statics/static-function-pointer.rs b/src/test/ui/run-pass/statics/static-function-pointer.rs index be297524309..e923ee7308e 100644 --- a/src/test/ui/run-pass/statics/static-function-pointer.rs +++ b/src/test/ui/run-pass/statics/static-function-pointer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn f(x: isize) -> isize { x } fn g(x: isize) -> isize { 2 * x } diff --git a/src/test/ui/run-pass/statics/static-impl.rs b/src/test/ui/run-pass/statics/static-impl.rs index 89fd83ced4c..eede475821d 100644 --- a/src/test/ui/run-pass/statics/static-impl.rs +++ b/src/test/ui/run-pass/statics/static-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/statics/static-method-in-trait-with-tps-intracrate.rs b/src/test/ui/run-pass/statics/static-method-in-trait-with-tps-intracrate.rs index c2b3a9a7228..e70984df37e 100644 --- a/src/test/ui/run-pass/statics/static-method-in-trait-with-tps-intracrate.rs +++ b/src/test/ui/run-pass/statics/static-method-in-trait-with-tps-intracrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Deserializer { fn read_int(&self) -> isize; diff --git a/src/test/ui/run-pass/statics/static-method-xcrate.rs b/src/test/ui/run-pass/statics/static-method-xcrate.rs index ab6adcbbffe..f9bae7f3a3b 100644 --- a/src/test/ui/run-pass/statics/static-method-xcrate.rs +++ b/src/test/ui/run-pass/statics/static-method-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:static-methods-crate.rs extern crate static_methods_crate; diff --git a/src/test/ui/run-pass/statics/static-methods-in-traits.rs b/src/test/ui/run-pass/statics/static-methods-in-traits.rs index 3fd3bbe936f..cdf2168f7dc 100644 --- a/src/test/ui/run-pass/statics/static-methods-in-traits.rs +++ b/src/test/ui/run-pass/statics/static-methods-in-traits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod a { pub trait Foo { diff --git a/src/test/ui/run-pass/statics/static-methods-in-traits2.rs b/src/test/ui/run-pass/statics/static-methods-in-traits2.rs index cd8406983fb..7e50cc58618 100644 --- a/src/test/ui/run-pass/statics/static-methods-in-traits2.rs +++ b/src/test/ui/run-pass/statics/static-methods-in-traits2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait Number: NumConv { diff --git a/src/test/ui/run-pass/statics/static-mut-foreign.rs b/src/test/ui/run-pass/statics/static-mut-foreign.rs index 2b7fa0166a8..d9e43ddea71 100644 --- a/src/test/ui/run-pass/statics/static-mut-foreign.rs +++ b/src/test/ui/run-pass/statics/static-mut-foreign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Constants (static variables) can be used to match in patterns, but mutable // statics cannot. This ensures that there's some form of error if this is // attempted. diff --git a/src/test/ui/run-pass/statics/static-mut-xc.rs b/src/test/ui/run-pass/statics/static-mut-xc.rs index 5911b6cfa85..912520f2176 100644 --- a/src/test/ui/run-pass/statics/static-mut-xc.rs +++ b/src/test/ui/run-pass/statics/static-mut-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Constants (static variables) can be used to match in patterns, but mutable // statics cannot. This ensures that there's some form of error if this is // attempted. diff --git a/src/test/ui/run-pass/statics/static-recursive.rs b/src/test/ui/run-pass/statics/static-recursive.rs index 4a6ba984eef..606604e5f6f 100644 --- a/src/test/ui/run-pass/statics/static-recursive.rs +++ b/src/test/ui/run-pass/statics/static-recursive.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static mut S: *const u8 = unsafe { &S as *const *const u8 as *const u8 }; struct StaticDoubleLinked { diff --git a/src/test/ui/run-pass/structs-enums/align-struct.rs b/src/test/ui/run-pass/structs-enums/align-struct.rs index 2b6a151574a..122734e817a 100644 --- a/src/test/ui/run-pass/structs-enums/align-struct.rs +++ b/src/test/ui/run-pass/structs-enums/align-struct.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![feature(box_syntax)] #![feature(repr_packed)] diff --git a/src/test/ui/run-pass/structs-enums/borrow-tuple-fields.rs b/src/test/ui/run-pass/structs-enums/borrow-tuple-fields.rs index f0d09688192..c7f9c481579 100644 --- a/src/test/ui/run-pass/structs-enums/borrow-tuple-fields.rs +++ b/src/test/ui/run-pass/structs-enums/borrow-tuple-fields.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo(isize, isize); diff --git a/src/test/ui/run-pass/structs-enums/class-attributes-1.rs b/src/test/ui/run-pass/structs-enums/class-attributes-1.rs index 5dc27472184..c0ee9e59bf4 100644 --- a/src/test/ui/run-pass/structs-enums/class-attributes-1.rs +++ b/src/test/ui/run-pass/structs-enums/class-attributes-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pp-exact - Make sure we actually print the attributes #![allow(unused_attribute)] #![feature(custom_attribute)] diff --git a/src/test/ui/run-pass/structs-enums/class-attributes-2.rs b/src/test/ui/run-pass/structs-enums/class-attributes-2.rs index cc1b15bcb81..6309d2de342 100644 --- a/src/test/ui/run-pass/structs-enums/class-attributes-2.rs +++ b/src/test/ui/run-pass/structs-enums/class-attributes-2.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass #![allow(unused_attribute)] #![feature(custom_attribute)] diff --git a/src/test/ui/run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs b/src/test/ui/run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs index 04c4b2cb377..c28244a9f90 100644 --- a/src/test/ui/run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs +++ b/src/test/ui/run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class_cast.rs #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/structs-enums/class-cast-to-trait-multiple-types.rs b/src/test/ui/run-pass/structs-enums/class-cast-to-trait-multiple-types.rs index e5acad3a3ad..b30b786fec3 100644 --- a/src/test/ui/run-pass/structs-enums/class-cast-to-trait-multiple-types.rs +++ b/src/test/ui/run-pass/structs-enums/class-cast-to-trait-multiple-types.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait noisy { fn speak(&mut self) -> isize; diff --git a/src/test/ui/run-pass/structs-enums/class-cast-to-trait.rs b/src/test/ui/run-pass/structs-enums/class-cast-to-trait.rs index adb0b6cd0a7..df8920c0e66 100644 --- a/src/test/ui/run-pass/structs-enums/class-cast-to-trait.rs +++ b/src/test/ui/run-pass/structs-enums/class-cast-to-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-freebsd FIXME fails on BSD diff --git a/src/test/ui/run-pass/structs-enums/class-dtor.rs b/src/test/ui/run-pass/structs-enums/class-dtor.rs index 05ec2bc0ac7..5b98853fb9c 100644 --- a/src/test/ui/run-pass/structs-enums/class-dtor.rs +++ b/src/test/ui/run-pass/structs-enums/class-dtor.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct cat { diff --git a/src/test/ui/run-pass/structs-enums/class-exports.rs b/src/test/ui/run-pass/structs-enums/class-exports.rs index 6783609b256..cd1f9e40bbe 100644 --- a/src/test/ui/run-pass/structs-enums/class-exports.rs +++ b/src/test/ui/run-pass/structs-enums/class-exports.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /* Test that exporting a class also exports its public fields and methods */ diff --git a/src/test/ui/run-pass/structs-enums/class-impl-very-parameterized-trait.rs b/src/test/ui/run-pass/structs-enums/class-impl-very-parameterized-trait.rs index 27a57a88859..7ad5115151a 100644 --- a/src/test/ui/run-pass/structs-enums/class-impl-very-parameterized-trait.rs +++ b/src/test/ui/run-pass/structs-enums/class-impl-very-parameterized-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cmp; diff --git a/src/test/ui/run-pass/structs-enums/class-implement-trait-cross-crate.rs b/src/test/ui/run-pass/structs-enums/class-implement-trait-cross-crate.rs index 5a1dc930efa..9a599398040 100644 --- a/src/test/ui/run-pass/structs-enums/class-implement-trait-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/class-implement-trait-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class_trait.rs extern crate cci_class_trait; use cci_class_trait::animals::noisy; diff --git a/src/test/ui/run-pass/structs-enums/class-implement-traits.rs b/src/test/ui/run-pass/structs-enums/class-implement-traits.rs index 394af6b9ecd..fa5dbbdb684 100644 --- a/src/test/ui/run-pass/structs-enums/class-implement-traits.rs +++ b/src/test/ui/run-pass/structs-enums/class-implement-traits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait noisy { fn speak(&mut self); diff --git a/src/test/ui/run-pass/structs-enums/class-method-cross-crate.rs b/src/test/ui/run-pass/structs-enums/class-method-cross-crate.rs index 6ab158dc37c..010f735beee 100644 --- a/src/test/ui/run-pass/structs-enums/class-method-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/class-method-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class_2.rs extern crate cci_class_2; diff --git a/src/test/ui/run-pass/structs-enums/class-methods-cross-crate.rs b/src/test/ui/run-pass/structs-enums/class-methods-cross-crate.rs index 66657100759..ca4a783b70a 100644 --- a/src/test/ui/run-pass/structs-enums/class-methods-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/class-methods-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class_3.rs extern crate cci_class_3; diff --git a/src/test/ui/run-pass/structs-enums/class-methods.rs b/src/test/ui/run-pass/structs-enums/class-methods.rs index 93af906bd5a..2f75c56ab38 100644 --- a/src/test/ui/run-pass/structs-enums/class-methods.rs +++ b/src/test/ui/run-pass/structs-enums/class-methods.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct cat { meows : usize, diff --git a/src/test/ui/run-pass/structs-enums/class-poly-methods-cross-crate.rs b/src/test/ui/run-pass/structs-enums/class-poly-methods-cross-crate.rs index 7d266181c9e..7ee98125148 100644 --- a/src/test/ui/run-pass/structs-enums/class-poly-methods-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/class-poly-methods-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class_6.rs extern crate cci_class_6; diff --git a/src/test/ui/run-pass/structs-enums/class-poly-methods.rs b/src/test/ui/run-pass/structs-enums/class-poly-methods.rs index 5da858e3c40..0f00d1d7fe3 100644 --- a/src/test/ui/run-pass/structs-enums/class-poly-methods.rs +++ b/src/test/ui/run-pass/structs-enums/class-poly-methods.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct cat { diff --git a/src/test/ui/run-pass/structs-enums/class-separate-impl.rs b/src/test/ui/run-pass/structs-enums/class-separate-impl.rs index 343d414758c..eefaa8d0063 100644 --- a/src/test/ui/run-pass/structs-enums/class-separate-impl.rs +++ b/src/test/ui/run-pass/structs-enums/class-separate-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::fmt; diff --git a/src/test/ui/run-pass/structs-enums/class-str-field.rs b/src/test/ui/run-pass/structs-enums/class-str-field.rs index e3b9b56db0b..d0e8cbed90a 100644 --- a/src/test/ui/run-pass/structs-enums/class-str-field.rs +++ b/src/test/ui/run-pass/structs-enums/class-str-field.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct cat { diff --git a/src/test/ui/run-pass/structs-enums/class-typarams.rs b/src/test/ui/run-pass/structs-enums/class-typarams.rs index cc9a118ba19..66c77b15f9d 100644 --- a/src/test/ui/run-pass/structs-enums/class-typarams.rs +++ b/src/test/ui/run-pass/structs-enums/class-typarams.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::marker::PhantomData; diff --git a/src/test/ui/run-pass/structs-enums/classes-cross-crate.rs b/src/test/ui/run-pass/structs-enums/classes-cross-crate.rs index 3d99aa1ef1d..c9cc609e8a1 100644 --- a/src/test/ui/run-pass/structs-enums/classes-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/classes-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class_4.rs extern crate cci_class_4; diff --git a/src/test/ui/run-pass/structs-enums/classes-self-referential.rs b/src/test/ui/run-pass/structs-enums/classes-self-referential.rs index 487d20729d4..5ce370bc96d 100644 --- a/src/test/ui/run-pass/structs-enums/classes-self-referential.rs +++ b/src/test/ui/run-pass/structs-enums/classes-self-referential.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/classes-simple-cross-crate.rs b/src/test/ui/run-pass/structs-enums/classes-simple-cross-crate.rs index db15001c62f..c90ae80036f 100644 --- a/src/test/ui/run-pass/structs-enums/classes-simple-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/classes-simple-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:cci_class.rs extern crate cci_class; diff --git a/src/test/ui/run-pass/structs-enums/classes-simple-method.rs b/src/test/ui/run-pass/structs-enums/classes-simple-method.rs index 64ec2ea7e71..48c4447b8ec 100644 --- a/src/test/ui/run-pass/structs-enums/classes-simple-method.rs +++ b/src/test/ui/run-pass/structs-enums/classes-simple-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct cat { meows : usize, diff --git a/src/test/ui/run-pass/structs-enums/classes-simple.rs b/src/test/ui/run-pass/structs-enums/classes-simple.rs index c475fb2cff9..8de9036e484 100644 --- a/src/test/ui/run-pass/structs-enums/classes-simple.rs +++ b/src/test/ui/run-pass/structs-enums/classes-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct cat { meows : usize, diff --git a/src/test/ui/run-pass/structs-enums/classes.rs b/src/test/ui/run-pass/structs-enums/classes.rs index fa0dda11233..1cd9d398480 100644 --- a/src/test/ui/run-pass/structs-enums/classes.rs +++ b/src/test/ui/run-pass/structs-enums/classes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct cat { meows : usize, diff --git a/src/test/ui/run-pass/structs-enums/codegen-tag-static-padding.rs b/src/test/ui/run-pass/structs-enums/codegen-tag-static-padding.rs index ba01d51dc6a..ce05b2ab3b0 100644 --- a/src/test/ui/run-pass/structs-enums/codegen-tag-static-padding.rs +++ b/src/test/ui/run-pass/structs-enums/codegen-tag-static-padding.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #13186 diff --git a/src/test/ui/run-pass/structs-enums/compare-generic-enums.rs b/src/test/ui/run-pass/structs-enums/compare-generic-enums.rs index 228a73326e1..ca5a1d7dec9 100644 --- a/src/test/ui/run-pass/structs-enums/compare-generic-enums.rs +++ b/src/test/ui/run-pass/structs-enums/compare-generic-enums.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass type an_int = isize; diff --git a/src/test/ui/run-pass/structs-enums/discrim-explicit-23030.rs b/src/test/ui/run-pass/structs-enums/discrim-explicit-23030.rs index aed7b1527ce..73053131865 100644 --- a/src/test/ui/run-pass/structs-enums/discrim-explicit-23030.rs +++ b/src/test/ui/run-pass/structs-enums/discrim-explicit-23030.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue 23030: Workaround overflowing discriminant // with explicit assignments. diff --git a/src/test/ui/run-pass/structs-enums/empty-struct-braces.rs b/src/test/ui/run-pass/structs-enums/empty-struct-braces.rs index 7c161ba8dd9..98697072bbb 100644 --- a/src/test/ui/run-pass/structs-enums/empty-struct-braces.rs +++ b/src/test/ui/run-pass/structs-enums/empty-struct-braces.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Empty struct defined with braces add names into type namespace // Empty struct defined without braces add names into both type and value namespaces diff --git a/src/test/ui/run-pass/structs-enums/empty-tag.rs b/src/test/ui/run-pass/structs-enums/empty-tag.rs index e60cd02ce99..e1a4fdc3c10 100644 --- a/src/test/ui/run-pass/structs-enums/empty-tag.rs +++ b/src/test/ui/run-pass/structs-enums/empty-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone, Debug)] enum chan { chan_t, } diff --git a/src/test/ui/run-pass/structs-enums/enum-alignment.rs b/src/test/ui/run-pass/structs-enums/enum-alignment.rs index 827894f8f32..ab058a618b5 100644 --- a/src/test/ui/run-pass/structs-enums/enum-alignment.rs +++ b/src/test/ui/run-pass/structs-enums/enum-alignment.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/structs-enums/enum-clike-ffi-as-int.rs b/src/test/ui/run-pass/structs-enums/enum-clike-ffi-as-int.rs index fdaad9e1fab..838db705817 100644 --- a/src/test/ui/run-pass/structs-enums/enum-clike-ffi-as-int.rs +++ b/src/test/ui/run-pass/structs-enums/enum-clike-ffi-as-int.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass /*! * C-like enums have to be represented as LLVM ints, not wrapped in a diff --git a/src/test/ui/run-pass/structs-enums/enum-discr.rs b/src/test/ui/run-pass/structs-enums/enum-discr.rs index fafd8b576ff..0962f41f78d 100644 --- a/src/test/ui/run-pass/structs-enums/enum-discr.rs +++ b/src/test/ui/run-pass/structs-enums/enum-discr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Animal { Cat = 0, diff --git a/src/test/ui/run-pass/structs-enums/enum-discrim-autosizing.rs b/src/test/ui/run-pass/structs-enums/enum-discrim-autosizing.rs index c85ab535fc1..69eb1ef9f0e 100644 --- a/src/test/ui/run-pass/structs-enums/enum-discrim-autosizing.rs +++ b/src/test/ui/run-pass/structs-enums/enum-discrim-autosizing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::size_of; enum Ei8 { diff --git a/src/test/ui/run-pass/structs-enums/enum-discrim-manual-sizing.rs b/src/test/ui/run-pass/structs-enums/enum-discrim-manual-sizing.rs index 8557c065dc6..b4f8b5427e0 100644 --- a/src/test/ui/run-pass/structs-enums/enum-discrim-manual-sizing.rs +++ b/src/test/ui/run-pass/structs-enums/enum-discrim-manual-sizing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::{size_of, align_of}; diff --git a/src/test/ui/run-pass/structs-enums/enum-discrim-range-overflow.rs b/src/test/ui/run-pass/structs-enums/enum-discrim-range-overflow.rs index f1306b3f08c..0043fb60ab2 100644 --- a/src/test/ui/run-pass/structs-enums/enum-discrim-range-overflow.rs +++ b/src/test/ui/run-pass/structs-enums/enum-discrim-range-overflow.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub enum E64 { diff --git a/src/test/ui/run-pass/structs-enums/enum-discrim-width-stuff.rs b/src/test/ui/run-pass/structs-enums/enum-discrim-width-stuff.rs index 46238c45720..4f7a434625e 100644 --- a/src/test/ui/run-pass/structs-enums/enum-discrim-width-stuff.rs +++ b/src/test/ui/run-pass/structs-enums/enum-discrim-width-stuff.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass macro_rules! check { ($m:ident, $t:ty, $v:expr) => {{ mod $m { diff --git a/src/test/ui/run-pass/structs-enums/enum-disr-val-pretty.rs b/src/test/ui/run-pass/structs-enums/enum-disr-val-pretty.rs index 425d8f6d651..d6779d02263 100644 --- a/src/test/ui/run-pass/structs-enums/enum-disr-val-pretty.rs +++ b/src/test/ui/run-pass/structs-enums/enum-disr-val-pretty.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pp-exact diff --git a/src/test/ui/run-pass/structs-enums/enum-export-inheritance.rs b/src/test/ui/run-pass/structs-enums/enum-export-inheritance.rs index 4cf8fff2376..050479d28dc 100644 --- a/src/test/ui/run-pass/structs-enums/enum-export-inheritance.rs +++ b/src/test/ui/run-pass/structs-enums/enum-export-inheritance.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod a { diff --git a/src/test/ui/run-pass/structs-enums/enum-layout-optimization.rs b/src/test/ui/run-pass/structs-enums/enum-layout-optimization.rs index a562761cab9..fcc5cc07996 100644 --- a/src/test/ui/run-pass/structs-enums/enum-layout-optimization.rs +++ b/src/test/ui/run-pass/structs-enums/enum-layout-optimization.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we will do various size optimizations to enum layout, but // *not* if `#[repr(u8)]` or `#[repr(C)]` is passed. See also #40029. diff --git a/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c-and-int.rs b/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c-and-int.rs index 86453fdf6fa..14eac687ecf 100644 --- a/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c-and-int.rs +++ b/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c-and-int.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test deserializes an enum in-place by transmuting to a union that // should have the same layout, and manipulating the tag and payloads // independently. This verifies that `repr(some_int)` has a stable representation, diff --git a/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c.rs b/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c.rs index b4e0fe8d457..80c4339af9d 100644 --- a/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c.rs +++ b/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-c.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test deserializes an enum in-place by transmuting to a union that // should have the same layout, and manipulating the tag and payloads // independently. This verifies that `repr(some_int)` has a stable representation, diff --git a/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-int.rs b/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-int.rs index 6e147b00ef9..4c1fe8db1cd 100644 --- a/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-int.rs +++ b/src/test/ui/run-pass/structs-enums/enum-non-c-like-repr-int.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // This test deserializes an enum in-place by transmuting to a union that // should have the same layout, and manipulating the tag and payloads // independently. This verifies that `repr(some_int)` has a stable representation, diff --git a/src/test/ui/run-pass/structs-enums/enum-null-pointer-opt.rs b/src/test/ui/run-pass/structs-enums/enum-null-pointer-opt.rs index 34ed589d418..f5f90c62b88 100644 --- a/src/test/ui/run-pass/structs-enums/enum-null-pointer-opt.rs +++ b/src/test/ui/run-pass/structs-enums/enum-null-pointer-opt.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::size_of; use std::num::NonZeroUsize; use std::ptr::NonNull; diff --git a/src/test/ui/run-pass/structs-enums/enum-nullable-const-null-with-fields.rs b/src/test/ui/run-pass/structs-enums/enum-nullable-const-null-with-fields.rs index 1342c4e104d..21d48112841 100644 --- a/src/test/ui/run-pass/structs-enums/enum-nullable-const-null-with-fields.rs +++ b/src/test/ui/run-pass/structs-enums/enum-nullable-const-null-with-fields.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::result::Result; use std::result::Result::Ok; diff --git a/src/test/ui/run-pass/structs-enums/enum-nullable-simplifycfg-misopt.rs b/src/test/ui/run-pass/structs-enums/enum-nullable-simplifycfg-misopt.rs index b5db8d91320..431d105f01f 100644 --- a/src/test/ui/run-pass/structs-enums/enum-nullable-simplifycfg-misopt.rs +++ b/src/test/ui/run-pass/structs-enums/enum-nullable-simplifycfg-misopt.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] /*! diff --git a/src/test/ui/run-pass/structs-enums/enum-univariant-repr.rs b/src/test/ui/run-pass/structs-enums/enum-univariant-repr.rs index 17d614b5496..7f78da64b67 100644 --- a/src/test/ui/run-pass/structs-enums/enum-univariant-repr.rs +++ b/src/test/ui/run-pass/structs-enums/enum-univariant-repr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/structs-enums/enum-variants.rs b/src/test/ui/run-pass/structs-enums/enum-variants.rs index 5eb7a243acf..3ccfa7f6963 100644 --- a/src/test/ui/run-pass/structs-enums/enum-variants.rs +++ b/src/test/ui/run-pass/structs-enums/enum-variants.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/structs-enums/enum-vec-initializer.rs b/src/test/ui/run-pass/structs-enums/enum-vec-initializer.rs index 037ee5f7777..9a2abdbb706 100644 --- a/src/test/ui/run-pass/structs-enums/enum-vec-initializer.rs +++ b/src/test/ui/run-pass/structs-enums/enum-vec-initializer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Flopsy { diff --git a/src/test/ui/run-pass/structs-enums/export-abstract-tag.rs b/src/test/ui/run-pass/structs-enums/export-abstract-tag.rs index 7333d739f4b..34b9cb6f557 100644 --- a/src/test/ui/run-pass/structs-enums/export-abstract-tag.rs +++ b/src/test/ui/run-pass/structs-enums/export-abstract-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // We can export tags without exporting the variants to create a simple // sort of ADT. diff --git a/src/test/ui/run-pass/structs-enums/export-tag-variant.rs b/src/test/ui/run-pass/structs-enums/export-tag-variant.rs index 6257332a665..303ca07b80b 100644 --- a/src/test/ui/run-pass/structs-enums/export-tag-variant.rs +++ b/src/test/ui/run-pass/structs-enums/export-tag-variant.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod foo { diff --git a/src/test/ui/run-pass/structs-enums/expr-if-struct.rs b/src/test/ui/run-pass/structs-enums/expr-if-struct.rs index e79daed4c33..8f542ce529e 100644 --- a/src/test/ui/run-pass/structs-enums/expr-if-struct.rs +++ b/src/test/ui/run-pass/structs-enums/expr-if-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/structs-enums/expr-match-struct.rs b/src/test/ui/run-pass/structs-enums/expr-match-struct.rs index 2dcb0f833e4..13ad4fbd7fb 100644 --- a/src/test/ui/run-pass/structs-enums/expr-match-struct.rs +++ b/src/test/ui/run-pass/structs-enums/expr-match-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/structs-enums/field-destruction-order.rs b/src/test/ui/run-pass/structs-enums/field-destruction-order.rs index 624167db36d..9856776ae62 100644 --- a/src/test/ui/run-pass/structs-enums/field-destruction-order.rs +++ b/src/test/ui/run-pass/structs-enums/field-destruction-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // In theory, it doesn't matter what order destructors are run in for rust // because we have explicit ownership of values meaning that there's no need to // run one before another. With unsafe code, however, there may be a safe diff --git a/src/test/ui/run-pass/structs-enums/foreign-struct.rs b/src/test/ui/run-pass/structs-enums/foreign-struct.rs index 8b48731ee0b..c6e733c7424 100644 --- a/src/test/ui/run-pass/structs-enums/foreign-struct.rs +++ b/src/test/ui/run-pass/structs-enums/foreign-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Passing enums by value // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/functional-struct-upd.rs b/src/test/ui/run-pass/structs-enums/functional-struct-upd.rs index 240d49d718f..6fe028c5145 100644 --- a/src/test/ui/run-pass/structs-enums/functional-struct-upd.rs +++ b/src/test/ui/run-pass/structs-enums/functional-struct-upd.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct Foo { x: isize, diff --git a/src/test/ui/run-pass/structs-enums/ivec-tag.rs b/src/test/ui/run-pass/structs-enums/ivec-tag.rs index 0da1d18afd8..fb7585f9989 100644 --- a/src/test/ui/run-pass/structs-enums/ivec-tag.rs +++ b/src/test/ui/run-pass/structs-enums/ivec-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/structs-enums/module-qualified-struct-destructure.rs b/src/test/ui/run-pass/structs-enums/module-qualified-struct-destructure.rs index d6844f0f4ab..8334dc532e0 100644 --- a/src/test/ui/run-pass/structs-enums/module-qualified-struct-destructure.rs +++ b/src/test/ui/run-pass/structs-enums/module-qualified-struct-destructure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod m { diff --git a/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs b/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs index f275e9b7425..f93cea06cd7 100644 --- a/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs +++ b/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:namespaced_enum_emulate_flat.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat.rs b/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat.rs index 0f85c20d315..1185519dac6 100644 --- a/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat.rs +++ b/src/test/ui/run-pass/structs-enums/namespaced-enum-emulate-flat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub use Foo::*; diff --git a/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs b/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs index 7bfe90bad7f..aff4125ef17 100644 --- a/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs +++ b/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:namespaced_enums.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import.rs b/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import.rs index f506ea11f84..85af2f0d9d6 100644 --- a/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import.rs +++ b/src/test/ui/run-pass/structs-enums/namespaced-enum-glob-import.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod m2 { diff --git a/src/test/ui/run-pass/structs-enums/namespaced-enums-xcrate.rs b/src/test/ui/run-pass/structs-enums/namespaced-enums-xcrate.rs index 0046d80e086..d107a9386c3 100644 --- a/src/test/ui/run-pass/structs-enums/namespaced-enums-xcrate.rs +++ b/src/test/ui/run-pass/structs-enums/namespaced-enums-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:namespaced_enums.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/namespaced-enums.rs b/src/test/ui/run-pass/structs-enums/namespaced-enums.rs index 3e72f73bc48..05a4c190712 100644 --- a/src/test/ui/run-pass/structs-enums/namespaced-enums.rs +++ b/src/test/ui/run-pass/structs-enums/namespaced-enums.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Foo { diff --git a/src/test/ui/run-pass/structs-enums/nested-enum-same-names.rs b/src/test/ui/run-pass/structs-enums/nested-enum-same-names.rs index c0baab66c59..6e294b27abf 100644 --- a/src/test/ui/run-pass/structs-enums/nested-enum-same-names.rs +++ b/src/test/ui/run-pass/structs-enums/nested-enum-same-names.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 /* diff --git a/src/test/ui/run-pass/structs-enums/newtype-struct-drop-run.rs b/src/test/ui/run-pass/structs-enums/newtype-struct-drop-run.rs index 6a5d86b522e..2221deeb5ae 100644 --- a/src/test/ui/run-pass/structs-enums/newtype-struct-drop-run.rs +++ b/src/test/ui/run-pass/structs-enums/newtype-struct-drop-run.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Make sure the destructor is run for newtype structs. use std::cell::Cell; diff --git a/src/test/ui/run-pass/structs-enums/newtype-struct-with-dtor.rs b/src/test/ui/run-pass/structs-enums/newtype-struct-with-dtor.rs index 07c76e27284..6bdf69478ae 100644 --- a/src/test/ui/run-pass/structs-enums/newtype-struct-with-dtor.rs +++ b/src/test/ui/run-pass/structs-enums/newtype-struct-with-dtor.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub struct Fd(u32); diff --git a/src/test/ui/run-pass/structs-enums/newtype-struct-xc-2.rs b/src/test/ui/run-pass/structs-enums/newtype-struct-xc-2.rs index ac03f65750d..d83552b063c 100644 --- a/src/test/ui/run-pass/structs-enums/newtype-struct-xc-2.rs +++ b/src/test/ui/run-pass/structs-enums/newtype-struct-xc-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:newtype_struct_xc.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/newtype-struct-xc.rs b/src/test/ui/run-pass/structs-enums/newtype-struct-xc.rs index 0cac4530faf..d88ddd7298c 100644 --- a/src/test/ui/run-pass/structs-enums/newtype-struct-xc.rs +++ b/src/test/ui/run-pass/structs-enums/newtype-struct-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:newtype_struct_xc.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/nonzero-enum.rs b/src/test/ui/run-pass/structs-enums/nonzero-enum.rs index fc92c9df9f7..7a6afec4e6d 100644 --- a/src/test/ui/run-pass/structs-enums/nonzero-enum.rs +++ b/src/test/ui/run-pass/structs-enums/nonzero-enum.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::size_of; enum E { diff --git a/src/test/ui/run-pass/structs-enums/numeric-fields.rs b/src/test/ui/run-pass/structs-enums/numeric-fields.rs index 15f054de79d..e311722d651 100644 --- a/src/test/ui/run-pass/structs-enums/numeric-fields.rs +++ b/src/test/ui/run-pass/structs-enums/numeric-fields.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S(u8, u16); fn main() { diff --git a/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-ref-struct.rs b/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-ref-struct.rs index 6aaf8920971..86d8af174ac 100644 --- a/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-ref-struct.rs +++ b/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-ref-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the lifetime of the enclosing `&` is used for the object // lifetime bound. diff --git a/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-rptr-struct.rs b/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-rptr-struct.rs index fcff5fd6f17..cd88f7a42d0 100644 --- a/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-rptr-struct.rs +++ b/src/test/ui/run-pass/structs-enums/object-lifetime-default-from-rptr-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the lifetime from the enclosing `&` is "inherited" // through the `MyBox` struct. diff --git a/src/test/ui/run-pass/structs-enums/rec-align-u32.rs b/src/test/ui/run-pass/structs-enums/rec-align-u32.rs index 4a115c737da..e2c960b89cb 100644 --- a/src/test/ui/run-pass/structs-enums/rec-align-u32.rs +++ b/src/test/ui/run-pass/structs-enums/rec-align-u32.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #2303 #![feature(intrinsics)] diff --git a/src/test/ui/run-pass/structs-enums/rec-align-u64.rs b/src/test/ui/run-pass/structs-enums/rec-align-u64.rs index 85c1b2adb79..6fe3aefaef5 100644 --- a/src/test/ui/run-pass/structs-enums/rec-align-u64.rs +++ b/src/test/ui/run-pass/structs-enums/rec-align-u64.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare seems unimportant to test // Issue #2303 diff --git a/src/test/ui/run-pass/structs-enums/rec-auto.rs b/src/test/ui/run-pass/structs-enums/rec-auto.rs index 18431bc5379..db9a97bd036 100644 --- a/src/test/ui/run-pass/structs-enums/rec-auto.rs +++ b/src/test/ui/run-pass/structs-enums/rec-auto.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/structs-enums/rec-extend.rs b/src/test/ui/run-pass/structs-enums/rec-extend.rs index ffef77a4b8d..c20ff37222c 100644 --- a/src/test/ui/run-pass/structs-enums/rec-extend.rs +++ b/src/test/ui/run-pass/structs-enums/rec-extend.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/structs-enums/rec-tup.rs b/src/test/ui/run-pass/structs-enums/rec-tup.rs index 810888b0d8e..1e35f0d608e 100644 --- a/src/test/ui/run-pass/structs-enums/rec-tup.rs +++ b/src/test/ui/run-pass/structs-enums/rec-tup.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone)] struct Point {x: isize, y: isize} diff --git a/src/test/ui/run-pass/structs-enums/rec.rs b/src/test/ui/run-pass/structs-enums/rec.rs index b47bda0931f..c8e8f81e085 100644 --- a/src/test/ui/run-pass/structs-enums/rec.rs +++ b/src/test/ui/run-pass/structs-enums/rec.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Copy, Clone)] struct Rect {x: isize, y: isize, w: isize, h: isize} diff --git a/src/test/ui/run-pass/structs-enums/record-pat.rs b/src/test/ui/run-pass/structs-enums/record-pat.rs index 99bec7ab7d1..27c812b5028 100644 --- a/src/test/ui/run-pass/structs-enums/record-pat.rs +++ b/src/test/ui/run-pass/structs-enums/record-pat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum t1 { a(isize), b(usize), } struct T2 {x: t1, y: isize} diff --git a/src/test/ui/run-pass/structs-enums/resource-in-struct.rs b/src/test/ui/run-pass/structs-enums/resource-in-struct.rs index 2914127246a..1a058abda3d 100644 --- a/src/test/ui/run-pass/structs-enums/resource-in-struct.rs +++ b/src/test/ui/run-pass/structs-enums/resource-in-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensures that class dtors run if the object is inside an enum // variant diff --git a/src/test/ui/run-pass/structs-enums/simple-generic-tag.rs b/src/test/ui/run-pass/structs-enums/simple-generic-tag.rs index 2e8d8f61bc8..e37199322fe 100644 --- a/src/test/ui/run-pass/structs-enums/simple-generic-tag.rs +++ b/src/test/ui/run-pass/structs-enums/simple-generic-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/simple-match-generic-tag.rs b/src/test/ui/run-pass/structs-enums/simple-match-generic-tag.rs index 52989b36669..5f6d9fb781a 100644 --- a/src/test/ui/run-pass/structs-enums/simple-match-generic-tag.rs +++ b/src/test/ui/run-pass/structs-enums/simple-match-generic-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum opt { none, some(T) } pub fn main() { diff --git a/src/test/ui/run-pass/structs-enums/small-enum-range-edge.rs b/src/test/ui/run-pass/structs-enums/small-enum-range-edge.rs index 7b6f0a7c9ab..086e1299142 100644 --- a/src/test/ui/run-pass/structs-enums/small-enum-range-edge.rs +++ b/src/test/ui/run-pass/structs-enums/small-enum-range-edge.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests the range assertion wraparound case when reading discriminants. #[repr(u8)] diff --git a/src/test/ui/run-pass/structs-enums/small-enums-with-fields.rs b/src/test/ui/run-pass/structs-enums/small-enums-with-fields.rs index 86eed715f32..9e4d4395695 100644 --- a/src/test/ui/run-pass/structs-enums/small-enums-with-fields.rs +++ b/src/test/ui/run-pass/structs-enums/small-enums-with-fields.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem::size_of; #[derive(PartialEq, Debug)] diff --git a/src/test/ui/run-pass/structs-enums/struct-aliases-xcrate.rs b/src/test/ui/run-pass/structs-enums/struct-aliases-xcrate.rs index 2ca9d599d84..37c2b807545 100644 --- a/src/test/ui/run-pass/structs-enums/struct-aliases-xcrate.rs +++ b/src/test/ui/run-pass/structs-enums/struct-aliases-xcrate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:xcrate_struct_aliases.rs extern crate xcrate_struct_aliases; diff --git a/src/test/ui/run-pass/structs-enums/struct-aliases.rs b/src/test/ui/run-pass/structs-enums/struct-aliases.rs index f1337a5b079..572670f2045 100644 --- a/src/test/ui/run-pass/structs-enums/struct-aliases.rs +++ b/src/test/ui/run-pass/structs-enums/struct-aliases.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; struct S { diff --git a/src/test/ui/run-pass/structs-enums/struct-destructuring-cross-crate.rs b/src/test/ui/run-pass/structs-enums/struct-destructuring-cross-crate.rs index 63e8d694ddb..cd746f986f1 100644 --- a/src/test/ui/run-pass/structs-enums/struct-destructuring-cross-crate.rs +++ b/src/test/ui/run-pass/structs-enums/struct-destructuring-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:struct_destructuring_cross_crate.rs diff --git a/src/test/ui/run-pass/structs-enums/struct-field-shorthand.rs b/src/test/ui/run-pass/structs-enums/struct-field-shorthand.rs index b61e232200c..1f06cd889a4 100644 --- a/src/test/ui/run-pass/structs-enums/struct-field-shorthand.rs +++ b/src/test/ui/run-pass/structs-enums/struct-field-shorthand.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { x: i32, y: bool, diff --git a/src/test/ui/run-pass/structs-enums/struct-like-variant-construct.rs b/src/test/ui/run-pass/structs-enums/struct-like-variant-construct.rs index a55e5143a0b..a970c1b0d78 100644 --- a/src/test/ui/run-pass/structs-enums/struct-like-variant-construct.rs +++ b/src/test/ui/run-pass/structs-enums/struct-like-variant-construct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Foo { diff --git a/src/test/ui/run-pass/structs-enums/struct-like-variant-match.rs b/src/test/ui/run-pass/structs-enums/struct-like-variant-match.rs index 175090eadd9..3158486ca5e 100644 --- a/src/test/ui/run-pass/structs-enums/struct-like-variant-match.rs +++ b/src/test/ui/run-pass/structs-enums/struct-like-variant-match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum Foo { Bar { diff --git a/src/test/ui/run-pass/structs-enums/struct-lit-functional-no-fields.rs b/src/test/ui/run-pass/structs-enums/struct-lit-functional-no-fields.rs index c3b1ff0f057..fc28c837adf 100644 --- a/src/test/ui/run-pass/structs-enums/struct-lit-functional-no-fields.rs +++ b/src/test/ui/run-pass/structs-enums/struct-lit-functional-no-fields.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug,PartialEq,Clone)] struct Foo { bar: T, diff --git a/src/test/ui/run-pass/structs-enums/struct-literal-dtor.rs b/src/test/ui/run-pass/structs-enums/struct-literal-dtor.rs index 61607cffc47..fdbd96529d6 100644 --- a/src/test/ui/run-pass/structs-enums/struct-literal-dtor.rs +++ b/src/test/ui/run-pass/structs-enums/struct-literal-dtor.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct foo { x: String, } diff --git a/src/test/ui/run-pass/structs-enums/struct-new-as-field-name.rs b/src/test/ui/run-pass/structs-enums/struct-new-as-field-name.rs index 7fb3a64e02b..8f2bcbcf620 100644 --- a/src/test/ui/run-pass/structs-enums/struct-new-as-field-name.rs +++ b/src/test/ui/run-pass/structs-enums/struct-new-as-field-name.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { new: isize, diff --git a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-1.rs b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-1.rs index b5e4011bbea..1e674cb8970 100644 --- a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-1.rs +++ b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { f0: String, f1: isize } diff --git a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-2.rs b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-2.rs index 7ec28f597ed..c054f31beae 100644 --- a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-2.rs +++ b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { f0: String, diff --git a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-3.rs b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-3.rs index 3059c8e9e89..30f8a0dfe57 100644 --- a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-3.rs +++ b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Checks that functional-record-update order-of-eval is as expected // even when no Drop-implementations are involved. diff --git a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-4.rs b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-4.rs index 2ae9ebc34e1..8a436890f92 100644 --- a/src/test/ui/run-pass/structs-enums/struct-order-of-eval-4.rs +++ b/src/test/ui/run-pass/structs-enums/struct-order-of-eval-4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Checks that struct-literal expression order-of-eval is as expected // even when no Drop-implementations are involved. diff --git a/src/test/ui/run-pass/structs-enums/struct-partial-move-1.rs b/src/test/ui/run-pass/structs-enums/struct-partial-move-1.rs index 3b04bfc1acc..546bd699777 100644 --- a/src/test/ui/run-pass/structs-enums/struct-partial-move-1.rs +++ b/src/test/ui/run-pass/structs-enums/struct-partial-move-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] pub struct Partial { x: T, y: T } diff --git a/src/test/ui/run-pass/structs-enums/struct-partial-move-2.rs b/src/test/ui/run-pass/structs-enums/struct-partial-move-2.rs index b9c697c71ea..c8a9527cc96 100644 --- a/src/test/ui/run-pass/structs-enums/struct-partial-move-2.rs +++ b/src/test/ui/run-pass/structs-enums/struct-partial-move-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] pub struct Partial { x: T, y: T } diff --git a/src/test/ui/run-pass/structs-enums/struct-path-associated-type.rs b/src/test/ui/run-pass/structs-enums/struct-path-associated-type.rs index b033ed5c802..868be134121 100644 --- a/src/test/ui/run-pass/structs-enums/struct-path-associated-type.rs +++ b/src/test/ui/run-pass/structs-enums/struct-path-associated-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct S { a: T, b: U, diff --git a/src/test/ui/run-pass/structs-enums/struct-path-self.rs b/src/test/ui/run-pass/structs-enums/struct-path-self.rs index c7a282c2a2f..9163569f9c1 100644 --- a/src/test/ui/run-pass/structs-enums/struct-path-self.rs +++ b/src/test/ui/run-pass/structs-enums/struct-path-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::Add; struct S { diff --git a/src/test/ui/run-pass/structs-enums/struct-pattern-matching.rs b/src/test/ui/run-pass/structs-enums/struct-pattern-matching.rs index 9c3ce54f369..a538ee5a547 100644 --- a/src/test/ui/run-pass/structs-enums/struct-pattern-matching.rs +++ b/src/test/ui/run-pass/structs-enums/struct-pattern-matching.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { x: isize, y: isize, diff --git a/src/test/ui/run-pass/structs-enums/struct-return.rs b/src/test/ui/run-pass/structs-enums/struct-return.rs index 61a2bcb3a9b..a2b380c7e18 100644 --- a/src/test/ui/run-pass/structs-enums/struct-return.rs +++ b/src/test/ui/run-pass/structs-enums/struct-return.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-wasm32-bare no libc to test ffi with #[repr(C)] diff --git a/src/test/ui/run-pass/structs-enums/struct-variant-field-visibility.rs b/src/test/ui/run-pass/structs-enums/struct-variant-field-visibility.rs index b6e7846e96d..4b7854145f0 100644 --- a/src/test/ui/run-pass/structs-enums/struct-variant-field-visibility.rs +++ b/src/test/ui/run-pass/structs-enums/struct-variant-field-visibility.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 mod foo { diff --git a/src/test/ui/run-pass/structs-enums/struct_variant_xc.rs b/src/test/ui/run-pass/structs-enums/struct_variant_xc.rs index 602650e4e06..82881f6b348 100644 --- a/src/test/ui/run-pass/structs-enums/struct_variant_xc.rs +++ b/src/test/ui/run-pass/structs-enums/struct_variant_xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:struct_variant_xc_aux.rs // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/struct_variant_xc_match.rs b/src/test/ui/run-pass/structs-enums/struct_variant_xc_match.rs index 3ceb65bcfde..55b3b1018e9 100644 --- a/src/test/ui/run-pass/structs-enums/struct_variant_xc_match.rs +++ b/src/test/ui/run-pass/structs-enums/struct_variant_xc_match.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:struct_variant_xc_aux.rs extern crate struct_variant_xc_aux; diff --git a/src/test/ui/run-pass/structs-enums/tag-align-dyn-u64.rs b/src/test/ui/run-pass/structs-enums/tag-align-dyn-u64.rs index aaac1869af5..24d1d8eb6b5 100644 --- a/src/test/ui/run-pass/structs-enums/tag-align-dyn-u64.rs +++ b/src/test/ui/run-pass/structs-enums/tag-align-dyn-u64.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/structs-enums/tag-align-dyn-variants.rs b/src/test/ui/run-pass/structs-enums/tag-align-dyn-variants.rs index 1c3fb209e35..1034356c96d 100644 --- a/src/test/ui/run-pass/structs-enums/tag-align-dyn-variants.rs +++ b/src/test/ui/run-pass/structs-enums/tag-align-dyn-variants.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/structs-enums/tag-align-shape.rs b/src/test/ui/run-pass/structs-enums/tag-align-shape.rs index 5db886c815b..3048593186f 100644 --- a/src/test/ui/run-pass/structs-enums/tag-align-shape.rs +++ b/src/test/ui/run-pass/structs-enums/tag-align-shape.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] enum a_tag { a_tag_var(u64) diff --git a/src/test/ui/run-pass/structs-enums/tag-align-u64.rs b/src/test/ui/run-pass/structs-enums/tag-align-u64.rs index 43485a5bfcb..cd0dde49290 100644 --- a/src/test/ui/run-pass/structs-enums/tag-align-u64.rs +++ b/src/test/ui/run-pass/structs-enums/tag-align-u64.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::mem; diff --git a/src/test/ui/run-pass/structs-enums/tag-disr-val-shape.rs b/src/test/ui/run-pass/structs-enums/tag-disr-val-shape.rs index fba3f9fb0d0..7ee1915cf02 100644 --- a/src/test/ui/run-pass/structs-enums/tag-disr-val-shape.rs +++ b/src/test/ui/run-pass/structs-enums/tag-disr-val-shape.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] enum color { red = 0xff0000, diff --git a/src/test/ui/run-pass/structs-enums/tag-exports.rs b/src/test/ui/run-pass/structs-enums/tag-exports.rs index d797fd2e54f..28986cab0b9 100644 --- a/src/test/ui/run-pass/structs-enums/tag-exports.rs +++ b/src/test/ui/run-pass/structs-enums/tag-exports.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/tag-in-block.rs b/src/test/ui/run-pass/structs-enums/tag-in-block.rs index f1a820c8d81..5822dfad3d8 100644 --- a/src/test/ui/run-pass/structs-enums/tag-in-block.rs +++ b/src/test/ui/run-pass/structs-enums/tag-in-block.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/structs-enums/tag-variant-disr-type-mismatch.rs b/src/test/ui/run-pass/structs-enums/tag-variant-disr-type-mismatch.rs index d31eacc9976..6c09d2040b1 100644 --- a/src/test/ui/run-pass/structs-enums/tag-variant-disr-type-mismatch.rs +++ b/src/test/ui/run-pass/structs-enums/tag-variant-disr-type-mismatch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum color { diff --git a/src/test/ui/run-pass/structs-enums/tag-variant-disr-val.rs b/src/test/ui/run-pass/structs-enums/tag-variant-disr-val.rs index 9a2b3b1ff00..5998d87755e 100644 --- a/src/test/ui/run-pass/structs-enums/tag-variant-disr-val.rs +++ b/src/test/ui/run-pass/structs-enums/tag-variant-disr-val.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use color::{red, green, blue, black, white, imaginary, purple, orange}; #[derive(Copy, Clone)] diff --git a/src/test/ui/run-pass/structs-enums/tag.rs b/src/test/ui/run-pass/structs-enums/tag.rs index e3cfceb0d42..c629dd55488 100644 --- a/src/test/ui/run-pass/structs-enums/tag.rs +++ b/src/test/ui/run-pass/structs-enums/tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass enum colour { red(isize, isize), green, } diff --git a/src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs b/src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs index c40adf2260d..58bed9d6b93 100644 --- a/src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs +++ b/src/test/ui/run-pass/structs-enums/tuple-struct-construct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(Debug)] struct Foo(isize, isize); diff --git a/src/test/ui/run-pass/structs-enums/tuple-struct-constructor-pointer.rs b/src/test/ui/run-pass/structs-enums/tuple-struct-constructor-pointer.rs index 90cf94666de..a4b5e41fdf5 100644 --- a/src/test/ui/run-pass/structs-enums/tuple-struct-constructor-pointer.rs +++ b/src/test/ui/run-pass/structs-enums/tuple-struct-constructor-pointer.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #[derive(PartialEq, Debug)] struct Foo(isize); #[derive(PartialEq, Debug)] diff --git a/src/test/ui/run-pass/structs-enums/tuple-struct-destructuring.rs b/src/test/ui/run-pass/structs-enums/tuple-struct-destructuring.rs index 4b0eb26cf94..cf2940e796f 100644 --- a/src/test/ui/run-pass/structs-enums/tuple-struct-destructuring.rs +++ b/src/test/ui/run-pass/structs-enums/tuple-struct-destructuring.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo(isize, isize); pub fn main() { diff --git a/src/test/ui/run-pass/structs-enums/tuple-struct-matching.rs b/src/test/ui/run-pass/structs-enums/tuple-struct-matching.rs index b37302fce08..95ade509c0e 100644 --- a/src/test/ui/run-pass/structs-enums/tuple-struct-matching.rs +++ b/src/test/ui/run-pass/structs-enums/tuple-struct-matching.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo(isize, isize); pub fn main() { diff --git a/src/test/ui/run-pass/structs-enums/tuple-struct-trivial.rs b/src/test/ui/run-pass/structs-enums/tuple-struct-trivial.rs index fa2c9768fcb..d77d9c7e163 100644 --- a/src/test/ui/run-pass/structs-enums/tuple-struct-trivial.rs +++ b/src/test/ui/run-pass/structs-enums/tuple-struct-trivial.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Foo(isize, isize, isize); diff --git a/src/test/ui/run-pass/structs-enums/uninstantiable-struct.rs b/src/test/ui/run-pass/structs-enums/uninstantiable-struct.rs index d9740171576..8706333c743 100644 --- a/src/test/ui/run-pass/structs-enums/uninstantiable-struct.rs +++ b/src/test/ui/run-pass/structs-enums/uninstantiable-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub struct Z(&'static Z); pub fn main() {} diff --git a/src/test/ui/run-pass/structs-enums/unit-like-struct-drop-run.rs b/src/test/ui/run-pass/structs-enums/unit-like-struct-drop-run.rs index ec37be9420d..1e1605b7be6 100644 --- a/src/test/ui/run-pass/structs-enums/unit-like-struct-drop-run.rs +++ b/src/test/ui/run-pass/structs-enums/unit-like-struct-drop-run.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // Make sure the destructor is run for unit-like structs. diff --git a/src/test/ui/run-pass/structs-enums/unit-like-struct.rs b/src/test/ui/run-pass/structs-enums/unit-like-struct.rs index 849b5810c5f..1a2a4fbbf5f 100644 --- a/src/test/ui/run-pass/structs-enums/unit-like-struct.rs +++ b/src/test/ui/run-pass/structs-enums/unit-like-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; pub fn main() { diff --git a/src/test/ui/run-pass/structs-enums/variant-structs-trivial.rs b/src/test/ui/run-pass/structs-enums/variant-structs-trivial.rs index 6961cd4977d..9cef1c83476 100644 --- a/src/test/ui/run-pass/structs-enums/variant-structs-trivial.rs +++ b/src/test/ui/run-pass/structs-enums/variant-structs-trivial.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum Foo { diff --git a/src/test/ui/run-pass/threads-sendsync/comm.rs b/src/test/ui/run-pass/threads-sendsync/comm.rs index 7c78cbdce08..7a8e27ca20b 100644 --- a/src/test/ui/run-pass/threads-sendsync/comm.rs +++ b/src/test/ui/run-pass/threads-sendsync/comm.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/send-is-not-static-par-for.rs b/src/test/ui/run-pass/threads-sendsync/send-is-not-static-par-for.rs index 356a3be3927..00a7acfa94f 100644 --- a/src/test/ui/run-pass/threads-sendsync/send-is-not-static-par-for.rs +++ b/src/test/ui/run-pass/threads-sendsync/send-is-not-static-par-for.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::thread; use std::sync::Mutex; diff --git a/src/test/ui/run-pass/threads-sendsync/send-resource.rs b/src/test/ui/run-pass/threads-sendsync/send-resource.rs index 59332d6b65e..94884d6022c 100644 --- a/src/test/ui/run-pass/threads-sendsync/send-resource.rs +++ b/src/test/ui/run-pass/threads-sendsync/send-resource.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/threads-sendsync/send-type-inference.rs b/src/test/ui/run-pass/threads-sendsync/send-type-inference.rs index 84d491d0524..e1aaf6d220e 100644 --- a/src/test/ui/run-pass/threads-sendsync/send-type-inference.rs +++ b/src/test/ui/run-pass/threads-sendsync/send-type-inference.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::sync::mpsc::{channel, Sender}; diff --git a/src/test/ui/run-pass/threads-sendsync/send_str_hashmap.rs b/src/test/ui/run-pass/threads-sendsync/send_str_hashmap.rs index 2ff2d5a8aa5..9c165a2b83d 100644 --- a/src/test/ui/run-pass/threads-sendsync/send_str_hashmap.rs +++ b/src/test/ui/run-pass/threads-sendsync/send_str_hashmap.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::HashMap; use std::borrow::Cow; diff --git a/src/test/ui/run-pass/threads-sendsync/send_str_treemap.rs b/src/test/ui/run-pass/threads-sendsync/send_str_treemap.rs index 3178dc94598..94fa7d94a18 100644 --- a/src/test/ui/run-pass/threads-sendsync/send_str_treemap.rs +++ b/src/test/ui/run-pass/threads-sendsync/send_str_treemap.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::BTreeMap; use std::borrow::Cow; diff --git a/src/test/ui/run-pass/threads-sendsync/sendable-class.rs b/src/test/ui/run-pass/threads-sendsync/sendable-class.rs index 4fb1c32952f..0d09014c06e 100644 --- a/src/test/ui/run-pass/threads-sendsync/sendable-class.rs +++ b/src/test/ui/run-pass/threads-sendsync/sendable-class.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a class with only sendable fields can be sent // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/threads-sendsync/sendfn-is-a-block.rs b/src/test/ui/run-pass/threads-sendsync/sendfn-is-a-block.rs index 162b05f0bb3..55144a7d386 100644 --- a/src/test/ui/run-pass/threads-sendsync/sendfn-is-a-block.rs +++ b/src/test/ui/run-pass/threads-sendsync/sendfn-is-a-block.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass fn test(f: F) -> usize where F: FnOnce(usize) -> usize { diff --git a/src/test/ui/run-pass/threads-sendsync/sendfn-spawn-with-fn-arg.rs b/src/test/ui/run-pass/threads-sendsync/sendfn-spawn-with-fn-arg.rs index ecd0bfb1440..24d54b8a0b6 100644 --- a/src/test/ui/run-pass/threads-sendsync/sendfn-spawn-with-fn-arg.rs +++ b/src/test/ui/run-pass/threads-sendsync/sendfn-spawn-with-fn-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/threads-sendsync/spawn-fn.rs b/src/test/ui/run-pass/threads-sendsync/spawn-fn.rs index 751d833ff9c..39fbba04361 100644 --- a/src/test/ui/run-pass/threads-sendsync/spawn-fn.rs +++ b/src/test/ui/run-pass/threads-sendsync/spawn-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/spawn-types.rs b/src/test/ui/run-pass/threads-sendsync/spawn-types.rs index cab190d025f..fa17160b93b 100644 --- a/src/test/ui/run-pass/threads-sendsync/spawn-types.rs +++ b/src/test/ui/run-pass/threads-sendsync/spawn-types.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support /* diff --git a/src/test/ui/run-pass/threads-sendsync/spawn.rs b/src/test/ui/run-pass/threads-sendsync/spawn.rs index c9a030cf053..7aa459a895b 100644 --- a/src/test/ui/run-pass/threads-sendsync/spawn.rs +++ b/src/test/ui/run-pass/threads-sendsync/spawn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/spawn2.rs b/src/test/ui/run-pass/threads-sendsync/spawn2.rs index 2a5fab8a209..549360b851c 100644 --- a/src/test/ui/run-pass/threads-sendsync/spawn2.rs +++ b/src/test/ui/run-pass/threads-sendsync/spawn2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/spawning-with-debug.rs b/src/test/ui/run-pass/threads-sendsync/spawning-with-debug.rs index c09ddf52966..e582cff43ab 100644 --- a/src/test/ui/run-pass/threads-sendsync/spawning-with-debug.rs +++ b/src/test/ui/run-pass/threads-sendsync/spawning-with-debug.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-windows // exec-env:RUST_LOG=debug // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/threads-sendsync/std-sync-right-kind-impls.rs b/src/test/ui/run-pass/threads-sendsync/std-sync-right-kind-impls.rs index 1ad04493528..e5658683a8e 100644 --- a/src/test/ui/run-pass/threads-sendsync/std-sync-right-kind-impls.rs +++ b/src/test/ui/run-pass/threads-sendsync/std-sync-right-kind-impls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 use std::sync; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-0.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-0.rs index 01e6d4cf7de..1626b23fdc2 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-0.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-1.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-1.rs index 3295e68ac4e..975789e8cd2 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-1.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-10.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-10.rs index a69bba82ff0..cbb22520093 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-10.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-10.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-11.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-11.rs index c7beeb53850..28710116dc3 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-11.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-11.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-12.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-12.rs index 23594cebf31..e6195bf011b 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-12.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-12.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-13.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-13.rs index b4829970376..2276fd8031f 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-13.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-13.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::sync::mpsc::{channel, Sender}; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-14.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-14.rs index a03ff8719bb..f6a96a84eb6 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-14.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-14.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::sync::mpsc::{channel, Sender}; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-15.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-15.rs index fc5a891d1d6..0398b55720d 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-15.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-15.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-16.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-16.rs index 0caf21ead39..575ea9e0dcf 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-16.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-16.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::mpsc::channel; use std::cmp; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-17.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-17.rs index ca6f5c164ed..53a233da820 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-17.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-17.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-3.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-3.rs index 8d2d3afc787..d18ed1c567c 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-3.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-4.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-4.rs index e70a00591d6..3972bb8da35 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-4.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_assignment)] use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-5.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-5.rs index cd5cb677d46..29f5a5d3f27 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-5.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-5.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-6.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-6.rs index b8b5773ade5..3e0d23d58c8 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-6.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-6.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-7.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-7.rs index 7ab267ea66c..dfccebec262 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-7.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-7.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-9.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-9.rs index 1f0eebf1f71..f23a1594507 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-9.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-9.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/task-comm-chan-nil.rs b/src/test/ui/run-pass/threads-sendsync/task-comm-chan-nil.rs index 3b9ec421691..d13415a68ca 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-comm-chan-nil.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-comm-chan-nil.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/threads-sendsync/task-life-0.rs b/src/test/ui/run-pass/threads-sendsync/task-life-0.rs index 34ea43ca827..8ec7c871c68 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-life-0.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-life-0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/threads-sendsync/task-spawn-move-and-copy.rs b/src/test/ui/run-pass/threads-sendsync/task-spawn-move-and-copy.rs index 94b69a1c3e4..65e2236f2e1 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-spawn-move-and-copy.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-spawn-move-and-copy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/threads-sendsync/task-stderr.rs b/src/test/ui/run-pass/threads-sendsync/task-stderr.rs index 13d5cc989e9..e72809b68b0 100644 --- a/src/test/ui/run-pass/threads-sendsync/task-stderr.rs +++ b/src/test/ui/run-pass/threads-sendsync/task-stderr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(box_syntax, set_stdio)] diff --git a/src/test/ui/run-pass/threads-sendsync/thread-local-extern-static.rs b/src/test/ui/run-pass/threads-sendsync/thread-local-extern-static.rs index 09c8b64776c..01c0235c55d 100644 --- a/src/test/ui/run-pass/threads-sendsync/thread-local-extern-static.rs +++ b/src/test/ui/run-pass/threads-sendsync/thread-local-extern-static.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-windows // aux-build:thread-local-extern-static.rs diff --git a/src/test/ui/run-pass/threads-sendsync/thread-local-syntax.rs b/src/test/ui/run-pass/threads-sendsync/thread-local-syntax.rs index 373824122fd..522a736ce5a 100644 --- a/src/test/ui/run-pass/threads-sendsync/thread-local-syntax.rs +++ b/src/test/ui/run-pass/threads-sendsync/thread-local-syntax.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![deny(missing_docs)] //! this tests the syntax of `thread_local!` diff --git a/src/test/ui/run-pass/threads-sendsync/threads.rs b/src/test/ui/run-pass/threads-sendsync/threads.rs index f193598975a..7be239e29fb 100644 --- a/src/test/ui/run-pass/threads-sendsync/threads.rs +++ b/src/test/ui/run-pass/threads-sendsync/threads.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support use std::thread; diff --git a/src/test/ui/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs b/src/test/ui/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs index 82e586196e3..e60a2c8a011 100644 --- a/src/test/ui/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs +++ b/src/test/ui/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // no-prefer-dynamic // ignore-emscripten no threads support diff --git a/src/test/ui/run-pass/threads-sendsync/tls-init-on-init.rs b/src/test/ui/run-pass/threads-sendsync/tls-init-on-init.rs index 48a0d4a99ec..30ac6c1e9c7 100644 --- a/src/test/ui/run-pass/threads-sendsync/tls-init-on-init.rs +++ b/src/test/ui/run-pass/threads-sendsync/tls-init-on-init.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(thread_local_try_with)] diff --git a/src/test/ui/run-pass/threads-sendsync/tls-try-with.rs b/src/test/ui/run-pass/threads-sendsync/tls-try-with.rs index 552f4c5e829..a682c9f7a25 100644 --- a/src/test/ui/run-pass/threads-sendsync/tls-try-with.rs +++ b/src/test/ui/run-pass/threads-sendsync/tls-try-with.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(thread_local_try_with)] diff --git a/src/test/ui/run-pass/traits/anon-trait-static-method.rs b/src/test/ui/run-pass/traits/anon-trait-static-method.rs index 5889bfce3c4..94779e7c5da 100644 --- a/src/test/ui/run-pass/traits/anon-trait-static-method.rs +++ b/src/test/ui/run-pass/traits/anon-trait-static-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo { x: isize } diff --git a/src/test/ui/run-pass/traits/anon_trait_static_method_exe.rs b/src/test/ui/run-pass/traits/anon_trait_static_method_exe.rs index f420460a412..1e683911a9f 100644 --- a/src/test/ui/run-pass/traits/anon_trait_static_method_exe.rs +++ b/src/test/ui/run-pass/traits/anon_trait_static_method_exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:anon_trait_static_method_lib.rs extern crate anon_trait_static_method_lib; diff --git a/src/test/ui/run-pass/traits/assignability-trait.rs b/src/test/ui/run-pass/traits/assignability-trait.rs index bc95d96a8cc..3cfd6cb4caf 100644 --- a/src/test/ui/run-pass/traits/assignability-trait.rs +++ b/src/test/ui/run-pass/traits/assignability-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that type assignability is used to search for instances when // making method calls, but only if there aren't any matches without // it. diff --git a/src/test/ui/run-pass/traits/astconv-cycle-between-trait-and-type.rs b/src/test/ui/run-pass/traits/astconv-cycle-between-trait-and-type.rs index ef2dc48fe13..0eabded7627 100644 --- a/src/test/ui/run-pass/traits/astconv-cycle-between-trait-and-type.rs +++ b/src/test/ui/run-pass/traits/astconv-cycle-between-trait-and-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to successfully compile a setup where a trait // (`Trait1`) references a struct (`SomeType`) which in turn // carries a predicate that references the trait (`u32 : Trait1`, diff --git a/src/test/ui/run-pass/traits/augmented-assignments-trait.rs b/src/test/ui/run-pass/traits/augmented-assignments-trait.rs index f1cb2c56dbc..af308a6efed 100644 --- a/src/test/ui/run-pass/traits/augmented-assignments-trait.rs +++ b/src/test/ui/run-pass/traits/augmented-assignments-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::AddAssign; struct Int(i32); diff --git a/src/test/ui/run-pass/traits/auto-traits.rs b/src/test/ui/run-pass/traits/auto-traits.rs index 2a18b402bc6..79c2108ba83 100644 --- a/src/test/ui/run-pass/traits/auto-traits.rs +++ b/src/test/ui/run-pass/traits/auto-traits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(optin_builtin_traits)] auto trait Auto {} diff --git a/src/test/ui/run-pass/traits/conservative_impl_trait.rs b/src/test/ui/run-pass/traits/conservative_impl_trait.rs index 14e1ca612c0..b6abeb916a9 100644 --- a/src/test/ui/run-pass/traits/conservative_impl_trait.rs +++ b/src/test/ui/run-pass/traits/conservative_impl_trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // #39665 fn batches(n: &u32) -> impl Iterator { diff --git a/src/test/ui/run-pass/traits/cycle-trait-type-trait.rs b/src/test/ui/run-pass/traits/cycle-trait-type-trait.rs index 4ae5c599b43..c1958398005 100644 --- a/src/test/ui/run-pass/traits/cycle-trait-type-trait.rs +++ b/src/test/ui/run-pass/traits/cycle-trait-type-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a case where a supertrait references a type that references // the original trait. This poses no problem at the moment. diff --git a/src/test/ui/run-pass/traits/default-method-supertrait-vtable.rs b/src/test/ui/run-pass/traits/default-method-supertrait-vtable.rs index 0d45a5d5212..57eb410c9ad 100644 --- a/src/test/ui/run-pass/traits/default-method-supertrait-vtable.rs +++ b/src/test/ui/run-pass/traits/default-method-supertrait-vtable.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass // Tests that we can call a function bounded over a supertrait from diff --git a/src/test/ui/run-pass/traits/dyn-trait.rs b/src/test/ui/run-pass/traits/dyn-trait.rs index 01066794242..0ef6b9fd147 100644 --- a/src/test/ui/run-pass/traits/dyn-trait.rs +++ b/src/test/ui/run-pass/traits/dyn-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-pretty `dyn ::foo` parses differently in the current edition use std::fmt::Display; diff --git a/src/test/ui/run-pass/traits/fmt-pointer-trait.rs b/src/test/ui/run-pass/traits/fmt-pointer-trait.rs index 4ecb9da4eb9..66ec8fc44a4 100644 --- a/src/test/ui/run-pass/traits/fmt-pointer-trait.rs +++ b/src/test/ui/run-pass/traits/fmt-pointer-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ptr; use std::rc::Rc; use std::sync::Arc; diff --git a/src/test/ui/run-pass/traits/impl-implicit-trait.rs b/src/test/ui/run-pass/traits/impl-implicit-trait.rs index 7f1d576e099..533b371974e 100644 --- a/src/test/ui/run-pass/traits/impl-implicit-trait.rs +++ b/src/test/ui/run-pass/traits/impl-implicit-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 enum option_ { diff --git a/src/test/ui/run-pass/traits/impl-inherent-prefer-over-trait.rs b/src/test/ui/run-pass/traits/impl-inherent-prefer-over-trait.rs index f0195976aa8..505209ff3ae 100644 --- a/src/test/ui/run-pass/traits/impl-inherent-prefer-over-trait.rs +++ b/src/test/ui/run-pass/traits/impl-inherent-prefer-over-trait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; diff --git a/src/test/ui/run-pass/traits/infer-from-object-trait-issue-26952.rs b/src/test/ui/run-pass/traits/infer-from-object-trait-issue-26952.rs index d5ca90c1a28..d53619d0c9d 100644 --- a/src/test/ui/run-pass/traits/infer-from-object-trait-issue-26952.rs +++ b/src/test/ui/run-pass/traits/infer-from-object-trait-issue-26952.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that when we match a trait reference like `Foo: Foo<_#0t>`, // we unify with `_#0t` with `A`. In this code, if we failed to do // that, then you get an unconstrained type-variable in `call`. diff --git a/src/test/ui/run-pass/traits/inherent-trait-method-order.rs b/src/test/ui/run-pass/traits/inherent-trait-method-order.rs index 5489a61f7d0..6b6dd5dcbbd 100644 --- a/src/test/ui/run-pass/traits/inherent-trait-method-order.rs +++ b/src/test/ui/run-pass/traits/inherent-trait-method-order.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass struct Foo; diff --git a/src/test/ui/run-pass/traits/kindck-owned-trait-contains-1.rs b/src/test/ui/run-pass/traits/kindck-owned-trait-contains-1.rs index 9b56666fd46..e6d6105d84d 100644 --- a/src/test/ui/run-pass/traits/kindck-owned-trait-contains-1.rs +++ b/src/test/ui/run-pass/traits/kindck-owned-trait-contains-1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] trait repeat { fn get(&self) -> A; } diff --git a/src/test/ui/run-pass/traits/multiple-trait-bounds.rs b/src/test/ui/run-pass/traits/multiple-trait-bounds.rs index 2746205b637..b49d2449167 100644 --- a/src/test/ui/run-pass/traits/multiple-trait-bounds.rs +++ b/src/test/ui/run-pass/traits/multiple-trait-bounds.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn f(_: T) { diff --git a/src/test/ui/run-pass/traits/object-one-type-two-traits.rs b/src/test/ui/run-pass/traits/object-one-type-two-traits.rs index 284beccdb29..5a468e0d644 100644 --- a/src/test/ui/run-pass/traits/object-one-type-two-traits.rs +++ b/src/test/ui/run-pass/traits/object-one-type-two-traits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Testing creating two vtables with the same self type, but different // traits. diff --git a/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits-neg.rs b/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits-neg.rs index 740d5d22ab5..d9a051ee02e 100644 --- a/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits-neg.rs +++ b/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits-neg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(overlapping_marker_traits)] #![feature(optin_builtin_traits)] diff --git a/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits.rs b/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits.rs index 11a46299d8c..3f165daf65c 100644 --- a/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits.rs +++ b/src/test/ui/run-pass/traits/overlap-permitted-for-marker-traits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests for RFC 1268: we allow overlapping impls of marker traits, // that is, traits without items. In this case, a type `T` is // `MyMarker` if it is either `Debug` or `Display`. diff --git a/src/test/ui/run-pass/traits/parameterized-trait-with-bounds.rs b/src/test/ui/run-pass/traits/parameterized-trait-with-bounds.rs index 3e74341d819..d98f8006609 100644 --- a/src/test/ui/run-pass/traits/parameterized-trait-with-bounds.rs +++ b/src/test/ui/run-pass/traits/parameterized-trait-with-bounds.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_code)] diff --git a/src/test/ui/run-pass/traits/supertrait-default-generics.rs b/src/test/ui/run-pass/traits/supertrait-default-generics.rs index 8351cc50fd8..ea5e5b50d31 100644 --- a/src/test/ui/run-pass/traits/supertrait-default-generics.rs +++ b/src/test/ui/run-pass/traits/supertrait-default-generics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // There is some other borrowck bug, so we make the stuff not mut. diff --git a/src/test/ui/run-pass/traits/syntax-trait-polarity.rs b/src/test/ui/run-pass/traits/syntax-trait-polarity.rs index f69b857981d..89b49b11f01 100644 --- a/src/test/ui/run-pass/traits/syntax-trait-polarity.rs +++ b/src/test/ui/run-pass/traits/syntax-trait-polarity.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(optin_builtin_traits)] diff --git a/src/test/ui/run-pass/traits/trait-bounds-basic.rs b/src/test/ui/run-pass/traits/trait-bounds-basic.rs index 558e69664ec..e343a91c56c 100644 --- a/src/test/ui/run-pass/traits/trait-bounds-basic.rs +++ b/src/test/ui/run-pass/traits/trait-bounds-basic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo { diff --git a/src/test/ui/run-pass/traits/trait-bounds-impl-comparison-duplicates.rs b/src/test/ui/run-pass/traits/trait-bounds-impl-comparison-duplicates.rs index 33bfbc39603..4ccb48915fc 100644 --- a/src/test/ui/run-pass/traits/trait-bounds-impl-comparison-duplicates.rs +++ b/src/test/ui/run-pass/traits/trait-bounds-impl-comparison-duplicates.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that type parameter bounds on an implementation need not match the // trait exactly, as long as the implementation doesn't demand *more* bounds // than the trait. diff --git a/src/test/ui/run-pass/traits/trait-bounds-in-arc.rs b/src/test/ui/run-pass/traits/trait-bounds-in-arc.rs index 7b57d66ef21..35210be3478 100644 --- a/src/test/ui/run-pass/traits/trait-bounds-in-arc.rs +++ b/src/test/ui/run-pass/traits/trait-bounds-in-arc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that a heterogeneous list of existential types can be put inside an Arc // and shared between threads as long as all types fulfill Send. diff --git a/src/test/ui/run-pass/traits/trait-bounds-on-structs-and-enums.rs b/src/test/ui/run-pass/traits/trait-bounds-on-structs-and-enums.rs index 6f088e15b35..1b32c51aa85 100644 --- a/src/test/ui/run-pass/traits/trait-bounds-on-structs-and-enums.rs +++ b/src/test/ui/run-pass/traits/trait-bounds-on-structs-and-enums.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait U {} diff --git a/src/test/ui/run-pass/traits/trait-bounds-recursion.rs b/src/test/ui/run-pass/traits/trait-bounds-recursion.rs index d984e9cdc99..3cdd7311332 100644 --- a/src/test/ui/run-pass/traits/trait-bounds-recursion.rs +++ b/src/test/ui/run-pass/traits/trait-bounds-recursion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait I { fn i(&self) -> Self; } diff --git a/src/test/ui/run-pass/traits/trait-bounds.rs b/src/test/ui/run-pass/traits/trait-bounds.rs index d501fef122c..bb812cbfe86 100644 --- a/src/test/ui/run-pass/traits/trait-bounds.rs +++ b/src/test/ui/run-pass/traits/trait-bounds.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait connection { fn read(&self) -> isize; diff --git a/src/test/ui/run-pass/traits/trait-cache-issue-18209.rs b/src/test/ui/run-pass/traits/trait-cache-issue-18209.rs index 9cc2b2fadc6..14452b009cf 100644 --- a/src/test/ui/run-pass/traits/trait-cache-issue-18209.rs +++ b/src/test/ui/run-pass/traits/trait-cache-issue-18209.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the cache results from the default method do not pollute // the cache for the later call in `load()`. // diff --git a/src/test/ui/run-pass/traits/trait-coercion-generic.rs b/src/test/ui/run-pass/traits/trait-coercion-generic.rs index 40453262ddf..2b64bb005e9 100644 --- a/src/test/ui/run-pass/traits/trait-coercion-generic.rs +++ b/src/test/ui/run-pass/traits/trait-coercion-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Trait { fn f(&self, x: T); } diff --git a/src/test/ui/run-pass/traits/trait-coercion.rs b/src/test/ui/run-pass/traits/trait-coercion.rs index 130c6ee7521..18fc122439b 100644 --- a/src/test/ui/run-pass/traits/trait-coercion.rs +++ b/src/test/ui/run-pass/traits/trait-coercion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::io::{self, Write}; diff --git a/src/test/ui/run-pass/traits/trait-composition-trivial.rs b/src/test/ui/run-pass/traits/trait-composition-trivial.rs index 4138413c5b5..c491beda270 100644 --- a/src/test/ui/run-pass/traits/trait-composition-trivial.rs +++ b/src/test/ui/run-pass/traits/trait-composition-trivial.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo { diff --git a/src/test/ui/run-pass/traits/trait-copy-guessing.rs b/src/test/ui/run-pass/traits/trait-copy-guessing.rs index 71cd3c9441e..2d2ea50a1fd 100644 --- a/src/test/ui/run-pass/traits/trait-copy-guessing.rs +++ b/src/test/ui/run-pass/traits/trait-copy-guessing.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // "guessing" in trait selection can affect `copy_or_move`. Check that this // is correctly handled. I am not sure what is the "correct" behaviour, // but we should at least not ICE. diff --git a/src/test/ui/run-pass/traits/trait-default-method-bound-subst.rs b/src/test/ui/run-pass/traits/trait-default-method-bound-subst.rs index b9936bcadd4..9a0e53340f6 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-bound-subst.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-bound-subst.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { diff --git a/src/test/ui/run-pass/traits/trait-default-method-bound-subst2.rs b/src/test/ui/run-pass/traits/trait-default-method-bound-subst2.rs index 92b9449461b..9139a26d295 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-bound-subst2.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-bound-subst2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { diff --git a/src/test/ui/run-pass/traits/trait-default-method-bound-subst3.rs b/src/test/ui/run-pass/traits/trait-default-method-bound-subst3.rs index af7e8830332..f7445372fbe 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-bound-subst3.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-bound-subst3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { diff --git a/src/test/ui/run-pass/traits/trait-default-method-bound-subst4.rs b/src/test/ui/run-pass/traits/trait-default-method-bound-subst4.rs index 581a54e57f4..70c440c7665 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-bound-subst4.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-bound-subst4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { diff --git a/src/test/ui/run-pass/traits/trait-default-method-bound.rs b/src/test/ui/run-pass/traits/trait-default-method-bound.rs index e0ea9651f61..6291be02110 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-bound.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { diff --git a/src/test/ui/run-pass/traits/trait-default-method-xc-2.rs b/src/test/ui/run-pass/traits/trait-default-method-xc-2.rs index 833063d2a2d..c0e27fa8757 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-xc-2.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-xc-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_default_method_xc_aux.rs // aux-build:trait_default_method_xc_aux_2.rs diff --git a/src/test/ui/run-pass/traits/trait-default-method-xc.rs b/src/test/ui/run-pass/traits/trait-default-method-xc.rs index 72e3fb256ca..109d7bb3a20 100644 --- a/src/test/ui/run-pass/traits/trait-default-method-xc.rs +++ b/src/test/ui/run-pass/traits/trait-default-method-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_default_method_xc_aux.rs diff --git a/src/test/ui/run-pass/traits/trait-false-ambiguity-where-clause-builtin-bound.rs b/src/test/ui/run-pass/traits/trait-false-ambiguity-where-clause-builtin-bound.rs index b9ca8971d38..753141bcf21 100644 --- a/src/test/ui/run-pass/traits/trait-false-ambiguity-where-clause-builtin-bound.rs +++ b/src/test/ui/run-pass/traits/trait-false-ambiguity-where-clause-builtin-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we do not error out because of a (False) ambiguity // between the builtin rules for Sized and the where clause. Issue // #20959. diff --git a/src/test/ui/run-pass/traits/trait-generic.rs b/src/test/ui/run-pass/traits/trait-generic.rs index eadda5dfe29..aa0ce189318 100644 --- a/src/test/ui/run-pass/traits/trait-generic.rs +++ b/src/test/ui/run-pass/traits/trait-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass diff --git a/src/test/ui/run-pass/traits/trait-impl-2.rs b/src/test/ui/run-pass/traits/trait-impl-2.rs index c94b517f6a7..c0fa13cbf39 100644 --- a/src/test/ui/run-pass/traits/trait-impl-2.rs +++ b/src/test/ui/run-pass/traits/trait-impl-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub mod Foo { diff --git a/src/test/ui/run-pass/traits/trait-impl.rs b/src/test/ui/run-pass/traits/trait-impl.rs index e940f6c2126..1ba76676092 100644 --- a/src/test/ui/run-pass/traits/trait-impl.rs +++ b/src/test/ui/run-pass/traits/trait-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test calling methods on an impl for a bare trait. // aux-build:traitimpl.rs diff --git a/src/test/ui/run-pass/traits/trait-inheritance-auto-xc-2.rs b/src/test/ui/run-pass/traits/trait-inheritance-auto-xc-2.rs index 270cf652ed7..273a3f48332 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-auto-xc-2.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-auto-xc-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_inheritance_auto_xc_2_aux.rs diff --git a/src/test/ui/run-pass/traits/trait-inheritance-auto-xc.rs b/src/test/ui/run-pass/traits/trait-inheritance-auto-xc.rs index eaca60c935a..d6b3d900a09 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-auto-xc.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-auto-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_inheritance_auto_xc_aux.rs diff --git a/src/test/ui/run-pass/traits/trait-inheritance-auto.rs b/src/test/ui/run-pass/traits/trait-inheritance-auto.rs index 75c48d51712..698f8ac23dd 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-auto.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-auto.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Testing that this impl turns A into a Quux, because // A is already a Foo Bar Baz diff --git a/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited.rs b/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited.rs index 2fb2b9274c6..566d59f460e 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self) -> isize; } trait Bar : Foo { fn g(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited2.rs b/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited2.rs index 87dc04f1c66..a769da5e2cb 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited2.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-call-bound-inherited2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self) -> isize; } trait Bar : Foo { fn g(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-cast-without-call-to-supertrait.rs b/src/test/ui/run-pass/traits/trait-inheritance-cast-without-call-to-supertrait.rs index dd61dc0f9fb..00d74ca0781 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-cast-without-call-to-supertrait.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-cast-without-call-to-supertrait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Testing that we can cast to a subtrait and call subtrait // methods. Not testing supertrait methods diff --git a/src/test/ui/run-pass/traits/trait-inheritance-cast.rs b/src/test/ui/run-pass/traits/trait-inheritance-cast.rs index 0de2c586930..f2d1cb0cb3d 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-cast.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-cast.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Testing that supertrait methods can be called on subtrait object types diff --git a/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call-xc.rs b/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call-xc.rs index 3e68bea57c6..2d4756cf925 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call-xc.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call-xc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_xc_call_aux.rs diff --git a/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call.rs b/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call.rs index 27b0f66603f..3a57fc525b2 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-cross-trait-call.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self) -> isize; } trait Bar : Foo { fn g(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-diamond.rs b/src/test/ui/run-pass/traits/trait-inheritance-diamond.rs index 43151bb0f99..bf66d50d159 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-diamond.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-diamond.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // B and C both require A, so D does as well, twice, but that's just fine diff --git a/src/test/ui/run-pass/traits/trait-inheritance-multiple-inheritors.rs b/src/test/ui/run-pass/traits/trait-inheritance-multiple-inheritors.rs index 8125ce20912..b9a9795c6c0 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-multiple-inheritors.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-multiple-inheritors.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { fn a(&self) -> isize; } trait B: A { fn b(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-multiple-params.rs b/src/test/ui/run-pass/traits/trait-inheritance-multiple-params.rs index c0f7a9d9c25..5e6aa85498c 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-multiple-params.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-multiple-params.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait A { fn a(&self) -> isize; } trait B: A { fn b(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-num.rs b/src/test/ui/run-pass/traits/trait-inheritance-num.rs index e5390ac8a62..9d4c9f431dd 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-num.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-num.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait NumExt: PartialEq + PartialOrd {} diff --git a/src/test/ui/run-pass/traits/trait-inheritance-num0.rs b/src/test/ui/run-pass/traits/trait-inheritance-num0.rs index 9f5c7cf6036..0d57dee49a1 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-num0.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-num0.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Extending Num and using inherited static methods // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/traits/trait-inheritance-num1.rs b/src/test/ui/run-pass/traits/trait-inheritance-num1.rs index e21abdae730..e2a4f4154f9 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-num1.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-num1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait NumCast: Sized { diff --git a/src/test/ui/run-pass/traits/trait-inheritance-num2.rs b/src/test/ui/run-pass/traits/trait-inheritance-num2.rs index 5f8541a6da1..0b9e18c1d27 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-num2.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-num2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A more complex example of numeric extensions pub trait TypeExt {} diff --git a/src/test/ui/run-pass/traits/trait-inheritance-num3.rs b/src/test/ui/run-pass/traits/trait-inheritance-num3.rs index fb56ae82b30..c86b2127a6d 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-num3.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-num3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait NumCast: Sized { fn from(i: i32) -> Option; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-num5.rs b/src/test/ui/run-pass/traits/trait-inheritance-num5.rs index bd442629243..ff64f393341 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-num5.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-num5.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 pub trait NumCast: Sized { diff --git a/src/test/ui/run-pass/traits/trait-inheritance-overloading-simple.rs b/src/test/ui/run-pass/traits/trait-inheritance-overloading-simple.rs index 9c1f585fe45..ff2f6b2d825 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-overloading-simple.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-overloading-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cmp::PartialEq; trait MyNum : PartialEq { } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-overloading-xc-exe.rs b/src/test/ui/run-pass/traits/trait-inheritance-overloading-xc-exe.rs index 21d6c53a465..ff8009b1c78 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-overloading-xc-exe.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-overloading-xc-exe.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_inheritance_overloading_xc.rs diff --git a/src/test/ui/run-pass/traits/trait-inheritance-overloading.rs b/src/test/ui/run-pass/traits/trait-inheritance-overloading.rs index b7d0400dd89..5c15ff579e3 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-overloading.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-overloading.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cmp::PartialEq; use std::ops::{Add, Sub, Mul}; diff --git a/src/test/ui/run-pass/traits/trait-inheritance-self-in-supertype.rs b/src/test/ui/run-pass/traits/trait-inheritance-self-in-supertype.rs index e353be16b45..4274b548429 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-self-in-supertype.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-self-in-supertype.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test for issue #4183: use of Self in supertraits. pub static FUZZY_EPSILON: f64 = 0.1; diff --git a/src/test/ui/run-pass/traits/trait-inheritance-self.rs b/src/test/ui/run-pass/traits/trait-inheritance-self.rs index a025be5d651..f66273dd901 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-self.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-self.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self, x: &T); } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-simple.rs b/src/test/ui/run-pass/traits/trait-inheritance-simple.rs index 917e520339a..379a98cdebe 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-simple.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self) -> isize; } trait Bar : Foo { fn g(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance-static.rs b/src/test/ui/run-pass/traits/trait-inheritance-static.rs index aae6b76087f..561c0582ebc 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-static.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-static.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait MyNum { fn from_int(_: isize) -> Self; diff --git a/src/test/ui/run-pass/traits/trait-inheritance-static2.rs b/src/test/ui/run-pass/traits/trait-inheritance-static2.rs index dd942fbfa08..b98b7a1e2d9 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-static2.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-static2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait MyEq {} pub trait MyNum { diff --git a/src/test/ui/run-pass/traits/trait-inheritance-subst.rs b/src/test/ui/run-pass/traits/trait-inheritance-subst.rs index 73bb4bacf64..02f417eb8fc 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-subst.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-subst.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub trait Add { fn add(&self, rhs: &RHS) -> Result; diff --git a/src/test/ui/run-pass/traits/trait-inheritance-subst2.rs b/src/test/ui/run-pass/traits/trait-inheritance-subst2.rs index 7d3ebc19e8f..3efe3e64edf 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-subst2.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-subst2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Panda { fn chomp(&self, bamboo: &T) -> T; diff --git a/src/test/ui/run-pass/traits/trait-inheritance-visibility.rs b/src/test/ui/run-pass/traits/trait-inheritance-visibility.rs index f00a4f2ecb6..ea3e88f2f9a 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance-visibility.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance-visibility.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod traits { pub trait Foo { fn f(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-inheritance2.rs b/src/test/ui/run-pass/traits/trait-inheritance2.rs index 2161c0f894f..01088d65537 100644 --- a/src/test/ui/run-pass/traits/trait-inheritance2.rs +++ b/src/test/ui/run-pass/traits/trait-inheritance2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self) -> isize; } trait Bar { fn g(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-item-inside-macro.rs b/src/test/ui/run-pass/traits/trait-item-inside-macro.rs index 7c13576120b..a61afbba55f 100644 --- a/src/test/ui/run-pass/traits/trait-item-inside-macro.rs +++ b/src/test/ui/run-pass/traits/trait-item-inside-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #34183 macro_rules! foo { diff --git a/src/test/ui/run-pass/traits/trait-object-auto-dedup.rs b/src/test/ui/run-pass/traits/trait-object-auto-dedup.rs index 9f5845f6d77..c33482e8a71 100644 --- a/src/test/ui/run-pass/traits/trait-object-auto-dedup.rs +++ b/src/test/ui/run-pass/traits/trait-object-auto-dedup.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that duplicate auto trait bounds in trait objects don't create new types. #[allow(unused_assignments)] diff --git a/src/test/ui/run-pass/traits/trait-object-exclusion.rs b/src/test/ui/run-pass/traits/trait-object-exclusion.rs index 13b725b7c9e..a48c7876967 100644 --- a/src/test/ui/run-pass/traits/trait-object-exclusion.rs +++ b/src/test/ui/run-pass/traits/trait-object-exclusion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Future: 'static { // The requirement for Self: Sized must prevent instantiation of // Future::forget in vtables, otherwise there's an infinite type diff --git a/src/test/ui/run-pass/traits/trait-object-generics.rs b/src/test/ui/run-pass/traits/trait-object-generics.rs index 4b14ac2f76f..b76717a28ff 100644 --- a/src/test/ui/run-pass/traits/trait-object-generics.rs +++ b/src/test/ui/run-pass/traits/trait-object-generics.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // test for #8664 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/traits/trait-object-lifetime-first.rs b/src/test/ui/run-pass/traits/trait-object-lifetime-first.rs index f269fe90d4b..20df809c4ff 100644 --- a/src/test/ui/run-pass/traits/trait-object-lifetime-first.rs +++ b/src/test/ui/run-pass/traits/trait-object-lifetime-first.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::fmt::Display; static BYTE: u8 = 33; diff --git a/src/test/ui/run-pass/traits/trait-object-with-lifetime-bound.rs b/src/test/ui/run-pass/traits/trait-object-with-lifetime-bound.rs index 21b84221d06..ffe66606461 100644 --- a/src/test/ui/run-pass/traits/trait-object-with-lifetime-bound.rs +++ b/src/test/ui/run-pass/traits/trait-object-with-lifetime-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Uncovered during work on new scoping rules for safe destructors // as an important use case to support properly. diff --git a/src/test/ui/run-pass/traits/trait-region-pointer-simple.rs b/src/test/ui/run-pass/traits/trait-region-pointer-simple.rs index 95311e62e63..8f021d5b25a 100644 --- a/src/test/ui/run-pass/traits/trait-region-pointer-simple.rs +++ b/src/test/ui/run-pass/traits/trait-region-pointer-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { fn f(&self) -> isize; } diff --git a/src/test/ui/run-pass/traits/trait-safety-ok-cc.rs b/src/test/ui/run-pass/traits/trait-safety-ok-cc.rs index abbc556f34e..d1b3dfec45e 100644 --- a/src/test/ui/run-pass/traits/trait-safety-ok-cc.rs +++ b/src/test/ui/run-pass/traits/trait-safety-ok-cc.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:trait_safety_lib.rs // Simple smoke test that unsafe traits can be compiled across crates. diff --git a/src/test/ui/run-pass/traits/trait-safety-ok.rs b/src/test/ui/run-pass/traits/trait-safety-ok.rs index 0ccc6cd152d..2787d56164a 100644 --- a/src/test/ui/run-pass/traits/trait-safety-ok.rs +++ b/src/test/ui/run-pass/traits/trait-safety-ok.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Simple smoke test that unsafe traits can be compiled etc. diff --git a/src/test/ui/run-pass/traits/trait-static-method-overwriting.rs b/src/test/ui/run-pass/traits/trait-static-method-overwriting.rs index 31968da6ee3..25307e822ff 100644 --- a/src/test/ui/run-pass/traits/trait-static-method-overwriting.rs +++ b/src/test/ui/run-pass/traits/trait-static-method-overwriting.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass mod base { pub trait HasNew { fn new() -> Self; diff --git a/src/test/ui/run-pass/traits/trait-to-str.rs b/src/test/ui/run-pass/traits/trait-to-str.rs index 9671e31d7e4..ddc11aca79b 100644 --- a/src/test/ui/run-pass/traits/trait-to-str.rs +++ b/src/test/ui/run-pass/traits/trait-to-str.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass trait to_str { diff --git a/src/test/ui/run-pass/traits/trait-where-clause-vs-impl.rs b/src/test/ui/run-pass/traits/trait-where-clause-vs-impl.rs index f3dcb51f97a..3a732aabbf7 100644 --- a/src/test/ui/run-pass/traits/trait-where-clause-vs-impl.rs +++ b/src/test/ui/run-pass/traits/trait-where-clause-vs-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that when there is a conditional (but blanket) impl and a // where clause, we don't get confused in trait resolution. // diff --git a/src/test/ui/run-pass/traits/trait-with-bounds-default.rs b/src/test/ui/run-pass/traits/trait-with-bounds-default.rs index 6b0faa2207b..97fc58d4e54 100644 --- a/src/test/ui/run-pass/traits/trait-with-bounds-default.rs +++ b/src/test/ui/run-pass/traits/trait-with-bounds-default.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass pub trait Clone2 { /// Returns a copy of the value. The contents of boxes diff --git a/src/test/ui/run-pass/traits/traits-assoc-type-in-supertrait.rs b/src/test/ui/run-pass/traits/traits-assoc-type-in-supertrait.rs index 5cecacafc74..2da40300818 100644 --- a/src/test/ui/run-pass/traits/traits-assoc-type-in-supertrait.rs +++ b/src/test/ui/run-pass/traits/traits-assoc-type-in-supertrait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test case where an associated type is referenced from within the // supertrait definition. Issue #20220. diff --git a/src/test/ui/run-pass/traits/traits-conditional-dispatch.rs b/src/test/ui/run-pass/traits/traits-conditional-dispatch.rs index 53457d85e01..e24249ec184 100644 --- a/src/test/ui/run-pass/traits/traits-conditional-dispatch.rs +++ b/src/test/ui/run-pass/traits/traits-conditional-dispatch.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to resolve conditional dispatch. Here, the // blanket impl for T:Copy coexists with an impl for Box, because // Box does not impl Copy. diff --git a/src/test/ui/run-pass/traits/traits-conditional-model-fn.rs b/src/test/ui/run-pass/traits/traits-conditional-model-fn.rs index d19f7143ed2..cc5ce571a4e 100644 --- a/src/test/ui/run-pass/traits/traits-conditional-model-fn.rs +++ b/src/test/ui/run-pass/traits/traits-conditional-model-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A model for how the `Fn` traits could work. You can implement at // most one of `Go`, `GoMut`, or `GoOnce`, and then the others follow // automatically. diff --git a/src/test/ui/run-pass/traits/traits-default-method-macro.rs b/src/test/ui/run-pass/traits/traits-default-method-macro.rs index 193038d9e50..12d057f207d 100644 --- a/src/test/ui/run-pass/traits/traits-default-method-macro.rs +++ b/src/test/ui/run-pass/traits/traits-default-method-macro.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Foo { diff --git a/src/test/ui/run-pass/traits/traits-default-method-mut.rs b/src/test/ui/run-pass/traits/traits-default-method-mut.rs index bcdadb1d90d..661d1d9eb4a 100644 --- a/src/test/ui/run-pass/traits/traits-default-method-mut.rs +++ b/src/test/ui/run-pass/traits/traits-default-method-mut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![allow(dead_assignment)] diff --git a/src/test/ui/run-pass/traits/traits-default-method-self.rs b/src/test/ui/run-pass/traits/traits-default-method-self.rs index 36b0eb527b6..e5cea5ca9a5 100644 --- a/src/test/ui/run-pass/traits/traits-default-method-self.rs +++ b/src/test/ui/run-pass/traits/traits-default-method-self.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass trait Cat { diff --git a/src/test/ui/run-pass/traits/traits-default-method-trivial.rs b/src/test/ui/run-pass/traits/traits-default-method-trivial.rs index a2e7f54bba6..314fbcfb40e 100644 --- a/src/test/ui/run-pass/traits/traits-default-method-trivial.rs +++ b/src/test/ui/run-pass/traits/traits-default-method-trivial.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass trait Cat { diff --git a/src/test/ui/run-pass/traits/traits-elaborate-type-region.rs b/src/test/ui/run-pass/traits/traits-elaborate-type-region.rs index 4621c2ca4be..c2689794b2f 100644 --- a/src/test/ui/run-pass/traits/traits-elaborate-type-region.rs +++ b/src/test/ui/run-pass/traits/traits-elaborate-type-region.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_code)] // Test that we elaborate `Type: 'region` constraints and infer various important things. diff --git a/src/test/ui/run-pass/traits/traits-impl-object-overlap-issue-23853.rs b/src/test/ui/run-pass/traits/traits-impl-object-overlap-issue-23853.rs index b9b2b506137..f33b5841d85 100644 --- a/src/test/ui/run-pass/traits/traits-impl-object-overlap-issue-23853.rs +++ b/src/test/ui/run-pass/traits/traits-impl-object-overlap-issue-23853.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to compile the case where both a blanket impl // and the object type itself supply the required trait obligation. // In this case, the blanket impl for `Foo` applies to any type, diff --git a/src/test/ui/run-pass/traits/traits-issue-22019.rs b/src/test/ui/run-pass/traits/traits-issue-22019.rs index 2f3e0c64f6c..a5da604aeb1 100644 --- a/src/test/ui/run-pass/traits/traits-issue-22019.rs +++ b/src/test/ui/run-pass/traits/traits-issue-22019.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test an issue where global caching was causing free regions from // distinct scopes to be compared (`'g` and `'h`). The only important // thing is that compilation succeeds here. diff --git a/src/test/ui/run-pass/traits/traits-issue-22110.rs b/src/test/ui/run-pass/traits/traits-issue-22110.rs index 3da8c253978..02a2589a4e8 100644 --- a/src/test/ui/run-pass/traits/traits-issue-22110.rs +++ b/src/test/ui/run-pass/traits/traits-issue-22110.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test an issue where we reported ambiguity between the where-clause // and the blanket impl. The only important thing is that compilation // succeeds here. Issue #22110. diff --git a/src/test/ui/run-pass/traits/traits-issue-22655.rs b/src/test/ui/run-pass/traits/traits-issue-22655.rs index ded17422c49..0e80d20ad45 100644 --- a/src/test/ui/run-pass/traits/traits-issue-22655.rs +++ b/src/test/ui/run-pass/traits/traits-issue-22655.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Regression test for issue #22655: This test should not lead to // infinite recursion. diff --git a/src/test/ui/run-pass/traits/traits-issue-23003.rs b/src/test/ui/run-pass/traits/traits-issue-23003.rs index 46cd22f22ba..e77b038fc47 100644 --- a/src/test/ui/run-pass/traits/traits-issue-23003.rs +++ b/src/test/ui/run-pass/traits/traits-issue-23003.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test stack overflow triggered by evaluating the implications. To be // WF, the type `Receipt` would require that `::Cancel` be WF. This normalizes to `Receipt` diff --git a/src/test/ui/run-pass/traits/traits-issue-26339.rs b/src/test/ui/run-pass/traits/traits-issue-26339.rs index f2cf1779d62..3176b5cb7f9 100644 --- a/src/test/ui/run-pass/traits/traits-issue-26339.rs +++ b/src/test/ui/run-pass/traits/traits-issue-26339.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the right implementation is called through a trait // object when supertraits include multiple references to the // same trait, with different type parameters. diff --git a/src/test/ui/run-pass/traits/traits-multidispatch-infer-convert-target.rs b/src/test/ui/run-pass/traits/traits-multidispatch-infer-convert-target.rs index 6634c1ad0a2..22404849be6 100644 --- a/src/test/ui/run-pass/traits/traits-multidispatch-infer-convert-target.rs +++ b/src/test/ui/run-pass/traits/traits-multidispatch-infer-convert-target.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can infer the Target based on the Self or vice versa. diff --git a/src/test/ui/run-pass/traits/traits-negative-impls.rs b/src/test/ui/run-pass/traits/traits-negative-impls.rs index 09c7d077705..96c86f147ce 100644 --- a/src/test/ui/run-pass/traits/traits-negative-impls.rs +++ b/src/test/ui/run-pass/traits/traits-negative-impls.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(optin_builtin_traits)] use std::marker::Send; diff --git a/src/test/ui/run-pass/traits/traits-repeated-supertrait.rs b/src/test/ui/run-pass/traits/traits-repeated-supertrait.rs index b059945ef74..4e70669ec96 100644 --- a/src/test/ui/run-pass/traits/traits-repeated-supertrait.rs +++ b/src/test/ui/run-pass/traits/traits-repeated-supertrait.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test a case of a trait which extends the same supertrait twice, but // with difference type parameters. Test that we can invoke the // various methods in various ways successfully. diff --git a/src/test/ui/run-pass/traits/ufcs-trait-object.rs b/src/test/ui/run-pass/traits/ufcs-trait-object.rs index 457beeb3f37..06d3c5e9329 100644 --- a/src/test/ui/run-pass/traits/ufcs-trait-object.rs +++ b/src/test/ui/run-pass/traits/ufcs-trait-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that when you use ufcs form to invoke a trait method (on a // trait object) everything works fine. diff --git a/src/test/ui/run-pass/traits/use-trait-before-def.rs b/src/test/ui/run-pass/traits/use-trait-before-def.rs index 38952334e4d..f7611bd8aa4 100644 --- a/src/test/ui/run-pass/traits/use-trait-before-def.rs +++ b/src/test/ui/run-pass/traits/use-trait-before-def.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #1761 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-all-traits.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-all-traits.rs index 201500d0c62..f317b835d10 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-all-traits.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-all-traits.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(lang_items)] fn a isize>(f: F) -> isize { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn-mut.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn-mut.rs index 23ec0cb5f60..eebd30a01f9 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn-mut.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn-mut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that you can supply `&F` where `F: FnMut()`. #![feature(lang_items)] diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn.rs index 2aa48e7d2ad..52a10869610 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-blanket-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that you can supply `&F` where `F: Fn()`. #![feature(lang_items)] diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-boxed.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-boxed.rs index 72d5a1dc043..b0c40700bb3 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-boxed.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-boxed.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::ops::FnMut; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-by-ref.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-by-ref.rs index b251215909a..564986bbbca 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-by-ref.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-by-ref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test by-ref capture of environment in unboxed closure types fn call_fn(f: F) { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-fn-autoderef.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-fn-autoderef.rs index 56c53bcafce..b178f0af909 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-fn-autoderef.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-fn-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the call operator autoderefs when calling a bounded type parameter. use std::ops::FnMut; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs index 63667ec11d6..ef1187a3ffb 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the call operator autoderefs when calling a bounded type parameter. use std::ops::FnMut; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs index f4453f1bb8a..1e2495926b9 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the call operator autoderefs when calling to an object type. use std::ops::FnMut; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object.rs index 2fdb9e9b346..e40541a2754 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-call-sugar-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::FnMut; fn make_adder(x: isize) -> Boxisize + 'static> { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-counter-not-moved.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-counter-not-moved.rs index 300a0ee63f8..dc6903db326 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-counter-not-moved.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-counter-not-moved.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we mutate a counter on the stack only when we expect to. fn call(f: F) where F : FnOnce() { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-cross-crate.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-cross-crate.rs index 37dc760cedc..b22b4d80a64 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-cross-crate.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that unboxed closures work with cross-crate inlining // Acts as a regression test for #16790, #18378 and #18543 diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-direct-sugary-call.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-direct-sugary-call.rs index c8da4a6992a..1f84db7f720 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-direct-sugary-call.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-direct-sugary-call.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-drop.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-drop.rs index 57f2f87e246..02edd01ac18 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-drop.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // A battery of tests to ensure destructors of unboxed closure environments // run at the right times. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn-hr.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn-hr.rs index 75cd61b9cf0..f6f83c33f15 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn-hr.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn-hr.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Checks that higher-ranked extern fn pointers implement the full range of Fn traits. fn square(x: &isize) -> isize { (*x) * (*x) } diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn.rs index eddb6080d17..480a6daac81 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-extern-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Checks that extern fn pointers implement the full range of Fn traits. use std::ops::{Fn,FnMut,FnOnce}; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs index f90aced3dbe..5f2e05995cc 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Checks that the Fn trait hierarchy rules permit // any Fn trait to be used where Fn is implemented. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs index 0a977cef442..592994cae6e 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Checks that the Fn trait hierarchy rules permit // FnMut or FnOnce to be used where FnMut is implemented. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-generic.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-generic.rs index 01c81ef98d5..9120b71c6d7 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-generic.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::FnMut; fn call_iti32>(y: i32, mut f: F) -> i32 { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs index c4944548e17..b9219404b46 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer that the type of `x` is `isize` based // on the expected type from the object. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs index 9cad7d61e32..08e41627a9b 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer that the type of `x` is `isize` based // on the expected type from the object. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs index bdd1932182b..06c704dfda1 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer that the type of `x` is `isize` based // on the expected type from the object. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs index 028f2e9375b..2d0fd046610 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(fn_traits)] fn main() { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs index 17833033492..3ddde9a16af 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer a suitable kind for this closure // that is just called (`FnMut`). diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-move.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-move.rs index 794527249bf..48645efce67 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-move.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-move.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer a suitable kind for this `move` // closure that is just called (`FnMut`). diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut.rs index 67f36b9a920..80ca969c529 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnmut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer a suitable kind for this closure // that is just called (`FnMut`). diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce-move.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce-move.rs index 449f533103a..ff8cd4a5eff 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce-move.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce-move.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer a suitable kind for this `move` // closure that is just called (`FnOnce`). diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce.rs index 79a1aff8535..698a389ef65 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-fnonce.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we are able to infer a suitable kind for this closure // that is just called (`FnOnce`). diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-kind.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-kind.rs index c04df7ed5f8..362d53126c2 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-kind.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-kind.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that we can infer the "kind" of an unboxed closure based on // the expected type. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-recursive-fn.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-recursive-fn.rs index ac303e3a090..c150e8915c6 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-recursive-fn.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-recursive-fn.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(fn_traits, unboxed_closures)] use std::marker::PhantomData; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-upvar.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-upvar.rs index 1401fe7470b..5bf634defda 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-upvar.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-infer-upvar.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that the type variable in the type(`Vec<_>`) of a closed over // variable does not interfere with type inference. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-manual-impl.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-manual-impl.rs index e2d05884f3a..e610e90fb97 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-manual-impl.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-manual-impl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(unboxed_closures, fn_traits)] struct S; diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-monomorphization.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-monomorphization.rs index d0d36d969b7..6f15133eaee 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-monomorphization.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-monomorphization.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that unboxed closures in contexts with free type parameters // monomorphize correctly (issue #16791) diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs index d902ebc9dc9..ef3114ff394 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused)] fn foo(f: F) diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-mutable.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-mutable.rs index a55b0a0185e..3b1e4a1d554 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-mutable.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-mutable.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![deny(unused_mut)] diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs index b9a16535c42..b20377ec94f 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that in a by-ref once closure we move some variables even as // we capture others by mutable reference. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-prelude.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-prelude.rs index f82b04f37c5..f6997da7c07 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-prelude.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-prelude.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Tests that the re-exports of `FnOnce` et al from the prelude work. // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-simple.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-simple.rs index 429afb95248..b7230ed5d82 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-simple.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-simple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::ops::FnMut; pub fn main() { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-single-word-env.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-single-word-env.rs index 3ed055a7884..253a5354cdd 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-single-word-env.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-single-word-env.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Ensures that single-word environments work right in unboxed closures. // These take a different path in codegen. diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-static-call-fn-once.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-static-call-fn-once.rs index c13e9513ce3..5526d372706 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-static-call-fn-once.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-static-call-fn-once.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-sugar-object.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-sugar-object.rs index b7d367f2353..16f123d62fc 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-sugar-object.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-sugar-object.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test unboxed closure sugar used in object types. #![allow(dead_code)] diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs index c95885518ea..dbf4a1c5f7e 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs @@ -7,7 +7,9 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// + +// run-pass + // This code used to produce the following ICE: // // error: internal compiler error: get_unique_type_id_of_type() - diff --git a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-zero-args.rs b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-zero-args.rs index 9e6a7cce1fd..ae9124c9fc1 100644 --- a/src/test/ui/run-pass/unboxed-closures/unboxed-closures-zero-args.rs +++ b/src/test/ui/run-pass/unboxed-closures/unboxed-closures-zero-args.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/unique/unique-assign-copy.rs b/src/test/ui/run-pass/unique/unique-assign-copy.rs index 1e36f5287a7..e25de1025fa 100644 --- a/src/test/ui/run-pass/unique/unique-assign-copy.rs +++ b/src/test/ui/run-pass/unique/unique-assign-copy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-assign-drop.rs b/src/test/ui/run-pass/unique/unique-assign-drop.rs index 1227c14ec02..2ae98f499ac 100644 --- a/src/test/ui/run-pass/unique/unique-assign-drop.rs +++ b/src/test/ui/run-pass/unique/unique-assign-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(dead_assignment)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-assign-generic.rs b/src/test/ui/run-pass/unique/unique-assign-generic.rs index 1abc8203305..ebbe6927261 100644 --- a/src/test/ui/run-pass/unique/unique-assign-generic.rs +++ b/src/test/ui/run-pass/unique/unique-assign-generic.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f(t: T) -> T { diff --git a/src/test/ui/run-pass/unique/unique-assign.rs b/src/test/ui/run-pass/unique/unique-assign.rs index 66b78d27c59..206503f87ce 100644 --- a/src/test/ui/run-pass/unique/unique-assign.rs +++ b/src/test/ui/run-pass/unique/unique-assign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-autoderef-field.rs b/src/test/ui/run-pass/unique/unique-autoderef-field.rs index 4ad465abc48..449bf418651 100644 --- a/src/test/ui/run-pass/unique/unique-autoderef-field.rs +++ b/src/test/ui/run-pass/unique/unique-autoderef-field.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct J { j: isize } diff --git a/src/test/ui/run-pass/unique/unique-autoderef-index.rs b/src/test/ui/run-pass/unique/unique-autoderef-index.rs index b0abcfab78e..de7c2f7826e 100644 --- a/src/test/ui/run-pass/unique/unique-autoderef-index.rs +++ b/src/test/ui/run-pass/unique/unique-autoderef-index.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-cmp.rs b/src/test/ui/run-pass/unique/unique-cmp.rs index e949215396c..b11b1a8cdbc 100644 --- a/src/test/ui/run-pass/unique/unique-cmp.rs +++ b/src/test/ui/run-pass/unique/unique-cmp.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-containing-tag.rs b/src/test/ui/run-pass/unique/unique-containing-tag.rs index 94f523eb396..45bac67a98e 100644 --- a/src/test/ui/run-pass/unique/unique-containing-tag.rs +++ b/src/test/ui/run-pass/unique/unique-containing-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-create.rs b/src/test/ui/run-pass/unique/unique-create.rs index 5ebabf0c29a..5c7488b1120 100644 --- a/src/test/ui/run-pass/unique/unique-create.rs +++ b/src/test/ui/run-pass/unique/unique-create.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-decl-init-copy.rs b/src/test/ui/run-pass/unique/unique-decl-init-copy.rs index 71197b9d02f..1ec57a8b8b5 100644 --- a/src/test/ui/run-pass/unique/unique-decl-init-copy.rs +++ b/src/test/ui/run-pass/unique/unique-decl-init-copy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-decl-init.rs b/src/test/ui/run-pass/unique/unique-decl-init.rs index 2501caddb46..85190b5142f 100644 --- a/src/test/ui/run-pass/unique/unique-decl-init.rs +++ b/src/test/ui/run-pass/unique/unique-decl-init.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-decl-move.rs b/src/test/ui/run-pass/unique/unique-decl-move.rs index fc6421e2e08..8e08ae43bae 100644 --- a/src/test/ui/run-pass/unique/unique-decl-move.rs +++ b/src/test/ui/run-pass/unique/unique-decl-move.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-decl.rs b/src/test/ui/run-pass/unique/unique-decl.rs index bbf9b2f47a7..37b8b94b15a 100644 --- a/src/test/ui/run-pass/unique/unique-decl.rs +++ b/src/test/ui/run-pass/unique/unique-decl.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-deref.rs b/src/test/ui/run-pass/unique/unique-deref.rs index 8c008683ef3..db2e5509c1a 100644 --- a/src/test/ui/run-pass/unique/unique-deref.rs +++ b/src/test/ui/run-pass/unique/unique-deref.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-destructure.rs b/src/test/ui/run-pass/unique/unique-destructure.rs index 70b4af1886f..782f151459e 100644 --- a/src/test/ui/run-pass/unique/unique-destructure.rs +++ b/src/test/ui/run-pass/unique/unique-destructure.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_patterns)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-drop-complex.rs b/src/test/ui/run-pass/unique/unique-drop-complex.rs index bcfb65769da..747b1662652 100644 --- a/src/test/ui/run-pass/unique/unique-drop-complex.rs +++ b/src/test/ui/run-pass/unique/unique-drop-complex.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-ffi-symbols.rs b/src/test/ui/run-pass/unique/unique-ffi-symbols.rs index 81563f40e94..761b2ffe30b 100644 --- a/src/test/ui/run-pass/unique/unique-ffi-symbols.rs +++ b/src/test/ui/run-pass/unique/unique-ffi-symbols.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // We used to have a __rust_abi shim that resulted in duplicated symbols // whenever the item path wasn't enough to disambiguate between them. fn main() { diff --git a/src/test/ui/run-pass/unique/unique-fn-arg-move.rs b/src/test/ui/run-pass/unique/unique-fn-arg-move.rs index 45cc530659f..703c2bee84d 100644 --- a/src/test/ui/run-pass/unique/unique-fn-arg-move.rs +++ b/src/test/ui/run-pass/unique/unique-fn-arg-move.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f(i: Box) { diff --git a/src/test/ui/run-pass/unique/unique-fn-arg-mut.rs b/src/test/ui/run-pass/unique/unique-fn-arg-mut.rs index 77c4fa29558..b495fb30a9c 100644 --- a/src/test/ui/run-pass/unique/unique-fn-arg-mut.rs +++ b/src/test/ui/run-pass/unique/unique-fn-arg-mut.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f(i: &mut Box) { diff --git a/src/test/ui/run-pass/unique/unique-fn-arg.rs b/src/test/ui/run-pass/unique/unique-fn-arg.rs index 20a0008ef56..ef10e17d9d2 100644 --- a/src/test/ui/run-pass/unique/unique-fn-arg.rs +++ b/src/test/ui/run-pass/unique/unique-fn-arg.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f(i: Box) { diff --git a/src/test/ui/run-pass/unique/unique-fn-ret.rs b/src/test/ui/run-pass/unique/unique-fn-ret.rs index 7d88176828e..b4757a4b4d6 100644 --- a/src/test/ui/run-pass/unique/unique-fn-ret.rs +++ b/src/test/ui/run-pass/unique/unique-fn-ret.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn f() -> Box { diff --git a/src/test/ui/run-pass/unique/unique-generic-assign.rs b/src/test/ui/run-pass/unique/unique-generic-assign.rs index 2da3b9f05f6..571a5620cd8 100644 --- a/src/test/ui/run-pass/unique/unique-generic-assign.rs +++ b/src/test/ui/run-pass/unique/unique-generic-assign.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #976 diff --git a/src/test/ui/run-pass/unique/unique-in-tag.rs b/src/test/ui/run-pass/unique/unique-in-tag.rs index 517cdd02535..c75c7a1de88 100644 --- a/src/test/ui/run-pass/unique/unique-in-tag.rs +++ b/src/test/ui/run-pass/unique/unique-in-tag.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] fn test1() { diff --git a/src/test/ui/run-pass/unique/unique-in-vec-copy.rs b/src/test/ui/run-pass/unique/unique-in-vec-copy.rs index a460aa6ec10..62b183d62b4 100644 --- a/src/test/ui/run-pass/unique/unique-in-vec-copy.rs +++ b/src/test/ui/run-pass/unique/unique-in-vec-copy.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-in-vec.rs b/src/test/ui/run-pass/unique/unique-in-vec.rs index a7edc9cc710..681c0c190e4 100644 --- a/src/test/ui/run-pass/unique/unique-in-vec.rs +++ b/src/test/ui/run-pass/unique/unique-in-vec.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-init.rs b/src/test/ui/run-pass/unique/unique-init.rs index 768614b1e3c..9b7c2a99c99 100644 --- a/src/test/ui/run-pass/unique/unique-init.rs +++ b/src/test/ui/run-pass/unique/unique-init.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-kinds.rs b/src/test/ui/run-pass/unique/unique-kinds.rs index 80364114bce..33b014db37b 100644 --- a/src/test/ui/run-pass/unique/unique-kinds.rs +++ b/src/test/ui/run-pass/unique/unique-kinds.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::cmp::PartialEq; diff --git a/src/test/ui/run-pass/unique/unique-log.rs b/src/test/ui/run-pass/unique/unique-log.rs index 0c17acb3d89..f8b5f5562fc 100644 --- a/src/test/ui/run-pass/unique/unique-log.rs +++ b/src/test/ui/run-pass/unique/unique-log.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-match-discrim.rs b/src/test/ui/run-pass/unique/unique-match-discrim.rs index 1b0392341e7..43004e8673a 100644 --- a/src/test/ui/run-pass/unique/unique-match-discrim.rs +++ b/src/test/ui/run-pass/unique/unique-match-discrim.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #961 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/unique/unique-move-drop.rs b/src/test/ui/run-pass/unique/unique-move-drop.rs index ba865abc371..53f3c9b6c5c 100644 --- a/src/test/ui/run-pass/unique/unique-move-drop.rs +++ b/src/test/ui/run-pass/unique/unique-move-drop.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_variables)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-move-temp.rs b/src/test/ui/run-pass/unique/unique-move-temp.rs index 8c1178b9a7e..a68fe021d09 100644 --- a/src/test/ui/run-pass/unique/unique-move-temp.rs +++ b/src/test/ui/run-pass/unique/unique-move-temp.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-move.rs b/src/test/ui/run-pass/unique/unique-move.rs index e731ca818fe..4dba48a5ea0 100644 --- a/src/test/ui/run-pass/unique/unique-move.rs +++ b/src/test/ui/run-pass/unique/unique-move.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-mutable.rs b/src/test/ui/run-pass/unique/unique-mutable.rs index 48006010300..fcae9323c38 100644 --- a/src/test/ui/run-pass/unique/unique-mutable.rs +++ b/src/test/ui/run-pass/unique/unique-mutable.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] pub fn main() { diff --git a/src/test/ui/run-pass/unique/unique-object-move.rs b/src/test/ui/run-pass/unique/unique-object-move.rs index d93df4e96f9..d85b22f5dc9 100644 --- a/src/test/ui/run-pass/unique/unique-object-move.rs +++ b/src/test/ui/run-pass/unique/unique-object-move.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Issue #5192 // pretty-expanded FIXME #23616 diff --git a/src/test/ui/run-pass/unique/unique-pat-2.rs b/src/test/ui/run-pass/unique/unique-pat-2.rs index 12e81a202e9..b1f7112b4e5 100644 --- a/src/test/ui/run-pass/unique/unique-pat-2.rs +++ b/src/test/ui/run-pass/unique/unique-pat-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_patterns)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-pat-3.rs b/src/test/ui/run-pass/unique/unique-pat-3.rs index 9f361d460e0..a230c8265de 100644 --- a/src/test/ui/run-pass/unique/unique-pat-3.rs +++ b/src/test/ui/run-pass/unique/unique-pat-3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] enum bar { u(Box), w(isize), } diff --git a/src/test/ui/run-pass/unique/unique-pat.rs b/src/test/ui/run-pass/unique/unique-pat.rs index 8af160b1f56..c83989def33 100644 --- a/src/test/ui/run-pass/unique/unique-pat.rs +++ b/src/test/ui/run-pass/unique/unique-pat.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_patterns)] #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-rec.rs b/src/test/ui/run-pass/unique/unique-rec.rs index aa3fc8f5bb5..0169be9d139 100644 --- a/src/test/ui/run-pass/unique/unique-rec.rs +++ b/src/test/ui/run-pass/unique/unique-rec.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] struct X { x: isize } diff --git a/src/test/ui/run-pass/unique/unique-send-2.rs b/src/test/ui/run-pass/unique/unique-send-2.rs index 7a0e585e8b0..285772b9541 100644 --- a/src/test/ui/run-pass/unique/unique-send-2.rs +++ b/src/test/ui/run-pass/unique/unique-send-2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // ignore-emscripten no threads support #![feature(box_syntax)] diff --git a/src/test/ui/run-pass/unique/unique-send.rs b/src/test/ui/run-pass/unique/unique-send.rs index 7644da08e4a..d7382749861 100644 --- a/src/test/ui/run-pass/unique/unique-send.rs +++ b/src/test/ui/run-pass/unique/unique-send.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::sync::mpsc::channel; diff --git a/src/test/ui/run-pass/unique/unique-swap.rs b/src/test/ui/run-pass/unique/unique-swap.rs index 6e6fe4e420b..16090fa1b28 100644 --- a/src/test/ui/run-pass/unique/unique-swap.rs +++ b/src/test/ui/run-pass/unique/unique-swap.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![feature(box_syntax)] use std::mem::swap; diff --git a/src/test/ui/run-pass/where-clauses/where-clause-bounds-inconsistency.rs b/src/test/ui/run-pass/where-clauses/where-clause-bounds-inconsistency.rs index fa07861d799..752f8f2252e 100644 --- a/src/test/ui/run-pass/where-clauses/where-clause-bounds-inconsistency.rs +++ b/src/test/ui/run-pass/where-clauses/where-clause-bounds-inconsistency.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Bound { diff --git a/src/test/ui/run-pass/where-clauses/where-clause-early-bound-lifetimes.rs b/src/test/ui/run-pass/where-clauses/where-clause-early-bound-lifetimes.rs index b9f605ec548..bbc42e3ea25 100644 --- a/src/test/ui/run-pass/where-clauses/where-clause-early-bound-lifetimes.rs +++ b/src/test/ui/run-pass/where-clauses/where-clause-early-bound-lifetimes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait TheTrait { fn dummy(&self) { } } diff --git a/src/test/ui/run-pass/where-clauses/where-clause-method-substituion.rs b/src/test/ui/run-pass/where-clauses/where-clause-method-substituion.rs index d7aaa0b2f9c..3afccab07b7 100644 --- a/src/test/ui/run-pass/where-clauses/where-clause-method-substituion.rs +++ b/src/test/ui/run-pass/where-clauses/where-clause-method-substituion.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 trait Foo { fn dummy(&self, arg: T) { } } diff --git a/src/test/ui/run-pass/where-clauses/where-clause-region-outlives.rs b/src/test/ui/run-pass/where-clauses/where-clause-region-outlives.rs index 60df52bfeb9..445a090d601 100644 --- a/src/test/ui/run-pass/where-clauses/where-clause-region-outlives.rs +++ b/src/test/ui/run-pass/where-clauses/where-clause-region-outlives.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct A<'a, 'b> where 'a : 'b { x: &'a isize, y: &'b isize } diff --git a/src/test/ui/run-pass/where-clauses/where-clauses-cross-crate.rs b/src/test/ui/run-pass/where-clauses/where-clauses-cross-crate.rs index 1b349b25ef3..0343656061b 100644 --- a/src/test/ui/run-pass/where-clauses/where-clauses-cross-crate.rs +++ b/src/test/ui/run-pass/where-clauses/where-clauses-cross-crate.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // aux-build:where_clauses_xc.rs extern crate where_clauses_xc; diff --git a/src/test/ui/run-pass/where-clauses/where-clauses-lifetimes.rs b/src/test/ui/run-pass/where-clauses/where-clauses-lifetimes.rs index bba20e8e92e..22b1acb2a60 100644 --- a/src/test/ui/run-pass/where-clauses/where-clauses-lifetimes.rs +++ b/src/test/ui/run-pass/where-clauses/where-clauses-lifetimes.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 fn foo<'a, I>(mut it: I) where I: Iterator {} diff --git a/src/test/ui/run-pass/where-clauses/where-clauses-method.rs b/src/test/ui/run-pass/where-clauses/where-clauses-method.rs index 29efe727276..c9930128bbe 100644 --- a/src/test/ui/run-pass/where-clauses/where-clauses-method.rs +++ b/src/test/ui/run-pass/where-clauses/where-clauses-method.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // Test that a where clause attached to a method allows us to add // additional constraints to a parameter out of scope. diff --git a/src/test/ui/run-pass/where-clauses/where-clauses-unboxed-closures.rs b/src/test/ui/run-pass/where-clauses/where-clauses-unboxed-closures.rs index 8a775caaac6..c3cfbbda4ea 100644 --- a/src/test/ui/run-pass/where-clauses/where-clauses-unboxed-closures.rs +++ b/src/test/ui/run-pass/where-clauses/where-clauses-unboxed-closures.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass // pretty-expanded FIXME #23616 struct Bencher; diff --git a/src/test/ui/run-pass/where-clauses/where-clauses.rs b/src/test/ui/run-pass/where-clauses/where-clauses.rs index ab1f30c3d14..8f1cf098c30 100644 --- a/src/test/ui/run-pass/where-clauses/where-clauses.rs +++ b/src/test/ui/run-pass/where-clauses/where-clauses.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass trait Equal { fn equal(&self, other: &Self) -> bool; fn equals(&self, this: &T, that: &T, x: &U, y: &U) -> bool diff --git a/src/test/ui/run-pass/zero-sized/zero-size-type-destructors.rs b/src/test/ui/run-pass/zero-sized/zero-size-type-destructors.rs index 18b6c372a5e..3af6625f19d 100644 --- a/src/test/ui/run-pass/zero-sized/zero-size-type-destructors.rs +++ b/src/test/ui/run-pass/zero-sized/zero-size-type-destructors.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass static mut destructions : isize = 3; pub fn foo() { diff --git a/src/test/ui/run-pass/zero-sized/zero-sized-binary-heap-push.rs b/src/test/ui/run-pass/zero-sized/zero-sized-binary-heap-push.rs index 0866a767934..4ab329f166a 100644 --- a/src/test/ui/run-pass/zero-sized/zero-sized-binary-heap-push.rs +++ b/src/test/ui/run-pass/zero-sized/zero-sized-binary-heap-push.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::BinaryHeap; use std::iter::Iterator; diff --git a/src/test/ui/run-pass/zero-sized/zero-sized-btreemap-insert.rs b/src/test/ui/run-pass/zero-sized/zero-sized-btreemap-insert.rs index aff124c30ec..5e406152d93 100644 --- a/src/test/ui/run-pass/zero-sized/zero-sized-btreemap-insert.rs +++ b/src/test/ui/run-pass/zero-sized/zero-sized-btreemap-insert.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::cmp::{Ord, Ordering, PartialOrd}; use std::collections::BTreeMap; use std::iter::Iterator; diff --git a/src/test/ui/run-pass/zero-sized/zero-sized-linkedlist-push.rs b/src/test/ui/run-pass/zero-sized/zero-sized-linkedlist-push.rs index 9c424854d48..7b0b2f3c3c5 100644 --- a/src/test/ui/run-pass/zero-sized/zero-sized-linkedlist-push.rs +++ b/src/test/ui/run-pass/zero-sized/zero-sized-linkedlist-push.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::LinkedList; use std::iter::Iterator; diff --git a/src/test/ui/run-pass/zero-sized/zero-sized-tuple-struct.rs b/src/test/ui/run-pass/zero-sized/zero-sized-tuple-struct.rs index 9625d6a88ac..2ea51779063 100644 --- a/src/test/ui/run-pass/zero-sized/zero-sized-tuple-struct.rs +++ b/src/test/ui/run-pass/zero-sized/zero-sized-tuple-struct.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass #![allow(unused_assignments)] // Make sure that the constructor args are codegened for zero-sized tuple structs diff --git a/src/test/ui/run-pass/zero-sized/zero-sized-vec-deque-push.rs b/src/test/ui/run-pass/zero-sized/zero-sized-vec-deque-push.rs index d7c7cd28ee4..2fc51f3409f 100644 --- a/src/test/ui/run-pass/zero-sized/zero-sized-vec-deque-push.rs +++ b/src/test/ui/run-pass/zero-sized/zero-sized-vec-deque-push.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::collections::VecDeque; use std::iter::Iterator; diff --git a/src/test/ui/run-pass/zero-sized/zero-sized-vec-push.rs b/src/test/ui/run-pass/zero-sized/zero-sized-vec-push.rs index e472e9380a3..dd8b717761b 100644 --- a/src/test/ui/run-pass/zero-sized/zero-sized-vec-push.rs +++ b/src/test/ui/run-pass/zero-sized/zero-sized-vec-push.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass use std::iter::Iterator; use std::vec::Vec;