]> git.lizzy.rs Git - rust.git/commitdiff
tests: Add missing run-pass annotations
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Fri, 26 Jul 2019 21:54:25 +0000 (00:54 +0300)
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Sat, 27 Jul 2019 15:56:13 +0000 (18:56 +0300)
682 files changed:
src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs
src/test/run-pass-fulldeps/compiler-calls.rs
src/test/run-pass-fulldeps/create-dir-all-bare.rs
src/test/run-pass-fulldeps/derive-no-std-not-supported.rs
src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs
src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs
src/test/run-pass-fulldeps/deriving-global.rs
src/test/run-pass-fulldeps/deriving-hygiene.rs
src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs
src/test/run-pass-fulldeps/empty-struct-braces-derive.rs
src/test/run-pass-fulldeps/extern-mod-syntax.rs
src/test/run-pass-fulldeps/issue-11881.rs
src/test/run-pass-fulldeps/issue-13560.rs
src/test/run-pass-fulldeps/issue-14021.rs
src/test/run-pass-fulldeps/issue-15149.rs
src/test/run-pass-fulldeps/issue-15778-pass.rs
src/test/run-pass-fulldeps/issue-15924.rs
src/test/run-pass-fulldeps/issue-16822.rs
src/test/run-pass-fulldeps/issue-18502.rs
src/test/run-pass-fulldeps/issue-24106.rs
src/test/run-pass-fulldeps/issue-24972.rs
src/test/run-pass-fulldeps/issue-2804.rs
src/test/run-pass-fulldeps/issue-40001.rs
src/test/run-pass-fulldeps/issue-4016.rs
src/test/run-pass-fulldeps/issue-4036.rs
src/test/run-pass-fulldeps/linkage-visibility.rs
src/test/run-pass-fulldeps/llvm-pass-plugin.rs
src/test/run-pass-fulldeps/lto-syntax-extension.rs
src/test/run-pass-fulldeps/macro-crate-multi-decorator.rs
src/test/run-pass-fulldeps/mod_dir_path_canonicalized.rs
src/test/run-pass-fulldeps/mod_dir_simple/test.rs
src/test/run-pass-fulldeps/myriad-closures.rs
src/test/run-pass-fulldeps/newtype_index.rs
src/test/run-pass-fulldeps/outlive-expansion-phase.rs
src/test/run-pass-fulldeps/plugin-args-1.rs
src/test/run-pass-fulldeps/plugin-args-2.rs
src/test/run-pass-fulldeps/plugin-args-3.rs
src/test/run-pass-fulldeps/pprust-expr-roundtrip.rs
src/test/run-pass-fulldeps/regions-mock-tcx.rs
src/test/run-pass-fulldeps/rename-directory.rs
src/test/run-pass-fulldeps/roman-numerals-macro.rs
src/test/run-pass-fulldeps/rustc_encodable_hygiene.rs
src/test/run-pass-fulldeps/stdio-from.rs
src/test/run-pass-fulldeps/switch-stdout.rs
src/test/run-pass-fulldeps/undef_mask.rs
src/test/run-pass/abi-sysv64-arg-passing.rs
src/test/run-pass/abi-sysv64-register-usage.rs
src/test/run-pass/abort-on-c-abi.rs
src/test/run-pass/alias-uninit-value.rs
src/test/run-pass/align-with-extern-c-fn.rs
src/test/run-pass/alignment-gep-tup-like-1.rs
src/test/run-pass/alloca-from-derived-tydesc.rs
src/test/run-pass/allocator-alloc-one.rs
src/test/run-pass/anon-extern-mod.rs
src/test/run-pass/argument-passing.rs
src/test/run-pass/artificial-block.rs
src/test/run-pass/as-precedence.rs
src/test/run-pass/asm-concat-src.rs
src/test/run-pass/asm-in-moved.rs
src/test/run-pass/asm-in-out-operand.rs
src/test/run-pass/asm-indirect-memory.rs
src/test/run-pass/asm-out-assign.rs
src/test/run-pass/assert-eq-trailing-comma.rs
src/test/run-pass/assert-escape.rs
src/test/run-pass/assert-ne-trailing-comma.rs
src/test/run-pass/assign-assign.rs
src/test/run-pass/assoc-oddities-3.rs
src/test/run-pass/associated-item-long-paths.rs
src/test/run-pass/associated-types/associated-types-from-supertrait.rs
src/test/run-pass/atomic-access-bool.rs
src/test/run-pass/atomic-alignment.rs
src/test/run-pass/atomic-compare_exchange.rs
src/test/run-pass/atomic-print.rs
src/test/run-pass/attr-main-2.rs
src/test/run-pass/attr-main.rs
src/test/run-pass/attr-shebang.rs
src/test/run-pass/attr-start.rs
src/test/run-pass/attr.rs
src/test/run-pass/augmented-assignments-feature-gate-cross.rs
src/test/run-pass/augmented-assignments-feature-gate.rs
src/test/run-pass/augmented-assignments.rs
src/test/run-pass/auto-instantiate.rs
src/test/run-pass/auto-is-contextual.rs
src/test/run-pass/autobind.rs
src/test/run-pass/backtrace-debuginfo-aux.rs
src/test/run-pass/backtrace-debuginfo.rs
src/test/run-pass/backtrace.rs
src/test/run-pass/bare-fn-implements-fn-mut.rs
src/test/run-pass/bare-static-string.rs
src/test/run-pass/big-literals.rs
src/test/run-pass/binary-minus-without-space.rs
src/test/run-pass/bind-by-move.rs
src/test/run-pass/binding/fn-arg-incomplete-pattern-drop-order.rs
src/test/run-pass/binops-issue-22743.rs
src/test/run-pass/binops.rs
src/test/run-pass/bitwise.rs
src/test/run-pass/blind-item-local-shadow.rs
src/test/run-pass/blind-item-mixed-crate-use-item.rs
src/test/run-pass/blind-item-mixed-use-item.rs
src/test/run-pass/block-arg-call-as.rs
src/test/run-pass/block-arg.rs
src/test/run-pass/block-explicit-types.rs
src/test/run-pass/block-expr-precedence.rs
src/test/run-pass/block-fn-coerce.rs
src/test/run-pass/block-iter-1.rs
src/test/run-pass/block-iter-2.rs
src/test/run-pass/bool-not.rs
src/test/run-pass/bool.rs
src/test/run-pass/borrow-by-val-method-receiver.rs
src/test/run-pass/box-new.rs
src/test/run-pass/bug-7183-generics.rs
src/test/run-pass/bug-7295.rs
src/test/run-pass/builtin-clone-unwind.rs
src/test/run-pass/builtin-clone.rs
src/test/run-pass/builtin-superkinds-capabilities-transitive.rs
src/test/run-pass/builtin-superkinds-capabilities-xc.rs
src/test/run-pass/builtin-superkinds-capabilities.rs
src/test/run-pass/builtin-superkinds-in-metadata.rs
src/test/run-pass/builtin-superkinds-phantom-typaram.rs
src/test/run-pass/builtin-superkinds-simple.rs
src/test/run-pass/builtin-superkinds-typaram.rs
src/test/run-pass/byte-literals.rs
src/test/run-pass/c-stack-as-value.rs
src/test/run-pass/c-stack-returning-int64.rs
src/test/run-pass/cabi-int-widening.rs
src/test/run-pass/can-copy-pod.rs
src/test/run-pass/cancel-clean-via-immediate-rvalue-ref.rs
src/test/run-pass/cast-does-fallback.rs
src/test/run-pass/cast-region-to-uint.rs
src/test/run-pass/cast-rfc0401-vtable-kinds.rs
src/test/run-pass/cast-rfc0401.rs
src/test/run-pass/cast-to-infer-ty.rs
src/test/run-pass/cast.rs
src/test/run-pass/catch-unwind-bang.rs
src/test/run-pass/cell-does-not-clone.rs
src/test/run-pass/chalkify/builtin-copy-clone.rs
src/test/run-pass/chalkify/inherent_impl.rs
src/test/run-pass/chalkify/projection.rs
src/test/run-pass/chalkify/super_trait.rs
src/test/run-pass/chalkify/trait_implied_bound.rs
src/test/run-pass/chalkify/type_implied_bound.rs
src/test/run-pass/char.rs
src/test/run-pass/char_unicode.rs
src/test/run-pass/check-static-recursion-foreign.rs
src/test/run-pass/check_const-feature-gated.rs
src/test/run-pass/child-outlives-parent.rs
src/test/run-pass/cleanup-arm-conditional.rs
src/test/run-pass/cleanup-rvalue-during-if-and-while.rs
src/test/run-pass/cleanup-rvalue-for-scope.rs
src/test/run-pass/cleanup-rvalue-scopes.rs
src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs
src/test/run-pass/cleanup-shortcircuit.rs
src/test/run-pass/clone-with-exterior.rs
src/test/run-pass/close-over-big-then-small-data.rs
src/test/run-pass/cmp-default.rs
src/test/run-pass/codegen-object-shim.rs
src/test/run-pass/collections-const-new.rs
src/test/run-pass/command-exec.rs
src/test/run-pass/command-pre-exec.rs
src/test/run-pass/command-uid-gid.rs
src/test/run-pass/complex.rs
src/test/run-pass/concat.rs
src/test/run-pass/consts/const-int-conversion.rs
src/test/run-pass/consts/const-int-overflowing.rs
src/test/run-pass/consts/const-int-rotate.rs
src/test/run-pass/consts/const-int-saturating-arith.rs
src/test/run-pass/consts/const-int-sign.rs
src/test/run-pass/consts/const-int-wrapping.rs
src/test/run-pass/consts/const-needs_drop.rs
src/test/run-pass/core-run-destroy.rs
src/test/run-pass/crate-leading-sep.rs
src/test/run-pass/crate-method-reexport-grrrrrrr.rs
src/test/run-pass/crate-name-attr-used.rs
src/test/run-pass/crt-static-off-works.rs
src/test/run-pass/crt-static-on-works.rs
src/test/run-pass/cycle-generic-bound.rs
src/test/run-pass/dead-code-alias-in-pat.rs
src/test/run-pass/dead-code-leading-underscore.rs
src/test/run-pass/debuginfo-lto.rs
src/test/run-pass/deep.rs
src/test/run-pass/default-alloc-error-hook.rs
src/test/run-pass/default-associated-types.rs
src/test/run-pass/default-method-parsing.rs
src/test/run-pass/default-method-simple.rs
src/test/run-pass/defaults-well-formedness.rs
src/test/run-pass/deprecation-in-force-unstable.rs
src/test/run-pass/deref-lval.rs
src/test/run-pass/deref-mut-on-ref.rs
src/test/run-pass/deref-on-ref.rs
src/test/run-pass/deref-rc.rs
src/test/run-pass/deref.rs
src/test/run-pass/dispatch_from_dyn_zst.rs
src/test/run-pass/diverging-fallback-control-flow.rs
src/test/run-pass/diverging-fallback-method-chain.rs
src/test/run-pass/diverging-fallback-option.rs
src/test/run-pass/double-ref.rs
src/test/run-pass/duplicated-external-mods.rs
src/test/run-pass/early-ret-binop-add.rs
src/test/run-pass/early-vtbl-resolution.rs
src/test/run-pass/edition-keywords-2015-2015.rs
src/test/run-pass/edition-keywords-2015-2018.rs
src/test/run-pass/edition-keywords-2018-2015.rs
src/test/run-pass/edition-keywords-2018-2018.rs
src/test/run-pass/else-if.rs
src/test/run-pass/empty-allocation-non-null.rs
src/test/run-pass/empty-allocation-rvalue-non-null.rs
src/test/run-pass/empty-type-parameter-list.rs
src/test/run-pass/empty_global_asm.rs
src/test/run-pass/env-args-reverse-iterator.rs
src/test/run-pass/env-funky-keys.rs
src/test/run-pass/env-home-dir.rs
src/test/run-pass/env-null-vars.rs
src/test/run-pass/env-vars.rs
src/test/run-pass/epoch-gate-feature.rs
src/test/run-pass/eq-multidispatch.rs
src/test/run-pass/estr-uniq.rs
src/test/run-pass/exec-env.rs
src/test/run-pass/existential_type.rs
src/test/run-pass/explicit-i-suffix.rs
src/test/run-pass/export-glob-imports-target.rs
src/test/run-pass/export-multi.rs
src/test/run-pass/export-non-interference2.rs
src/test/run-pass/export-non-interference3.rs
src/test/run-pass/expr-block-fn.rs
src/test/run-pass/expr-block-generic-unique1.rs
src/test/run-pass/expr-block-generic-unique2.rs
src/test/run-pass/expr-block-generic.rs
src/test/run-pass/expr-block-slot.rs
src/test/run-pass/expr-block-unique.rs
src/test/run-pass/expr-block.rs
src/test/run-pass/expr-copy.rs
src/test/run-pass/expr-empty-ret.rs
src/test/run-pass/expr-fn.rs
src/test/run-pass/expr-if-generic.rs
src/test/run-pass/expr-if-panic-all.rs
src/test/run-pass/expr-if-panic.rs
src/test/run-pass/expr-if-unique.rs
src/test/run-pass/expr-if.rs
src/test/run-pass/expr-scope.rs
src/test/run-pass/ext-expand-inner-exprs.rs
src/test/run-pass/extend-for-unit.rs
src/test/run-pass/exterior.rs
src/test/run-pass/extoption_env-not-defined.rs
src/test/run-pass/fact.rs
src/test/run-pass/fat-lto.rs
src/test/run-pass/fat-ptr-cast.rs
src/test/run-pass/fds-are-cloexec.rs
src/test/run-pass/filter-block-view-items.rs
src/test/run-pass/fixup-deref-mut.rs
src/test/run-pass/format-hygiene.rs
src/test/run-pass/format-nan.rs
src/test/run-pass/format-no-std.rs
src/test/run-pass/format-ref-cell.rs
src/test/run-pass/fsu-moves-and-copies.rs
src/test/run-pass/fun-call-variants.rs
src/test/run-pass/fun-indirect-call.rs
src/test/run-pass/generator/addassign-yield.rs
src/test/run-pass/generator/drop-and-replace.rs
src/test/run-pass/generator/overlap-locals.rs
src/test/run-pass/generator/size-moved-locals.rs
src/test/run-pass/global-scope.rs
src/test/run-pass/guards-not-exhaustive.rs
src/test/run-pass/guards.rs
src/test/run-pass/hashmap-memory.rs
src/test/run-pass/hello.rs
src/test/run-pass/html-literals.rs
src/test/run-pass/if-bot.rs
src/test/run-pass/if-check.rs
src/test/run-pass/if-ret.rs
src/test/run-pass/if-ret.stderr
src/test/run-pass/ifmt.rs
src/test/run-pass/ignore-all-the-things.rs
src/test/run-pass/impl-for-never.rs
src/test/run-pass/impl-inherent-non-conflict.rs
src/test/run-pass/impl-not-adjacent-to-type.rs
src/test/run-pass/impl-privacy-xc-1.rs
src/test/run-pass/impl-privacy-xc-2.rs
src/test/run-pass/impl-trait-in-bindings.rs
src/test/run-pass/impl-trait-in-bindings.stderr
src/test/run-pass/in-band-lifetimes.rs
src/test/run-pass/inc-range-pat.rs
src/test/run-pass/infer-fn-tail-expr.rs
src/test/run-pass/inherit-env.rs
src/test/run-pass/init-large-type.rs
src/test/run-pass/init-res-into-things.rs
src/test/run-pass/inlined-main.rs
src/test/run-pass/inner-attrs-on-impl.rs
src/test/run-pass/inner-module.rs
src/test/run-pass/inner-static.rs
src/test/run-pass/instantiable.rs
src/test/run-pass/invalid_const_promotion.rs
src/test/run-pass/invoke-external-foreign.rs
src/test/run-pass/irrefutable-unit.rs
src/test/run-pass/issues/issue-24010.rs
src/test/run-pass/issues/issue-48006.rs
src/test/run-pass/issues/issue-53728.rs
src/test/run-pass/issues/issue-53843.rs
src/test/run-pass/issues/issue-54462-mutable-noalias-correctness.rs
src/test/run-pass/issues/issue-54467.rs
src/test/run-pass/issues/issue-54477-reduced-2.rs
src/test/run-pass/issues/issue-55376.rs
src/test/run-pass/issues/issue-56237.rs
src/test/run-pass/issues/issue-58212.rs
src/test/run-pass/issues/issue-58435-ice-with-assoc-const.rs
src/test/run-pass/issues/issue-61696.rs
src/test/run-pass/issues/issue-61894.rs
src/test/run-pass/istr.rs
src/test/run-pass/item-name-overload.rs
src/test/run-pass/keyword-changes-2012-07-31.rs
src/test/run-pass/kindck-implicit-close-over-mut-var.rs
src/test/run-pass/kinds-in-metadata.rs
src/test/run-pass/lambda-infer-unresolved.rs
src/test/run-pass/lambda-var-hygiene.rs
src/test/run-pass/large-records.rs
src/test/run-pass/last-use-in-block.rs
src/test/run-pass/last-use-in-cap-clause.rs
src/test/run-pass/last-use-is-capture.rs
src/test/run-pass/lazy-and-or.rs
src/test/run-pass/lazy-init.rs
src/test/run-pass/leak-unique-as-tydesc.rs
src/test/run-pass/lex-bare-cr-nondoc-comment.rs
src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs
src/test/run-pass/lexical-scoping.rs
src/test/run-pass/lib-defaults.rs
src/test/run-pass/link-cfg-works.rs
src/test/run-pass/link-section.rs
src/test/run-pass/linkage1.rs
src/test/run-pass/lint-cap.rs
src/test/run-pass/lint-dead-code-associated-type.rs
src/test/run-pass/lint-dead-code-variant.rs
src/test/run-pass/lint-expr-stmt-attrs-for-early-lints.rs
src/test/run-pass/lint-unknown-lints-at-crate-level.rs
src/test/run-pass/list.rs
src/test/run-pass/liveness-assign-imm-local-after-ret.rs
src/test/run-pass/llvm-pr32379.rs
src/test/run-pass/log-err-phi.rs
src/test/run-pass/log-knows-the-names-of-variants-in-std.rs
src/test/run-pass/log-knows-the-names-of-variants.rs
src/test/run-pass/log-poly.rs
src/test/run-pass/logging-only-prints-once.rs
src/test/run-pass/logging_before_rt_started.rs
src/test/run-pass/long-while.rs
src/test/run-pass/lto-many-codegen-units.rs
src/test/run-pass/lto-still-runs-thread-dtors.rs
src/test/run-pass/lub-glb-with-unbound-infer-var.rs
src/test/run-pass/macro-quote-cond.rs
src/test/run-pass/macro-quote-test.rs
src/test/run-pass/macros/issue-25274.rs
src/test/run-pass/max-min-classes.rs
src/test/run-pass/methods/method-probe-no-guessing-dyn-trait.rs
src/test/run-pass/mid-path-type-params.rs
src/test/run-pass/minmax-stability-issue-23687.rs
src/test/run-pass/mir/mir_static_subtype.rs
src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_f32.rs
src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_f64.rs
src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_float.rs
src/test/run-pass/monad.rs
src/test/run-pass/monomorphize-abi-alignment.rs
src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs
src/test/run-pass/mpsc_stress.rs
src/test/run-pass/msvc-data-only.rs
src/test/run-pass/multi-panic.rs
src/test/run-pass/multibyte.rs
src/test/run-pass/multidispatch-conditional-impl-not-considered.rs
src/test/run-pass/multidispatch1.rs
src/test/run-pass/multidispatch2.rs
src/test/run-pass/multiline-comment.rs
src/test/run-pass/multiple-reprs.rs
src/test/run-pass/mut-function-arguments.rs
src/test/run-pass/mut-vstore-expr.rs
src/test/run-pass/mutual-recursion-group.rs
src/test/run-pass/native-print-no-runtime.rs
src/test/run-pass/negative.rs
src/test/run-pass/nested-block-comment.rs
src/test/run-pass/nested-class.rs
src/test/run-pass/nested-function-names-issue-8587.rs
src/test/run-pass/nested_item_main.rs
src/test/run-pass/never-result.rs
src/test/run-pass/never-type-rvalues.rs
src/test/run-pass/never_coercions.rs
src/test/run-pass/new-box-syntax.rs
src/test/run-pass/new-box.rs
src/test/run-pass/new-impl-syntax.rs
src/test/run-pass/new-import-syntax.rs
src/test/run-pass/new-style-constants.rs
src/test/run-pass/new-unicode-escapes.rs
src/test/run-pass/new-unsafe-pointers.rs
src/test/run-pass/newlambdas-ret-infer.rs
src/test/run-pass/newlambdas-ret-infer2.rs
src/test/run-pass/newlambdas.rs
src/test/run-pass/newtype-polymorphic.rs
src/test/run-pass/newtype-temporary.rs
src/test/run-pass/newtype.rs
src/test/run-pass/nil-decl-in-foreign.rs
src/test/run-pass/no-core-1.rs
src/test/run-pass/no-core-2.rs
src/test/run-pass/no-landing-pads.rs
src/test/run-pass/no-std-1.rs
src/test/run-pass/no-std-2.rs
src/test/run-pass/no-std-3.rs
src/test/run-pass/no-stdio.rs
src/test/run-pass/non-built-in-quote.rs
src/test/run-pass/non-legacy-modes.rs
src/test/run-pass/non_modrs_mods/foors_mod.rs
src/test/run-pass/non_modrs_mods/foors_mod/inline/somename.rs
src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs
src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs
src/test/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs
src/test/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs
src/test/run-pass/non_modrs_mods/modrs_mod/inline/somename.rs
src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs
src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs
src/test/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs
src/test/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs
src/test/run-pass/non_modrs_mods/modrs_mod/mod.rs
src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs
src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs
src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs
src/test/run-pass/nul-characters.rs
src/test/run-pass/nullable-pointer-ffi-compat.rs
src/test/run-pass/nullable-pointer-iotareduction.rs
src/test/run-pass/nullable-pointer-size.rs
src/test/run-pass/object-lifetime-default-default-to-static.rs
src/test/run-pass/object-lifetime-default-from-rptr-box.rs
src/test/run-pass/object-lifetime-default-from-rptr-mut.rs
src/test/run-pass/object-lifetime-default-from-rptr.rs
src/test/run-pass/object-method-numbering.rs
src/test/run-pass/objects-coerce-freeze-borrored.rs
src/test/run-pass/objects-owned-object-borrowed-method-headerless.rs
src/test/run-pass/objects-owned-object-owned-method.rs
src/test/run-pass/once-move-out-on-heap.rs
src/test/run-pass/one-tuple.rs
src/test/run-pass/op-assign-builtins-by-ref.rs
src/test/run-pass/opeq.rs
src/test/run-pass/operator-associativity.rs
src/test/run-pass/operator-multidispatch.rs
src/test/run-pass/operator-overloading.rs
src/test/run-pass/optimization-fuel-0.rs
src/test/run-pass/optimization-fuel-1.rs
src/test/run-pass/option-ext.rs
src/test/run-pass/option-unwrap.rs
src/test/run-pass/out-of-stack.rs
src/test/run-pass/out-pointer-aliasing.rs
src/test/run-pass/output-slot-variants.rs
src/test/run-pass/over-constrained-vregs.rs
src/test/run-pass/overlap-doesnt-conflict-with-specialization.rs
src/test/run-pass/overlap-permitted-for-annotated-marker-traits.rs
src/test/run-pass/owned-implies-static.rs
src/test/run-pass/packed/packed-with-inference-vars-issue-61402.rs
src/test/run-pass/panic-uninitialized-zeroed.rs
src/test/run-pass/paren-free.rs
src/test/run-pass/parse-assoc-type-lt.rs
src/test/run-pass/parse-panic.rs
src/test/run-pass/parser-unicode-whitespace.rs
src/test/run-pass/path.rs
src/test/run-pass/paths-containing-nul.rs
src/test/run-pass/print-stdout-eprint-stderr.rs
src/test/run-pass/proc-macro/add-impl.rs
src/test/run-pass/proc-macro/append-impl.rs
src/test/run-pass/proc-macro/attr-args.rs
src/test/run-pass/proc-macro/attr-cfg.rs
src/test/run-pass/proc-macro/attr-on-trait.rs
src/test/run-pass/proc-macro/attr-stmt-expr.rs
src/test/run-pass/proc-macro/bang-macro.rs
src/test/run-pass/proc-macro/call-site.rs
src/test/run-pass/proc-macro/count_compound_ops.rs
src/test/run-pass/proc-macro/crate-var.rs
src/test/run-pass/proc-macro/custom-attr-only-one-derive.rs
src/test/run-pass/proc-macro/derive-attr-cfg.rs
src/test/run-pass/proc-macro/derive-b.rs
src/test/run-pass/proc-macro/derive-same-struct.rs
src/test/run-pass/proc-macro/derive-test.rs
src/test/run-pass/proc-macro/derive-two-attrs.rs
src/test/run-pass/proc-macro/derive-union.rs
src/test/run-pass/proc-macro/empty-crate.rs
src/test/run-pass/proc-macro/expand-with-a-macro.rs
src/test/run-pass/proc-macro/gen-lifetime-token.rs
src/test/run-pass/proc-macro/hygiene_example.rs
src/test/run-pass/proc-macro/issue-39889.rs
src/test/run-pass/proc-macro/issue-42708.rs
src/test/run-pass/proc-macro/issue-50061.rs
src/test/run-pass/proc-macro/lifetimes.rs
src/test/run-pass/proc-macro/load-two.rs
src/test/run-pass/proc-macro/macros-in-extern.rs
src/test/run-pass/proc-macro/modify-ast.rs
src/test/run-pass/proc-macro/negative-token.rs
src/test/run-pass/proc-macro/not-joint.rs
src/test/run-pass/proc-macro/smoke.rs
src/test/run-pass/proc-macro/span-api-tests.rs
src/test/run-pass/proc-macro/struct-field-macro.rs
src/test/run-pass/proc_macro.rs
src/test/run-pass/project-cache-issue-31849.rs
src/test/run-pass/project-cache-issue-37154.rs
src/test/run-pass/project-defer-unification.rs
src/test/run-pass/ptr-coercion.rs
src/test/run-pass/pure-sum.rs
src/test/run-pass/purity-infer.rs
src/test/run-pass/range-type-infer.rs
src/test/run-pass/range.rs
src/test/run-pass/range_inclusive.rs
src/test/run-pass/range_inclusive_gate.rs
src/test/run-pass/ranges-precedence.rs
src/test/run-pass/raw-fat-ptr.rs
src/test/run-pass/raw-str.rs
src/test/run-pass/rcvr-borrowed-to-region.rs
src/test/run-pass/reachable-unnameable-items.rs
src/test/run-pass/reachable-unnameable-type-alias.rs
src/test/run-pass/readalias.rs
src/test/run-pass/realloc-16687.rs
src/test/run-pass/reexport-should-still-link.rs
src/test/run-pass/reexport-star.rs
src/test/run-pass/reexport-test-harness-main.rs
src/test/run-pass/refer-to-other-statics-by-value.rs
src/test/run-pass/repeat-expr-in-static.rs
src/test/run-pass/repr_c_int_align.rs
src/test/run-pass/resolve-issue-2428.rs
src/test/run-pass/resolve-pseudo-shadowing.rs
src/test/run-pass/resource-assign-is-not-copy.rs
src/test/run-pass/resource-destruct.rs
src/test/run-pass/result-opt-conversions.rs
src/test/run-pass/ret-bang.rs
src/test/run-pass/ret-none.rs
src/test/run-pass/return-nil.rs
src/test/run-pass/rmeta.rs
src/test/run-pass/running-with-no-runtime.rs
src/test/run-pass/rustc-rust-log.rs
src/test/run-pass/rvalue-static-promotion.rs
src/test/run-pass/segfault-no-out-of-stack.rs
src/test/run-pass/semistatement-in-lambda.rs
src/test/run-pass/seq-compare.rs
src/test/run-pass/shadow.rs
src/test/run-pass/shadowed-use-visibility.rs
src/test/run-pass/shebang.rs
src/test/run-pass/signal-alternate-stack-cleanup.rs
src/test/run-pass/signal-exit-status.rs
src/test/run-pass/sigpipe-should-be-ignored.rs
src/test/run-pass/simple-infer.rs
src/test/run-pass/simple_global_asm.rs
src/test/run-pass/size-and-align.rs
src/test/run-pass/sized-borrowed-pointer.rs
src/test/run-pass/sized-owned-pointer.rs
src/test/run-pass/sleep.rs
src/test/run-pass/slowparse-bstring.rs
src/test/run-pass/slowparse-string.rs
src/test/run-pass/sse2.rs
src/test/run-pass/stable-addr-of.rs
src/test/run-pass/stack-probes-lto.rs
src/test/run-pass/stack-probes.rs
src/test/run-pass/stdio-is-blocking.rs
src/test/run-pass/str-concat.rs
src/test/run-pass/str-multiline.rs
src/test/run-pass/string-box-error.rs
src/test/run-pass/string-escapes.rs
src/test/run-pass/struct-ctor-mangling.rs
src/test/run-pass/structured-compare.rs
src/test/run-pass/super-fast-paren-parsing.rs
src/test/run-pass/super.rs
src/test/run-pass/supported-cast.rs
src/test/run-pass/svh-add-nothing.rs
src/test/run-pass/swap-1.rs
src/test/run-pass/swap-2.rs
src/test/run-pass/swap-overlapping.rs
src/test/run-pass/tail-call-arg-leak.rs
src/test/run-pass/tail-cps.rs
src/test/run-pass/tail-direct.rs
src/test/run-pass/tcp-stress.rs
src/test/run-pass/terminate-in-initializer.rs
src/test/run-pass/test-allow-dead-extern-static-no-warning.rs
src/test/run-pass/test-allow-fail-attr.rs
src/test/run-pass/test-fn-signature-verification-for-explicit-return-type.rs
src/test/run-pass/test-main-not-dead-attr.rs
src/test/run-pass/test-main-not-dead.rs
src/test/run-pass/test-runner-hides-buried-main.rs
src/test/run-pass/test-runner-hides-main.rs
src/test/run-pass/test-runner-hides-start.rs
src/test/run-pass/test-should-fail-good-message.rs
src/test/run-pass/test-vs-cfg-test.rs
src/test/run-pass/thin-lto-global-allocator.rs
src/test/run-pass/thread-local-not-in-prelude.rs
src/test/run-pass/tool_attributes.rs
src/test/run-pass/tool_lints.rs
src/test/run-pass/tool_lints_2018_preview.rs
src/test/run-pass/trailing-comma.rs
src/test/run-pass/traits/principal-less-trait-objects.rs
src/test/run-pass/traits/trait-alias-import.rs
src/test/run-pass/transmute-non-immediate-to-immediate.rs
src/test/run-pass/transmute-specialization.rs
src/test/run-pass/trivial-message.rs
src/test/run-pass/trivial_casts.rs
src/test/run-pass/try-block.rs
src/test/run-pass/try-from-int-error-partial-eq.rs
src/test/run-pass/try-is-identifier-edition2015.rs
src/test/run-pass/try-operator-custom.rs
src/test/run-pass/try-operator-hygiene.rs
src/test/run-pass/try-operator.rs
src/test/run-pass/try-wait.rs
src/test/run-pass/try_from.rs
src/test/run-pass/tup.rs
src/test/run-pass/tuple-index-fat-types.rs
src/test/run-pass/tuple-index.rs
src/test/run-pass/tydesc-name.rs
src/test/run-pass/type-ascription.rs
src/test/run-pass/type-id-higher-rank-2.rs
src/test/run-pass/type-id-higher-rank.rs
src/test/run-pass/type-in-nested-module.rs
src/test/run-pass/type-infer-generalize-ty-var.rs
src/test/run-pass/type-namespace.rs
src/test/run-pass/type-param-constraints.rs
src/test/run-pass/type-param.rs
src/test/run-pass/type-params-in-for-each.rs
src/test/run-pass/type-ptr.rs
src/test/run-pass/type-sizes.rs
src/test/run-pass/type-use-i1-versus-i8.rs
src/test/run-pass/typeck-closure-to-unsafe-fn-ptr.rs
src/test/run-pass/typeck-fn-to-unsafe-fn-ptr.rs
src/test/run-pass/typeck_type_placeholder_1.rs
src/test/run-pass/typeclasses-eq-example-static.rs
src/test/run-pass/typeclasses-eq-example.rs
src/test/run-pass/typeid-intrinsic.rs
src/test/run-pass/typestate-cfg-nesting.rs
src/test/run-pass/typestate-multi-decl.rs
src/test/run-pass/ufcs-polymorphic-paths.rs
src/test/run-pass/ufcs-type-params.rs
src/test/run-pass/unary-minus-suffix-inference.rs
src/test/run-pass/underscore-lifetimes.rs
src/test/run-pass/underscore-method-after-integer.rs
src/test/run-pass/uniform-paths/issue-53691.rs
src/test/run-pass/unify-return-ty.rs
src/test/run-pass/uninit-empty-types.rs
src/test/run-pass/unit.rs
src/test/run-pass/unnamed_argument_mode.rs
src/test/run-pass/unreachable-code-1.rs
src/test/run-pass/unreachable-code.rs
src/test/run-pass/unsafe-coercion.rs
src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs
src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs
src/test/run-pass/unsafe-pointer-assignability.rs
src/test/run-pass/unsized-locals/autoderef.rs
src/test/run-pass/unsized-locals/box-fnonce.rs
src/test/run-pass/unsized-locals/by-value-trait-object-safety-withdefault.rs
src/test/run-pass/unsized-locals/by-value-trait-object-safety.rs
src/test/run-pass/unsized-tuple-impls.rs
src/test/run-pass/unsized.rs
src/test/run-pass/unsized2.rs
src/test/run-pass/unsized3.rs
src/test/run-pass/unused-move-capture.rs
src/test/run-pass/unused-move.rs
src/test/run-pass/unwind-resource.rs
src/test/run-pass/unwind-unique.rs
src/test/run-pass/use-crate-name-alias.rs
src/test/run-pass/use-import-export.rs
src/test/run-pass/use-keyword-2.rs
src/test/run-pass/use-mod.rs
src/test/run-pass/use-nested-groups.rs
src/test/run-pass/use.rs
src/test/run-pass/use_inline_dtor.rs
src/test/run-pass/using-target-feature-unstable.rs
src/test/run-pass/utf8-bom.rs
src/test/run-pass/utf8.rs
src/test/run-pass/utf8_chars.rs
src/test/run-pass/utf8_idents.rs
src/test/run-pass/variadic-ffi.rs
src/test/run-pass/variance-intersection-of-ref-and-opt-ref.rs
src/test/run-pass/variance-iterators-in-libcore.rs
src/test/run-pass/volatile-fat-ptr.rs
src/test/run-pass/wait-forked-but-failed-child.rs
src/test/run-pass/warn-ctypes-inhibit.rs
src/test/run-pass/weak-lang-item.rs
src/test/run-pass/weak-new-uninhabited-issue-48493.rs
src/test/run-pass/weird-exit-code.rs
src/test/run-pass/weird-exprs.rs
src/test/run-pass/wf-bound-region-in-object-type.rs
src/test/run-pass/wrapping-int-api.rs
src/test/run-pass/write-fmt-errors.rs
src/test/run-pass/writealias.rs
src/test/run-pass/wrong-hashset-issue-42918.rs
src/test/run-pass/x86stdcall.rs
src/test/run-pass/x86stdcall2.rs
src/test/run-pass/yield.rs
src/test/run-pass/yield1.rs
src/test/run-pass/yield2.rs
src/test/run-pass/z-crate-attr.rs

index 49e137549c04978dd97d2192cbbb3403598ccc69..c90fe0014326e3d4c9e64f878d7178d599023a0f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 // ignore-cross-compile
 
index b4731bbaeb5cab4fc23551bbfd0b43e6d92a15e4..ea24f5809d52adb40de6104c1ebcc098e4e9b741 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that the Callbacks interface to the compiler works.
 
 // ignore-cross-compile
index da4cde447eb8e6055129bdb31d1941aac6f5ddcf..4554680ec2470adcde055d03b783e55efa1aeb4f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::env;
 use std::fs;
 use std::path::PathBuf;
index 0111043994ef327d9384215c10388441da1ce266..d09b1922a7ba539b597fbfaae07dfb20e306e6f1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![feature(rustc_private)]
 #![no_std]
index 4c00c97edf3901083df706ffdf501ce8c44b4375..877fb57a25132cb1791b95f0a1723028251e3b3f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 
 #![feature(box_syntax)]
index 63e9d7381791e2545b2926082d33106db9e7156f..a35b681641a4bde867cf07eb4f2bafb030bc0e65 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 // This briefly tests the capability of `Cell` and `RefCell` to implement the
 // `Encodable` and `Decodable` traits via `#[derive(Encodable, Decodable)]`
index 5283cab7bde31de858dd1f312fce73a8593ea272..b59d55ff213ce97191a4a1e596c2c1be5ab79392 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(rustc_private)]
 
 extern crate serialize;
index 6fd99931bf67b1a74f94ea82643b8c33d7106924..0d7439ef872467a3e074f2c1484e9498ec7d8b7b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 #![feature(rustc_private)]
 extern crate serialize;
index 27eb70160ba5bb1e7975cdd71bc4a2ba444b037a..cf188d9efa3b2700580c94ce85ffdfabb2d74594 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unknown_lints)]
 // Check that an arena (TypedArena) can carry elements whose drop
 // methods might access borrowed data, as long as the borrowed data
index d80bbca95df568b98cef08a0a533d4df1f729eb3..68b407423aa685b7cf60c0fee4ba22aa58f0bd3a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // `#[derive(Trait)]` works for empty structs/variants with braces or parens.
 
 #![feature(rustc_private)]
index 12373acc365a6a96dc2b92d6cd03b02ae8da91d6..258ab0dbe95628c1fc394aaac8f5f181534b5844 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 #![feature(rustc_private)]
 
index b44be1e90c5dae1f9bb659921888624884a069e6..c8893e629418a9227a07c61182fdde34dd5de42f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(dead_code)]
 #![allow(unused_imports)]
index de2ecbdc988b091c50e5b962d59d1a5f2ed443fd..5f7d647e2301fbd52cbea116505f5e6444e6f40d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-13560-1.rs
 // aux-build:issue-13560-2.rs
 // aux-build:issue-13560-3.rs
index b7ba842e001e0d6c9966e9f31ace1a18243cd251..49fa4492fa1eea64361f6e787ffc25ef7336aa5e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 #![allow(unused_imports)]
 #![feature(rustc_private)]
index 2a62fabf53d3a3e6eda42ce6f11ff061c32054bf..c80628aabc83f5d51ae55d64a0d4c85f3c57ba41 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 // no-prefer-dynamic
 // ignore-cross-compile
index 35152e7f4babd4a6a28c8bc261979e07dbddcb59..91cf5dde0fb36df1822bc19373a5072d47a76993 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:lint-for-crate.rs
 // ignore-stage1
 // compile-flags: -D crate-not-okay
index 9d807533f429d7e16bb39759d61e60bd952e6713..ec33de12ebbeeffbda53becbc8e32d237337546e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 #![allow(unused_must_use)]
 // pretty-expanded FIXME #23616
index bcc10d1641225447b9c0081d31a7436a0295f30f..c611c33affd751a2cff76edadbf8da7577fc2c60 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-16822.rs
 
 extern crate issue_16822 as lib;
index a6e1fc84932cbec77e6be29a144075868e7cfe14..2082ae7a991521c2306f713cc543c2db5b62c401 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-18502.rs
 
 extern crate issue_18502 as fmt;
index e8e85ff33772e1985f206828df99795f6c39f53f..45f0bd5b6796bb33ba62938e56294a73fcd64386 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-24106.rs
 
 extern crate issue_24106;
index ef4efb6218dbdd77bb8759e3edda7afb1a4a8360..0d354aac13787d40f4aaf51f0cf6ab472768270f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![feature(rustc_private)]
 
index d10f72791a26f09592926270161021be87d32bfb..a5345bbcd1465b313939f29d1ddd920d179d9e67 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 #![feature(rustc_private)]
index 1e546e14423f11e18687382f1f29df8dee94fbda..65e188ed1b64336d91dbf9df9da51d41edc9edf1 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-40001-plugin.rs
 // ignore-stage1
 
index 3de7a7cd93669d6fa16a0323be6d560b892b6d3a..fb84acbe645259f02c008fc97a939f12ef80b9ad 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 #![feature(rustc_private)]
index 0cbd8adf977d8b08367952611b83b75657b6d35e..9c9d39142681a44bf57afbf185677a06962562c5 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Issue #4036: Test for an issue that arose around fixing up type inference
 // byproducts in vtable records.
 
index 5315a219d6d1a4476e72f293b461f4ba9136147f..ae46fbc4e8a03b9ad82980559173c64df63506c4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:linkage-visibility.rs
 // ignore-android: FIXME(#10356)
 // ignore-windows: std::dynamic_lib does not work on Windows well
index 411631104a4bc258bf8158537873e352bbc780a8..a9b53fa8c7424258120e839221407bee6075f850 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:llvm-pass-plugin.rs
 // ignore-stage1
 
index 05ce9e0a8df50b2ef9f6d346dd8c8648bb6d6611..135861dd772821d4bcee8cda38b6bdf18ec59b25 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:lto-syntax-extension-lib.rs
 // aux-build:lto-syntax-extension-plugin.rs
 // compile-flags:-C lto
index 573bfca31683fb6e8ff180de85fc6be1034677bd..e396cf016155746082db7b5ee41e626601620779 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(plugin_as_library)]
 #![allow(dead_code)]
 #![allow(unused_variables)]
index a0dca9b1da4d277a6ef8c3e00e0815b12bb15901..8631bcca6d27eae581ec9d3f5ae0a4b256310ff8 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Testing that a libsyntax can parse modules with canonicalized base path
 // ignore-cross-compile
 
index a5e27a3a43c377b939c9ffa758c08426ab460fff..35e26093a2d6233fc67c74073ad1d05b2f983094 100644 (file)
@@ -1 +1,3 @@
+// run-pass
+
 pub fn foo() -> isize { 10 }
index a6d3530f1390235777689ea79b123542ba7ec0ca..310351f50cbc54d9dcb3b995115b81d99fb4960c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This test case tests whether we can handle code bases that contain a high
 // number of closures, something that needs special handling in the MingGW
 // toolchain.
index 1192a44a6eecfd9537f82a48a56ca99ef657ff30..336b584768fadb7e9464c392845c27a35490ff96 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(rustc_private)]
 
 extern crate rustc_data_structures;
index 86aed2511ceb6cb177921307370ac8687ed44dca..752f1da7377cdec8f891551f9a35e05407084307 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:outlive-expansion-phase.rs
 // ignore-stage1
 
index 1bdf004e3052ff8a9c48145a60ac7c5a6a9a57f1..d6437146775fc153e026ba03faacb2e3a7b5c2c5 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:plugin-args.rs
 // ignore-stage1
 
index 83091df058283bec6b631fece03410b988b11225..949f8440379be80e710fd711751f37a190ea05d9 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:plugin-args.rs
 // ignore-stage1
 
index 9cd9bee5a0fe9eec74f12bc299715015eac7937d..efdbcd0bf0d0a63a406e335cbb0e25483f034554 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:plugin-args.rs
 // ignore-stage1
 
index 5716e6d45a0b613652ab0d025d2139df625c7636..09f58521e5d5c4ba84300e5e8d91e8cfbc848f9b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cross-compile
 
 // The general idea of this test is to enumerate all "interesting" expressions and check that
index 8e4e6d1c05865ab22055b59410efc9c25b5108eb..524c94a8555ecad5302767c08477e0a456203152 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_imports)]
 
index 1f2545ddcf2cd1643a177c887e6f4e341873297e..8fc340cb9187214794c071230ae4f8eab2910baf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(unused_imports)]
 // This test can't be a unit test in std,
index 49c12e426fee2c087e7736a7498cbeea558c90b4..5c4ba3158dbd4f51c5cc3a3a9806d91668065c35 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:roman-numerals.rs
 // ignore-stage1
 
index ae232c602cb7d4f60a53661736965e07d34c9a09..42a6153465c295a0c301698bf938b685a8310fac 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(rustc_private)]
 
 #[allow(dead_code)]
index 70e53936b70dde8cef459dd87414161a589eb746..fef9f27fcdffd0addc7ce13de50668ba6e766519 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cross-compile
 
 use std::env;
index 6b16f955902e21a9151b707a5ccea27ca55cc40b..e105637c3da4f358a3266ad9ff5f0bfcc0b9a265 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::env;
 use std::fs::File;
 use std::io::{Read, Write};
index cf6e6f72316384812aa6ed749f7e6d1b66bd751f..0caccad622957d6f536c52d0f7936c64ee527c6c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cross-compile
 // ignore-stage1
 
index fdf0573b5e3ec829db9814d51d57fe647253c73f..d40006eb9b68d462a397ea4cd2cd684548641dae 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Checks if the "sysv64" calling convention behaves the same as the
 // "C" calling convention on platforms where both should be the same
 
index a0d6e968252a2378ae3b06cf3fd0286986e536ed..0c7e2d906b7c1d67e1c0bbc2ff2cfa9b92822589 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Checks if the correct registers are being used to pass arguments
 // when the sysv64 ABI is specified.
 
index 110f3eee1ef81cd34fa26571a0f5db55923ba795..cd7dd1b6a452fdc5d50e18820278bc08061a457e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // Since we mark some ABIs as "nounwind" to LLVM, we must make sure that
 // we never unwind through them.
index c0fd09cbd40fbd5371acc8458f392237ef70de40..932c93245e6f98411145d5117cd8f224eaf712a3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index dca633de3ce306e3c706bdfaa5618807dcdd1093..09abe4fbf7e095f96d245879ecd47a4e4f8d4bb7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 #![allow(unused_variables)]
 
index 7e6ee60e5194cb93ee7450e9d5547ab0785fbf5f..c51c56b08992618171b902bf53459b47d9be0426 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index 55f65806ab0942e2c19afed1f55926a6b720a793..c7f7fbad435eeea9d015061cc54127ea997a9d89 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index 9011426172374f0e2f3629a5acb20105b32f1874..312d5f13b1a4272174fcb26f28a998ecd5b64714 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 
 #![feature(allocator_api, nonnull)]
index 6d7e3f3cd5c1a89be9d8aa435cfff3ad26c96558..37a67876c9170ba7939bf233c0cb067a181937ac 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 // ignore-wasm32-bare no libc to test ffi with
 
index ea18ffe0155661e4a578c2a2f567b491abc59048..74759a4a6bdff0f138627bb2e5580d5ab71844aa 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 struct X {
     x: isize
 }
index dd4d3e575362aa5949f62d2204f225e374c3a99f..2e383e1a7c685d0317d28ced00e0b6960a3cbc93 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn f() -> isize { { return 3; } }
 
 pub fn main() { assert_eq!(f(), 3); }
index 34ff96ea6daf7e291d5cd075cf190de19e7f1720..a9f6fceb08ff093a10ca1bd3328e216ad717e905 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     assert_eq!(3 as usize * 3, 9);
     assert_eq!(3 as (usize) * 3, 9);
index c629519e8fe62a8ba07e648edf1c3b2ae05ec110..c4160bfeca10521220b22d126a34ec0e5c8ec9c7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 // ignore-emscripten no asm
 
index 8726db355551b6b5cfd8e27c3b35f6c22d782a70..6525d2f53b099040ecf8fa80bd9ad3d7fbf42141 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(asm)]
 #![allow(dead_code)]
 
index 148c5b34855b33b89eedd8531f50836560d534b8..13d0363a6a070ca1e0f5d83ad5db35de2d7bba71 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(asm)]
 
 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
index 83b773d86042bc5c5a06f2966a6a90f86fa6414e..2e8011af5029517a7d8541a38e5d1fbb51b50ec9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(asm)]
 
 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
index 5c46cb92c6b10cb5ed8615372e1598feea57719c..ed63d1b4d492a68e252b1c791b5ee7ee5e6ab3ff 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(asm)]
 
 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
index 77f3ec90da42ab4218d712d2f1626f4893511b90..7071f80d7f7babc5131db864b7a9f14cb9749251 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     assert_eq!(1, 1,);
 }
index 01342113bde7543d23d3cba54c6a92615da0d0c0..00e51d42cab9e06a1992e73d5cfdc836dd94f26f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     assert!(r#"☃\backslash"#.contains("\\"));
 }
index f931a04a290864f2caaafd41aeb563838837f7ca..03308db9a1feec614f266d4d32fb88e0384683b5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     assert_ne!(1, 2,);
 }
index ea0337676fc5fe84c8e2047e44b6d8398dd3fb4a..bcf506b398b9e9e6f8b1164c8b4ab3346d5eade6 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Issue 483 - Assignment expressions result in nil
 
 fn test_assign() {
index bd3812596755053e17496e0daac6099e258603ea..cd025dc8beecb73da018230a3611cff42765d772 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn that_odd_parse(c: bool, n: usize) -> u32 {
     let x = 2;
     let a = [1, 2, 3, 4];
index f2d151fc54aca245299f04ecbf63bcf0ea1b1d6c..aad8c487c5a0a7fe666a1531b608617b8a89d097 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::mem::size_of;
 
 // The main point of this test is to ensure that we can parse and resolve
index c040790188d1f50f0aed43833e461ee354f4052c..8f40b94c0999241c4924cac7d81210b3f7d2ac66 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 trait Foo: Iterator<Item = i32> {}
 trait Bar: Foo {}
 
index 8522493232f98dcad580658a7d1238953413cd7d..e9d48bb3b43d82057c1210bbdbeea984b208a171 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 #![feature(atomic_access)]
 use std::sync::atomic::AtomicBool;
index ec1dbf42e4a7fc47c97ad98b526a307734d3ade4..5bda90d2eab02a36e9c4685f225a4674ff2ea3ad 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(cfg_target_has_atomic)]
 #![feature(integer_atomics)]
 
index 77da820e07c56c2dfd3c6b8869d46d2deb6d80f9..9b327eef3c8946be9c4815b7870e679be9073e5a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 
 #![feature(extended_compare_and_swap)]
index ee76ef9b25fb8b82c00c0b8d757504ce9c087f36..ef3453da6891fb51e3362ce6494b39a24c610969 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(deprecated)]
 // ignore-cloudabi no process support
index e0bf6ecc8f1989c8e80ca23f8ca7c3f08c4d96a6..3a51f83ba3b182024f2f04570c06729ef0960c8f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(main)]
 
 pub fn main() {
index 645baf32e0458047dc813bfd6e22ec2a278f8b36..9c4caaa4a42eb8f29bb4f75dede382dac70be994 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(main)]
index 73f1041082825f453ccfd95fc0c650e7071715f9..cce31c9bb7b6b51761bac7442aa0ac39ca111711 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 #![feature(rust1)]
 pub fn main() { }
index 29f86c9b59e99d5288ff77348f34990f3ce2f1cd..6777631484b792b7105d2b85369e5315be1f645d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(start)]
index 645baf32e0458047dc813bfd6e22ec2a278f8b36..9c4caaa4a42eb8f29bb4f75dede382dac70be994 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(main)]
index 566d4522808e3f7913bd8fe65be4333c9310a824..84988feb6f574f1f7783a8df773ee1874415b400 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:augmented_assignments.rs
 
 extern crate augmented_assignments;
index 7809ac8ea967b9c0bfeff0aafd52b32c74adbce2..8e686796fee9bc69002192e2c60a4d3a45c03834 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::ops::AddAssign;
 
 struct Int(i32);
index c26d0ffce446929f3b0a7537a98805d27c06ea6c..fb383cc57a693925d9dbf458cae674373da7059b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 #![deny(unused_assignments)]
 
index ac21409e92c02e0c5532e1a3f30c18b5c2c04511..a58b178287fbaca77ec8906b090de6109915a2bc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #[derive(Debug)]
 struct Pair<T, U> { a: T, b: U }
index 3405cc712d7921e1e2d13f49ac39355c9f4df465..a2ddd5374c08bdb01c08b72ee28b6c23a7252211 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(path_statements)]
 #![allow(dead_code)]
 macro_rules! auto {
index bb38b7afdf6e59bec09c567eaeaa5ba5e3083103..70606a2a200de3a090e07986a8c219ab462677b3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn f<T>(x: Vec<T>) -> T { return x.into_iter().next().unwrap(); }
 
 fn g<F>(act: F) -> isize where F: FnOnce(Vec<isize>) -> isize { return act(vec![1, 2, 3]); }
index 781d6eba5ed28a2e38ca767abdcd9c9d9f28a31a..1411bcf89e87f942a8da33e2da9567cc1309aeac 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-test: not a test, used by backtrace-debuginfo.rs to test file!()
 
 #[inline(never)]
index a2a934513d2f79dfc2a807969eaaeb4533c43d59..8668ec82bfda1a588e64627ec042589329271068 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // We disable tail merging here because it can't preserve debuginfo and thus
 // potentially breaks the backtraces. Also, subtle changes can decide whether
 // tail merging succeeds, so the test might work today but fail tomorrow due to a
index 93e8c9f1729973c64784fc1bb2c57f029e0db2e3..82519332d64822a66e6617b86088f36d63cebbf7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-android FIXME #17520
 // ignore-cloudabi spawning processes is not supported
 // ignore-emscripten spawning processes is not supported
index c06fc702ca7d2af9f8a1df63a3beebfd17de6695..dfead48893e550075917b09e25806ca949d5b3db 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::ops::FnMut;
 
 fn call_f<F:FnMut()>(mut f: F) {
index 8d4782226d50327776e88902372763fd53d9a366..d336dc7c6a083fbac95ba60b9cc4982c96864d43 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let x: &'static str = "foo";
     println!("{}", x);
index 9b1fa2123f91cb05cdd04cd3630522253a0267dc..131de5439b7d465da5caab18c23d6d252ce4eccb 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Catch mistakes in the overflowing literals lint.
 #![deny(overflowing_literals)]
 
index 60d00e7cf54d85eed7d91dd756569a32050edcb4..2fbd5300dd1a9afacfd9b71bbae0983da0ffb092 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that issue #954 stays fixed
 
 
index 82db89468d134e37e65120beab9055e2a8c1139e..f0a9ebdd08c4dd55d50f98733f634f9cf005c147 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::sync::Arc;
 fn dispose(_x: Arc<bool>) { }
 
index 4d5a6fbba28575eb0926315c8a5ec9cd1db01ca4..ea4a9e5afa50157279c76ac8d737e16e329f2ab7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that partially moved from function parameters are dropped after the
 // named bindings that move from them.
 
index 4e95597b67198d87a3489e66bb797a38b3e37a4a..393ba0a56cbc06f37bf7b8615e43c1ff8140ebf2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::ops::Mul;
 
 #[derive(Copy, Clone)]
index b24f8b723fdb70b59b689f5f34a175c67578a67e..a7abf6087b303ef692481c35ea4ce791dc3e45ee 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 // Binop corner cases
 
index 309ccae148780ecbda31ada8a402bd0e5e75fb37..f79ff3c6efb6964d593efc808071fa8c5361987e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[cfg(any(target_pointer_width = "32"))]
 fn target() {
     assert_eq!(-1000isize as usize >> 3_usize, 536870787_usize);
index d88374a351a925075dc1686f6c0d50654c7468f0..942aeb6fdf4019a7e821dc87a5d67bea11562394 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_imports)]
 mod bar {
index 00d171f6e4d43dd4e78b44d30ef6742980c7d404..36d8ab151e4fc2dc9dbd1fbdd087ee3640fad352 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:blind-item-mixed-crate-use-item-foo.rs
 // aux-build:blind-item-mixed-crate-use-item-foo2.rs
 
index e6008206ba8f0e9bdcc8c23ce8840c06a4078bd5..4a39054967b4a78b90d9b5bbba23e50bc6271659 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 mod m {
index 7157cfecf3296f6b2edeca93af60bbe0dc7a0d09..87cf3a487bf433a635dd59f6503e37623cf596cb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_snake_case)]
 
 fn asBlock<F>(f: F) -> usize where F: FnOnce() -> usize {
index 8d5840ae9e79037c76019a241bb0d945af78f88b..bd1385e5c33477bb74f546864814f694dec8d620 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check usage and precedence of block arguments in expressions:
 pub fn main() {
     let v = vec![-1.0f64, 0.0, 1.0, 2.0, 3.0];
index 449a4967580aaded341cf7fe2d090e1f553cfdd5..860fcc8df2101a412828f1296d73deb5a39ae729 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     fn as_buf<T, F>(s: String, f: F) -> T where F: FnOnce(String) -> T { f(s) }
     as_buf("foo".to_string(), |foo: String| -> () { println!("{}", foo) });
index 2be0ac4c44f295440b17eba497b1fee4ba9ac64b..d31eecda9bb3d1c8f959142183f96b6b444505b9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(unused_parens)]
 // This test has some extra semis in it that the pretty-printer won't
index 0fbc1f5178d392783d44e9cea1d901d8330de3f6..fc5f51d46b255ced8bc646a52a669ba84b424f2f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn force<F>(f: F) -> isize where F: FnOnce() -> isize { return f(); }
 
 pub fn main() {
index 8b3fc95f5a15b840e9e6c2966ad626673e2e1a6b..caf0266cff15521509271af78dbe2f06a643fd8e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn iter_vec<T, F>(v: Vec<T> , mut f: F) where F: FnMut(&T) { for x in &v { f(x); } }
 
 pub fn main() {
index 0176f6d26d9f5d4f24df0a3187f44dc2fe8874fb..e90c1ee815aaea4fee81fd4032ba1d01e1fb12da 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn iter_vec<T, F>(v: Vec<T>, mut f: F) where F: FnMut(&T) { for x in &v { f(x); } }
 
 pub fn main() {
index 34865a3676208a43cfad9fcb31993c06bb8f8eb9..84713d6818a3ecc30e8be933d91b54842c5f8f79 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     if !false { assert!((true)); } else { assert!((false)); }
     if !true { assert!((false)); } else { assert!((true)); }
index e6322746f20c2251a58ed3750f2766f42132a46e..92f36c8fd25ad418aa33dbe011a5b5df0609246f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Basic boolean tests
 
 
index 5907f8238af94240be602e4dd704d09362b0f72c..465bef1614d43f63da85d775c653043f373c8b32 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 trait Foo {
     fn foo(self);
 }
index 2d177bcf9276c408d52d236371e4ed04ae1a98b3..be1a40cf779dab2b6774c0cc3f22d67121964936 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 fn main() {
index 72cfe1973a87832e625ff06a1ce44d6e2ec1c477..f53a1736127432c3802de76ea7495bbe25f5452d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 trait Speak : Sized {
     fn say(&self, s:&str) -> String;
     fn hi(&self) -> String { hello(self) }
index b6dea6c82dc1a348c19fcecfa3ef85176af1e076..156ff2ee82f47668cf325f7e09b3f03e2ffaa6e4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 pub trait Foo<T> {
index fa278082912cb2ceed8c24efec47eca6a182aa2b..339bcfa1060a48e6a3c560176a987535317c2230 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 #![allow(unused_imports)]
 // ignore-wasm32-bare compiled with panic=abort by default
index 2a9b98a6e338dd579c286a0cbd37042a1bcdbd29..0874d5bc39038d70fe09142cd6aeb29a873996ca 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that `Clone` is correctly implemented for builtin types.
 // Also test that cloning an array or a tuple is done right, i.e.
 // each component is cloned.
index 8ff70036ed2a09ede84775e004ce6a389eec083d..1f997d37122c473a56a4a61b63fbff71708a152b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests "transitivity" of super-builtin-kinds on traits. Here, if
 // we have a Foo, we know we have a Bar, and if we have a Bar, we
 // know we have a Send. So if we have a Foo we should know we have
index 7af41cbf50ba5ed516514a7e093e3fc6b2373301..8416bb3a3773f8bf347d0d35f25afefb7ae5ba82 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:trait_superkinds_in_metadata.rs
 
 // Tests "capabilities" granted by traits with super-builtin-kinds,
index 2a2917b69b08a5a0406968b1ab52e59f12792db8..e936f921a8203e802f971040a3c7c850d030357e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests "capabilities" granted by traits that inherit from super-
 // builtin-kinds, e.g., if a trait requires Send to implement, then
 // at usage site of that trait, we know we have the Send capability.
index f585d9cc4f8ef8e61a53de5276742c2897aea5b1..117014b44ee117ca8892aedfab66ac4824751f1e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 
 // aux-build:trait_superkinds_in_metadata.rs
index 3899ecf6f3f7d72c161ec8500e2f997c2861d7b7..9b80664b04e17b2fa99bdc74a8b5b1dfbbd5c935 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Tests that even when a type parameter doesn't implement a required
 // super-builtin-kind of a trait, if the type parameter is never used,
index 670b8ed0e9bc1a5faed3cbf0c0b1418e3fcc9039..8d247715784444cedddc70f7e12a438942b419fa 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Simple test case of implementing a trait with super-builtin-kinds.
 
 // pretty-expanded FIXME #23616
index c3a456318bce625a6ffa5aabf46c0966f7d905e5..f999dfff786eb757b037ed57de5651db9f626ac5 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests correct implementation of traits with super-builtin-kinds
 // using a bounded type parameter.
 
index 259ac08fd979e84b6aa4f9c7662fb13e6e991076..2649c2eac33db057a8166fa85a4fffb30c6c7e56 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 
 
index 3b997295c122a748fcc3dae5a04466006a318dae..7595b76fb3fe7c64fa586e26ce76823f8ec30b88 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 // ignore-wasm32-bare no libc to test ffi with
 
index ec162b40bf8b6790ddb2b2bfd10657b05790b4d1..388d280b831b4e551fc11759d4e7b0238676953f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare no libc to test with
 // ignore-sgx no libc
 
index f6524c6a3d902c92259d46ffe8fcc35d0743bc14..240eaebf3d6855575175db37c5c24509c0cbeac9 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare no libc to test ffi with
 
 #[link(name = "rust_test_helpers", kind = "static")]
index bc10d236b3639c4fc4678a006735ef69b0cf41be..e6c57ca3f71168c32359c87e532bca0bc637f223 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 /* Any copyright is dedicated to the Public Domain.
index f27803677cc0e738cc57242bb4e4fd42f7cb83bf..781d5c14abe9cbfb32ee976ebb4da40e20ef2410 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(box_syntax)]
index 6adf90fc0e614c52bf2e0998e4e5d1cfd813d91a..770f7a31c7642e1c1efc18483f7611b7638da0be 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     // Test that these type check correctly.
     (&42u8 >> 4) as usize;
index ef2f6f1c4928546e22c0b80a40d0af600eb3cb91..33ec2d27610e44c883daffb4ee49585c30380e01 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let x: isize = 3;
     println!("&x={:x}", (&x as *const isize as usize));
index a27dd9eef52ec31f351258d92418625ea7150fe5..249481467e6467cec1de497bafaa60e8130adec3 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that you can cast between different pointers to trait objects
 // whose vtable have the same kind (both lengths, or both trait pointers).
 
index 017b63c737493d5990e2756be7badd651346a3e3..996fa013feddca2dd953acbf68cc962561a27216 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 use std::vec;
index e29860cbfbf5fd3e48031b993b0aefc0af4cbe42..053ebb621a7fe58012786e2f25f5a8374a2d10c1 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that we allow a cast to `_` so long as the target type can be
 // inferred elsewhere.
 
index c7977f461dfccf304c899db06262438c198d44af..218275c4d99ae7df6c57a37ab097c98038ed9aa3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_assignments)]
 #![allow(unused_variables)]
 
index 6c6f5a4fcfd9192ff60b15021f6b7bf04d1c6b6a..f181991713b2cd3fb4add9cec8f6f0db83a35bfb 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare compiled with panic=abort by default
 
 fn worker() -> ! {
index 7ba6419d8a3a2442720c98c258f07a32a6afbc35..587447b54b7fdc038eced045ea862bf0108ed87d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 use std::cell::Cell;
index 4f69714bc747d7b3c5ebcf5d482716c1b809f111..d403514b553b079d4ac6c1cb782c6e6742a9dadc 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z chalk
 
 // Test that `Clone` is correctly implemented for builtin types.
index fbe30f115444e52392433878aa8b417fdcf7ab61..44e120c1eebbaabfd4bd162118ff3943199b5303 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z chalk
 
 trait Foo { }
index a598f68d3f98796fb6cf41e6f8e0be794207c750..d6a8dd7a4a20317ddadfd00f2659683b1cd8bbae 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z chalk
 
 trait Foo { }
index 441d61ef24893fbbfd9961e3d5941eaec29fb2e6..eeff9fd9b80a36098d7f90944fab6d08f56ab092 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z chalk
 
 trait Foo { }
index f82453792ff4c3b65d2d82260d4f10b5d4738791..8a2e1cf599008acd80bcb98765711110013d3642 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z chalk
 
 trait Foo { }
index 94d976d3242710bc8567bb7ba812e897309b62a1..8673f5319bdf05c55bf580eb1fb33967590b1ed6 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z chalk
 
 trait Eq { }
index 1616d666c1b9690d3e9e835f8d7396572a2c438e..cfb7a37af01115b6a7965e75fb21cd31c0642772 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let c: char = 'x';
     let d: char = 'x';
index 90ec26e80bb49a94abf461b48616803a32bb4fc5..93e5300e36fe9ec66552a9b68162b8ab970f3123 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(unicode_version)]
 
 /// Tests access to the internal Unicode Version type and value.
index 361f8a1d3406ec142914ba2ccb147bf736938361..8ca0af8e47a729b1bac9bd56b8f3c0db3fc23fd8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Static recursion check shouldn't fail when given a foreign item (#18279)
 
index 1c816d5d7c32f3b26427fc6ecf4f8b68ba1fa49a..f4faab1abc287738cbe9948ba63f7c9afe790f82 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 const ARR: [usize; 1] = [2];
 
 fn main() {
index 80e3c81af5281ac027c9dbb0fa2604bd34d8df80..e3a39a44bb82194194d6fe310972149f39e9a5cf 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Reported as issue #126, child leaks the string.
 
 // pretty-expanded FIXME #23616
index b8b109905209d9ee0604ae738c0040b345ff8e31..915842f3e85f243ba03ee8d6c5604a8b5f42b785 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 #![allow(unused_imports)]
 // Test that cleanup scope for temporaries created in a match
index 370c95c6668d90b76e5c8a76832ee77f18be0f1b..6fecb4e76da3222f7a5e9e97e8b4ec052bad3056 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This test verifies that temporaries created for `while`'s and `if`
 // conditions are dropped after the condition is evaluated.
 
index 488c6e580d1daeda01301335b61bb2906562cc3e..b6582c01fbada480eb0ec659194d16277ebb4a50 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_snake_case)]
 #![allow(dead_code)]
 #![allow(unused_variables)]
index 331c93f442e1b47e12995768addfae6959ab4d95..f51f13abf792f3dc6793e3c7b9d3d32265b0fecd 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_snake_case)]
 #![allow(unused_variables)]
 // Test that destructors for rvalue temporaries run either at end of
index 7b4d66e7571b11b2e85ca6f4ae558d770b478717..62f8b81385aa3b2d1b77449742217d365682abaf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(dead_code)]
 #![allow(unused_variables)]
index 6e67a276d4f1c3bbd4bea49117b767924c029dca..19d774079ab7f9e9563ab7638808880b0eec37cf 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that cleanups for the RHS of shortcircuiting operators work.
 
 // pretty-expanded FIXME #23616
index 1d3b54aa5eb10036f114f8e6b6712befef3ec17f..1ef2971926796d6023207765746b753884014ff4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // ignore-emscripten no threads support
 
index 0eead0194efa2999a4d5068844b1020dc52fd7f7..40e5f500df4a833131639aab8755d0406f46f1a9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // If we use GEPi rather than GEP_tup_like when
 // storing closure data (as we used to do), the u64 would
index 3be0eb4c5d52a3400c29859d9fb6e0e477738f59..bb5c39f5cdea9737b078f0b35cfa19846c89a958 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::cmp::Ordering;
 
 // Test default methods in PartialOrd and PartialEq
index 26f53a9c18213b2f47894fc579632742d0fe956c..9a85a50ebd9b1eaaccadce9d9442b3d57c71d2b5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     assert_eq!((ToString::to_string as fn(&(dyn ToString+'static)) -> String)(&"foo"),
         String::from("foo"));
index 37ee1a41c0b804072c34dc8b667f700c31088c22..e01b0dfa14d6e73751e6000ecd9e7d1501f76c3b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Test several functions can be used for constants
 // 1. Vec::new()
index aa5a3a377058de1e8deb541e5bb8e74fe1e1a4f2..568be67abe372bf106e50f3ca9b4b598abf8d75c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 // ignore-windows - this is a unix-specific test
 // ignore-pretty issue #37199
index 5c3cc31de58188d276db6a981fe25d1a602296e2..c0fc554183a43fa1262d94c5eeeed7d2590a50fa 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 // ignore-windows - this is a unix-specific test
 // ignore-cloudabi no processes
index 5f4b3941d90e395dd8d30def328d858dc6b2c2ef..f867106c35d0789f289f9e8482fb8f7ce2dd9373 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-android
 // ignore-cloudabi
 // ignore-emscripten
index 4c2bb6859ddd97d70bb9e6fc1f978d2d9197db4d..9b11ca67e477d70ea3ea81a93818ff8f31e977cf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unconditional_recursion)]
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
index e89763745beb240b8176d3484ad1b4296c45e961..0c30a39d6a2550cbebb7da244d1a17d9f3d5de26 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     assert_eq!(format!(concat!("foo", "bar", "{}"), "baz"), "foobarbaz".to_string());
     assert_eq!(format!(concat!()), "".to_string());
index 1d3123d216ebfb53ae63ebe190c6961c5f30c6de..d52dbbae1e7b5359e9ae8895131e45fcaac43a39 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(const_int_conversion)]
 
 const REVERSE: u32 = 0x12345678_u32.reverse_bits();
index 9597393df72d27940010170a42fc6edcdbf61584..b619c7908aa22d67193e0f126e6c635a9f1073e8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 const ADD_A: (u32, bool) = 5u32.overflowing_add(2);
 const ADD_B: (u32, bool) = u32::max_value().overflowing_add(1);
 
index 16946eadd632aeb7c6dd1d652c729ab47b8fd9cc..14f34f76cea534c7481666b45b65dd6339c6ec85 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 const LEFT: u32 = 0x10000b3u32.rotate_left(8);
 const RIGHT: u32 = 0xb301u32.rotate_right(8);
 
index dae4c7216b2c03c61005621d3cecc7b898ea32a8..394d6c17f5adfcb69b760274be4e062a50be7a91 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten no i128 support
 #![feature(const_saturating_int_methods)]
 
index fcd3ef4ea025b805c7b8f20ab7261861bbaa47e4..05726cb228647b9abeece423bddefac084cdf3d7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(const_int_sign)]
 
 const NEGATIVE_A: bool = (-10i32).is_negative();
index db86c25194f08585d3e6824242a0dd807531461e..73147d7912d19ab16f15792b958f74de8a89a643 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 const ADD_A: u32 = 200u32.wrapping_add(55);
 const ADD_B: u32 = 200u32.wrapping_add(u32::max_value());
 
index 871300defaf8a7a656f8ab92799a362cf22d1112..58e801164428f68de70ece0efa8a9479158a2cba 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::mem;
 
 struct Trivial(u8, f32);
index 625e51793814e6e7b90f8dcd272ee67202bd37f0..225b2ca8f4d2aa85dab1cc1b679b1e0ef4da8e19 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(stable_features)]
 #![allow(deprecated)]
index 26d4df433aae18eb0e1f85e92c1dc2cd284a268f..ca5905fab41ffa5ca3d7028668d7cc2709b4dca5 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 fn main() {
index 0d243e14b94c564a662f4bb1354276560148a222..eefcf7738ada779adf96a0d414c88ce9bb978433 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(box_syntax)]
index 666f80e566262cef1108e2e617c3ea5c53bc3eaa..ad53a53143ee6f50c6909c9322db6c637b72d07a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags:--crate-name crate_name_attr_used -F unused-attributes
 
 // pretty-expanded FIXME #23616
index 64d96709afc0b931249665349e77245d05d2179c..911467ee54ea7e03f9f0e5c845fbf78848e7d516 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 // compile-flags:-C target-feature=-crt-static -Z unstable-options
 // ignore-musl - requires changing the linker which is hard
index 272fcfe3b5b5901e2548da437cde5b5656cd6f3a..21407b1b9118ce28422d0121532f0fdfa180dc64 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 // compile-flags:-C target-feature=+crt-static -Z unstable-options
 
index 56bfa98451f740113c7c08b5f55dc28d5e065de3..9241f3789d72a92e4e6ef130cd99fbd234372279 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Regression test for #15477. This test just needs to compile.
 
 // pretty-expanded FIXME #23616
index 5b6ca26f1ce516a355c0680fe86f71a38ad83080..69d455f3b60e0a60077b00e75f5722143704b413 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(dead_code)]
 
 fn main() {
index eff40111ac9d45ef2c5a30f4eca2189092d0fbcd..1b6e03ab8874d2608a31d0b576be781e753ed90c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![deny(dead_code)]
index 680616fee7c3895b858808bcc06d432f07841d42..e4beee9e737ba3cc0e6d0773ddc45143b30f5344 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This test case makes sure that we don't run into LLVM's dreaded
 // "possible ODR violation" assertion when compiling with LTO + Debuginfo.
 // It covers cases that have traditionally been prone to cause this error.
index 5c3ecd8c22c4a73476de457ec826fa9e6c58a3d3..2bb109c0e3f0ff7a0b2277fd8cc03ab557bb9839 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten apparently blows the stack
 
 fn f(x: isize) -> isize {
index 7d1624320e6798a6223445e588dc181ced68097a..40f61c2b7d5ba80ab6047e4b1f87d1c3972d09d0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
 // ignore-sgx no processes
index d7ed943b84e0d20aaed90a892bd82da6097ec873..aae70bffa3837d41d365cf8110d792e120f9690b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(associated_type_defaults)]
 
 trait Foo<T: Default + ToString> {
index 7f66605d7c363852dcde305cbb46c1ac5c6b072a..9ffb8d94a59b3f9c1e6b9272291b12de33602e4c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 trait Foo {
index d046fce9b62b6d57d5122a01a83f0c0fddc263a3..6f7ae6a3e0b5eace14e55e9d0a489e51eb7096db 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 trait Foo {
index cbcdb38fbebaf2805f145df3d20f803f51ed031b..3275890616b7566dd5eca53cb01dd1006020c67e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 trait Trait<T> {}
 struct Foo<U, V=i32>(U, V) where U: Trait<V>;
index b3509734ffcbca7d71175c5eb12fa561e14550c2..4df9b802d45a95b313aa3696a3a9f03652e42292 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags:-Zforce-unstable-if-unmarked
 
 #[deprecated] // should work even with -Zforce-unstable-if-unmarked
index d02adcb0cdc76809e2a2024e0d70f2ffc2202030..f57872f80e02504789e94b1deda3f70eea44902b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 use std::cell::Cell;
index 119d943026ada57e87c65df881a0297d0db4d8d4..a6df5495a27758ae20c696438dd1875c6b2740ff 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that `&mut T` implements `DerefMut<T>`
 
 
index 651ccd5be855cb3ac8121725ab57ec014a45eb48..973e61c9d59fa4ff8f11e0f8ed3287b10db9c7da 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that `&T` and `&mut T` implement `Deref<T>`
 
 
index ae17608fc56e3bc56f785d9f2da5a44dddff77d7..9b4c63b1925654c75e6f3243c0406a006286e003 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::rc::Rc;
 
 fn main() {
index 08b047f54d94b7affada55fbb7c73bf36b1d5ca7..cad4ede06a56175050055610cde6d60d52858039 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(box_syntax)]
index a2181336e00f518d9332b1369217790008e7c53a..764f58ce9e805e34328e1c467ddc91ba10be3bb4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(unsize, dispatch_from_dyn, never_type)]
 
 #![allow(dead_code)]
index c88ab42d5a89a8f11c9d864a23bc610e79ac69ca..0f0f787b407d2221c711463c3b009fd03ad678c1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_assignments)]
 #![allow(unused_variables)]
index df1a64e3ae63c7cc4c14a7094c3040e435f6846c..ba9f05c64e44233b3b982e8d22b3faa25787dda2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 // Test a regression found when building compiler. The `produce()`
 // error type `T` winds up getting unified with result of `x.parse()`;
index af517178150398d7913ce7e593334789d5f42a16..46bdfc96dbe22206b888dee8611d4a918578a952 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(warnings)]
 
 // Here the type of `c` is `Option<?T>`, where `?T` is unconstrained.
index 16c98da94565e361fc3d5ff485ec42a991cc3615..e68b86833764fdd80390b389e3a5b5582fbd70d7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
 
index f2c1e1f654016fd09c37b73d74a6a1ac891d751c..05a279a3014ba75558713371e750f4e25d34dac7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:anon-extern-mod-cross-crate-1.rs
 // aux-build:anon-extern-mod-cross-crate-1.rs
 // pretty-expanded FIXME #23616
index 158468c572c6d9761a49b688344d38bdf57b215d..2b5df52a51c36181abdf6b70f0537544f7220f37 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unreachable_code)]
 // pretty-expanded FIXME #23616
index 812771c29b3ab289a56a636a129c463eb7368c63..f4b69c1409561ca70a719acc2e787955f639fdf7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
index 7d25b71422d2d5cf50ac0738dd8d94ee4bcfd045..943d203b806f44bdfe3be870b16bc32b7b281aae 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 #![allow(unused_assignments)]
 #![allow(unused_variables)]
index 92d474629c11f107b023146db10d44e67a6fb7e0..8c3397c951db6d4b35c65150461ceda9868592fe 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 #![allow(unused_assignments)]
 #![allow(unused_variables)]
index e4ed5ffff9816e6a5c4977dc5319d3a0ddaf18e8..2cb2dfb18a023191f6dda6e83c39ee8c2aa977c2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_assignments)]
 // edition:2018
 // aux-build:edition-kw-macro-2015.rs
index e3624ac96ed682f0854c0fb85b0ae1f0cb24aaea..5043440aa167a3b34450b70f8050fd12fe796c26 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_assignments)]
 // edition:2018
 // aux-build:edition-kw-macro-2018.rs
index 83a6658895ae88508cd7587790ded8b73d40afaf..77d8d1abfaf3d2752bd1ca626b4bccb923c9e4d3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     if 1 == 2 {
         assert!((false));
index 31117936c76ac1d51f9e73cd392cf6094969925d..925bddd5edd9c2c38da6d15cb8b7729c593e0912 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     assert!(Some(Box::new(())).is_some());
 
index ac597bcb20870e57ba7887462242f49525ea9f76..2f5a5c4bbc6db0dcbf63a8b0d13960b6aadb0397 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 // pretty-expanded FIXME #23616
 
index 43275090f2de7ce61ffcde4a26faf173e65303c4..e168cd03b2746bc69b232af3fcf1c038096147b7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that empty type parameter list (<>) is synonymous with
 // no type parameters at all
 
index 5789985a03832e8c07a42261081b57e78121bd54..efbe2b2eb670d435668f117500f519042689cd65 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(global_asm)]
 
 #[cfg(target_arch = "x86")]
index d677aa850010376cc9e8c1f057e8cbce3ce44461..0ffd74f87ab6c0bc6ea84a747ce8f3e42841506d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
 // ignore-sgx no processes
index 3b236e2b3afbdfa2f2b8456a7221857d931a95b8..4faceb53266c75e351b24cd342bce7868823c5aa 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Ignore this test on Android, because it segfaults there.
 
 // ignore-android
index 62f45d0a2eb2a364e296e0f6f3bdc9b070463dfe..a75be48fd5532380c7baa71e178eba94fb4ed5a3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 #![allow(deprecated)]
 // ignore-cloudabi no environment variables present
index bdd1d4778cf02f0ab1d15f1a1967a0b88f38aeea..10582a8a514617d529b74cbf8945f2ecbfc6cf77 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 
 // ignore-windows
index 6159638745a44c2ad33831616570ef067b33a2df..2ea906788e802924a8df40c20ed09e8b907381ba 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no env vars
 // ignore-wasm32-bare no env vars
 
index 6f0b31518c22ac909ab607c2786edb6a0d2225f5..5f7feb5347beace827491d926e5742ca35a193e9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_variables)]
 // Checks if the correct registers are being used to pass arguments
index 1212f5d17dbb2c3bbf2f802e4bea39a589c92e60..69d83f496b392aab83b5dcb29ae663b234f9640f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[derive(PartialEq, Debug)]
 struct Bar;
 #[derive(Debug)]
index 6b2607a997b4fcdd7fd0971761706bab860f5daa..1d0a427395317f1fca6d53986d5cc6b209c9e54e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_assignments)]
 #![allow(unknown_lints)]
 
index c1b8e0825143bdb0845979e79b7bc80a5f80b8ac..230fac10d3357fe0c890162819a8ce06d8a44e06 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // exec-env:TEST_EXEC_ENV=22
 // ignore-cloudabi no env vars
 // ignore-emscripten FIXME: issue #31622
index b36435cf113f1137d229592f187df537e258e2ba..c2cf0eeed3d9e6fc08fe65039bc87d2e09769713 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_assignments)]
 #![allow(unused_variables)]
index 119cce3087e84b33819aa8b55e1a7c95f00ad1cc..40c7e4751048580baf385d3f0b815f81a39a7dcf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // pretty-expanded FIXME #23616
 
index 0ac80e657982d472961e91cdecb93b8fefc061ba..4df807ea4c932ed2b6fa61cc2a17937d139dd8c7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 #![allow(dead_code)]
 // Test that a glob-export functions as an import
index bfa2765d254574816008db19022b82e4c62efe97..02bdbe8afff0fe41a27d6c6d98d95841118f72c0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 use m::f;
index 30d5a0d9c05d2da994b975828b389cb6138852b0..6d18b03891a37f3931147b2230f280d98d5b2c0a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 mod foo {
     pub mod bar {
         pub fn y() { super::super::foo::x(); }
index a11ea3a045513daa92ad66cc9bd6cea98c6073d3..0d6b6369f9471d6fcb15b42ceac851c82c4fadf4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub mod foo {
     pub fn x() { ::bar::x(); }
 }
index 229e2b02bf021f6a68a12d7133550eba512e8455..1cac2cac0ac5dcce24b071bd9f7565d68f2dd236 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn test_fn() {
     fn ten() -> isize { return 10; }
     let rs = ten;
index b89f2f9660c26a3f7def763faaced07c9dffbfd4..c14191f2ffcb5fe1f0d16ef4b36bea424d758cfc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 fn test_generic<T, F>(expected: Box<T>, eq: F) where T: Clone, F: FnOnce(Box<T>, Box<T>) -> bool {
index 4c712abcc3feff81f4c753558854dcd556b6f207..90ebc02931ad1a7e7ca90e565a1b16d99678eee2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 fn test_generic<T, F>(expected: T, eq: F) where T: Clone, F: FnOnce(T, T) -> bool {
index 5665790a84dbc9d0f0b06db85433bcd9bcfb85bc..ec93f59722d0cf83f57ae35d029fbf1335b3586e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn test_generic<T: Clone, F>(expected: T, eq: F) where F: FnOnce(T, T) -> bool {
     let actual: T = { expected.clone() };
     assert!(eq(expected, actual));
index 65d58e00bc973fa8c1a6ca4663b456e6701efe36..54bcbb328b038a1ec762fa1399608b0986ae0c42 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Regression test for issue #377
 
 
index a5b7bacec23b7cd4e12d2bb3117d3cd9d6a01040..fe1a7d9f1fb319b411118faf04b26e51281c7981 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 pub fn main() { let x: Box<_> = { box 100 }; assert_eq!(*x, 100); }
index 222e5cfbcf6daed3cfcb60fba936ce7f6c29b5b9..549ccf9774f43b956191efe6949605b02bc382ad 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 
index fdea32f476ac25adad19958a1bb4f8bd7d6f0b37..1c6ae03810f08c410f8b846b1fdd268916969a6f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn f(arg: &mut A) {
     arg.a = 100;
 }
index 6bdf4350a99070cc2e22567461deaa5cefd6fe80..ce8ffaf94d063e53d72d1b426442dc6b544797b3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Issue #521
 
index 9e0679b959b95fac3ece6ade1ffd02a64cfd9eb8..af809f563fc0431523f2a9c4b02bc152f67dec6a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn test_int() {
     fn f() -> isize { 10 }
     assert_eq!(f(), 10);
index 3e3600c452802d446c3e624382193d38257d0218..32ed6d9bee0cfc3d61aa21e41b5725a6fea11d80 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn test_generic<T, F>(expected: T, not_expected: T, eq: F) where
     T: Clone,
     F: FnOnce(T, T) -> bool,
index ea7f36f8a3cc288205bf231760795551a485d0eb..f915a7d9da0683a8344f22a5decfa416fad766c1 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // When all branches of an if expression result in panic, the entire if
 // expression results in panic.
 
index ae92e3b125ba81c7630cde6c66a4b5a3ad7956cc..6069cd835e14c9d00980ecaba1b872b7f9c6ce65 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn test_if_panic() {
     let x = if false { panic!() } else { 10 };
     assert_eq!(x, 10);
index ef76fb27e9d3ddc600a60c851c78c1a9a81fc332..509d069d40fecd73c38ff369e61adfcc80fbdb60 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 // Tests for if as expressions returning boxed types
index 4b8d363b02032142994bfee188a96faf35a8f1d3..2b8474ff4539ff8c1ef03336648fd777f0d09143 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests for if as expressions
 
 fn test_if() { let rs: bool = if true { true } else { false }; assert!((rs)); }
index 15bb4a2eb0b443fe3064c0092f1eb83ae7838399..9976b6814c00d143a6875360421e1c8dd46ee7c7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Regression test for issue #762
 
 // pretty-expanded FIXME #23616
index a32b3d7f002b8f422077e809c17d698ac468e396..5bbdf5ec956085fd5523f29874084a8ee61bdafd 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 static FOO : &'static str = concat!(concat!("hel", "lo"), "world");
 
 pub fn main() {
index 1c1e61239b790c4e13d7d8d5285017e54321c92c..01d743f70bc0a72472b0117304a893fa3a1288ac 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let mut x = 0;
     {
index 01ed7dbac1f3ee167b82b0fe5667a76e38fdc9e3..6f2c37926bea65167b0952d2aa3f804df25fa472 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 
index 7a2a2afad5c259e54d417e998603b50bea8aa411..4014902ffed59ff1b90a1deebdbd1146c46c390b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     assert!(option_env!("__HOPEFULLY_DOESNT_EXIST__").is_none());
 }
index 0dd68c991ad3bcaa85e566b21e1bc2e735b25eb2..c6c2f57e75c553751d60ed09a1c0ad57acdb2fe5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn f(x: isize) -> isize {
     // println!("in f:");
 
index fb741200d3cb71dff029f4c84e1a0671c555b7b4..c8d8095a265d5cfaf0d8414a48f8a908fc574289 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Clto=fat
 // no-prefer-dynamic
 
index 1943abe9e14da596fc4a015bf327dcfdef7fd9e3..5f5e621d762dfc67c703a04d75de1a4ece607f82 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(raw)]
 
 use std::mem;
index c4091f84af98c6f53896976ef2b2b30ac928f7b8..2010b5b668074027a9fdec05b62b760dcd0f683f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-windows
 // ignore-android
 // ignore-cloudabi no processes
index d2b9866504a9816e21a698e7b39c7e5ab8e15024..e63aa91577bc9ee37802f22128275cdddd2c7529 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 pub fn main() {
index a35412fea3fecfe52e0948562da602d0d7aba993..6b2fd72b89553abfd53812585af3668127d7a700 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
 
index 4a797d19bad2e53be2aa5d206a5ae1e7de5cfb5c..6bf5ae8beaddb91a9984df5187eab1198443f79e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 pub const arg0: u8 = 1;
 
index dbe2c61c494fa0ee805a846bb2e4c86acc6816cf..e4a134fa2fbe074fd9a2caa2192902125406a60e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     use std::f64;
     let x = "NaN".to_string();
index 32f7a4a07c4992e624f40411b59ce42a4bae569c..c9b7651bfda05c5e66e20a4d810fdb0c0c336df2 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten no no_std executables
 
 #![feature(lang_items, start)]
index 0e7925af78f24be39b8fb4b0ec11bbb2c92a8f79..afb2f8488b82aface3710befbc68562149b5542b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::cell::RefCell;
 
 pub fn main() {
index f9544ec39a0c73e05a0ca7ae0a4196d4e6e88e1c..c41bcc73fa50611b3301e8f1509bb8c2295913f1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(stable_features)]
 // Issue 4691: Ensure that functional-struct-updates operates
index e08878accc32551b8773b1c220e0f21410d7807a..5b83e2620d8442f3bccfb9bb2d692725df1136f6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn ho<F>(f: F) -> isize where F: FnOnce(isize) -> isize { let n: isize = f(3); return n; }
 
 fn direct(x: isize) -> isize { return x + 1; }
index 81af4402c11e4a5c304c17d5aab11dca491c28f3..49da3d83f4a2719722776123f0d1a7a799fe7c46 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn f() -> isize { return 42; }
 
 pub fn main() {
index 6a417936384b9e6e88c360fda762e916417d4a53..66f22bf31fc40696666afd30baf57f7d2b0e8a59 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Regression test for broken MIR error (#61442)
 // Due to the two possible evaluation orders for
 // a '+=' expression (depending on whether or not the 'AddAssign' trait
index 042e1276db5c60c2bed61b928ff8252e3e23209f..bb33502815bf8dd8ea11c4b4457016ee01d1f43b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Regression test for incorrect DropAndReplace behavior introduced in #60840
 // and fixed in #61373. When combined with the optimization implemented in
 // #60187, this produced incorrect code for generators when a saved local was
index 704484a480e26a38ea993a8365765ead108f4347..101c8714fa8707b5e972959e5ed185d423cdca44 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(generators)]
 
 fn main() {
index dbcdfc61ef951da80016c9690ce5fa3835e4ed5c..01db971434bbc8c9e0e36ab34cdd41dbc854ba33 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that we don't duplicate storage for a variable that is moved to another
 // binding. This used to happen in the presence of unwind and drop edges (see
 // `complex` below.)
index 22fb0f93dbceda7330b8c7d314656b3d16b55834..944eee5afc307e7ee99ebbc901b3b7a40639bdf6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn f() -> isize { return 1; }
 
 pub mod foo {
index 752e4f6be4124cd9909ce1fcae558374b6a213b5..b74f162c0c62225cb8dcb9c0fe0bea3148d9f3f6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_snake_case)]
 
 #[derive(Copy, Clone)]
index 94095eac161387e777f5f6498000604a54ef8a38..10a4bb6738781681e4d9e9b995379d9f4e75a116 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_shorthand_field_patterns)]
 
 #[derive(Copy, Clone)]
index 987a3e414f5c0dfc2529aff1be1df6586157a204..3129eb0da82f9a5f89528be675b5e796b5363fdf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 #![allow(unused_mut)]
index bc8bb23877e8ae497b4afae5d47eaa96a013eaa9..c207c25545eca6b80e4656a0371f98a6f8c41e5c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     println!("hello, world");
 }
index 237c6e1a107ed96fcdba6caaa20a449c34e8cc7f..ae45e97c8b07070aac07e01fa68c54800ccfe289 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 // A test of the macro system. Can we do HTML literals?
 
index 6d87288dd082159308956c47bcfcc2d796f58a30..0f09db530d45e626a8265384ed022ce575c431d8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let i: isize = if false { panic!() } else { 5 };
     println!("{}", i);
index 43904f6823f5d5693789ba3a5199aa260c69ff14..6593225e7dd95ab549ab69c91c185a79bbde2be8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn even(x: usize) -> bool {
     if x < 2 {
         return false;
index 3c2377466a150fa2df55a098186166fefe3abbef..e1e795d83bea2f586efbd2b41c1eed4bce2e151b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_parens)]
 // pretty-expanded FIXME #23616
 
index 7c02f835685e1d15c552778e01e6cbd6b55f1a72..73402e55a4fd835f0f08086b800d611f9b9546e5 100644 (file)
@@ -1,5 +1,5 @@
 warning: unreachable block in `if` expression
-  --> $DIR/if-ret.rs:4:24
+  --> $DIR/if-ret.rs:6:24
    |
 LL | fn foo() { if (return) { } }
    |                        ^^^
index 6660f393f7dac5f5b1990a43cd4203ace8aab1ec..841be20ef8645c17e6dbc1e342ee71b376b15c6b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(warnings)]
 #![allow(unused_must_use)]
 #![allow(unused_features)]
index 6916a199a10032ba12cfe49af308b44b33272757..8c046a289fad2f16f79ac65a5f320d789c92b289 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_shorthand_field_patterns)]
 #![allow(dead_code)]
 #![allow(unused_variables)]
index a5287123008f2f9b8c0ca4da9edb59cff94ffa20..c5f12981ecc26487ec8b77b61c6c93c20bd81942 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that we can call static methods on ! both directly and when it appears in a generic
 
 #![feature(never_type)]
index ed87ffb01984f3a270ee60d328195f40a35a3648..be524f87c9fb1303111f63924df4a140b48585e3 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Ensure that a user-defined type admits multiple inherent methods
 // with the same name, which can be called on values that have a
 // precise enough type to allow distinguishing between the methods.
index c0cdff30cbf29f1daf3bb5cb1554c0cd44e9eb0e..97caf908387784e094af4d65edd355a97ac9eb25 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 mod foo {
     pub struct Point {
         pub x: i32,
index 42e149eacb543d86a08439b5554eb9ce16e406b2..c9f7f09c7bd0e9fbbf70e1be60643f683245e903 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:impl_privacy_xc_1.rs
 
 // pretty-expanded FIXME #23616
index 7cdd7146c331e2b75cc3f254adb9cba926170fd4..390764588fc87a369b7d39515dfb5ea255331496 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:impl_privacy_xc_2.rs
 
 extern crate impl_privacy_xc_2;
index 1e3a641b7cf94cf621ae362aca26ed2d3d8a4383..2e9b6cd5c78d445e5cc3a617a0817f0c61375b9a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(impl_trait_in_bindings)]
 //~^ WARN the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
 
index 4896deb9d5c917678114e31ca2ad1c1c80354803..54b42a102fa1ec141dedfedfd38069584df852d9 100644 (file)
@@ -1,5 +1,5 @@
 warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
-  --> $DIR/impl-trait-in-bindings.rs:1:12
+  --> $DIR/impl-trait-in-bindings.rs:3:12
    |
 LL | #![feature(impl_trait_in_bindings)]
    |            ^^^^^^^^^^^^^^^^^^^^^^
index c8922605363657ad5732bb49730b0f6588fb4b97..c9f7d28699e0eaf6a7d43403665a8eb54a28967d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(warnings)]
 #![feature(in_band_lifetimes)]
 
index a648ff17492eedd11ee2fe56bcd961b5756f2267..1eb7dd0aa3e7a08ff1b9b01c4519ed59b99db591 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test old and new syntax for inclusive range patterns.
 
 #![allow(ellipsis_inclusive_range_patterns)]
index ab0210baa96ed6201e8734adc9b3c74521242272..413b1877a29fd117f0eeb1b2280e23d4d66cf59a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // issue #680
 
index 229953f1b18d4741f91fe845237b9136ec81587e..e29fa04bbd50ba58d6daee9a5e591b1bdf6eecc7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten
 // ignore-wasm32
 // ignore-sgx no processes
index cb64cd0b0f3a8c40bc7ebf3494880a4a3ac68e49..a304fc9356b510fdf4f5fdec972f095aa8215e77 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // Makes sure that zero-initializing large types is reasonably fast,
 // Doing it incorrectly causes massive slowdown in LLVM during
index 832637962bb5ca7ac940ed71a063b3e5f8ed57d8..ed0c600c1d2e75e4044fd53665f04708487ae5db 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 #![feature(box_syntax)]
index 3a55a894267ad2e9b29fced9979624c772046c85..75ff4c87dc618123630783aeb710a90395baf632 100644 (file)
@@ -1,2 +1,4 @@
+// run-pass
+
 #[inline(always)]
 fn main() {}
index 4cc659562eaaca617eccf68e7b484dc6af22e27c..636e8c4885e6f2ab9736bbf30f602ca8ceae7dbc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 struct Foo;
 
 impl Foo {
index d8658691875bff8eed4893329bf1dd2d6ca01d13..363f753e248729829c5dafb3547c69a99e30ee98 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 mod inner {
     pub mod inner2 {
         pub fn hello() { println!("hello, modular world"); }
index 6f7d7c22887501db1d78d42bd4c1cd146d451f98..adba299ebe22df8512c455cd8a567583d0e9c24f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:inner_static.rs
 
 
index fe8d9f9714915c6240f55aad3ad2519d9c81f34f..ad0cf3f4ac9179b314ca9fe6dab7b67130ea1577 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
index ddf4dc42424dbe089892bd8a892b5d761edd2251..6d59bb385dc7d416dca539241d55d92c79e0af86 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 // ignore-wasm32
 // ignore-emscripten
index d34933cde4246e1ef04709c4eb87f8dfaf4ff868..dbd2b4ad8655ed133ea9061064d08bcce235dd04 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:foreign_lib.rs
 // ignore-wasm32-bare no libc to test ffi with
 
index f588ae3a55742973ce8116be78e2f9daefc30163..dd8f03b6dbd591b9892e8c3c924395bfd43b4f16 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 pub fn main() {
index 264e1ee22cdda8c70eddee0af9c0650e844a5672..f1818533487f61c0d2cefce10cb54a41b8c200cb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 trait Foo: Fn(i32) -> i32 + Send {}
 
 impl<T: ?Sized + Fn(i32) -> i32 + Send> Foo for T {}
index 8e7105cf10ce9ef3efce44386e5c9d3b93dd6a26..3a862ace55eccdf71da59d61ef7fd6307f275fcc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(step_trait)]
 
 use std::iter::Step;
index 00666972e259a9e75c54864f2eee1734886a9305..77b5010f77675e7e86c38ac6482a018179907466 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #[repr(u16)]
 enum DeviceKind {
index 53728ec4d9fa548aafba038196f52fb2c5ded83b..f305b370ce62a1bf3c8916f1ca38c14c9e497e49 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::ops::Deref;
 
 pub struct Pin<P>(P);
index e7966b2978f131a472041e651824d99d547e7453..412028bdcdcbb402404cd1af12f5bf44c1c99eae 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 // compile-flags: -Ccodegen-units=1 -O
 
index 52a9828b5484e642f812066c33ecba59c68a712f..734bf2768c2a35506bfbfbb8ddb8bd9c74542efe 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub trait Stream {
     type Item;
     type Error;
index 28731d4b0df02f856e28fc4eff00ba02d2d52a2f..199d69b45404cf37444951b402e0f025c10a435c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // rust-lang/rust#54477: runtime bug in the VecDeque library that was
 // exposed by this test case, derived from test suite of crates.io
 // `collection` crate.
index fa92a85a44523442b852e89bfecefc776d0cb1f7..4adff2b4544cae0bc052550e4d365ccb0779aff6 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests that paths in `pub(...)` don't fail HIR verification.
 
 #![allow(unused_imports)]
index 87e10e83612d6ce36a9bf9d3dcf3be9a7d538d4e..534b85acec82c1bf8bd6bff628e538fafd57dc3c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::ops::Deref;
 
 fn foo<P>(_value: <P as Deref>::Target)
index d4ce6496cae7733437612843ef850434a1b6d3c2..21dcdd56bf60c1289926e27f0c21c88495af8d15 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 trait FromUnchecked {
     unsafe fn from_unchecked();
 }
index 94e2b2563df59baae386022e53c4752a6b152960..fac727d2d7dc9a3c6c31ff0964d094e2c4a24fb2 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // The const-evaluator was at one point ICE'ing while trying to
 // evaluate the body of `fn id` during the `s.id()` call in main.
 
index 381e5a632e71f8ac9dd9bc3e4950b44f245da593..dca52927fd7c06b03ad39c14f5171a2f1e8181ca 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub enum Infallible {}
 
 // The check that the `bool` field of `V1` is encoding a "niche variant"
index 4d407125299a722a699c73d4a9a377325ebf5ff9..c018ac73fb53669a74ff59fb2787bb041a5f210c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(core_intrinsics)]
 
 use std::any::type_name;
index af11e49e56e3216cc20de213c2e6713610d72701..dca6d40d59adff1d3201cdf8972a7eba87bbe2e7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::string::String;
 
 fn test_stack_assign() {
index 58ef977919cddcf894a2cb23c2019cb0991190b4..c8a302a2c5b9e530005f32decd3fc9148a375ab5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 
index 73b0d07090b2488dd06048017d70d6d4b533c552..1b38527ec2907b8ea8138cf9567684fe4a3cdb59 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // return -> return
 // mod -> module
index 3b2991ede99627af1ed22b46fa41f8d7471fda7b..5b5d86eec2c0eb22fc94918e50155e4c430728b7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(dead_code)]
 use std::thread;
index 7cfc28b12b98af82cc452fc18eee01a1deb37a94..136037a7acf74039a071d978a2b911a5e780d705 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:kinds_in_metadata.rs
 
 // pretty-expanded FIXME #23616
index 751801e7c217bef3a4defd3e8577dfbcb78c49a5..9cc466b28ec5128b52dab0aedf38bf7fd22beceb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 // This should typecheck even though the type of e is not fully
 // resolved when we finish typechecking the ||.
index 9cc4cc29bf59d3a09ca38c169c6a74aadd01c116..bf06765e5dd415c6392c38d26715dd013cccadf2 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // shouldn't affect evaluation of $ex:
 macro_rules! bad_macro {
     ($ex:expr) => ({(|_x| { $ex }) (9) })
index 9786ea79780907165adef2864db480bff2a7f1ab..7f850a94e8933b0576639a0271e2628ee31f3444 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 
index 2bfd982995d11f709717deb8887baa53918fdec0..1ab847dcd8afc188d197cb97baa8e07bd0eab788 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_parens)]
 // Issue #1818
index 42dc6a4b06e1dc30dee6534894fd3e4a7ca45def..98d43463287ada162d6371732f77dbb37df42759 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Make sure #1399 stays fixed
 
index 2fa85e2d5b24fcd97c26f4391607f2672ffb5513..af2308777939e125dca53b3d03ce3658fd76eb7a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Make sure #1399 stays fixed
 
index d1f564fbe4c6c29d033ecab284120d32c103155c..0b44a70a569fc213a6b1ca47eade4e21bb8910f0 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn incr(x: &mut isize) -> bool { *x += 1; assert!((false)); return false; }
 
 pub fn main() {
index 1d7001b49ee8263df0b1dce66a6715466a22d4ce..a4b5d18bb33f0b0931fbf2827bbfd17d8b84c15e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 
 
index 2293e3c823f8c7e4d087137fcdcd9b4fd93ff489..752081b78f27568f11d3a501e4d8c9068255bb21 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(box_syntax)]
index da18ab268ffa82f11877ed841179aad78de32079..5b528d6e1e144eef5861ca594e02f536379704db 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-tidy-cr
 
 // nondoc comment with bare CR: '\r'
index f9d1b17b8dd823a2c5debdeea4b62425b8db5b8e..2ca88c2b9950ea50dd7c9bae0dd3f561887f7ff9 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-tidy-cr ignore-license\r
 // ignore-tidy-cr (repeated again because of tidy bug)\r
 // license is ignored because tidy can't handle the CRLF here properly.\r
index 15797eee9b85d65b5ee860bd86bc795c6e7d93a7..04904958a6cae5a306bf98c15b5e8056ed85b656 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests that items in subscopes can shadow type parameters and local variables (see issue #23880).
 
 #![allow(unused)]
index dcf537866c50bd5ee2808e0c4e19fc1112f3e9f6..cd0b0bb232116379ee13c757f688845651fc1605 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // dont-check-compiler-stderr (rust-lang/rust#54222)
 
 // ignore-wasm32-bare no libc to test ffi with
index d7a248fd4d57e4b17a6cda35085f0546031a2100..fe1b569dff61c15baabc026c3275c15eb0daf336 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:link-cfg-works-transitive-rlib.rs
 // aux-build:link-cfg-works-transitive-dylib.rs
 
index 1c2d3eaaa3b9ac6f4af1c152c4cc3495f625b218..6958eeda6974bfeca05eec3b83b6d7610cbf878b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 #[cfg(not(target_os = "macos"))]
 #[link_section=".moretext"]
index da07385ead748644e65515569922119b012950c5..bda4da53dbc2de4e5b8caba5a4bc51fdc2bc89fd 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-windows
 // ignore-macos
 // ignore-emscripten doesn't support this linkage
index f03bb69189272b27ea3f344d242e5cb40f4f6743..461b923ccd47d881d766a276abb881419e3682c3 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --cap-lints allow
 
 #![deny(warnings)]
index 576ba6d170cf6a79bfd5691ce5178d67df2b26d6..1cf66e75a95a5a386c78278dcec8822d6e05a5ef 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(dead_code)]
 
 trait Foo {
index 3838b83e45f7963017fdaada4a57e0630b24e2a8..91c97232eedb1c5b6d0fb85567e98312c03f1e54 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(dead_code)]
 
 enum Foo {
index 9ca3ecc72d2c28ab622d1926e99a7ed882b8bfd0..07a32904a5e64408e13fe67ef9fb2c265b37b1cb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(stmt_expr_attributes)]
 #![deny(unused_parens)]
 
index fe2fbeabac67d931cc1263c79f9b24a344f1c1d3..61d27f1eff1995f254e56cb5b7a865fa9da314ce 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -D warnings -D unknown-lints
 
 #![allow(unknown_lints)]
index 62c04bcac757b089a1f41bb4e9aca8f98f23130f..2ac5733b4199b5ec835b9efeb9c287a68ee315fc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 // pretty-expanded FIXME #23616
 
index 3dc27dde52b329ed0f8f5648d7345d72a13f0163..b463f4368d11195c3a2ec36cbb531b6f22c4fa2f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unreachable_code)]
 // pretty-expanded FIXME #23616
 
index a18a5386d8112a1736aa5b7509c551decb2e8a65..8a1f03241b110b547ae05ffcb1ec031f5235f96f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:llvm_pr32379.rs
 
 // LLVM PR #32379 (https://bugs.llvm.org/show_bug.cgi?id=32379), which
index fd12ffe36f86be6be32e7e6cb459741daa5f2139..c0e04d2c973438a3d28bb55a5cf40449453311b7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     if false {
         println!("{}", "foobar");
index 3f4d1c701bf12445f49086cc5f4300de68726dda..c5a40edbeef7c745a01d66f4d6bb985bd80d1b67 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 #[derive(Clone, Debug)]
index a16ff802376696568270401548e08b039f487ced..cf2876b6eee88106700bc360fcfd566035732582 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 #[derive(Debug)]
index 32dbb95a7237ef8fc447b8a943df78c2c78c4210..14e1b40e1684912178e42b8c5fde92377d5aebcf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[derive(Debug)]
 enum Numbers {
     Three
index 1a4c4d89e7dc85ac844d5ce8bd438c9b8dcc92d5..6b49c441d1eaee9dd5b207f5b1723b0948a50db1 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-windows
 // ignore-emscripten no threads support
 // exec-env:RUSTC_LOG=debug
index 69cfc54c465b5f14e38162d481af44c25bd356ca..540d2b4f58a90f175d9bfe700aa93843a10c5be7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // exec-env:RUSTC_LOG=std::ptr
 
 // In issue #9487, it was realized that std::ptr was invoking the logging
index 4a3ee6f97138781f14500a4d8d96b08ff59c5e63..529cca7b73167efd7d28b361b1f71979de6b6ef9 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![allow(unused_variables)]
index 17c345beb8493dc234b124bac06e9fb3be77da41..f0f461ffec8106462853f66cbda0c2ce502a9052 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -C lto -C codegen-units=8
 // no-prefer-dynamic
 
index 732681af037af008e611ec954792ccf612bc45fc..635ad783b315519a191cc3e87f401e529dd540a8 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -C lto
 // no-prefer-dynamic
 // ignore-emscripten no threads support
index 7e430d26b26fec7add93b295548b1747e9484e15..c9e117089f57b5efdadb652972d904161d3fca7e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test for a specific corner case: when we compute the LUB of two fn
 // types and their parameters have unbound variables. In that case, we
 // wind up relating those two variables. This was causing an ICE in an
index 4d6bcf501ee64f874e176373a2619b9891252807..569451e42593c91cce95d6e9177092a85380b8a1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_parens)]
 // aux-build:cond_plugin.rs
 
index d00e8edf28b4b60e2f6777673177f08d5ba2d5b9..7815b8e6df1ee045e5e6db201336edb91f349ff7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that a macro can emit delimiters with nothing inside - `()`, `{}`
 
 // aux-build:hello_macro.rs
index e81b2c7a7233b197eb8112d698dfca596bae84d1..65b29bba8c812fd2d4f159158557b711c16b5c69 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 macro_rules! test {
     (
         fn fun() -> Option<Box<$t:ty>>;
index 9ae5bae19e56de78efd0e810f12a9672694435b9..f9a39e486da2ef8d6e64426c9e50831d295183b2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_snake_case)]
 trait Product {
     fn product(&self) -> isize;
index 8c8165a1004499fcd78606bfff539bd4497ab199..af362efe15c358c5919ca98cde0fd9460aca425e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that method matching does not make "guesses" depending on
 // Deref impls that don't eventually end up being picked.
 
index e8ed0424e4aca2d2dd82edd7d0b2bc46e448de16..a8128207c808ca17ce879e2eec8dc7af8bcf1533 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
 
index d043a99688acf6a49c1f410e54e7a1d113480bf6..9100bfbde95fa7368791c3e57a4c2daec12355da 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::fmt::Debug;
 use std::cmp::{self, PartialOrd, Ordering};
 
index 5b1ccd7ddf6d961742d720373188fe729150f508..d471b8f149d8a4e2aaa19d6c45c308c763ad4878 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that subtyping the body of a static doesn't cause an ICE.
 
 fn foo(_ : &()) {}
index f0781c2920dde14a8d06ce493b15e2fb358bc171..5d0612cf8dc83f88e241afe59b138df2d8786d7e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 
 
index a26f324f7dc05af9cd6310ab32be7ffc269f6da3..637b09fc04e5f38fab90fe70d0670bcd6fee4f7d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 /*!
  * On x86_64-linux-gnu and possibly other platforms, structs get 8-byte "preferred" alignment,
index ec7ff2d8a5174d0d2d45e495a0141513cd5d60c7..bc314a39d8ea75af2dae3cfc4e86c7cae7eab9d0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 trait Serializer {
index cf8d92b227893dbd091074c17a98e2653d5b2aa0..bce5fdcd119f72b3bef5d00e5ee3726bcb8dfbd8 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags:--test
 // ignore-emscripten
 // ignore-sgx no thread sleep support
index ae4103e96c30f2f573c198c4459a5645317da583..f668b0b06824e186eb009438977070cc5784c055 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:msvc-data-only-lib.rs
 
 extern crate msvc_data_only_lib;
index 8bc00020652714ac9c4535cfdb5fed2c854078bc..e4b41e41806641d52a86f1045cfc552ec28f6ab7 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
 // ignore-sgx no processes
index 889f0cb75c7e9796d5be0b4cc06e24e232e407c8..7e3a577f9f2c80dabdcfd346d1cf31d9dc1d5e49 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 
 // Test that multibyte characters don't crash the compiler
index 72aa9edd0f36a57c8f680eba96c7f6a8f495049d..f845e198aa574e0f9260e421c3562ddbcbec796e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that we correctly ignore the blanket impl
 // because (in this case) `T` does not impl `Clone`.
 //
index ac22aeac12eea7c451bf3f862c6feb0af9dcd60f..f2469e1490eb12414299d9b69daef13526373020 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::fmt::Debug;
 
 trait MyTrait<T> {
index 517f815748981bcee329460d506025d6c802afd0..20608aabb3be83dfa94ddc0dddfadba28f86ebce 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::fmt::Debug;
 use std::default::Default;
 
index 76f9284eb3eb1e4bb95113bae9659e4931922b87..01aaac28232584fd347a0b383ab2680bcd84703c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 /*
index 97c5d930f73562957b89eb24dce7adca12f33043..4be503a0ef49ef350747ad1bf7b4b54dc375439b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 use std::mem::{size_of, align_of};
index 924d754b3259edcf985e49d0b4115edec840c4a6..620d00edbbce3609e767c103098ad62e2d5b8439 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 fn f(mut y: Box<isize>) {
index d598e3b88db91c24a539eb884d6d53d7b40c2956..75b309a4839b02af3e0d99ea1fa09525e396721f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 pub fn main() {
index 3be87b5a49051ed116c71f184477c7ddf3b7a90e..86b0f1d840efa7691ee3aedb7a95862345f3a141 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index e4d7eb82c67098bbc9d2c49e3319ef3f64021752..f17c9fa6ca9378b11f778cc8ff240d66fda4fa9b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(start)]
 
 #[start]
index cc75d2ee86a70927d815633e880cb8846f12b092..9601e9118aa50768af5e32833865c833ed8f7f9a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     match -5 {
       -5 => {}
index 62d038024a27648ad979d2f0f15e266c1593fd5c..f8dfb5fa8ca77e469d2d43027fb2a781db9a6cd6 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 /* This test checks that nested comments are supported
index 1b98291c3751f317d4a74cc29207ef054aa5cc82..303273618e18de3b4b5711f6cb0f1702b208f7f1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 
 pub fn main() {
index 7a6164383dfa8b573c921b2839285638f680c142..8fafd41d9bc699f98afb55375634d0732cc8e85e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Make sure nested functions are separate, even if they have
 // equal name.
 //
index 225619ad47a23e82a42402ed9cf9cfa628e44b57..2fe00aede007429c9024174269277fba066ca73c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:nested_item.rs
 
 
index 808377ffa1189903e6c7c6164eff85527c9f88c6..98ce326aa6631b451dd60b0fd3cd842a0fba55f2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 #![allow(unreachable_code)]
 // Test that we can extract a ! through pattern matching then use it as several different types.
index 2de8567924e39acc2e5cf8abfe1fa6a4b7cf37b9..9ccc73dbf92d4c4449a43ea35e4e1e6bdeadfa9b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(never_type)]
 #![allow(dead_code)]
 #![allow(path_statements)]
index f32e2973813c63d59edf72a0c706b3e55c13b247..105c38635331f1c87b013bf99842510e50cc1c4d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that having something of type ! doesn't screw up type-checking and that it coerces to the
 // LUB type of the other match arms.
 
index a39803c2eb84b7657e655c95a22e2f729985562f..418cf554b49be7f75d09622fd4985ede64b801ae 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 /* Any copyright is dedicated to the Public Domain.
index 5539518c37072d26bd8c1c5cb021d887598ff3eb..d11f0d045a7e422e7b874613d4dfd3a05354c0c2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 fn f(x: Box<isize>) {
index d02136d9309fdf6e45f60d716f764ec29c551d3d..e1f2bea9afabd8940ffd64a53f447c7ca2461e86 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::fmt;
 
 struct Thingy {
index 67cf5ab2e1f6b411608ac6dbb8a3c4180960a32f..f132ed57ce933305c763abbc190ccdfd6338e328 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     println!("Hello world!");
 }
index 1ded0cd1c8ba7df46d565f3481b88ee67bb81177..82ed7b55740f654e822063789e7eb600021a6964 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 static FOO: isize = 3;
 
 pub fn main() {
index 1bce71a9ed9a06c91a45c8945752d1134e792e80..850b0de44b7ed171292bfe3d2e29c5c1e20e7ff0 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let s = "\u{2603}";
     assert_eq!(s, "☃");
index a80ef1410876ccae5ee498d02e020a5e13a1014f..d99eb4cbd1c80c8fe40b5f95c5d3727edbbd27cb 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 fn main() {
index 79c9f7dc01103cc38f2560622cfbdf15cfbfd256..9b629838ffdf6d41a06d2b279585f530a810932c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Test that the lambda kind is inferred correctly as a return
 // expression
index 104f5be7767d35fc9febece36c1e7770bfc35799..abe31a05f2260953c43630a94b3da293b963315c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Test that the lambda kind is inferred correctly as a return
 // expression
index 93199f8ccd50d7a35895153392fae1e544916738..90de53856c0d8830ca847a102121afd57db131c4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests for the new |args| expr lambda syntax
 
 
index c79b76d646c74fc011b128c03d27a6d319c13b91..a6a725211ade1f74399a0448137d8e22010208d4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 
 
index f8d6cde2aa8ccec4287065db84ee2dcde1645985..8ee75b2fef11bd45499d6a99819bb56c7fc67fc2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[derive(PartialEq, Debug)]
 struct Foo(usize);
 
index 56d908ad0b7e5d584861636e6e6ab75b617eae8d..f02b66f450f3494a65d6aa5f9305597f6c28072f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #[derive(Copy, Clone)]
 struct mytype(Mytype);
index faff6b48730cfae10be1b893237ae183b75c02ef..98422665b9c5b383fbdbcac9c98313c05b2d8951 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(improper_ctypes)]
 #![allow(dead_code)]
 // Issue #901
index 36a3050d3df7695e13e0b553c972026e37b84273..9374f546ac90379d7fcca8b63d7e27ecacf07cc8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 #![feature(no_core, core)]
 #![no_core]
index e09f8f6b7a87c7d17eea1a59e96d1acb4831bdad..b08e63dc7cfeb4911dc06cd4fc9666f6d069ef38 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code, unused_imports)]
 #![feature(no_core)]
 #![no_core]
index 464978658262d1fb7160e675de2f3ec764b0265a..d9d532106125a2ac71cbe9253e300600e377117b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z no-landing-pads -C codegen-units=1
 // ignore-emscripten no threads support
 
index fecf7397c8f87826dc222f8942674a53a169718f..5b59e9b4eb3855f5579937810413ad5a494850f2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![no_std]
 
 extern crate std;
index 946f993ca888c1a430a597354a530768f08deb67..487d41649f4cb112387e718341011fee6e63dd0a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![no_std]
 
 extern crate std;
index f937d2593a0c7736cad465fd24005371744cc9a1..f6c4ed5794c918a380e6475254958ed432a8ecf4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![no_std]
 
 extern crate std;
index aae1d0b7f81c7a9d65c15cfac142fac3e805f3e7..e72b7b26e2249386d1e3f2eb7f4092047947f15d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-android
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
index 75df2788d7918cd2d3dc4000783149d4230ce925..92efa99e3969dab5d298ca22fd84717adf4ab2a0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 macro_rules! quote_tokens { () => (()) }
index a3abbeb81566e6ebb14cbc5ab981c80807b0f6b8..38c83e00a6ade4cd1d71ac1cb1a6e2bd51fb590d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 struct X {
     repr: isize
 }
index 1ed2e0d88df6de0dd72cf10d034e16ff5afb2658..5bf35fbf7fb03739e505332fd56a40d19cc3007b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 // ignore-test: not a test, used by non_modrs_mods.rs
 
index b76b4321d62aa8e066b24d213c79ccc8230b8d7b..04585f918fd14b7e8b9edf1a6dbc769c446c38b7 100644 (file)
@@ -1 +1,3 @@
+// run-pass
+
 pub fn foo() {}
index 68429e9831f070fadbc0ebac6f201bd3f7ecae64..4d8eb350bd20301dee71a0bee4196bb538b08100 100644 (file)
@@ -1 +1,3 @@
+// run-pass
+
 pub mod innest;
index b76b4321d62aa8e066b24d213c79ccc8230b8d7b..04585f918fd14b7e8b9edf1a6dbc769c446c38b7 100644 (file)
@@ -1 +1,3 @@
+// run-pass
+
 pub fn foo() {}
index 68429e9831f070fadbc0ebac6f201bd3f7ecae64..4d8eb350bd20301dee71a0bee4196bb538b08100 100644 (file)
@@ -1 +1,3 @@
+// run-pass
+
 pub mod innest;
index 46add00996b5d18815984bc1f08b6dfdb3f329cb..c8efa66d6657b6cd8ec1a4e6e54f2d361bc646ee 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub mod inner_modrs_mod;
 pub mod inner_foors_mod;
 pub mod inline {
index d93219d83d263557591a9675e6e3769328b9b4e0..11b6e9fe37646ef5ad0118ce92483f50db662fc4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main()
 {
     let all_nuls1 = "\0\x00\u{0}\u{0}";
index 0487052799a4635551feed7153e57044451bc125..0647a18c3c45deaba05685417397e815fd623a51 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // #11303, #11040:
 // This would previously crash on i686 Linux due to abi differences
 // between returning an Option<T> and T, where T is a non nullable
index 42aad550c1a7f56fd240be3fb65c306634850acb..4c6964f294b5e18cb5525078d1406e2a4b17207c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(box_syntax)]
 
 // Iota-reduction is a rule in the Calculus of (Co-)Inductive Constructions,
index efd5cea6a4bfdd94094a1d79f65db0a4a3e8db4f..63a106f1292826ee6dc1c276d35b422243176b31 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 use std::mem;
index cd61dea03788fa9ab3ae6c2c5db18bf0b7f6ebb1..467767ae59d7680102b805d76bb72011140e8dff 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that `Box<Test>` is equivalent to `Box<Test+'static>`, both in
 // fields and fn arguments.
 
index 9212f2802c0180572f34ae6d25bacfe1b54c93c4..8ac45b3db71b32fd0df5ee2262672d4fa48ed890 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that the lifetime from the enclosing `&` is "inherited"
 // through the `Box` struct.
 
index 061f3a116fcbb9dee6c993488cfdec6569a81fa9..a09fc03ab9b443e383fab30e9a4c8e9feb35c056 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that the lifetime of the enclosing `&` is used for the object
 // lifetime bound.
 
index cfa4af0d7a53fb5b0102783e7f34a04e94e4cfb4..5093b1c27d0eae9a6350da71755e57cd0c9b4e2c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that the lifetime of the enclosing `&` is used for the object
 // lifetime bound.
 
index 7f24ab2cbb5ff7559129449b25d70aef142584de..bf80a80f4060c03fa907da15fe6b153f99de3d04 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test for using an object with an associated type binding as the
 // instantiation for a generic type with a bound.
 
index 47196f108c02c6831f10205fa64593770aea5ff2..704d77480b85283710695bae4ede3fe3e6ae5cfc 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that we can coerce an `@Object` to an `&Object`
 
 
index 58327237494edba475e68bc9a1d2a728c03e5324..9b88d8ea7bcd9444b5a5ecfffe2f26d00f9a6c3f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test invoked `&self` methods on owned objects where the values
 // closed over do not contain managed values, and thus the boxes do
 // not have headers.
index 69984fbb62f1467bbcc8309bcbb34890db1e3995..4b7b68f22176f6576f3f5097dabe5baa80364c74 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test invoked `&self` methods on owned objects where the values
 // closed over contain managed values. This implies that the boxes
 // will have headers that must be skipped over.
index 46e663417cf93b056270f5dd0323ce28532f5a47..4e2e400cec02371e3918f73e9d198c55cab66d46 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Testing guarantees provided by once functions.
 
 
index fa54f9529382e6fee9ca6017931a534d624869f8..00fbadce1ac882af2bcbaa22a7859ca2181380b0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Why one-tuples? Because macros.
 
 
index 8e0353e484921280e826fb45ba9772f1f729524f..96853854d6cc91f109f7047c3556f01320a97ba5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     // test compound assignment operators with ref as right-hand side,
     // for each operator, with various types as operands.
index ea6c7647bb5cb6154483e179e218aa74f78ac7d8..9737be97fa3725aace067496837758e19bc1490a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let mut x: isize = 1;
     x *= 2;
index 69e3f699e9c6d7118a68dee606570b7eb7022f29..4f40c80bc4c74f72055f093129253fa356991d1e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Testcase for issue #130, operator associativity.
 
 pub fn main() { assert_eq!(3 * 5 / 2, 7); }
index cc546c903b79087c1c27e59c4de9814b9dcd3cd1..0d1dcfd8bddb0ea71d95ed424a036074dd818eab 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that we can overload the `+` operator for points so that two
 // points can be added, and a point can be added to an integer.
 
index 026e2536cef493c33c4323d16867ca707d54e162..6b3abcbc76cc22c8adac58b97611e3df030ad284 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 use std::cmp;
 use std::ops;
index 77f21b3fcc0af12e2d8b00b463963e4904c288e9..f86972b73482677a022b6d806766255b035a46d7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![crate_name="foo"]
 
 use std::mem::size_of;
index 58778cac50dd7c7a4d2b01ef25b9bf870a040fc6..98283066361c2615e71296be5693f59db14841d9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![crate_name="foo"]
 
 use std::mem::size_of;
index 0b21b8e5b5a6ccf594908b463f0dd7f9f75654c6..76d0cf43984b337adb7c2d39d910a5981b6ea938 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let thing = "{{ f }}";
     let f = thing.find("{{");
index 6ad65c99247f2752db678c165dcdce46f5afc9c8..173f803ee24d24941adeb37c8f0830fb0d4d804f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 use std::cell::Cell;
 
index f03935e3d27cc73431cb93acfb16a5177599ec19..5e9265be4b982b8159bef17badf93534fb3da38e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(unconditional_recursion)]
 // ignore-android: FIXME (#20004)
index 48fa9020b9305f3f5dd088421ac1c8f29e81898e..b28a09101797668b2353dda3020b5d79bd44d774 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[derive(Copy, Clone)]
 pub struct Foo {
     f1: isize,
index f3cc2e99e0ff43f84cff5626a382a9f895af1b39..af4caf75669967d0b8cda24859f4e1560be69e53 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_assignments)]
 #![allow(unknown_lints)]
index 6d1b2d55e556505725c7488dc94117ae5f4e24c8..cc808147600b7cefac0ddcdf36130f05b450491e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // Regression test for issue #152.
 pub fn main() {
index ddad0f5969917259214f7cb9a33571cffa0c6b9d..3d4069f368d2a4ea13c3d99a9f01d326c1a9974e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(overlapping_marker_traits)]
 #![feature(specialization)]
 
index 53c5cfc813888090d1a6df60a295aa25f50d7264..383313902379eea5ae791ec0aca46869224f5bc0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests for RFC 1268: we allow overlapping impls of marker traits,
 // that is, traits with #[marker]. In this case, a type `T` is
 // `MyMarker` if it is either `Debug` or `Display`.
index 7101726ab6a60a5700311f62bf0f306dca235766..2efa8cc02f425807e201b6c57a8821980c5c9b06 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 fn f<T: 'static>(_x: T) {}
index 6028b8f5ab4918c9eaa58a15319d02146b67864c..659864c1d9b51db288f7ab70da586e2caa9b41f4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // If a struct is packed and its last field has drop glue, then that
 // field needs to be Sized (to allow it to be destroyed out-of-place).
 //
index 5026ad1ccd4ceae68cd31fdeab74f2c81707d7a5..0c97babd51cd4ac3fd70097bee1eb3d029f0a73e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare always compiled as panic=abort right now and this requires unwinding
 // This test checks that instantiating an uninhabited type via `mem::{uninitialized,zeroed}` results
 // in a runtime panic.
index 1f05ee0ed2242ed1f914d7c90ef47f62ce923cf8..8e8bb8800ec0d7524e8f68aed2dca9ceadaae557 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let x = true;
     if x { let mut i = 10; while i > 0 { i -= 1; } }
index e6b07c583fb0996b5ab1336ea472a6412765efcb..d3fe6079a5d2afe0dbec8669382962c4a712ea05 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 trait Foo {
index a08cd106ec1172044ece957d812e12c1e7fad1c1..aeb2ba4faa54ac25e90784ff21f0ba48783bd55f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unreachable_code)]
 
index 26e79b061726eaa162fe453db0f0933293b5f354..2d1fa7dc42e0cb3c06cb0bec89a2a2766fd45314 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Beware editing: it has numerous whitespace characters which are important.
 // It contains one ranges from the 'PATTERN_WHITE_SPACE' property outlined in
 // http://unicode.org/Public/UNIDATA/PropList.txt
index 7a9b04c070465493afffbaa14b916bce468a4e19..4c137de82d0726ad6f857861acf8980a2580d766 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 mod foo {
index 64ee7319fdde5aa8dc9267c3f9c68e34eb3aa5f4..c9bf710b8e76256df03ca3d318ec120ac46c38f7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(deprecated)]
 // ignore-cloudabi no files or I/O
 // ignore-wasm32-bare no files or I/O
index 65130a1a9f2c095714065eb21451e0daa528e0eb..70c083e0800cee97c1000d9aca168be77745c4fa 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi spawning processes is not supported
 // ignore-emscripten spawning processes is not supported
 // ignore-sgx no processes
index 239074b4e429ee118a55914a7423e2ec944a53c7..ff2897a5e86812bf84ed67d7ef0300e177f80f03 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:add-impl.rs
 
 #[macro_use]
index a49fd8278011e9fc25305eab43dcf8e286ac6170..a493840134840420868ffe47fd28f459ccb2453d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:append-impl.rs
 
 #![allow(warnings)]
index 6ff6ccacf7c425c2673d07b4a2fa3c98c36b313c..764f507abfc61ece95e603c65076b7a35bdf54f2 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:attr-args.rs
 
 #![allow(warnings)]
index 7816576eb5c1d4bc4ffc263898830ef6fada9407..2aed9e2e814de0964ed92b8d206bc21f45faf0df 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:attr-cfg.rs
 // revisions: foo bar
 
index 4a8fac411016bf22a6481344d3117e0d5260a366..e0edee630a4a9484e42290330280e8ec7f5fb10a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:attr-on-trait.rs
 
 extern crate attr_on_trait;
index 3f10754985b1c6ad0b25acccbc83c9a5b4e6a286..fe22f48772147bda2690a90be7322bccb630d4bc 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:attr-stmt-expr.rs
 
 #![feature(stmt_expr_attributes, proc_macro_hygiene)]
index 6f04bb10b90364e8f9b87f5db0fb4e3b0f50fb57..7073c71538cf7c02c68449caccd6f0dbd6edfc32 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:bang-macro.rs
 
 #![feature(proc_macro_hygiene)]
index f31b418e3b27ac1d246887ad35415a8485cbce04..096d0ec533a769304f6aac3295f1daa4c029b3b6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 #![allow(unused_imports)]
 // aux-build:call-site.rs
index f42d82ce046d1dc214060fd8a421041addb5f6e6..966ab616cdf0c9f1464bafe315940a431f30e5b4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:count_compound_ops.rs
 
 #![feature(proc_macro_hygiene)]
index 4d551f65cd0b70359fcc957610e3b4237376a639..c0518e4b08cce4a5f952a092dd352033d4374708 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:double.rs
 // aux-build:external-crate-var.rs
 
index 993d3315596ea694bb4362b07069d226723dde34..2cd5b487301ce2028a41b62316082bb273fef394 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:custom-attr-only-one-derive.rs
 
 #![feature(rust_2018_preview)]
index c23ab9fb683ec0887272fa7859c48d213daef78a..3947746286da0441e5eeaec65fba23422e046fbb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // aux-build:derive-attr-cfg.rs
 
index da67534364b65148e676605efaa53d26637bdeae..41291a87b01eea26b22f4ed5fc704c8158d2b2da 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:derive-b.rs
 
 extern crate derive_b;
index 184015250875de287275c8422b8bd95ecadffcc8..528b0f22a81e4d0f164d20af23e1a004044a3995 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(path_statements)]
 #![allow(dead_code)]
 // aux-build:derive-same-struct.rs
index edb0201ba77977f1d46712b7566671d8db8800af..b81e38432e83ac23acc453bba24ae3006facc203 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // no-prefer-dynamic
 // compile-flags: --test
 
index a93ba8184f7fe2d529b28246374acd21d77606f3..08225b8e3f22a56334cace0ae483322b308d2f9f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // aux-build:derive-two-attrs.rs
 
index 6e8b1b726e46d2034d5d1c33fe4e1a70da41d660..e83eee0936ada46a5f0b7da2e94395b95a474537 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 // aux-build:derive-union.rs
 
index 84104a3f5cf058c0d5c9f7fe83a355773a9622e8..3e54c9feebc6b1f81bfd9fe4c76fcba5daab5b61 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 // aux-build:empty-crate.rs
 
index 097520b993a7950eb7c3bbb7b57091b6f3233d65..418178d0f0ead071c24efda048d43721ac535eec 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:expand-with-a-macro.rs
 
 // ignore-wasm32-bare compiled with panic=abort by default
index 1659b87440b97e3678f05a6ef14494d510f1f4b3..588bd2b76c105256d6e87ab7eeac2a9fe7d5e151 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:gen-lifetime-token.rs
 
 extern crate gen_lifetime_token as bar;
index 3e5bab6bb13325ca6bba5036ea33ad70e9bdd8a5..56ea9daacc3b98330df1a658e47ed7b38d524bca 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_macros)]
 // aux-build:hygiene_example_codegen.rs
 // aux-build:hygiene_example.rs
index 91c8d48b87117bfcb27754868dbdf54f460137d0..ada125a215a5d6cbaeb58702ecacdbd28a446fdf 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // aux-build:issue-39889.rs
 
index 466021c16e8dd638e7c23d214420a6fac25cf990..e8f445aaaf72d6e050550af092fe2831ecef7dc0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-42708.rs
 
 #![feature(decl_macro)]
index b0dad493ebcb3eee9c5c0c11a3381c26e0df12b9..01c6b80b46ca7905412c2fdb994a4016755a6a44 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(path_statements)]
 // aux-build:issue-50061.rs
 
index e462a53ec283c68938d932a1ad79f2d986ec0e94..016c530fe35365a0eae6baca0a1572f31f6d083a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 // aux-build:lifetimes.rs
 
index 24585e1e0674d38d0697985f93db64cec1ba8118..5ce0e65452e99392baf2680e69d4778d849a1a9b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(path_statements)]
 #![allow(dead_code)]
 // aux-build:derive-atob.rs
index 99e3f7d14fd16e12ac228daae726065d9359af8f..93ae5441f9b54412f18da588089e3bbcd8e7b837 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:test-macros.rs
 // ignore-wasm32
 
index a96c61f1cb889a604e89d6c4f5e5c2cd2cc19a17..ea9bf837c2479ec9620f97968aa3b15427f45056 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:modify-ast.rs
 
 extern crate modify_ast;
index 751d1a43a0a9a17e3407f7e594e62d0024cc84df..3d018fe60a1344cac2986df768076afaa245c225 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:negative-token.rs
 
 #![feature(proc_macro_hygiene)]
index b360e4e1bb274eaa6e65393927a57cff0145eb88..30da2811ed4d4a556cb27f333ae06e3ed0e5786c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:not-joint.rs
 
 extern crate not_joint as bar;
index 26fbce3ebf14586bc888c99430631701d97f8ed8..04625559b919e1c217b2a651a545e3748e768f52 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(path_statements)]
 // aux-build:derive-a.rs
index 9b977b8fa75cd0452731d8e870fd15cb168a626a..3667e14c9e058cc9df6dfd9a5c3dc50dad1c4287 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:span-api-tests.rs
 // aux-build:span-test-macros.rs
 
index 58663cc6c3794cb49873bbb930b246fde3cf8e1d..460f4d9f726f34be38ada828199932b5b83f9c20 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // aux-build:derive-nothing.rs
 
index afdf2b8baa19c1bcb3bec33610688484d99f6a1a..7ff946490034e2e9f3b8d893b36444a9aaba907d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:proc_macro_def.rs
 // ignore-cross-compile
 
index 4920678af1a06fcf9d41f23e66234cb2ba0e75c8..07fb6abaeace0ee4a68ecd878bc762f8133cb03a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Regression test for #31849: the problem here was actually a performance
 // cliff, but I'm adding the test for reference.
 
index 8b07b9c98ad8e528b59ec69ce023152077ec443a..b10239c22d1f408191efce5033f6639b605aab76 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Regression test for #37154: the problem here was that the cache
 // results in a false error because it was caching placeholder results
index 548c4d29cbb73ddcf30337503c0fa266a590f750..547ff45c229684fa5cd60beda3b97595b597d341 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_variables)]
 #![allow(unreachable_code)]
index 0dd2b5467d9a9f674d6454f331384aaad25d2687..1c3ce33039e12bedb93b1c31bfd18fe8e8599c3b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 // Test coercions between pointers which don't do anything fancy like unsizing.
 
index d000c8488a686265b2d586b50f5b1d089f1e299e..2ff6f935a03c15c11554801aadf9deb37a9550db 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Check that functions can modify local state.
 
index 3b2b41860194d008b359a704cdb1cb666462234f..dc0eb89bfa207790b36fd046506817dc270df93b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn something<F>(f: F) where F: FnOnce() { f(); }
 pub fn main() {
     something(|| println!("hi!") );
index 777286d8558734d4086050066d1a7b64b21fbcc4..f07c041717f33b04e27a7b8a8f124d7abcb55241 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // Make sure the type inference for the new range expression work as
 // good as the old one. Check out issue #21672, #21595 and #21649 for
index a3667d8761304ac0dd8f0f1551d1e9c2417b04ad..82983e37ea18e359454b11e9f8cb19ba4a4181fc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_comparisons)]
 #![allow(dead_code)]
 #![allow(unused_mut)]
index 31c3c3940344c5e807346c5ded3f421da6ffd6a9..68d9bf7d26b69e56a7f87696342ac0e3787d4b49 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test inclusive range syntax.
 
 #![feature(range_is_empty)]
index d4d830ef223171aeae76263d983409eaea04f01f..e26e31b44a079f5531ad55a442808f17faee4f48 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_comparisons)]
 // Test that you only need the syntax gate if you don't mention the structs.
 // (Obsoleted since both features are stabilized)
index 86862993d4da37953e5c790cb56c7ec35d7aa554..db241ed0ccd7cccd753388753aeacda65107d7c0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that the precedence of ranges is correct
 
 
index 511a35b25a3e8fc766ad2e3e8ec362ef788f6ec5..9f50659ed60d096a9392087614dc5474e6415832 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // check raw fat pointer ops
 
 use std::mem;
index 8861ec3f85a1162351daad71b8dcfe2df1e1599f..0916dddbb7be66fce440a30d4afde4678005f948 100644 (file)
Binary files a/src/test/run-pass/raw-str.rs and b/src/test/run-pass/raw-str.rs differ
index b1b25358978340386b9d24224ebbec82ef6f1e38..37113bc0a050bf95393e0edcba22f3e56a3a761e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![feature(box_syntax)]
 
index a745404740630c53b46889d1bef4e5ea707e22a5..f1e53a0d8b4266658134f0953db9b546126ee211 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare compiled with panic=abort by default
 // aux-build:reachable-unnameable-items.rs
 
index a632ce186e1dc2f82430b296ac23a6a143c8a366..461355f87cf174a15bd0b8b7ab1578a03c5577d7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(staged_api)]
 #![stable(feature = "a", since = "b")]
 
index 444d447123368ac606595dff591b8a060c7c1c0c..a6bf61803cf8521e2baf7c3b688c28ef033412aa 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 
index e283d5b6de1db684e602b8807e09e7fd2b652c05..69292d241c3058f051e7b5ec351ca09a435ed0e0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // alloc::heap::reallocate test.
 //
 // Ideally this would be revised to use no_std, but for now it serves
index 733f8f9c1f37de62e6f775740861781cae568f56..913da56a184f5531149f3f2a030e3502764168c5 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:reexport-should-still-link.rs
 
 // pretty-expanded FIXME #23616
index ae48f97a9ddb50f88a40f1791d8a2077fb9df12c..639ab1a0f3acd4c40c5ab0ea2dbc61fade2a711a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 mod a {
index 5171c1c17393ea4e19b5bc307f758170d72a8ee7..2582975e219a6874276a40fd4168ba4efcb2213e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags:--test
 
 #![reexport_test_harness_main = "test_main"]
index e08700c57c0e3e78efbc0a8bd7d4f100245a6c1f..90f1980f85809f2842de44bae9d4d9324b2affa4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 static A: usize = 42;
 static B: usize = A;
 
index 928509e1bd652a8284ceb2eabb111308a628d6c3..0b8953793307a8a82c83f664faab1112d2cdc7d1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 static FOO: [isize; 4] = [32; 4];
 static BAR: [isize; 4] = [32, 32, 32, 32];
 
index 9bb08cb6c647abea818a612aad26ec4db9a6ca96..fdd14fc2dbe72dda5b95ce28f9b6b18b3ec46664 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -O
 
 #![allow(dead_code)]
index 7e730f6156c89a34b518e207b042972f3d126ee9..5f3473e9feb74f6c5b68b86bd37bf84fa868eff1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(non_upper_case_globals)]
 
index 1a8ce9682ec606e600cc49be76926692ec0e81a5..85c684ca0328e8258da389674be1524fdb085fe0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // check that type parameters can't "shadow" qualified paths.
 
 fn check<Clone>(_c: Clone) {
index c26473da5e0af90508fc8426bd3236ea9ee1086e..c1de139a9a95f08e63a523c226fa40c1b2532b92 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 use std::cell::Cell;
 
index 066ce46f0b24c21e2a5021a932672c92acb342f8..c4756a21a0016f3fb60387dd61a1236c47996b97 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 use std::cell::Cell;
 
index 14b562160dfed5691eee478f3e2f1d632983a2da..57f258aab654a6c4e588c82378a6d1540898821e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #[derive(Copy, Clone, Debug, PartialEq)]
 struct BadNumErr;
 
index eb69ee6f886e8a30293bb7793fc68a666eb4d472..6618992e0361f0514c1f824dc57e4a8fdff540c6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn my_err(s: String) -> ! { println!("{}", s); panic!(); }
 
 fn okay(i: usize) -> isize {
index f23461faaf444473ebd8d92a7a8c1ed63e274e69..d595506e336f643220a519e14eb4e843c339c9ea 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index f24df197234f86d1409bbc12545ca8222a96f8d5..fd5203ff0ed600f5f4bf5fe0eab8823f664f11b0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 fn f() { let x: () = (); return x; }
index cbbdd78dc204b31270265f01e7b9f97ee0a2d109..4ef673b4ec783a84e6bf7f1b9ff4ffc28de34977 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that using rlibs and rmeta dep crates work together. Specifically, that
 // there can be both an rmeta and an rlib file and rustc will prefer the rlib.
 
index ab1bf3a5b91d6574b8933ee0a8ca8d4e8bc9a25a..3fc631be60ed900935eaca7a84e36106e536a669 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi spawning processes is not supported
 // ignore-emscripten spawning processes is not supported
 // ignore-sgx no processes
index b6642572418338c844e91d751c7d9514b35ea69e..1c4252b23ea2663d772f30d0282c4f80ebe1ac95 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This test is just checking that we won't ICE if logging is turned
 // on; don't bother trying to compare that (copious) output. (Note
 // also that this test potentially silly, since we do not build+test
index 0066217774d9453803f0112db501b2ed21e2cd59..2d7e4ab39893d21da6c1809a22cd429d66af4749 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::cell::Cell;
 
 const NONE_CELL_STRING: Option<Cell<String>> = None;
index e90efface687bc6dcf57016e66737ec92bf48b79..626de4ed5b6635e48a65142edfbbd838d9b80c48 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 // ignore-cloudabi can't run commands
 // ignore-emscripten can't run commands
index f00fbc363d488c9f6845aae694f55299c9d4e8e8..ebd55e0ba02f1f9cee0f50beead312c825ec84a8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 
 pub fn main() {
index cb90e3be0ac822e36851a1e3f1726b2b9fc185b5..4078326b559c84258fab86c9f7bddc763bd52967 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     assert!(("hello".to_string() < "hellr".to_string()));
     assert!(("hello ".to_string() > "hello".to_string()));
index 03338d79da801e3c20b9318bbfdb108577075d95..2495c8f47e7e0439fbf51aa50a06f723fde4dfdc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 fn foo(c: Vec<isize> ) {
index 83f9c0bedc623d0269ed111cabd58ffb86c943dd..350fbfeaeb5ba2566c3b1fd761517f0cdab704df 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 mod foo {
     pub fn f() {}
index a5fbda1c1ea3193bc46b3040d83f5fd666d45946..3d3ba468be9558a81f75f031c3416990223130fa 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/env rustx
-// http://rust-lang.org/COPYRIGHT.
-//
+
+// run-pass
 
 pub fn main() { println!("Hello World"); }
index 6f2fa2a370dfeef78849f9700264edbbd30056d7..787ff51799a8a19d20159ad058d56b9eaac4a47c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Previously memory for alternate signal stack have been unmapped during
 // main thread exit while still being in use by signal handlers. This test
 // triggers this situation by sending signal from atexit handler.
index c22c0352286dc964a2a2a568fcfe61280b178b53..bd34a2181603b1cf5143125ee31c7940b0522713 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
 // ignore-sgx no processes
index 6c5bbd45a3c35e512c21998d132cfb5fb1802489..f472029b820b8fbfdbb68537e51a62550e0549c2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 // Be sure that when a SIGPIPE would have been received that the entire process
 // doesn't die in a ball of fire, but rather it's gracefully handled.
index 020c9c26512d6b8365c8e6efcb78579abe36f603..561e4fdec7c6b50232689fac38ca7db210218a3c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_mut)]
 
 
index c6ede34b2998d0e2ad8d8c164c7efffa7409c9b7..d95fefebc0f9e12ceed1237ed6621eddab46d83d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(global_asm)]
 #![feature(naked_functions)]
 #![allow(dead_code)]
index fb7ba68ffe754823c66f1efa2c684b80a3574086..a32b5de72920afaa769ce741b03992ee5ada5ffd 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 enum clam<T> { a(T, isize), b, }
 
index e5d55761539a4ea80911c617d539c0a94ac66074..319b8026954b00e0eb14256cc39f966fff250066 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Possibly-dynamic size of typaram should be cleared at pointer boundary.
 
index 8dd3227ba887559d295c4e0738c4c5f144bb5736..2abf0a1e0c2c9ef91ce111eee546c9df6ff92825 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Possibly-dynamic size of typaram should be cleared at pointer boundary.
 
index 7128b3cc7c3ad02617d619536cd810a694efee5a..757578b84750c870c0b9751dcfdff8c351d6db9f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten no threads support
 // ignore-sgx no thread sleep support
 
index ee6be75be2216cdf27df027dd12477f976efd074..f3a6a668372fb91dd33048cd9655eee8a9b3d71e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-tidy-linelength
 
 // Issue #16624
index a2bf26f1e27571b78658000d2119b15572650b8a..6ebc61dae783b2cdf4ba5b59d93e87568f20d243 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-tidy-linelength
 
 // Issue #16624
index c58bf4520c1984c093dc68f5c36ac7e4ae005ba2..74f112464c75d7841f1546026c7c52dc920ba735 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no std::env
 
 #![allow(stable_features)]
index 2a256bbfa3932ebec549af3e39ad5b8672447a8a..99839166e302698a949ba32a0e7522f015d6e743 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Issue #2040
 
 
index 1274f032a3e298fdaac584eecdd6c1dbc7a83d09..9018ff4bfc2e16fcf6bcbf831554e07e89032564 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-arm
 // ignore-aarch64
 // ignore-mips
index 773d0ace90ed9dbc25792c4097c68e45768645d1..1ab1d6df66d4b95ac3c9c84103c70704bf886c59 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-arm
 // ignore-aarch64
 // ignore-mips
index 1824162b8bac65c95774025655190314251b584d..e96406e46b57b6bed640e3e7d2a4a4006cd198e0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
 // ignore-sgx no processes
index a0392f479c8d455c0c1d3e112a863afc94b229f6..fa2fc97d7b8a34812121a8a12ab8d062af44cc1d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let a: String = "hello".to_string();
     let b: String = "world".to_string();
index faf992fabf167552cad5877adaa4b8f501544c2b..2b2e001d8bb7fa85e59eccbb61b2df3de22ee46a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let a: String = "this \
 is a test".to_string();
index 944157d0b20094cda0d4a2379a465ef3708822a3..11a5bd07c3b555aa0890ff41dfdcc2809fc4b32a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Ensure that both `Box<dyn Error + Send + Sync>` and `Box<dyn Error>` can be
 // obtained from `String`.
 
index 6013173f31349d1562e6ac038917323cb51bbc37..cee5e27786cae29a70fff8d8831adfa02b94180e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     let x = "\\\\\
     ";
index 5f5ee7cfe4410b8709353440f67dac1af550e316..f242cb8457f997b01586d532fea5343098337043 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn size_of_val<T>(_: &T) -> usize {
     std::mem::size_of::<T>()
 }
index 56acc6bd7d4f8ac9493c51b747ab0e333b5d0e36..63d30c4da896fb45e2a15d3c632dffd482f49ac4 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 
 
index c86f2b8f9c3b8c68878956f8fe650e686a2d1678..60c8db53a8c3d0841e09f413af27588b7f54ced7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 #![allow(dead_code)]
 // exec-env:RUST_MIN_STACK=16000000
index e378aac8be4138d2650aea57a4ab67f2ab0b6710..86c720288c355ed5fae7473d4325a2c2f9baa488 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
 
index 9d875c59d87ca82342accc25c2dbb7df5ea3c2d4..ff41ce6c79ac137677ab7785bad5970c518b94c3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
   let f = 1_usize as *const String;
   println!("{:?}", f as isize);
index b673fa55e381728f857287b61edfb0a22fe8bedd..d7d037f0b32b04b23a66aaa7bb407a1f549ff194 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // note that these aux-build directives must be in this order
 // aux-build:svh-a-base.rs
 // aux-build:svh-b.rs
index 55f9c1b6fa2d234509cb3637437253b75bb463e4..d87114748dd87ce128ceef6bc1ef861dc548a186 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::mem::swap;
 
 pub fn main() {
index 42b17ef8b78ef87c656eb59c087b0f626761dc5f..c8f298ec0e5cb9d87b8dc7b12d88bcc5b39ca9f2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::mem::swap;
 
 pub fn main() {
index 31fd9ce7d1a495656c22774feb9b4ce5d4bdd2b9..85b357e0c024a49f7c19791f28cf0f55c5be1459 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // Issue #5041 - avoid overlapping memcpy when src and dest of a swap are the same
 
index 53ec5ea7ff7baca0a197f6cf779ed67e44fd5f96..a60944b632d29d364c85d4df72a23a3d03299318 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // use of tail calls causes arg slot leaks, issue #160.
 // pretty-expanded FIXME #23616
 
index c945f3de0cad7390673ab6ac2c8cd652fa48ee16..f186683ea668011d177df5c82fe8d4177deab7e3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn checktrue(rs: bool) -> bool { assert!((rs)); return true; }
 
 pub fn main() { let k = checktrue; evenk(42, k); oddk(45, k); }
index 47847ee6db9e98667c3b86f72cc7a83e818a1f54..c67c5b7a555c1d16c25eb78e05876bddb66b480e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() { assert!((even(42))); assert!((odd(45))); }
 
 fn even(n: isize) -> bool { if n == 0 { return true; } else { return odd(n - 1); } }
index 391cbbdd42daff667066eca48bcfe11311264cd7..1f1948fa8fa2c364f2c2f907bfc437b2a57e8f69 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-android needs extra network permissions
 // ignore-cloudabi no global network namespace access
 // ignore-emscripten no threads or sockets support
index cd9d093160635e200cbb0d04062406cd1e774ceb..c9cb932e62af0592e77e5ca02cf69db4281a76a6 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten no threads support
 
 // Issue #787
index aa95f55e88e3b6db283d4f32f2f21781a7642bd4..2583e431ec173e6cfa780900bb3ab8c1de9b9bf9 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --test
 
 #![deny(dead_code)]
index 0c3c2a42488520cdcd294370e7541aa9fbbec6bc..1a478460efc6c8954c6714450b848652cd700a85 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare compiled with panic=abort by default
 // compile-flags: --test
 #![feature(allow_fail)]
index fb596dade8fe4e7bd35e15fa8e308cc5b8b14147..628b1896ace4f32a4b1baae1e18cf57a23b3ac8e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --test
 
 #![feature(main)]
index 97ab2e308311064f8b3cd26dc5b771256baa702b..30a9c85e3d2abe503f89abd97c5541fb6feb5bdb 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --test
 
 #![deny(dead_code)]
index 4295f8bbf4cd3c72557589b706b5bf35272b2c26..917c09801e1750f62a25d4912abe41f17c4f083c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --test
 
 #![feature(main)]
index 664d9153caf0d655e288cf7211afd64b099fbeeb..0de1d64f0fcc71420fb58e68fdd8fb6e84eb65b3 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags:--test
 // Building as a test runner means that a synthetic main will be run,
 // not ours
index 2634df10f2662cd88880240f3f3c56681af1f551..56212bb6f4b7357a475baab7cd5a5612d67b77d9 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --test
 
 #![feature(start)]
index d7d9c6c1edc71757934d4c1c817d216d8513fc38..9fa759f9eb4837a25ff0b215cba976b78f849412 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare compiled with panic=abort by default
 // compile-flags: --test
 #[test]
index 75f4d0c8db23aaff45b5ddff61c306821c45c6fc..cd1cd33c2840b5d28b8384fd6f8f8d3d750f94bc 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: --cfg test
 
 // Make sure `--cfg test` does not inject test harness
index 18869cf66da81417505a1c89681047f6907a587b..e00c5caf97c6da4d061e0f2a4dc40e939cbad013 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // compile-flags: -Z thinlto -C codegen-units=2
 
 #[global_allocator]
index 6825b0338f90c0f4b7539370d1e426d703f839e6..039749826256f5a95e5a7883eb6a9cafef5f2075 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![no_std]
 
 extern crate std;
index 506c11011a6da16876fed5df6bb5ec3cbc67da06..be4a10c0ee933a2eba4a658bbdd5eb8536cd1c4b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Scoped attributes should not trigger an unused attributes lint.
 
 #![deny(unused_attributes)]
index bf848b8ebe00ea9a9136c55079a3de85e74d6946..e467d34376f7874fdfbde28dc2073abde24a67e6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![deny(unknown_lints)]
 
 #[allow(clippy::almost_swapped)]
index be6d1991374c303e1fa8f99bc8322544d7c98f97..190f0b99dc888bac7e0bf8fa7dfc5df4d8cbf2ea 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(rust_2018_preview)]
 #![deny(unknown_lints)]
 
index 197af295a42c7272775a7a88518bf431c1bf7fa6..f34e6b7606dd75fa7d750024d5a8f08c2cc36f96 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(slice_patterns)]
index 0984362993cb9bef9ba89429914088bf0b03ed9d..82624650a549950183429ba3f0f2e896a7fac5e1 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that trait-objects without a principal codegen properly.
 
 use std::sync::atomic::{AtomicUsize, Ordering};
index 7d63320b9aad433a225b5b139030e1b5be67ebc4..802a8f15698f2a8af4b3c8136151fe6b3710020a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(trait_alias)]
 
 mod inner {
index 2119c8336f4c00d511d5436aca4ca6797f084036..cf77c113f4c61b5d57a607e6d52fcea9cc7a74dc 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Issue #7988
 // Transmuting non-immediate type to immediate type
 
index e2b110db6367f2c14ab8711640a1b6846be55075..002fba9ce810131711b900581d2b2ef68238397c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(specialization)]
 
 trait Specializable { type Output; }
index dae070682767d1d1a45039c1aa037e444ab5c27b..5831e867be57754a417e526c51e89f1bcc22aacb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 /*
   This is about the simplest program that can successfully send a
index f06b0708290bc909063e751e10985a3c35ce10e1..8e49468bf0c455db10f0db0c32c39875118acd0e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that all coercions can actually be done using casts (modulo the lints).
 
 #![allow(trivial_casts, trivial_numeric_casts)]
index dff186cfd07cf6d66b9c24135064b91c18e8ee37..c29ccc704277ffe188d68e7d1598a3d84f01bc8e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 // compile-flags: --edition 2018
index e9b53f2d1c8df981372aa1ad40f93f418f7f9620..6ee4a4cf319244ece0f87086ee817c45808cd82c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 
 use std::convert::TryFrom;
index b9807a7072d3b89990e23b1c0c4d6bc4ead35001..dfb05599be6bac67cb6197d51a94bffd9dd69aff 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 // compile-flags: --edition 2015
 
index 008cab00ea2416b3a920526482e18059af0a22cc..9993061ea61552690458d39845f28c3b7908ba75 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(try_trait)]
 
 use std::ops::Try;
index 5f0f9a932cd5ce5f93b63ad14b67e395bf0a74c9..0b24b4305acccd02f8f9bb9f5044ca336df23839 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 #![allow(dead_code)]
 // `expr?` expands to:
index 8e7a7b5dfc629d5e92c09902f1332a301e6b0cbb..9118e8e7134593dc8402d73d845a5c3af2e25c4e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // ignore-cloudabi no std::fs
 
index 97caddde41214756ea60c807dff1418f8aa721c3..d8a07c55cf266d7f9afa48bee6d3df4ad54e1f13 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
index 98344491aecf49c3de2f731af05d4d9edc7e2cbc..50451576f9c9771bb822754ee330bfbdde281278 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This test relies on `TryFrom` being blanket impl for all `T: Into`
 // and `TryInto` being blanket impl for all `U: TryFrom`
 
index 47ea0e1c0da2845c74a4109679aabc07d18ff37d..160477b0b0a6b64786496a4a4ea924585c461ae5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 
 type point = (isize, isize);
index ee224cc84bfb18162be51073a145a745196c1da5..5dda1ed975cc3964be2f04154530a2b999e347d3 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 struct Foo<'a>(&'a [isize]);
 
 fn main() {
index e68fa1caa55144342dc991f37c1a90f41a34e903..3e1d92b42aac460aac52f4bff4b288f49d1875c2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 struct Point(isize, isize);
 
 fn main() {
index d9d947bd4c062ac8787cd8b9eba5248668717132..c432e5b54810c628225397ad2d868637ab6a4449 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 use std::any::type_name;
index 7e5231b7e067c1189530fecd84decbf795ecfb80..7adb074428ce97cb025e3a2b651ece681a20249d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_variables)]
 // Type ascription doesn't lead to unsoundness
index 469bc8ed7e15309d551ce058f53665337a2ad819..5391c849dad96d15d65568baba0c36ac66058731 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that we can't ignore lifetimes by going through Any.
 
 use std::any::Any;
index b98dff0d72b8d5752de9ee1f7722148dfd85affc..355d11099419c41eae12e6a0b63463ff12ad8ec5 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test that type IDs correctly account for higher-rank lifetimes
 // Also acts as a regression test for an ICE (issue #19791)
 
index 077a28436df3b5a3e7a617049c0140a85fadaf7d..8a92f065f1bb8ca0437319e526ea43a41eba5d05 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index 6298156452e49b080054bddc8c458d6bd96c1605..a3d6916cbf76085cae19df64fe314ef457fcd434 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_upper_case_globals)]
 #![allow(dead_code)]
 #![allow(unused_assignments)]
index 587a302ad5f89d819cdb4d6170655b251e620139..3cc0bc447a5b16e7da354a16bd74c00971d1d8a7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 struct A { a: isize }
 
 fn a(a: A) -> isize { return a.a; }
index 8194562899667a2b98f25c0ade2683926d8b20ac..4b42fddaf5c88d7e66dbc66fa5eba3025a131ec2 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
index bfce3f32879128700edd5ec27830604fcc35031d..f5ac19cf73aa84648ed1625dde9e46770ca37be7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 
index 509843c6b9281226b02f39cb412189405ae4df5f..be4a0185edaf475632f923891cdb90bb25065e4e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 // pretty-expanded FIXME #23616
index 57c229a21758f78be45515144f5b1549d46901c5..7c2438d38bddcb4c71e60574fcfd91d4bd8376fb 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // pretty-expanded FIXME #23616
 
index db9705058da29fb573185fe380909d66f6aee83c..27433fd770b050caffa3db99abd4171502135b16 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(dead_code)]
 #![feature(never_type)]
index dc029e4569ef5e8ecf2c0717397c5d7097a33fd5..7315cd2feeaa60a46de50ddcceede30c827f65cb 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 use std::ptr;
index fe15b912d6029181a7a66b6a5aa031a33d5938cc..2530a1e966d0a8a59e3b1d4ade2acea6fa9dea3a 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 unsafe fn call_unsafe(func: unsafe fn() -> ()) -> () {
     func()
 }
index 101f9756c8504e1cf9bfed4eb4fb3be4d67d2f9b..1e954f5690956bffc54a033888027c13e16c2704 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This tests reification from safe function to `unsafe fn` pointer
 
 fn do_nothing() -> () {}
index 6a3657e4aeff521e66c995ce5c3cd5a7ca5d34f2..ea7aa5285b09d52acc520b9c6c90ad4e3cae6e41 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // This test checks that the `_` type placeholder works
 // correctly for enabling type inference.
index 60c886ba386bc6c8dd36e67f01ddc374044342c7..282d51a93df894b19fbc794408d22d1a98ad51b7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(non_snake_case)]
 #![allow(dead_code)]
index 06bec5385eb22b075c612af4cbd9981b29689f83..8d1d22eb823004a242156a539fc76af16ec7a931 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 #![allow(non_snake_case)]
 #![allow(dead_code)]
index 0c7abc086fcf3c67160c7f6c9dfc9b8be17a673e..c2611158e65ef6d29a1c5377967b0bcb8d61dd15 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(deprecated)]
 // aux-build:typeid-intrinsic-aux1.rs
 // aux-build:typeid-intrinsic-aux2.rs
index 994c7d516926c3a649e53c2bab14e941741aa159..5718e0efd18265408b8dcb20e379ce8775af6b64 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_assignments)]
 #![allow(unknown_lints)]
index bc8d9c10de17bf64aebefbd414c2a532bfa67e73..9f941620559c05a264ce572549c96e4466f96952 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let (x, y) = (10, 20);
     let z = x + y;
index e136bb23bcd8ac0c81a4d12dbcfd15b496e1a22c..a14ebd6a41fc4c3fb68615735970d205a9eec4e0 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::borrow::{Cow, ToOwned};
 use std::default::Default;
 use std::iter::FromIterator;
index 2bb15b91760fa01d1449d5629c9748ae17d94026..eee2b55b2a01e99c22159d463fbc91ffa5330226 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 trait Foo<T> {
index e5579c20a147461a86a2e594ffe689e6c5744a02..a4d0a849484ec9bb81100ebb16634bf4a942b257 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let a = 1;
     let a_neg: i8 = -a;
index 3d0660554e8af0d0b80ab20e0ef819380e7e4bf0..a1593880d84de20ff9effc4febd226e02966992f 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 struct Foo<'a>(&'a u8);
 
index f9c06d1e4f147cb126bf128344eba99b5898a6f3..7fb8607f97da34473f1263f2da4bdbb7d8102549 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 trait Tr : Sized {
     fn _method_on_numbers(self) {}
 }
index 73e5fbf423811a2c7b0df7e196b663970ab23646..5c5ca5b70bb620d4f83c638fbb96fbfb437ca5bf 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:issue-53691.rs
 
 extern crate issue_53691;
index 3f743a7da4066a7ff20caf2778a664bde506a40b..da1d82e896ae51a341f43ea6f6024ff2c9b67b7b 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Tests that the tail expr in null() has its type
 // unified with the type *T, and so the type variable
 // in that type gets resolved.
index 4bc247a3dcab5ba6a13b706e32c710d95e303bf5..0d1235776a6ef7574e8d48286067ed836c28e0d4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test the uninit() construct returning various empty types.
 
 // pretty-expanded FIXME #23616
index e10b2408cb79ed9caf7144fab9b0488baa6579db..4f2dd4194a5441252df79051590d188c100a2971 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_assignments)]
 #![allow(unknown_lints)]
 // pretty-expanded FIXME #23616
index fa817be2704966f59c656b15dabb1456c8427b55..5b7b4002f477f34b9adb12b0d471cb4e5afa22b0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 fn good(_a: &isize) {
index ac41377e056e2ce171c22b1b5c0ca97e6fb2cf6e..ee44f3999455ee1c4d9637b8cb48bf12f4ade94b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(unreachable_code)]
 
index ea17be7adee70611c41fe3b3aa678a192b3789ec..28b938edc63bf64251e7871598c53bb99b20a9c8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(dead_code)]
 
index 0c977c1ef320a3fac7016831af1a60fe5ba0b004..2478deeab0d4fa43212f36b796349f6fc4a9af02 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Check that safe fns are not a subtype of unsafe fns.
 
 
index e49b372981bf7184729b1720e4e87877b2cf8e9c..38271cc3c78b509dee1ec70f9b16f2e798c86697 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 //
 // See also: compile-fail/unsafe-fn-called-from-safe.rs
index f9414bee2987e7ea51453f560ec280cb40c9e842..26acc913e872ae06d4307405e56dc1e356bd6623 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 //
 // See also: compile-fail/unsafe-fn-called-from-safe.rs
index 11e22d7a08ac0960edca326dc1ef7ed5faf5c66d..db822bb6a028350306858573cd67dd213198ca5e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn f(x: *const isize) {
     unsafe {
         assert_eq!(*x, 3);
index 885cd2b83608019cd66cb4863b8f2827ffda7fe4..7f2d2f9c7ef3becd41a899ec9e51217d6d67d833 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(unsized_locals)]
 
 pub trait Foo {
index 16bdeae4fad41fc2708c5a468efe2ec8b141ef8f..8b2f9b4c9fcd470d3d5743d59ba6c5165b6af1c6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn call_it<T>(f: Box<dyn FnOnce() -> T>) -> T {
     f()
 }
index f19ff5b8de462f6d99bd953c00f5a835df7e91a5..b07d1a571b2120e53f8cf83886cacb66e2cb6a95 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(unsized_locals)]
 
 pub trait Foo {
index 17ab317361ee8e976dcc330d32f62c0ac9f5e083..5e385f33bee7d42e2833c585291647aa35393ce8 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(unsized_tuple_coercion)]
 
 use std::collections::HashSet;
index ad69214db879633658fa2cec1aa58ad4d5a7c71e..54304834d4b2bd6bfd6ce0817c8739d42eb05eda 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(type_alias_bounds)]
 #![allow(dead_code)]
 // Test syntax checks for `?Sized` syntax.
index c9a8b2e7c664b6e80784f4a753d731beb6010cbe..be4406399fd0f7ba8ebefa0441bc16954d4f3286 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unconditional_recursion)]
 #![allow(dead_code)]
 #![allow(unused_variables)]
index eaa65cf37fab826d17d222bb8cbea8f59ddddf85..65efbd6b52070c5ff628aab36b9c41919129cc7f 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test structs with always-unsized fields.
 
 
index baba19c08cd5521c1f1ac7fec9808f3c47483425..e9d4684736ebfecc8d209cfba2ffce585e012158 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 #![feature(box_syntax)]
index 74632dbc797fab98aca9adf3176f36afff60239d..37aee22f85dbb3eefb0aad3dce970dd20a46d52c 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Issue #3878
 // Issue Name: Unused move causes a crash
 // Abstract: zero-fill to block after drop
index a55730c55fd9e5dc0d59411f57e24e0e817de243..a063bef0822f27b44ad07387e0ab02a4dfe1d565 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 // ignore-emscripten no threads support
 
index 07613a6dd64d54f823ff935729a1a10b5776e451..ea3089e747fb539caddfd9b9d1d8868a91353112 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-emscripten no threads support
 
 #![feature(box_syntax)]
index 520e72676b09734a1727510c8a326fc77fd59b40..0920d968585397a8fefc8c711a6e6d4e379ef383 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Issue #1706
 // pretty-expanded FIXME #23616
 
index bb6a8ee55bfc839cb98333bb07de91402b57c41c..07a6866ba6626384d63c9210d676e14e873aba39 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // pretty-expanded FIXME #23616
 
 mod foo {
index 840c907e23415be9f85c59fee38930ded4c310f7..ebddb5d1a48305b7d8a10c39ef80792dbe18694d 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_variables)]
 pub struct A;
 
index 9af56b71de00dd966261ee66464f2a3b6f45604d..84da2e70878f266639687cb3aa7665f33647d23e 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_imports)]
 // pretty-expanded FIXME #23616
 
index 092b4a34e5532e2d49e0284563953cefd0977378..5c739709e9ea7915e1504bcc80cf8ad5636cdd56 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 mod a {
     pub enum B {}
 
index df37a60e35608e16b3253dc0282e8de350e986a8..1beee4a514379f3f3ccf3273a2f4f6d159adfcac 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 // pretty-expanded FIXME #23616
 
index 0873d185575b1c9dfd6548f165a5111c8b03a5a5..ac916de4646919650d6530a057f08409331609e8 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:inline_dtor.rs
 
 // pretty-expanded FIXME #23616
index 05b1d93a697bc3ff34a3e291d90985ccaf99124d..c5da45c0854ba84b671c02991d43ff004a064ade 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // only-x86_64
 // aux-build:using-target-feature-unstable.rs
 
index 90874c9b2e384408b491707c406d1f6836aa3a36..a3cb0e9a52a853e30915d53758b16459051755de 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 
 // This file has utf-8 BOM, it should be compiled normally without error.
index b908afbd5b64364bf173272f784d435315a8433d..75b6ddf7895c73253a6ee280be23a014448f4d91 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 pub fn main() {
     let yen: char = '¥'; // 0xa5
     let c_cedilla: char = 'ç'; // 0xe7
index c29d8557b706362b9ccca028b35c1b2d2fd02d26..d764509813de117cd5ee310ed1a3ec6efddadbf1 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::str;
 
 pub fn main() {
index 7323e144f8dc17e5527b0854429e3fe583eb84c1..582b67bc2992489c04026689a57d99ad7bd09b29 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 #![allow(non_snake_case)]
 
index d6fbb1773b29fb103ad3d7fbac70f0500e41ccea..3232a11d726e5321eca1f4fa07c9fc1f327dfbd0 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare no libc to test ffi with
 #![feature(c_variadic)]
 
index fde151400be47b070b60eb1eb958c8f106339360..74707a98d325f00a981941b02b962700b4ffa96d 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Elaborated version of the opening example from RFC 738. This failed
 // to compile before variance because invariance of `Option` prevented
 // us from approximating the lifetimes of `field1` and `field2` to a
index 32b56bd0b5ad5ec5e1b7c2d890c09f4eb01cb2c3..2ab3a8ab5c12912a68e6811a78f2d5161a2a62aa 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(warnings)]
 
 use std::iter::Zip;
index f01263b73a9fcf505fd037f87ceeb7722bb481c1..f73e7e1c39121f8b5a41e6c14a29d530b67eceb9 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(stable_features)]
 #![feature(volatile)]
 use std::ptr::{read_volatile, write_volatile};
index 1f32bd00a037ce991199cc5e396429eb90b0c3f4..434361b40de6d6abb588a854a02846a3e75274e4 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-cloudabi no processes
 // ignore-emscripten no processes
 // ignore-sgx no processes
index 76b36a12c200c73aad027f9d3b0b2458a566de80..ab9634df65c8abd1fb1c8f232c1125dfe4e5e1de 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 // compile-flags:-D improper-ctypes
 
index 9a36606a4650914bfccb084196d15df15e57224c..a429d8fabc72b0741db06316400ce1d92b2502f2 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // aux-build:weak-lang-items.rs
 
 // ignore-emscripten no threads support
index 4f93800b864b725525cfe7892949a4e169993fe5..644fc8c2483759d844f130e03814f39ae05eea17 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 fn main() {
     enum Void {}
     std::rc::Weak::<Void>::new();
index 9456cbbe6f7bb923c6c723315eee9fd950d04ec1..a067b7b5b1f2ede3de29a6f3eeb9def4aafc995e 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // On Windows the GetExitCodeProcess API is used to get the exit code of a
 // process, but it's easy to mistake a process exiting with the code 259 as
 // "still running" because this is the value of the STILL_ACTIVE constant. Make
index 7b2b46c45d27cbc4306001a5f7a411bb323a8720..ca68a5af0ddca72fa27ba74ee2973dafcc278de0 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![feature(generators)]
 
 #![allow(non_camel_case_types)]
index 6814e2baab59730eb6f79ec65c4fdb9be363af1d..7c4dd3ec84f6c9931761a7049b6c822997a3245b 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 #![allow(unused_variables)]
 // Test that the `wf` checker properly handles bound regions in object
index fc62caf3b8d7d2e7e8e351b5aa9997aa3b2b8c8f..2a5baad8b786f67e2f20919249b1a7b0b6e86400 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // Test inherent wrapping_* methods for {i,u}{size,8,16,32,64}.
 
 use std::{i8, i16, i32, i64, isize};
index f95bbfd569a18f872297766b6e87fc5efceebc87..7dd98564425f879076d8ea614955cbcab83f5105 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::fmt;
 use std::io::{self, Error, Write, sink};
 
index f80118e08c9d76e104731704bd6adf6ee16cac1e..8ba4b09ae29858d49eb3f2385954690167360428 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(dead_code)]
 
 use std::sync::Mutex;
index 12b10640c53d6c0578afe7f02dab2244afb554c0..ef834d915c9369fe64087eea3cd1a7faa2688486 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 //
 #![allow(dead_code)]
 // compile-flags: -O
index cd9450a5697c6a8af03cd85354cfc56efad75507..fc67ccdc8c41f4ccb42c16b696b1095619c4910a 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // ignore-wasm32-bare no libc to test ffi with
 // ignore-sgx no libc
 // GetLastError doesn't seem to work with stack switching
index 3d008f26ab33cd6a132dab4725a7b5ce1ece2ccd..563e3aba6326c9358c4b57990f409c04661ae29c 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(non_camel_case_types)]
 pub type HANDLE = usize;
 pub type DWORD = u32;
index a5fd14bd8fd786822457734987548f6d57324c25..e83ba556078a840838d61b4e9be37f4a563d74d5 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(unused_mut)]
 // ignore-emscripten no threads support
index e7a6190b5677e57b5ff0b22a621926be42b452ea..002e590550c36a4461be4e5e85438036581c6dd7 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(unused_must_use)]
 #![allow(unused_mut)]
 // ignore-emscripten no threads support
index c4ccd2d1475580c1931f0713d19ed0551cc805b8..376faab0c48fef73fd819aecb5b377c3407f5cbc 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 use std::thread;
 
 pub fn main() {
index f084394130915461a5f636c1de7d46471b133916..1021774fc5f3141f52afe6fb2e4438999ff587d2 100644 (file)
@@ -1,3 +1,4 @@
+// run-pass
 // This test checks if an unstable feature is enabled with the -Zcrate-attr=feature(foo) flag. If
 // the exact feature used here is causing problems feel free to replace it with another
 // perma-unstable feature.