]> git.lizzy.rs Git - rust.git/commitdiff
Add `// run-pass` to collection of tests.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 6 Sep 2018 12:41:12 +0000 (14:41 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 6 Sep 2018 12:41:12 +0000 (14:41 +0200)
139 files changed:
src/test/ui/run-pass/allocator/custom.rs
src/test/ui/run-pass/allocator/xcrate-use.rs
src/test/ui/run-pass/allocator/xcrate-use2.rs
src/test/ui/run-pass/bench/issue-32062.rs
src/test/ui/run-pass/ctfe/assoc-const.rs
src/test/ui/run-pass/ctfe/bswap-const.rs
src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs
src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs
src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs
src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs
src/test/ui/run-pass/ctfe/deref_in_pattern.rs
src/test/ui/run-pass/ctfe/ice-48279.rs
src/test/ui/run-pass/ctfe/issue-37550.rs
src/test/ui/run-pass/ctfe/issue-broken-mir.rs
src/test/ui/run-pass/ctfe/locals-in-const-fn.rs
src/test/ui/run-pass/ctfe/match-const-fn-structs.rs
src/test/ui/run-pass/ctfe/mozjs-error.rs
src/test/ui/run-pass/ctfe/non-scalar-cast.rs
src/test/ui/run-pass/ctfe/promotion.rs
src/test/ui/run-pass/ctfe/references.rs
src/test/ui/run-pass/ctfe/repeat_match.rs
src/test/ui/run-pass/ctfe/return-in-const-fn.rs
src/test/ui/run-pass/ctfe/signed_enum_discr.rs
src/test/ui/run-pass/ctfe/transmute-const.rs
src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs
src/test/ui/run-pass/generator/borrow-in-tail-expr.rs
src/test/ui/run-pass/generator/conditional-drop.rs
src/test/ui/run-pass/generator/control-flow.rs
src/test/ui/run-pass/generator/drop-env.rs
src/test/ui/run-pass/generator/issue-44197.rs
src/test/ui/run-pass/generator/issue-52398.rs
src/test/ui/run-pass/generator/iterator-count.rs
src/test/ui/run-pass/generator/live-upvar-across-yield.rs
src/test/ui/run-pass/generator/match-bindings.rs
src/test/ui/run-pass/generator/nested_generators.rs
src/test/ui/run-pass/generator/panic-drops.rs
src/test/ui/run-pass/generator/panic-safe.rs
src/test/ui/run-pass/generator/reborrow-mut-upvar.rs
src/test/ui/run-pass/generator/resume-after-return.rs
src/test/ui/run-pass/generator/smoke.rs
src/test/ui/run-pass/generator/static-generators.rs
src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs
src/test/ui/run-pass/generator/xcrate-reachable.rs
src/test/ui/run-pass/generator/xcrate.rs
src/test/ui/run-pass/generator/yield-in-args-rev.rs
src/test/ui/run-pass/generator/yield-in-box.rs
src/test/ui/run-pass/generator/yield-in-initializer.rs
src/test/ui/run-pass/generator/yield-subtype.rs
src/test/ui/run-pass/impl-trait/auto-trait-leak.rs
src/test/ui/run-pass/impl-trait/bounds_regression.rs
src/test/ui/run-pass/impl-trait/equality.rs
src/test/ui/run-pass/impl-trait/example-calendar.rs
src/test/ui/run-pass/impl-trait/example-st.rs
src/test/ui/run-pass/impl-trait/existential-minimal.rs
src/test/ui/run-pass/impl-trait/issue-42479.rs
src/test/ui/run-pass/impl-trait/issue-49376.rs
src/test/ui/run-pass/impl-trait/lifetimes.rs
src/test/ui/run-pass/impl-trait/nesting.rs
src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs
src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs
src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs
src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs
src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs
src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs
src/test/ui/run-pass/impl-trait/xcrate.rs
src/test/ui/run-pass/impl-trait/xcrate_simple.rs
src/test/ui/run-pass/nll/issue-47153-generic-const.rs
src/test/ui/run-pass/nll/issue-47589.rs
src/test/ui/run-pass/nll/issue-48623-closure.rs
src/test/ui/run-pass/nll/issue-48623-generator.rs
src/test/ui/run-pass/nll/issue-50343.rs
src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs
src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs
src/test/ui/run-pass/nll/mutating_references.rs
src/test/ui/run-pass/nll/process_or_insert_default.rs
src/test/ui/run-pass/nll/rc-loop.rs
src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs
src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs
src/test/ui/run-pass/panic-runtime/abort.rs
src/test/ui/run-pass/panic-runtime/link-to-abort.rs
src/test/ui/run-pass/panic-runtime/link-to-unwind.rs
src/test/ui/run-pass/panic-runtime/lto-abort.rs
src/test/ui/run-pass/panic-runtime/lto-unwind.rs
src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs
src/test/ui/run-pass/specialization/cross-crate-defaults.rs
src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs
src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs
src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs
src/test/ui/run-pass/specialization/defaultimpl/projection.rs
src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs
src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs
src/test/ui/run-pass/specialization/specialization-assoc-fns.rs
src/test/ui/run-pass/specialization/specialization-basics.rs
src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs
src/test/ui/run-pass/specialization/specialization-cross-crate.rs
src/test/ui/run-pass/specialization/specialization-default-methods.rs
src/test/ui/run-pass/specialization/specialization-on-projection.rs
src/test/ui/run-pass/specialization/specialization-out-of-order.rs
src/test/ui/run-pass/specialization/specialization-overlap-projection.rs
src/test/ui/run-pass/specialization/specialization-projection-alias.rs
src/test/ui/run-pass/specialization/specialization-projection.rs
src/test/ui/run-pass/specialization/specialization-super-traits.rs
src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs
src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs
src/test/ui/run-pass/specialization/specialization-translate-projections.rs
src/test/ui/run-pass/thinlto/all-crates.rs
src/test/ui/run-pass/thinlto/dylib-works.rs
src/test/ui/run-pass/thinlto/msvc-imp-present.rs
src/test/ui/run-pass/thinlto/thin-lto-inlines.rs
src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs
src/test/ui/run-pass/thinlto/weak-works.rs
src/test/ui/run-pass/uniform-paths/basic-nested.rs
src/test/ui/run-pass/uniform-paths/basic.rs
src/test/ui/run-pass/uniform-paths/macros-nested.rs
src/test/ui/run-pass/uniform-paths/macros.rs
src/test/ui/run-pass/uniform-paths/same-crate.rs
src/test/ui/run-pass/union/union-align.rs
src/test/ui/run-pass/union/union-backcomp.rs
src/test/ui/run-pass/union/union-basic.rs
src/test/ui/run-pass/union/union-c-interop.rs
src/test/ui/run-pass/union/union-const-codegen.rs
src/test/ui/run-pass/union/union-const-eval-field.rs
src/test/ui/run-pass/union/union-derive.rs
src/test/ui/run-pass/union/union-drop-assign.rs
src/test/ui/run-pass/union/union-drop.rs
src/test/ui/run-pass/union/union-generic.rs
src/test/ui/run-pass/union/union-inherent-method.rs
src/test/ui/run-pass/union/union-macro.rs
src/test/ui/run-pass/union/union-nodrop.rs
src/test/ui/run-pass/union/union-overwrite.rs
src/test/ui/run-pass/union/union-packed.rs
src/test/ui/run-pass/union/union-pat-refutability.rs
src/test/ui/run-pass/union/union-trait-impl.rs
src/test/ui/run-pass/union/union-transmute.rs
src/test/ui/run-pass/union/union-with-drop-fields-lint.rs
src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs
src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs
src/test/ui/run-pass/unsized-locals/unsized-exprs.rs
src/test/ui/run-pass/unsized-locals/unsized-parameters.rs

index 3a7f8fa86209401e72f73f110ccd8bce78d02f94..9617f7d4685d7b89a824ba221b64a091c49b9692 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:helper.rs
 // no-prefer-dynamic
 
index 482e3b04aae2dbe363e5262e7cb65eae196e1df2..8b9e1e329f7b90245e25985c80e1ad993225a39e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:custom.rs
 // aux-build:helper.rs
 // no-prefer-dynamic
index 7a45fd28bdbc57713f20b7526f2ff1ed1deaf5ef..2e52f28d3117a20f61beecc0bf8e097d5cf64cd8 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:custom.rs
 // aux-build:custom-as-global.rs
 // aux-build:helper.rs
index 8f6457d820a84593fe3b19a3a539d6d81c226d65..c21399fd2998e0364e32f8bdfae95bf0332a2eff 100644 (file)
@@ -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
 
 fn main() {
index 6a740dc1dd30be6b295adb00e36564e192f29f9c..cead174392619dfa697f4b6c6a9416c0373d8639 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 trait Nat {
     const VALUE: usize;
 }
index b951a9b72b1e14cb4bb07df1cb12d93d53971a44..5fc7609bb680e92aafcde74b0314eb66dc121031 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(core_intrinsics)]
 
 use std::intrinsics;
index 813dd5fbb994175dcd2ef378a42de2d94d074141..94e97d37424c3976c016a1ed1650bb78697d2653 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/34997
 
 pub const CST_1: u32 = 0;
index e233107169c75828609e147536766195843c158b..09590d5f1977161c25fc70eb82a905c6615179d3 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(const_let)]
 
 type Array = [u32; {  let x = 2; 5 }];
index b5a9bfb45a1b41f72edcef3d2369f858c0c16062..5490bd4d3ad83a1ed8315fe0b6abfa01cc33ffd2 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(const_let)]
 
 enum Foo {
index 8b832976aab0e1128e105a89d36a455f0d40d1c0..323232acc675f4e328faee0c4f7dcfd3155efd38 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // test that certain things are disallowed in constant functions
 
 #![feature(const_fn, const_let)]
index 4ccfa0338f3937f2f799a135d124006797e77590..6f4cca624bfe7290643d5b614d08677cd45d68ca 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/25574
 
 const A: [u8; 4] = *b"fooo";
index f59a6810e3a78f76bea3112c1dc0ba2e883df9ec..34b7b56f274a039ca2a37ee4ef7c795443948a5e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/48279
 
 #![feature(min_const_fn)]
index 27796a5feea289d40317667b1d8481fc16d401db..21c4ec2c09ec3e91a6ad1d812193c43c57925715 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(const_fn, const_let)]
 
 const fn x() {
index 6ed0c7c0d5dc4aa6ff9a24b46f922bb731b81c59..4810ef75c7810a4a01e8ff332b7a42d93f72d8e9 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/27918
 
 fn main() {
index 8c153315c25aab50cc537621985d62db87ea66d7..d10465b9dcd266e39c3a43d3edc35ba52b6ca939 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/48821
 
 #![feature(const_fn, const_let)]
index 352958f4c6a454f82f0d5219432658e6e377f4da..6c829f142dd0ad24daadeeae04e5577726577deb 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/46114
 
 #![feature(min_const_fn)]
index 9c8a4b5ae6a2d355dfe97a9e2d19a023236893fa..51471f0a34291acf85a0057a0bc4cd9a3ba52b22 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 struct CustomAutoRooterVFTable {
     trace: unsafe extern "C" fn(this: *mut i32, trc: *mut u32),
 }
index ff4474f47c9f3b2e734d33af09b64065d225e374..9711247b83e001a8a2451287093d4175ee5b7273 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/37448
 
 fn main() {
index 28b876c308b64544b2156bb79b5b84138b5b5161..5407529f0653df9ec66756d45f8bbd0a2ca4e583 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags: -O
 
 fn foo(_: &'static [&'static str]) {}
index ad7dbeb79c721de0ebb61db486d238294e8556bb..946ed246bb05e652b115bd5e1690773817a46ae1 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 const FOO: &[u8] = b"foo";
 const BAR: &[u8] = &[1, 2, 3];
 
index dedf5defebb7cf8196b9a205a04495118bebd87d..60a9a916bff4d010e272d6c34b06ce909defc006 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/45044
 
 const X: [u8; 1] = [0; 1];
index 87fdac4bfb4fe296daa58fd4bc08aa29ededfb79..e0020019523796a7a46971f883a1fc7158f2198f 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/43754
 
 #![feature(min_const_fn)]
index 7049d28a87085bef2c5dc63b11ff64864844fd41..9dd2990ab8d67480b3426bf481ec5ca55dc81a41 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/49181
 
 #[derive(Eq, PartialEq)]
index bf9459a67c45376cef92b6b847c16a8cc4069632..efd6df5f886421754269590120c6d1822bd31dc6 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(const_transmute)]
 
 use std::mem;
index d5f3e88fd52e86f31301503ba0004ee8d0cb9379..c7000d198138de242350fcae096322bc36aea65a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // https://github.com/rust-lang/rust/issues/41898
 
 use std::num::NonZeroU64;
index 486fe3c900d8b80c5e8dc5454fd0ef784cc88184..3ac501d01176c85ce53e6548eea1402207fa9de1 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 
 fn main() {
index 3d39c46186be32bf10f578639f372ee96ecc03de..ca8689ca842df997fe9408dd0a522bb55f8cb73c 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::Generator;
index 09971410e556d051ffe7d4b93f2c7e719aa8bf5e..b1560b83cdcb9022e5c5baa366294a81e1d4d7d3 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::{GeneratorState, Generator};
index ef4dc24472e61b08892f2668be1a06688b19b726..9bdee027097956d47f43150b2bd0dac8db5a800a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::Generator;
index 272b7eb7bfdd0f78ecef9991d362e29be576183d..7ddc3c6e83ce1fdc0172d1c0696aa64fab738f3b 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::{ Generator, GeneratorState };
index 0fb8f277ea9d4323ccde321f5b62fb9f4709909e..9ed65a0eee06d537e1516373de717f0ad9c41758 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 
 use std::cell::RefCell;
index 3564ddaa8068e8679783a0808fe709f788464197..b9d877b64985b2bd5c95ef11b85f3db387dc4f0f 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::{GeneratorState, Generator};
index 28e7da232ce09d38fbbc84ec293b4ccdf6ec8203..f560c521533ed3db57e18addb0759ea4f7e63fd7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::Generator;
index 231aa1b42f021695a083754e896b3bac0a7f8100..10d8bb8c9a7ef731a103422b41449430329696c7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 
 enum Enum {
index 29808da85a7a9064ee9648b0d0ddcd3d05ba8e9d..e73f3f197dbc251cf2871f243af13d0cc37e3d37 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 #![feature(generator_trait)]
 
index 3d7b60ab6b90132ee3d5e17c0d04f05ec0cf6b67..34efd43c50551287e2f59e1aac3c816aebdf1ac2 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // ignore-wasm32-bare compiled as panic=abort by default
 
 #![feature(generators, generator_trait)]
index ace5cdde51d85f726c2e17f65c46686d5b5074ba..f1aa5de968956912f9e70d180896b9a69f18d524 100644 (file)
@@ -8,6 +8,8 @@
 // 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(generators, generator_trait)]
index 8353066bfbe8e6a14cfbdc1f1ce8801f75caf2c1..582b5ad575beda5857761bbede6ba8c0bf46b999 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 
 fn _run(bar: &mut i32) {
index 06e7615d26191b3fe6aa403062af5c9f7ffd2d67..67c653f102d7be20d55f07d7637ce5729bee92f9 100644 (file)
@@ -8,6 +8,8 @@
 // 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(generators, generator_trait)]
index 7395c8484c169acd16d937e1ea81ff1748860aa5..2651000e8b4156c1ac4d081eaaec5a38a475983a 100644 (file)
@@ -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
 // compile-flags: --test
 
index ebc070eee09c1c7874d67c81fe414aa450e2d420..9c659b53a06536916879aeec44e3a3be9e991f2e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators, generator_trait)]
 
 use std::ops::{Generator, GeneratorState};
index 2314533a6815318b685df6fbc7e8ef5929616716..81a5f571202f3723db0296a6d0ff5bd29b8b8adf 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 
 fn main() {
index 2fc39ba186916dbf76dc2b4d6f64fcf76c21476b..c14b3c3328a071f5fa0af52e60421471dedec077 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:xcrate-reachable.rs
 
 #![feature(generator_trait)]
index 04791d51356772e52b93679abad2ce06f0717360..af4a84dd1dbaab283a5302d3ca1277a8d16f9ef9 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:xcrate.rs
 
 #![feature(generators, generator_trait)]
index df00329799e96e68aae4a2adc4318202c18e94a2..3048b1225d3182c6b60527ef1c1567696536e702 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that a borrow that occurs after a yield in the same
 // argument list is not treated as live across the yield by
 // type-checking.
index d68007be05c881844ad46a737c965c2f80e02943..a5ba3a25e87cdae393080436262e996e30e96393 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that box-statements with yields in them work.
 
 #![feature(generators, box_syntax)]
index 3042061226b39c6677c3e9a23c4d2e2c7228bb98..00045e6d3f6a8866775b4f650bab3cd5b61ef4db 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(generators)]
 
 fn main() {
index c41341690441fa15c4739d2b2c23d3d54a4c999b..62d3a59ab7889e493095038f7cf7015c1045ac2a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // revisions:lexical nll
 //[nll]compile-flags: -Z disable-nll-user-type-assert
 #![cfg_attr(nll, feature(nll))]
index 62fbae7b40c03af842e80ac78555d6e54d7a8a92..fb252b01f85734fd30136231ff41ca471d022c64 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Fast path, main can see the concrete type returned.
 fn before() -> impl FnMut(i32) {
     let mut p = Box::new(0);
index cc931a68edd049eca4e5e334870732f69b6f0c0f..b6abfdebfa85269b843b0878fba7b7fb6bff94d9 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 pub trait FakeGenerator {
     type Yield;
     type Return;
index 034d3d7c80f3611ecf9da60af25747a8e008bb1b..5026f10b6f86e70990f4f5a259d50953d85316e6 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 trait Foo: std::fmt::Debug + Eq {}
index fce31256db4921879c531834c0046bd772538fba..6cf06d15621040df66db4c8ebaf1703bf6c2591a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // revisions: normal nll
 //[nll] compile-flags:-Zborrowck=mir
 
index a06bde7f532d3ccab60ca533529d4580e8932215..014af37ccf983493b6fc550f71865b2c985882f8 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 struct State;
 type Error = ();
 
index 4e9d786dda05874eab16c77ca1a7c6942f1c2adf..bae4c685e7c48550c38ba70857f1323e7b5c5be8 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 fn main() {}
 
 fn foo() -> impl std::fmt::Debug { "cake" }
index df7a6c1309220b493fbe115ee02623d2ba399520..1da5cd36ca9490b606a0483bf668ce8519e88751 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 use std::iter::once;
 
 struct Foo {
index b687b485fce21edd27bd0fd560317a9dc0256f78..10379dad37d9e73069d041df061662cf16354991 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Tests for nested self-reference which caused a stack overflow.
 
 use std::fmt::Debug;
index d126d795d909a65061f57e473416b2ba55bb4032..e5a98962ff3abbdb072b8411c0a934341ce96a5a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![allow(warnings)]
 
 use std::fmt::Debug;
index 73e6c1c0d1d68df67ffb4aa02dd51ca9da6557a6..f721ace0afe8e94af7e5218bd5ab193ee2818036 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 fn foo<T>(t: T) -> impl Into<[T; { const FOO: usize = 1; FOO }]> {
     [t]
 }
index 9fc74757da0bf3ce5e1c38c96af2abd55adecb90..b78ec557d090441ff1fc333e629e31a79d4c5eb8 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 fn hrtb(f: impl Fn(&u32) -> u32) -> u32 {
     f(&22) + f(&44)
 }
index 3aefc79ebf78245717ea3f26a74befed049a9bba..0bec594346bb2815e122c64b56c8be1a63fb41e1 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 fn hrtb(f: impl for<'a> Fn(&'a u32) -> &'a u32) -> u32 {
     f(&22) + f(&44)
 }
index 57452a2e475c31b0b8a59946fc20872597400c72..95e6a3efdf098700e1262cd0c12a123981efb438 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 use std::fmt::Display;
 
 fn check_display_eq(iter: &Vec<impl Display>) {
index fea946f12584e7b4add9d2988c60422bde502ed5..b9c68c280f1017461b4a521759cfd5763d35afee 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 use std::fmt::Display;
 
 fn check_display_eq(iter: impl IntoIterator<Item = impl Display>) {
index d3611e02e025bf36fa797f1a67946355e62fccfa..6fb44147c1cd59de1801f495e40e8ae2268fe3ca 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 use std::fmt::Debug;
 
 trait InTraitDefnParameters {
index 594207feb09a44908135b2b3f9213822bb434bdc..9b1c2b92446ff6a453c4696217e66b2c7c2da48d 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 use std::fmt::Display;
 
 fn foo(f: impl Display + Clone) -> String {
index 35ae185b3e1de285f751e32da653d6eaaab9522d..aa5d3298f6979446040c4b1913ca5d5937132452 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:xcrate.rs
 
 extern crate xcrate;
index 8d4086cc880478eb61f86b16e3d6b116ce98bbf7..8b7c8ada1c014d19751b5c873023d8eb4d15ae6e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:xcrate.rs
 
 extern crate xcrate;
index 9708ca1c14279a23f90ac29947cdeec15cbb7b61..ac41179bcace1f36c4890341d69813992d837288 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Regression test for #47153: constants in a generic context (such as
 // a trait) used to ICE.
 
index 393c18efad0adb17af157ae551e0e901df419ccd..f960cfd7fb37314f8054c209858343751dd7b1b7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 
 pub struct DescriptorSet<'a> {
index 08ff54a428e763d85e5e5d3f05a6a1639d7f7237..312aa6d577aacf496b7ce9cd75cc5a8134736093 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 
 struct WithDrop;
index 524837c4ba91e97b184a6065226c536ef72f4e93..24b25c4db16cdb82597c40e4f52ba383d5854821 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 #![feature(generators, generator_trait)]
 
index f01d99c68cc7b5a9d839dacf33d247da646dc94f..f33baa288fa89b01b636cff59285ed3e1457645c 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 #![deny(unused_mut)]
 
index d5cf122bf3b336e4fdeb6a9ec3ebf61f221045ee..3e40b527ef45020bae40245d6d339c6ad09ee551 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 #![deny(unused_mut)]
 
index 7959f1737b9f43a2a3e7048e4a47886466ace13c..781dded6272788340a88ecc85175335b27229513 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 #![allow(unused_variables)]
 
index 96b7362e4d93942b791f7e0550d3c1d96a3dde13..1cf9e3aae90a5bd50548fdffe986d22a15322f10 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 
 struct List<T> {
index a3a484402cc1401c5044e40ab55d7dfa64b088b0..57fbfb642ea5f4e95d2599447ab7ac99e5075998 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(nll)]
 
 use std::collections::HashMap;
index 2114dbebe93fb2a74c4c2b7c02ab0fd914969928..420f09707f1e8eaa41685c587a4bf29482067796 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // A test for something that NLL enables. It sometimes happens that
 // the `while let` pattern makes some borrows from a variable (in this
 // case, `x`) that you need in order to compute the next value for
index eab8112b85543d0c404731ecb6e78e91087a5098..a9b240be804e3402806a535fca62302d67be3aee 100644 (file)
@@ -7,6 +7,8 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
+
+// run-pass
 //
 // ignore-pretty issue #37195
 #![feature(non_modrs_mods)]
index 731603606e426fc68dd5d06849902237b35eb80e..5bff65d0cfabd1cbde3d88acb9f8a9927cc728cb 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags:-C panic=abort
 // aux-build:exit-success-if-unwind.rs
 // no-prefer-dynamic
index 4692ad3ca2f1d942362934c71e8176e042181306..2275efa188ed014ae20e192599fa217e3ba29f69 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags:-C panic=abort
 // no-prefer-dynamic
 // ignore-cloudabi no processes
index 9f5407e4526a52b29499873faf616cd31ef83b17..5016c9591b065e93b4ae13945e1c2dacbd9d96eb 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags:-C panic=abort
 // no-prefer-dynamic
 // ignore-macos
index dec8f738d32948d7e4fe78f12002db3abcef1cc4..47d7aeaef26e5148984016d84d4cf86032e83a12 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // no-prefer-dynamic
 
 #![feature(panic_unwind)]
index 54e02fb697579748740c58c2154ab1fbaf54bcab..6e3dbe1d0f3cf8ad822ec0692a6f7745653a01d7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags:-C lto -C panic=abort
 // no-prefer-dynamic
 // ignore-cloudabi no processes
index 52f10688f14f582f559a0e1cde1805a487afc9fd..a0caa4e80c2f3d1871e6ecfc917c17cdf8a2022e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags:-C lto -C panic=unwind
 // no-prefer-dynamic
 // ignore-cloudabi no processes
index a65dcf33d85b1a2d77fba47eab0fcc3833c4358a..f484e98640f792b276eec421d192f056f27d7cc2 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Make sure we don't crash with a cycle error during coherence.
 
 #![feature(specialization)]
index 132520dcb736e5bfb8512d5f3a2488b4509f5ac5..ee978755cbd2763735c27053578c9ee3e5ad620d 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:cross_crates_defaults.rs
 
 #![feature(specialization)]
index 6b999f3835835af47943f4f065fafc89bca17aed..4a481beffd2a2c06d540bbaa50b2a32790d8da3c 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:go_trait.rs
 
 #![feature(specialization)]
index f77b88e2f850ae622b604f8840e15e4ff0619896..e78b06579446fc6ddf5aaf9fb9a37ba719f55b27 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that you can list the more specific impl before the more general one.
 
 #![feature(specialization)]
index 500cded38c1adfc154a6dae17960e514c2d2d06c..00381bb09c983a58cc785f7626ccd8b32847da1e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that impls on projected self types can resolve overlap, even when the
 // projections involve specialization, so long as the associated type is
 // provided by the most specialized impl.
index 6a833ba6760f64ab7b6739904e1ee80e876cd9e4..989f4f286f2c42142285b0f07b65eff676175fb0 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Make sure we *can* project non-defaulted associated types
index fc7312020053ebd9714beab7a8edbb3c26650ea8..440b8d748a4ab60afa0ba4f5d7e4de73803534a1 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Tests that we can combine a default impl that supplies one method with a
 // full impl that supplies the other, and they can invoke one another.
 
index 6b999f3835835af47943f4f065fafc89bca17aed..4a481beffd2a2c06d540bbaa50b2a32790d8da3c 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:go_trait.rs
 
 #![feature(specialization)]
index 577f217862da3ee9f78c7217b69f11e6d5281de6..e6db162a70b8625aa641e77de547322d7744085a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that non-method associated functions can be specialized
 
 #![feature(specialization)]
index b11495e9edf1af24e99e011661d32fe2e97afdec..7638b91c3bc8dcf9ea8657d2aadfe4fe57a6a736 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Tests a variety of basic specialization scenarios and method
index b9548539e16490b1fea6deae8f68531571cd8809..0427a9a429a77be6c169df9cebb4d6fc2b6b945d 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that specialization works even if only the upstream crate enables it
 
 // aux-build:specialization_cross_crate.rs
index 7593ac4fb1dd29bbc95dddc367e2691a8a42596e..9520c0c0d613c8dad94ebf9ed51d311458a9a96a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:specialization_cross_crate.rs
 
 #![feature(specialization)]
index 9cfc6aabbb4f22b0c6c0f8601fff7c55d0d62951..e384687f86648f0efc25d6baea2a6974605f762e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Test that default methods are cascaded correctly
index acf78def1b96795b76d51cd9bbd6176baac58cf8..39af761fd48b293d8c8f7c61d010704356f98de6 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Ensure that specialization works for impls defined directly on a projection
index 2d293f494a3479945b60e5ab21fb9bf8be32e785..1bc2a5f9af7f438b42f6d58bdc7e08ecfb58f041 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that you can list the more specific impl before the more general one.
 
 #![feature(specialization)]
index 20046ee66b0e24868e8d4e2b658663e814823e0d..4223f8144c115e9f1f4197f782d7f0361c526850 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Test that impls on projected self types can resolve overlap, even when the
 // projections involve specialization, so long as the associated type is
 // provided by the most specialized impl.
index 7fce1cca582c15a6f1c186462bf5e3c132ae880b..f2f107653445afe50dc7b43fde9031d12f8fbad3 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Regression test for ICE when combining specialized associated types and type
index 4e0bdec297fe2b26b5aa1f7d68c239dcd3e9cc52..2bed94ccbc16757ce4a0a3d45d47628f2dd00dcc 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Make sure we *can* project non-defaulted associated types
index a9b3bfca53d1862c35b6b1f3fdfa85f78761ab41..d7c340f890d28ceba66f77166f5ca6d6e1257ca6 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 // Test that you can specialize via an explicit trait hierarchy
index 9702f63241377e80376c77f4b01094a84d784f1a..1ead57e8adc9c715fce1d85ddc61dcf2a522db41 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(specialization)]
 
 trait Iterator {
index 647d5523c376c5956876b8f46b521fec0ab50895..ba823c43557b7f6c04a19f0b35daa47424ac86af 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Ensure that provided items are inherited properly even when impls vary in
 // type parameters *and* rely on projections, and the type parameters are input
 // types on the trait.
index 11e1d997fdda07e230148064ec536d16d4b3ba39..796485017c5db1cedd3a04d44a452070943864d7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Ensure that provided items are inherited properly even when impls vary in
 // type parameters *and* rely on projections.
 
index 8d68202d71176922148a0cb12bb60f1ddeb15237..c10b5cc96d65b4650a5cd77c88d2ddcf79048812 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags: -Clto=thin
 // no-prefer-dynamic
 
index 06df40f61427d4db537eded2401b4ece6d81afe1..fc8c0db2e26b40f328e4b32366ef570bf09da852 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:dylib.rs
 
 extern crate dylib;
index 95cff2a28620743cee6c41b7ae0d7843688fb9df..47fc00c79a7eed1e92bf26c271a91e02e20cee21 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:msvc-imp-present.rs
 // compile-flags: -Z thinlto -C codegen-units=8
 // no-prefer-dynamic
index 41ca983af51c7810ae72726d90e44b47b67defa9..68b9ab769857fcb62d6b00f611501878c45eb524 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags: -Z thinlto -C codegen-units=8 -O
 // ignore-emscripten can't inspect instructions on emscripten
 
index 3c0e904662a3534e871f2ae95621fcbe5df96bc2..84809b09785ea2935e00f1b3d6735a41138c91bb 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags: -C codegen-units=8 -O -C lto=thin
 // aux-build:thin-lto-inlines-aux.rs
 // no-prefer-dynamic
index 0a1b7307a46ff705ca48bb8b1a3014c9f1806c33..51516ae87abdd3845f78f262598ee3ae4b8b5002 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // compile-flags: -C codegen-units=8 -Z thinlto
 // ignore-windows
 
index 954736dfd907cf0b09cdae6847334c4cd5980273..7a977759971f5c30b851a77666073bae17579caf 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // edition:2018
 
 #![feature(decl_macro, uniform_paths)]
index 59a0404e4c360b8588e44de1d44d4633bc4f70ea..8f17295c09976f2aa3e54a34e152b511831ead18 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // edition:2018
 
 #![feature(uniform_paths)]
index 9cf05cd956039235881b3c7d0164d4997bc9c26c..8f942634c842b7d8b83030d375b94655c94010df 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // edition:2018
 
 #![feature(uniform_paths)]
index ad74f5d0876bb94c3a713a03d37ec27003fad2a1..179f8916bf3b925395a7af60b2cb02e31d90795d 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // edition:2018
 
 #![feature(uniform_paths)]
index a3eefa7134c470ee4a17cdcae09cc69519ae225e..bb15d6d53ac705b84c7074aeeb58be9fc38b38be 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // edition:2018
 
 #![feature(uniform_paths)]
index 54e4e12d24fa52676ae56ddd2ade4b1992012fe5..02f447c626f84ca35c3bceb400d66ba12ef3ac32 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(untagged_unions)]
 
 use std::mem::{size_of, size_of_val, align_of, align_of_val};
index b706a81850ce8e89fa0017a279f374980af21945..23d51d39c2ed04b136537bceed804811c205fdaa 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 macro_rules! union {
     () => (struct S;)
 }
index 079f6a6b641e9178dd2aae3402e6537bdf256b4b..bfbac1a6bf203e81e4be1c2e03db7bca556de40e 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // aux-build:union.rs
 
 extern crate union;
index dd16bf2e4a38e0e9c622b342fcdf4d440fc5298c..fb54b8030df914ecc33a468c5b9b6f8e3bd53cf8 100644 (file)
@@ -8,6 +8,8 @@
 // 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(Clone, Copy)]
index 77270364bb5e969ff480721a7409dd6ec0915c4d..aa583e6cead9c2b17bb5eaa9de03550298bf1ad7 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 union U {
     a: u64,
     b: u64,
index a380b01dcc13f9f155ecda451c6398fcf198aa89..c8eda7545d92b2ae48b0379fac610ce7b329ec71 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(const_fn)]
 
 type Field1 = (i32, u32);
index 8ff6f17394f9e91ba7ca8eae612f48c25455f971..6f80172dd19491de8d792e4402077540cc7aef49 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Some traits can be derived for unions.
 
 #![feature(untagged_unions)]
index 0da68e43f32a1e91fb99ed4eddd7b63cc2d0bbcd..dcd968d93425b01b01dda12e073b117f876ad209 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Drop works for union itself.
 
 #![feature(untagged_unions)]
index 2ca68dc3b6e39dd0102e843d78e256eb20bae9b7..edf21b10245400198b830c30a68ba1c86d572212 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 // Drop works for union itself.
 
 #![feature(untagged_unions)]
index 9293805edbf832c92c3dc4e7702a54686b3bff3b..eccd155958467e52967b51a3f19e3aa1824ac0d3 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(untagged_unions)]
 
 union MaybeItem<T: Iterator> {
index a88fdc57a3ef40eaceb83a1da3c7c930b78eaead..d9300b5b9f5667621526ebf1c562c55cab555819 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 union U {
     a: u8,
 }
index b6141ae82c37139d3700569cb3fac5d7ac6ab4eb..f4ffa2edbde09cba334651fecf6bdf014686096d 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 macro_rules! duplicate {
    ($i: item) => {
         mod m1 {
index 6295c6120c5ba13d73667b686750bf8396e7d3ef..4f2456e43bad1b1e2eaa1f998e90400b8b0e1994 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(core_intrinsics)]
 #![feature(untagged_unions)]
 
index 9389a6237bca61cbdf7d601ff095c2a3d146a900..b788b6b64d5d2c6b263aa4f16044a3701e7d52c8 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(untagged_unions)]
 
 #[repr(C)]
index 61bb04fece0952ce42dbef7808971997ed3e3ed4..f3e46d039bb948246b2c8ac17a08923337195e5f 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(untagged_unions)]
 #![feature(repr_packed)]
 
index 81607236c9ecd295fd45e722d301fd57ae310977..f48d8e0d91b07313d7f6a61b409bd55520e58390 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #[repr(u32)]
 enum Tag { I, F }
 
index c1e408cc02ac6764aa95fc848f28fe26ddcf4549..6e732f24b2504f0a2ad3b841f6304ace5453f9ea 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 use std::fmt;
 
 union U {
index 7233687aaab532677de571dfdd7b7eab10b485b5..1fc20bef9e0176823cd2ae56f7d5329d1e4963b8 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 extern crate core;
 use core::f32;
 
index 6cb7e82d6b740546bc4380150b1d9a23fc08bac0..5f1ac7b51eeb011313f21dc403831f915507a91a 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(untagged_unions)]
 #![allow(dead_code)]
 #![allow(unions_with_drop_fields)]
index 6ed39a78648a26935fb52a91a4e4fdd09da31591..8b96c30940f07a4e4c848eb066601807709a2eb6 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(unsized_locals)]
 
 fn main() {
index 0b1aa6225eb50ef1e520a23bce26cd0964fa657e..9643afaee6276d203a2d2b1a56ea28bdcb901043 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(unsized_locals)]
 
 fn main() {
index 9a5e534db25b33a1681d2b8c5e0e16cce6122877..06919a07c756b51ade6f03f4b72042ec47a4b1cc 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(unsized_tuple_coercion, unsized_locals)]
 
 struct A<X: ?Sized>(X);
index 0314fe1d686621bf483a64ae773ee0b5e40bac39..82036c5797d79ab7138dcb24dadd3a7e64e0b3cf 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// run-pass
+
 #![feature(unsized_locals)]
 
 pub fn f0(_f: dyn FnOnce()) {}