From 76ceeddb2b6fd4589cf8292d8dafa65a91ace019 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 6 Sep 2018 14:36:26 +0200 Subject: [PATCH 1/5] Migrated remaining `src/test/run-pass/` subdirectories to `src/test/ui/run-pass/`. --- .../{ => ui}/run-pass/allocator/auxiliary/custom-as-global.rs | 0 src/test/{ => ui}/run-pass/allocator/auxiliary/custom.rs | 0 src/test/{ => ui}/run-pass/allocator/auxiliary/helper.rs | 0 src/test/{ => ui}/run-pass/allocator/custom.rs | 0 src/test/{ => ui}/run-pass/allocator/xcrate-use.rs | 0 src/test/{ => ui}/run-pass/allocator/xcrate-use2.rs | 0 src/test/{ => ui}/run-pass/bench/issue-32062.rs | 0 src/test/{ => ui}/run-pass/ctfe/assoc-const.rs | 0 src/test/{ => ui}/run-pass/ctfe/bswap-const.rs | 0 .../{ => ui}/run-pass/ctfe/chained-constants-stackoverflow.rs | 0 .../{ => ui}/run-pass/ctfe/const-block-non-item-statement-3.rs | 0 src/test/{ => ui}/run-pass/ctfe/const-block-non-item-statement.rs | 0 src/test/{ => ui}/run-pass/ctfe/const-fn-destructuring-arg.rs | 0 src/test/{ => ui}/run-pass/ctfe/deref_in_pattern.rs | 0 src/test/{ => ui}/run-pass/ctfe/ice-48279.rs | 0 src/test/{ => ui}/run-pass/ctfe/issue-37550.rs | 0 src/test/{ => ui}/run-pass/ctfe/issue-broken-mir.rs | 0 src/test/{ => ui}/run-pass/ctfe/locals-in-const-fn.rs | 0 src/test/{ => ui}/run-pass/ctfe/match-const-fn-structs.rs | 0 src/test/{ => ui}/run-pass/ctfe/mozjs-error.rs | 0 src/test/{ => ui}/run-pass/ctfe/non-scalar-cast.rs | 0 src/test/{ => ui}/run-pass/ctfe/promotion.rs | 0 src/test/{ => ui}/run-pass/ctfe/references.rs | 0 src/test/{ => ui}/run-pass/ctfe/repeat_match.rs | 0 src/test/{ => ui}/run-pass/ctfe/return-in-const-fn.rs | 0 src/test/{ => ui}/run-pass/ctfe/signed_enum_discr.rs | 0 src/test/{ => ui}/run-pass/ctfe/transmute-const.rs | 0 src/test/{ => ui}/run-pass/ctfe/tuple-struct-constructors.rs | 0 .../{ => ui}/run-pass/generator/auxiliary/xcrate-reachable.rs | 0 src/test/{ => ui}/run-pass/generator/auxiliary/xcrate.rs | 0 src/test/{ => ui}/run-pass/generator/borrow-in-tail-expr.rs | 0 src/test/{ => ui}/run-pass/generator/conditional-drop.rs | 0 src/test/{ => ui}/run-pass/generator/control-flow.rs | 0 src/test/{ => ui}/run-pass/generator/drop-env.rs | 0 src/test/{ => ui}/run-pass/generator/issue-44197.rs | 0 src/test/{ => ui}/run-pass/generator/issue-52398.rs | 0 src/test/{ => ui}/run-pass/generator/iterator-count.rs | 0 src/test/{ => ui}/run-pass/generator/live-upvar-across-yield.rs | 0 src/test/{ => ui}/run-pass/generator/match-bindings.rs | 0 src/test/{ => ui}/run-pass/generator/nested_generators.rs | 0 src/test/{ => ui}/run-pass/generator/panic-drops.rs | 0 src/test/{ => ui}/run-pass/generator/panic-safe.rs | 0 src/test/{ => ui}/run-pass/generator/reborrow-mut-upvar.rs | 0 src/test/{ => ui}/run-pass/generator/resume-after-return.rs | 0 src/test/{ => ui}/run-pass/generator/smoke.rs | 0 src/test/{ => ui}/run-pass/generator/static-generators.rs | 0 .../run-pass/generator/too-live-local-in-immovable-gen.rs | 0 src/test/{ => ui}/run-pass/generator/xcrate-reachable.rs | 0 src/test/{ => ui}/run-pass/generator/xcrate.rs | 0 src/test/{ => ui}/run-pass/generator/yield-in-args-rev.rs | 0 src/test/{ => ui}/run-pass/generator/yield-in-box.rs | 0 src/test/{ => ui}/run-pass/generator/yield-in-initializer.rs | 0 src/test/{ => ui}/run-pass/generator/yield-subtype.rs | 0 src/test/{ => ui}/run-pass/impl-trait/auto-trait-leak.rs | 0 src/test/{ => ui}/run-pass/impl-trait/auxiliary/xcrate.rs | 0 src/test/{ => ui}/run-pass/impl-trait/bounds_regression.rs | 0 src/test/{ => ui}/run-pass/impl-trait/equality.rs | 0 src/test/{ => ui}/run-pass/impl-trait/example-calendar.rs | 0 src/test/{ => ui}/run-pass/impl-trait/example-st.rs | 0 src/test/{ => ui}/run-pass/impl-trait/existential-minimal.rs | 0 src/test/{ => ui}/run-pass/impl-trait/issue-42479.rs | 0 src/test/{ => ui}/run-pass/impl-trait/issue-49376.rs | 0 src/test/{ => ui}/run-pass/impl-trait/lifetimes.rs | 0 src/test/{ => ui}/run-pass/impl-trait/nesting.rs | 0 src/test/{ => ui}/run-pass/impl-trait/universal_hrtb_anon.rs | 0 src/test/{ => ui}/run-pass/impl-trait/universal_hrtb_named.rs | 0 .../run-pass/impl-trait/universal_in_adt_in_parameters.rs | 0 .../run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs | 0 .../run-pass/impl-trait/universal_in_trait_defn_parameters.rs | 0 .../{ => ui}/run-pass/impl-trait/universal_multiple_bounds.rs | 0 src/test/{ => ui}/run-pass/impl-trait/xcrate.rs | 0 src/test/{ => ui}/run-pass/impl-trait/xcrate_simple.rs | 0 src/test/{ => ui}/run-pass/nll/issue-47153-generic-const.rs | 0 src/test/{ => ui}/run-pass/nll/issue-47589.rs | 0 src/test/{ => ui}/run-pass/nll/issue-48623-closure.rs | 0 src/test/{ => ui}/run-pass/nll/issue-48623-generator.rs | 0 src/test/{ => ui}/run-pass/nll/issue-50343.rs | 0 src/test/{ => ui}/run-pass/nll/issue-50461-used-mut-from-moves.rs | 0 src/test/{ => ui}/run-pass/nll/issue-53123-raw-pointer-cast.rs | 0 src/test/{ => ui}/run-pass/nll/mutating_references.rs | 0 src/test/{ => ui}/run-pass/nll/process_or_insert_default.rs | 0 src/test/{ => ui}/run-pass/nll/rc-loop.rs | 0 src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod.rs | 0 .../run-pass/non_modrs_mods/foors_mod/compiletest-ignore-dir | 0 .../{ => ui}/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs | 0 .../run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs | 0 .../run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs | 0 .../run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs | 0 .../run-pass/non_modrs_mods/modrs_mod/compiletest-ignore-dir | 0 .../{ => ui}/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs | 0 .../run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs | 0 .../run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs | 0 .../run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs | 0 src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/mod.rs | 0 src/test/{ => ui}/run-pass/non_modrs_mods/non_modrs_mods.rs | 0 .../non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs | 0 .../non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir | 0 .../some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs | 0 .../non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs | 0 .../run-pass/panic-runtime/abort-link-to-unwinding-crates.rs | 0 src/test/{ => ui}/run-pass/panic-runtime/abort.rs | 0 .../run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs | 0 src/test/{ => ui}/run-pass/panic-runtime/link-to-abort.rs | 0 src/test/{ => ui}/run-pass/panic-runtime/link-to-unwind.rs | 0 src/test/{ => ui}/run-pass/panic-runtime/lto-abort.rs | 0 src/test/{ => ui}/run-pass/panic-runtime/lto-unwind.rs | 0 src/test/{ => ui}/run-pass/specialization/README.md | 0 src/test/{ => ui}/run-pass/specialization/assoc-ty-graph-cycle.rs | 0 .../run-pass/specialization/auxiliary/cross_crates_defaults.rs | 0 src/test/{ => ui}/run-pass/specialization/auxiliary/go_trait.rs | 0 .../specialization/auxiliary/specialization_cross_crate.rs | 0 src/test/{ => ui}/run-pass/specialization/cross-crate-defaults.rs | 0 .../run-pass/specialization/defaultimpl/allowed-cross-crate.rs | 0 .../run-pass/specialization/defaultimpl/auxiliary/go_trait.rs | 0 .../{ => ui}/run-pass/specialization/defaultimpl/out-of-order.rs | 0 .../run-pass/specialization/defaultimpl/overlap-projection.rs | 0 .../{ => ui}/run-pass/specialization/defaultimpl/projection.rs | 0 .../defaultimpl/specialization-trait-item-not-implemented.rs | 0 .../run-pass/specialization/specialization-allowed-cross-crate.rs | 0 .../{ => ui}/run-pass/specialization/specialization-assoc-fns.rs | 0 .../{ => ui}/run-pass/specialization/specialization-basics.rs | 0 .../run-pass/specialization/specialization-cross-crate-no-gate.rs | 0 .../run-pass/specialization/specialization-cross-crate.rs | 0 .../run-pass/specialization/specialization-default-methods.rs | 0 .../run-pass/specialization/specialization-on-projection.rs | 0 .../run-pass/specialization/specialization-out-of-order.rs | 0 .../run-pass/specialization/specialization-overlap-projection.rs | 0 .../run-pass/specialization/specialization-projection-alias.rs | 0 .../{ => ui}/run-pass/specialization/specialization-projection.rs | 0 .../run-pass/specialization/specialization-super-traits.rs | 0 .../specialization-translate-projections-with-lifetimes.rs | 0 .../specialization-translate-projections-with-params.rs | 0 .../specialization/specialization-translate-projections.rs | 0 src/test/{ => ui}/run-pass/thinlto/all-crates.rs | 0 src/test/{ => ui}/run-pass/thinlto/auxiliary/dylib.rs | 0 src/test/{ => ui}/run-pass/thinlto/auxiliary/msvc-imp-present.rs | 0 .../{ => ui}/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs | 0 src/test/{ => ui}/run-pass/thinlto/dylib-works.rs | 0 src/test/{ => ui}/run-pass/thinlto/msvc-imp-present.rs | 0 src/test/{ => ui}/run-pass/thinlto/thin-lto-inlines.rs | 0 src/test/{ => ui}/run-pass/thinlto/thin-lto-inlines2.rs | 0 src/test/{ => ui}/run-pass/thinlto/weak-works.rs | 0 src/test/{ => ui}/run-pass/uniform-paths/basic-nested.rs | 0 src/test/{ => ui}/run-pass/uniform-paths/basic.rs | 0 src/test/{ => ui}/run-pass/uniform-paths/macros-nested.rs | 0 src/test/{ => ui}/run-pass/uniform-paths/macros.rs | 0 src/test/{ => ui}/run-pass/uniform-paths/same-crate.rs | 0 src/test/{ => ui}/run-pass/union/auxiliary/union.rs | 0 src/test/{ => ui}/run-pass/union/union-align.rs | 0 src/test/{ => ui}/run-pass/union/union-backcomp.rs | 0 src/test/{ => ui}/run-pass/union/union-basic.rs | 0 src/test/{ => ui}/run-pass/union/union-c-interop.rs | 0 src/test/{ => ui}/run-pass/union/union-const-codegen.rs | 0 src/test/{ => ui}/run-pass/union/union-const-eval-field.rs | 0 src/test/{ => ui}/run-pass/union/union-derive.rs | 0 src/test/{ => ui}/run-pass/union/union-drop-assign.rs | 0 src/test/{ => ui}/run-pass/union/union-drop.rs | 0 src/test/{ => ui}/run-pass/union/union-generic.rs | 0 src/test/{ => ui}/run-pass/union/union-inherent-method.rs | 0 src/test/{ => ui}/run-pass/union/union-macro.rs | 0 src/test/{ => ui}/run-pass/union/union-nodrop.rs | 0 src/test/{ => ui}/run-pass/union/union-overwrite.rs | 0 src/test/{ => ui}/run-pass/union/union-packed.rs | 0 src/test/{ => ui}/run-pass/union/union-pat-refutability.rs | 0 src/test/{ => ui}/run-pass/union/union-trait-impl.rs | 0 src/test/{ => ui}/run-pass/union/union-transmute.rs | 0 src/test/{ => ui}/run-pass/union/union-with-drop-fields-lint.rs | 0 .../{ => ui}/run-pass/unsized-locals/reference-unsized-locals.rs | 0 .../{ => ui}/run-pass/unsized-locals/simple-unsized-locals.rs | 0 src/test/{ => ui}/run-pass/unsized-locals/unsized-exprs.rs | 0 src/test/{ => ui}/run-pass/unsized-locals/unsized-parameters.rs | 0 171 files changed, 0 insertions(+), 0 deletions(-) rename src/test/{ => ui}/run-pass/allocator/auxiliary/custom-as-global.rs (100%) rename src/test/{ => ui}/run-pass/allocator/auxiliary/custom.rs (100%) rename src/test/{ => ui}/run-pass/allocator/auxiliary/helper.rs (100%) rename src/test/{ => ui}/run-pass/allocator/custom.rs (100%) rename src/test/{ => ui}/run-pass/allocator/xcrate-use.rs (100%) rename src/test/{ => ui}/run-pass/allocator/xcrate-use2.rs (100%) rename src/test/{ => ui}/run-pass/bench/issue-32062.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/assoc-const.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/bswap-const.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/chained-constants-stackoverflow.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/const-block-non-item-statement-3.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/const-block-non-item-statement.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/const-fn-destructuring-arg.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/deref_in_pattern.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/ice-48279.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/issue-37550.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/issue-broken-mir.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/locals-in-const-fn.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/match-const-fn-structs.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/mozjs-error.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/non-scalar-cast.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/promotion.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/references.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/repeat_match.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/return-in-const-fn.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/signed_enum_discr.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/transmute-const.rs (100%) rename src/test/{ => ui}/run-pass/ctfe/tuple-struct-constructors.rs (100%) rename src/test/{ => ui}/run-pass/generator/auxiliary/xcrate-reachable.rs (100%) rename src/test/{ => ui}/run-pass/generator/auxiliary/xcrate.rs (100%) rename src/test/{ => ui}/run-pass/generator/borrow-in-tail-expr.rs (100%) rename src/test/{ => ui}/run-pass/generator/conditional-drop.rs (100%) rename src/test/{ => ui}/run-pass/generator/control-flow.rs (100%) rename src/test/{ => ui}/run-pass/generator/drop-env.rs (100%) rename src/test/{ => ui}/run-pass/generator/issue-44197.rs (100%) rename src/test/{ => ui}/run-pass/generator/issue-52398.rs (100%) rename src/test/{ => ui}/run-pass/generator/iterator-count.rs (100%) rename src/test/{ => ui}/run-pass/generator/live-upvar-across-yield.rs (100%) rename src/test/{ => ui}/run-pass/generator/match-bindings.rs (100%) rename src/test/{ => ui}/run-pass/generator/nested_generators.rs (100%) rename src/test/{ => ui}/run-pass/generator/panic-drops.rs (100%) rename src/test/{ => ui}/run-pass/generator/panic-safe.rs (100%) rename src/test/{ => ui}/run-pass/generator/reborrow-mut-upvar.rs (100%) rename src/test/{ => ui}/run-pass/generator/resume-after-return.rs (100%) rename src/test/{ => ui}/run-pass/generator/smoke.rs (100%) rename src/test/{ => ui}/run-pass/generator/static-generators.rs (100%) rename src/test/{ => ui}/run-pass/generator/too-live-local-in-immovable-gen.rs (100%) rename src/test/{ => ui}/run-pass/generator/xcrate-reachable.rs (100%) rename src/test/{ => ui}/run-pass/generator/xcrate.rs (100%) rename src/test/{ => ui}/run-pass/generator/yield-in-args-rev.rs (100%) rename src/test/{ => ui}/run-pass/generator/yield-in-box.rs (100%) rename src/test/{ => ui}/run-pass/generator/yield-in-initializer.rs (100%) rename src/test/{ => ui}/run-pass/generator/yield-subtype.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/auto-trait-leak.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/auxiliary/xcrate.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/bounds_regression.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/equality.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/example-calendar.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/example-st.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/existential-minimal.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/issue-42479.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/issue-49376.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/lifetimes.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/nesting.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/universal_hrtb_anon.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/universal_hrtb_named.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/universal_in_adt_in_parameters.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/universal_in_trait_defn_parameters.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/universal_multiple_bounds.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/xcrate.rs (100%) rename src/test/{ => ui}/run-pass/impl-trait/xcrate_simple.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-47153-generic-const.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-47589.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-48623-closure.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-48623-generator.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-50343.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-50461-used-mut-from-moves.rs (100%) rename src/test/{ => ui}/run-pass/nll/issue-53123-raw-pointer-cast.rs (100%) rename src/test/{ => ui}/run-pass/nll/mutating_references.rs (100%) rename src/test/{ => ui}/run-pass/nll/process_or_insert_default.rs (100%) rename src/test/{ => ui}/run-pass/nll/rc-loop.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod/compiletest-ignore-dir (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/compiletest-ignore-dir (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/modrs_mod/mod.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/non_modrs_mods.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs (100%) rename src/test/{ => ui}/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/abort.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/link-to-abort.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/link-to-unwind.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/lto-abort.rs (100%) rename src/test/{ => ui}/run-pass/panic-runtime/lto-unwind.rs (100%) rename src/test/{ => ui}/run-pass/specialization/README.md (100%) rename src/test/{ => ui}/run-pass/specialization/assoc-ty-graph-cycle.rs (100%) rename src/test/{ => ui}/run-pass/specialization/auxiliary/cross_crates_defaults.rs (100%) rename src/test/{ => ui}/run-pass/specialization/auxiliary/go_trait.rs (100%) rename src/test/{ => ui}/run-pass/specialization/auxiliary/specialization_cross_crate.rs (100%) rename src/test/{ => ui}/run-pass/specialization/cross-crate-defaults.rs (100%) rename src/test/{ => ui}/run-pass/specialization/defaultimpl/allowed-cross-crate.rs (100%) rename src/test/{ => ui}/run-pass/specialization/defaultimpl/auxiliary/go_trait.rs (100%) rename src/test/{ => ui}/run-pass/specialization/defaultimpl/out-of-order.rs (100%) rename src/test/{ => ui}/run-pass/specialization/defaultimpl/overlap-projection.rs (100%) rename src/test/{ => ui}/run-pass/specialization/defaultimpl/projection.rs (100%) rename src/test/{ => ui}/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-allowed-cross-crate.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-assoc-fns.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-basics.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-cross-crate-no-gate.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-cross-crate.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-default-methods.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-on-projection.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-out-of-order.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-overlap-projection.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-projection-alias.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-projection.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-super-traits.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-translate-projections-with-params.rs (100%) rename src/test/{ => ui}/run-pass/specialization/specialization-translate-projections.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/all-crates.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/auxiliary/dylib.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/auxiliary/msvc-imp-present.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/dylib-works.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/msvc-imp-present.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/thin-lto-inlines.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/thin-lto-inlines2.rs (100%) rename src/test/{ => ui}/run-pass/thinlto/weak-works.rs (100%) rename src/test/{ => ui}/run-pass/uniform-paths/basic-nested.rs (100%) rename src/test/{ => ui}/run-pass/uniform-paths/basic.rs (100%) rename src/test/{ => ui}/run-pass/uniform-paths/macros-nested.rs (100%) rename src/test/{ => ui}/run-pass/uniform-paths/macros.rs (100%) rename src/test/{ => ui}/run-pass/uniform-paths/same-crate.rs (100%) rename src/test/{ => ui}/run-pass/union/auxiliary/union.rs (100%) rename src/test/{ => ui}/run-pass/union/union-align.rs (100%) rename src/test/{ => ui}/run-pass/union/union-backcomp.rs (100%) rename src/test/{ => ui}/run-pass/union/union-basic.rs (100%) rename src/test/{ => ui}/run-pass/union/union-c-interop.rs (100%) rename src/test/{ => ui}/run-pass/union/union-const-codegen.rs (100%) rename src/test/{ => ui}/run-pass/union/union-const-eval-field.rs (100%) rename src/test/{ => ui}/run-pass/union/union-derive.rs (100%) rename src/test/{ => ui}/run-pass/union/union-drop-assign.rs (100%) rename src/test/{ => ui}/run-pass/union/union-drop.rs (100%) rename src/test/{ => ui}/run-pass/union/union-generic.rs (100%) rename src/test/{ => ui}/run-pass/union/union-inherent-method.rs (100%) rename src/test/{ => ui}/run-pass/union/union-macro.rs (100%) rename src/test/{ => ui}/run-pass/union/union-nodrop.rs (100%) rename src/test/{ => ui}/run-pass/union/union-overwrite.rs (100%) rename src/test/{ => ui}/run-pass/union/union-packed.rs (100%) rename src/test/{ => ui}/run-pass/union/union-pat-refutability.rs (100%) rename src/test/{ => ui}/run-pass/union/union-trait-impl.rs (100%) rename src/test/{ => ui}/run-pass/union/union-transmute.rs (100%) rename src/test/{ => ui}/run-pass/union/union-with-drop-fields-lint.rs (100%) rename src/test/{ => ui}/run-pass/unsized-locals/reference-unsized-locals.rs (100%) rename src/test/{ => ui}/run-pass/unsized-locals/simple-unsized-locals.rs (100%) rename src/test/{ => ui}/run-pass/unsized-locals/unsized-exprs.rs (100%) rename src/test/{ => ui}/run-pass/unsized-locals/unsized-parameters.rs (100%) diff --git a/src/test/run-pass/allocator/auxiliary/custom-as-global.rs b/src/test/ui/run-pass/allocator/auxiliary/custom-as-global.rs similarity index 100% rename from src/test/run-pass/allocator/auxiliary/custom-as-global.rs rename to src/test/ui/run-pass/allocator/auxiliary/custom-as-global.rs diff --git a/src/test/run-pass/allocator/auxiliary/custom.rs b/src/test/ui/run-pass/allocator/auxiliary/custom.rs similarity index 100% rename from src/test/run-pass/allocator/auxiliary/custom.rs rename to src/test/ui/run-pass/allocator/auxiliary/custom.rs diff --git a/src/test/run-pass/allocator/auxiliary/helper.rs b/src/test/ui/run-pass/allocator/auxiliary/helper.rs similarity index 100% rename from src/test/run-pass/allocator/auxiliary/helper.rs rename to src/test/ui/run-pass/allocator/auxiliary/helper.rs diff --git a/src/test/run-pass/allocator/custom.rs b/src/test/ui/run-pass/allocator/custom.rs similarity index 100% rename from src/test/run-pass/allocator/custom.rs rename to src/test/ui/run-pass/allocator/custom.rs diff --git a/src/test/run-pass/allocator/xcrate-use.rs b/src/test/ui/run-pass/allocator/xcrate-use.rs similarity index 100% rename from src/test/run-pass/allocator/xcrate-use.rs rename to src/test/ui/run-pass/allocator/xcrate-use.rs diff --git a/src/test/run-pass/allocator/xcrate-use2.rs b/src/test/ui/run-pass/allocator/xcrate-use2.rs similarity index 100% rename from src/test/run-pass/allocator/xcrate-use2.rs rename to src/test/ui/run-pass/allocator/xcrate-use2.rs diff --git a/src/test/run-pass/bench/issue-32062.rs b/src/test/ui/run-pass/bench/issue-32062.rs similarity index 100% rename from src/test/run-pass/bench/issue-32062.rs rename to src/test/ui/run-pass/bench/issue-32062.rs diff --git a/src/test/run-pass/ctfe/assoc-const.rs b/src/test/ui/run-pass/ctfe/assoc-const.rs similarity index 100% rename from src/test/run-pass/ctfe/assoc-const.rs rename to src/test/ui/run-pass/ctfe/assoc-const.rs diff --git a/src/test/run-pass/ctfe/bswap-const.rs b/src/test/ui/run-pass/ctfe/bswap-const.rs similarity index 100% rename from src/test/run-pass/ctfe/bswap-const.rs rename to src/test/ui/run-pass/ctfe/bswap-const.rs diff --git a/src/test/run-pass/ctfe/chained-constants-stackoverflow.rs b/src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs similarity index 100% rename from src/test/run-pass/ctfe/chained-constants-stackoverflow.rs rename to src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs diff --git a/src/test/run-pass/ctfe/const-block-non-item-statement-3.rs b/src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs similarity index 100% rename from src/test/run-pass/ctfe/const-block-non-item-statement-3.rs rename to src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs diff --git a/src/test/run-pass/ctfe/const-block-non-item-statement.rs b/src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs similarity index 100% rename from src/test/run-pass/ctfe/const-block-non-item-statement.rs rename to src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs diff --git a/src/test/run-pass/ctfe/const-fn-destructuring-arg.rs b/src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs similarity index 100% rename from src/test/run-pass/ctfe/const-fn-destructuring-arg.rs rename to src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs diff --git a/src/test/run-pass/ctfe/deref_in_pattern.rs b/src/test/ui/run-pass/ctfe/deref_in_pattern.rs similarity index 100% rename from src/test/run-pass/ctfe/deref_in_pattern.rs rename to src/test/ui/run-pass/ctfe/deref_in_pattern.rs diff --git a/src/test/run-pass/ctfe/ice-48279.rs b/src/test/ui/run-pass/ctfe/ice-48279.rs similarity index 100% rename from src/test/run-pass/ctfe/ice-48279.rs rename to src/test/ui/run-pass/ctfe/ice-48279.rs diff --git a/src/test/run-pass/ctfe/issue-37550.rs b/src/test/ui/run-pass/ctfe/issue-37550.rs similarity index 100% rename from src/test/run-pass/ctfe/issue-37550.rs rename to src/test/ui/run-pass/ctfe/issue-37550.rs diff --git a/src/test/run-pass/ctfe/issue-broken-mir.rs b/src/test/ui/run-pass/ctfe/issue-broken-mir.rs similarity index 100% rename from src/test/run-pass/ctfe/issue-broken-mir.rs rename to src/test/ui/run-pass/ctfe/issue-broken-mir.rs diff --git a/src/test/run-pass/ctfe/locals-in-const-fn.rs b/src/test/ui/run-pass/ctfe/locals-in-const-fn.rs similarity index 100% rename from src/test/run-pass/ctfe/locals-in-const-fn.rs rename to src/test/ui/run-pass/ctfe/locals-in-const-fn.rs diff --git a/src/test/run-pass/ctfe/match-const-fn-structs.rs b/src/test/ui/run-pass/ctfe/match-const-fn-structs.rs similarity index 100% rename from src/test/run-pass/ctfe/match-const-fn-structs.rs rename to src/test/ui/run-pass/ctfe/match-const-fn-structs.rs diff --git a/src/test/run-pass/ctfe/mozjs-error.rs b/src/test/ui/run-pass/ctfe/mozjs-error.rs similarity index 100% rename from src/test/run-pass/ctfe/mozjs-error.rs rename to src/test/ui/run-pass/ctfe/mozjs-error.rs diff --git a/src/test/run-pass/ctfe/non-scalar-cast.rs b/src/test/ui/run-pass/ctfe/non-scalar-cast.rs similarity index 100% rename from src/test/run-pass/ctfe/non-scalar-cast.rs rename to src/test/ui/run-pass/ctfe/non-scalar-cast.rs diff --git a/src/test/run-pass/ctfe/promotion.rs b/src/test/ui/run-pass/ctfe/promotion.rs similarity index 100% rename from src/test/run-pass/ctfe/promotion.rs rename to src/test/ui/run-pass/ctfe/promotion.rs diff --git a/src/test/run-pass/ctfe/references.rs b/src/test/ui/run-pass/ctfe/references.rs similarity index 100% rename from src/test/run-pass/ctfe/references.rs rename to src/test/ui/run-pass/ctfe/references.rs diff --git a/src/test/run-pass/ctfe/repeat_match.rs b/src/test/ui/run-pass/ctfe/repeat_match.rs similarity index 100% rename from src/test/run-pass/ctfe/repeat_match.rs rename to src/test/ui/run-pass/ctfe/repeat_match.rs diff --git a/src/test/run-pass/ctfe/return-in-const-fn.rs b/src/test/ui/run-pass/ctfe/return-in-const-fn.rs similarity index 100% rename from src/test/run-pass/ctfe/return-in-const-fn.rs rename to src/test/ui/run-pass/ctfe/return-in-const-fn.rs diff --git a/src/test/run-pass/ctfe/signed_enum_discr.rs b/src/test/ui/run-pass/ctfe/signed_enum_discr.rs similarity index 100% rename from src/test/run-pass/ctfe/signed_enum_discr.rs rename to src/test/ui/run-pass/ctfe/signed_enum_discr.rs diff --git a/src/test/run-pass/ctfe/transmute-const.rs b/src/test/ui/run-pass/ctfe/transmute-const.rs similarity index 100% rename from src/test/run-pass/ctfe/transmute-const.rs rename to src/test/ui/run-pass/ctfe/transmute-const.rs diff --git a/src/test/run-pass/ctfe/tuple-struct-constructors.rs b/src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs similarity index 100% rename from src/test/run-pass/ctfe/tuple-struct-constructors.rs rename to src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs diff --git a/src/test/run-pass/generator/auxiliary/xcrate-reachable.rs b/src/test/ui/run-pass/generator/auxiliary/xcrate-reachable.rs similarity index 100% rename from src/test/run-pass/generator/auxiliary/xcrate-reachable.rs rename to src/test/ui/run-pass/generator/auxiliary/xcrate-reachable.rs diff --git a/src/test/run-pass/generator/auxiliary/xcrate.rs b/src/test/ui/run-pass/generator/auxiliary/xcrate.rs similarity index 100% rename from src/test/run-pass/generator/auxiliary/xcrate.rs rename to src/test/ui/run-pass/generator/auxiliary/xcrate.rs diff --git a/src/test/run-pass/generator/borrow-in-tail-expr.rs b/src/test/ui/run-pass/generator/borrow-in-tail-expr.rs similarity index 100% rename from src/test/run-pass/generator/borrow-in-tail-expr.rs rename to src/test/ui/run-pass/generator/borrow-in-tail-expr.rs diff --git a/src/test/run-pass/generator/conditional-drop.rs b/src/test/ui/run-pass/generator/conditional-drop.rs similarity index 100% rename from src/test/run-pass/generator/conditional-drop.rs rename to src/test/ui/run-pass/generator/conditional-drop.rs diff --git a/src/test/run-pass/generator/control-flow.rs b/src/test/ui/run-pass/generator/control-flow.rs similarity index 100% rename from src/test/run-pass/generator/control-flow.rs rename to src/test/ui/run-pass/generator/control-flow.rs diff --git a/src/test/run-pass/generator/drop-env.rs b/src/test/ui/run-pass/generator/drop-env.rs similarity index 100% rename from src/test/run-pass/generator/drop-env.rs rename to src/test/ui/run-pass/generator/drop-env.rs diff --git a/src/test/run-pass/generator/issue-44197.rs b/src/test/ui/run-pass/generator/issue-44197.rs similarity index 100% rename from src/test/run-pass/generator/issue-44197.rs rename to src/test/ui/run-pass/generator/issue-44197.rs diff --git a/src/test/run-pass/generator/issue-52398.rs b/src/test/ui/run-pass/generator/issue-52398.rs similarity index 100% rename from src/test/run-pass/generator/issue-52398.rs rename to src/test/ui/run-pass/generator/issue-52398.rs diff --git a/src/test/run-pass/generator/iterator-count.rs b/src/test/ui/run-pass/generator/iterator-count.rs similarity index 100% rename from src/test/run-pass/generator/iterator-count.rs rename to src/test/ui/run-pass/generator/iterator-count.rs diff --git a/src/test/run-pass/generator/live-upvar-across-yield.rs b/src/test/ui/run-pass/generator/live-upvar-across-yield.rs similarity index 100% rename from src/test/run-pass/generator/live-upvar-across-yield.rs rename to src/test/ui/run-pass/generator/live-upvar-across-yield.rs diff --git a/src/test/run-pass/generator/match-bindings.rs b/src/test/ui/run-pass/generator/match-bindings.rs similarity index 100% rename from src/test/run-pass/generator/match-bindings.rs rename to src/test/ui/run-pass/generator/match-bindings.rs diff --git a/src/test/run-pass/generator/nested_generators.rs b/src/test/ui/run-pass/generator/nested_generators.rs similarity index 100% rename from src/test/run-pass/generator/nested_generators.rs rename to src/test/ui/run-pass/generator/nested_generators.rs diff --git a/src/test/run-pass/generator/panic-drops.rs b/src/test/ui/run-pass/generator/panic-drops.rs similarity index 100% rename from src/test/run-pass/generator/panic-drops.rs rename to src/test/ui/run-pass/generator/panic-drops.rs diff --git a/src/test/run-pass/generator/panic-safe.rs b/src/test/ui/run-pass/generator/panic-safe.rs similarity index 100% rename from src/test/run-pass/generator/panic-safe.rs rename to src/test/ui/run-pass/generator/panic-safe.rs diff --git a/src/test/run-pass/generator/reborrow-mut-upvar.rs b/src/test/ui/run-pass/generator/reborrow-mut-upvar.rs similarity index 100% rename from src/test/run-pass/generator/reborrow-mut-upvar.rs rename to src/test/ui/run-pass/generator/reborrow-mut-upvar.rs diff --git a/src/test/run-pass/generator/resume-after-return.rs b/src/test/ui/run-pass/generator/resume-after-return.rs similarity index 100% rename from src/test/run-pass/generator/resume-after-return.rs rename to src/test/ui/run-pass/generator/resume-after-return.rs diff --git a/src/test/run-pass/generator/smoke.rs b/src/test/ui/run-pass/generator/smoke.rs similarity index 100% rename from src/test/run-pass/generator/smoke.rs rename to src/test/ui/run-pass/generator/smoke.rs diff --git a/src/test/run-pass/generator/static-generators.rs b/src/test/ui/run-pass/generator/static-generators.rs similarity index 100% rename from src/test/run-pass/generator/static-generators.rs rename to src/test/ui/run-pass/generator/static-generators.rs diff --git a/src/test/run-pass/generator/too-live-local-in-immovable-gen.rs b/src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs similarity index 100% rename from src/test/run-pass/generator/too-live-local-in-immovable-gen.rs rename to src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs diff --git a/src/test/run-pass/generator/xcrate-reachable.rs b/src/test/ui/run-pass/generator/xcrate-reachable.rs similarity index 100% rename from src/test/run-pass/generator/xcrate-reachable.rs rename to src/test/ui/run-pass/generator/xcrate-reachable.rs diff --git a/src/test/run-pass/generator/xcrate.rs b/src/test/ui/run-pass/generator/xcrate.rs similarity index 100% rename from src/test/run-pass/generator/xcrate.rs rename to src/test/ui/run-pass/generator/xcrate.rs diff --git a/src/test/run-pass/generator/yield-in-args-rev.rs b/src/test/ui/run-pass/generator/yield-in-args-rev.rs similarity index 100% rename from src/test/run-pass/generator/yield-in-args-rev.rs rename to src/test/ui/run-pass/generator/yield-in-args-rev.rs diff --git a/src/test/run-pass/generator/yield-in-box.rs b/src/test/ui/run-pass/generator/yield-in-box.rs similarity index 100% rename from src/test/run-pass/generator/yield-in-box.rs rename to src/test/ui/run-pass/generator/yield-in-box.rs diff --git a/src/test/run-pass/generator/yield-in-initializer.rs b/src/test/ui/run-pass/generator/yield-in-initializer.rs similarity index 100% rename from src/test/run-pass/generator/yield-in-initializer.rs rename to src/test/ui/run-pass/generator/yield-in-initializer.rs diff --git a/src/test/run-pass/generator/yield-subtype.rs b/src/test/ui/run-pass/generator/yield-subtype.rs similarity index 100% rename from src/test/run-pass/generator/yield-subtype.rs rename to src/test/ui/run-pass/generator/yield-subtype.rs diff --git a/src/test/run-pass/impl-trait/auto-trait-leak.rs b/src/test/ui/run-pass/impl-trait/auto-trait-leak.rs similarity index 100% rename from src/test/run-pass/impl-trait/auto-trait-leak.rs rename to src/test/ui/run-pass/impl-trait/auto-trait-leak.rs diff --git a/src/test/run-pass/impl-trait/auxiliary/xcrate.rs b/src/test/ui/run-pass/impl-trait/auxiliary/xcrate.rs similarity index 100% rename from src/test/run-pass/impl-trait/auxiliary/xcrate.rs rename to src/test/ui/run-pass/impl-trait/auxiliary/xcrate.rs diff --git a/src/test/run-pass/impl-trait/bounds_regression.rs b/src/test/ui/run-pass/impl-trait/bounds_regression.rs similarity index 100% rename from src/test/run-pass/impl-trait/bounds_regression.rs rename to src/test/ui/run-pass/impl-trait/bounds_regression.rs diff --git a/src/test/run-pass/impl-trait/equality.rs b/src/test/ui/run-pass/impl-trait/equality.rs similarity index 100% rename from src/test/run-pass/impl-trait/equality.rs rename to src/test/ui/run-pass/impl-trait/equality.rs diff --git a/src/test/run-pass/impl-trait/example-calendar.rs b/src/test/ui/run-pass/impl-trait/example-calendar.rs similarity index 100% rename from src/test/run-pass/impl-trait/example-calendar.rs rename to src/test/ui/run-pass/impl-trait/example-calendar.rs diff --git a/src/test/run-pass/impl-trait/example-st.rs b/src/test/ui/run-pass/impl-trait/example-st.rs similarity index 100% rename from src/test/run-pass/impl-trait/example-st.rs rename to src/test/ui/run-pass/impl-trait/example-st.rs diff --git a/src/test/run-pass/impl-trait/existential-minimal.rs b/src/test/ui/run-pass/impl-trait/existential-minimal.rs similarity index 100% rename from src/test/run-pass/impl-trait/existential-minimal.rs rename to src/test/ui/run-pass/impl-trait/existential-minimal.rs diff --git a/src/test/run-pass/impl-trait/issue-42479.rs b/src/test/ui/run-pass/impl-trait/issue-42479.rs similarity index 100% rename from src/test/run-pass/impl-trait/issue-42479.rs rename to src/test/ui/run-pass/impl-trait/issue-42479.rs diff --git a/src/test/run-pass/impl-trait/issue-49376.rs b/src/test/ui/run-pass/impl-trait/issue-49376.rs similarity index 100% rename from src/test/run-pass/impl-trait/issue-49376.rs rename to src/test/ui/run-pass/impl-trait/issue-49376.rs diff --git a/src/test/run-pass/impl-trait/lifetimes.rs b/src/test/ui/run-pass/impl-trait/lifetimes.rs similarity index 100% rename from src/test/run-pass/impl-trait/lifetimes.rs rename to src/test/ui/run-pass/impl-trait/lifetimes.rs diff --git a/src/test/run-pass/impl-trait/nesting.rs b/src/test/ui/run-pass/impl-trait/nesting.rs similarity index 100% rename from src/test/run-pass/impl-trait/nesting.rs rename to src/test/ui/run-pass/impl-trait/nesting.rs diff --git a/src/test/run-pass/impl-trait/universal_hrtb_anon.rs b/src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs similarity index 100% rename from src/test/run-pass/impl-trait/universal_hrtb_anon.rs rename to src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs diff --git a/src/test/run-pass/impl-trait/universal_hrtb_named.rs b/src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs similarity index 100% rename from src/test/run-pass/impl-trait/universal_hrtb_named.rs rename to src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs diff --git a/src/test/run-pass/impl-trait/universal_in_adt_in_parameters.rs b/src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs similarity index 100% rename from src/test/run-pass/impl-trait/universal_in_adt_in_parameters.rs rename to src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs diff --git a/src/test/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs b/src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs similarity index 100% rename from src/test/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs rename to src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs diff --git a/src/test/run-pass/impl-trait/universal_in_trait_defn_parameters.rs b/src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs similarity index 100% rename from src/test/run-pass/impl-trait/universal_in_trait_defn_parameters.rs rename to src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs diff --git a/src/test/run-pass/impl-trait/universal_multiple_bounds.rs b/src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs similarity index 100% rename from src/test/run-pass/impl-trait/universal_multiple_bounds.rs rename to src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs diff --git a/src/test/run-pass/impl-trait/xcrate.rs b/src/test/ui/run-pass/impl-trait/xcrate.rs similarity index 100% rename from src/test/run-pass/impl-trait/xcrate.rs rename to src/test/ui/run-pass/impl-trait/xcrate.rs diff --git a/src/test/run-pass/impl-trait/xcrate_simple.rs b/src/test/ui/run-pass/impl-trait/xcrate_simple.rs similarity index 100% rename from src/test/run-pass/impl-trait/xcrate_simple.rs rename to src/test/ui/run-pass/impl-trait/xcrate_simple.rs diff --git a/src/test/run-pass/nll/issue-47153-generic-const.rs b/src/test/ui/run-pass/nll/issue-47153-generic-const.rs similarity index 100% rename from src/test/run-pass/nll/issue-47153-generic-const.rs rename to src/test/ui/run-pass/nll/issue-47153-generic-const.rs diff --git a/src/test/run-pass/nll/issue-47589.rs b/src/test/ui/run-pass/nll/issue-47589.rs similarity index 100% rename from src/test/run-pass/nll/issue-47589.rs rename to src/test/ui/run-pass/nll/issue-47589.rs diff --git a/src/test/run-pass/nll/issue-48623-closure.rs b/src/test/ui/run-pass/nll/issue-48623-closure.rs similarity index 100% rename from src/test/run-pass/nll/issue-48623-closure.rs rename to src/test/ui/run-pass/nll/issue-48623-closure.rs diff --git a/src/test/run-pass/nll/issue-48623-generator.rs b/src/test/ui/run-pass/nll/issue-48623-generator.rs similarity index 100% rename from src/test/run-pass/nll/issue-48623-generator.rs rename to src/test/ui/run-pass/nll/issue-48623-generator.rs diff --git a/src/test/run-pass/nll/issue-50343.rs b/src/test/ui/run-pass/nll/issue-50343.rs similarity index 100% rename from src/test/run-pass/nll/issue-50343.rs rename to src/test/ui/run-pass/nll/issue-50343.rs diff --git a/src/test/run-pass/nll/issue-50461-used-mut-from-moves.rs b/src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs similarity index 100% rename from src/test/run-pass/nll/issue-50461-used-mut-from-moves.rs rename to src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs diff --git a/src/test/run-pass/nll/issue-53123-raw-pointer-cast.rs b/src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs similarity index 100% rename from src/test/run-pass/nll/issue-53123-raw-pointer-cast.rs rename to src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs diff --git a/src/test/run-pass/nll/mutating_references.rs b/src/test/ui/run-pass/nll/mutating_references.rs similarity index 100% rename from src/test/run-pass/nll/mutating_references.rs rename to src/test/ui/run-pass/nll/mutating_references.rs diff --git a/src/test/run-pass/nll/process_or_insert_default.rs b/src/test/ui/run-pass/nll/process_or_insert_default.rs similarity index 100% rename from src/test/run-pass/nll/process_or_insert_default.rs rename to src/test/ui/run-pass/nll/process_or_insert_default.rs diff --git a/src/test/run-pass/nll/rc-loop.rs b/src/test/ui/run-pass/nll/rc-loop.rs similarity index 100% rename from src/test/run-pass/nll/rc-loop.rs rename to src/test/ui/run-pass/nll/rc-loop.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod.rs b/src/test/ui/run-pass/non_modrs_mods/foors_mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod.rs rename to src/test/ui/run-pass/non_modrs_mods/foors_mod.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/compiletest-ignore-dir b/src/test/ui/run-pass/non_modrs_mods/foors_mod/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod/compiletest-ignore-dir rename to src/test/ui/run-pass/non_modrs_mods/foors_mod/compiletest-ignore-dir diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs b/src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs rename to src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs b/src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs rename to src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs b/src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs rename to src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs b/src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs rename to src/test/ui/run-pass/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/compiletest-ignore-dir b/src/test/ui/run-pass/non_modrs_mods/modrs_mod/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/compiletest-ignore-dir rename to src/test/ui/run-pass/non_modrs_mods/modrs_mod/compiletest-ignore-dir diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs b/src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs rename to src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs b/src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs rename to src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs b/src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs rename to src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs b/src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs rename to src/test/ui/run-pass/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/mod.rs b/src/test/ui/run-pass/non_modrs_mods/modrs_mod/mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/mod.rs rename to src/test/ui/run-pass/non_modrs_mods/modrs_mod/mod.rs diff --git a/src/test/run-pass/non_modrs_mods/non_modrs_mods.rs b/src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/non_modrs_mods.rs rename to src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs diff --git a/src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs b/src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs rename to src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs diff --git a/src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir b/src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir rename to src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir diff --git a/src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs b/src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs rename to src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs diff --git a/src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs b/src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs rename to src/test/ui/run-pass/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs diff --git a/src/test/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs b/src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs similarity index 100% rename from src/test/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs rename to src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs diff --git a/src/test/run-pass/panic-runtime/abort.rs b/src/test/ui/run-pass/panic-runtime/abort.rs similarity index 100% rename from src/test/run-pass/panic-runtime/abort.rs rename to src/test/ui/run-pass/panic-runtime/abort.rs diff --git a/src/test/run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs b/src/test/ui/run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs similarity index 100% rename from src/test/run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs rename to src/test/ui/run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs diff --git a/src/test/run-pass/panic-runtime/link-to-abort.rs b/src/test/ui/run-pass/panic-runtime/link-to-abort.rs similarity index 100% rename from src/test/run-pass/panic-runtime/link-to-abort.rs rename to src/test/ui/run-pass/panic-runtime/link-to-abort.rs diff --git a/src/test/run-pass/panic-runtime/link-to-unwind.rs b/src/test/ui/run-pass/panic-runtime/link-to-unwind.rs similarity index 100% rename from src/test/run-pass/panic-runtime/link-to-unwind.rs rename to src/test/ui/run-pass/panic-runtime/link-to-unwind.rs diff --git a/src/test/run-pass/panic-runtime/lto-abort.rs b/src/test/ui/run-pass/panic-runtime/lto-abort.rs similarity index 100% rename from src/test/run-pass/panic-runtime/lto-abort.rs rename to src/test/ui/run-pass/panic-runtime/lto-abort.rs diff --git a/src/test/run-pass/panic-runtime/lto-unwind.rs b/src/test/ui/run-pass/panic-runtime/lto-unwind.rs similarity index 100% rename from src/test/run-pass/panic-runtime/lto-unwind.rs rename to src/test/ui/run-pass/panic-runtime/lto-unwind.rs diff --git a/src/test/run-pass/specialization/README.md b/src/test/ui/run-pass/specialization/README.md similarity index 100% rename from src/test/run-pass/specialization/README.md rename to src/test/ui/run-pass/specialization/README.md diff --git a/src/test/run-pass/specialization/assoc-ty-graph-cycle.rs b/src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs similarity index 100% rename from src/test/run-pass/specialization/assoc-ty-graph-cycle.rs rename to src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs diff --git a/src/test/run-pass/specialization/auxiliary/cross_crates_defaults.rs b/src/test/ui/run-pass/specialization/auxiliary/cross_crates_defaults.rs similarity index 100% rename from src/test/run-pass/specialization/auxiliary/cross_crates_defaults.rs rename to src/test/ui/run-pass/specialization/auxiliary/cross_crates_defaults.rs diff --git a/src/test/run-pass/specialization/auxiliary/go_trait.rs b/src/test/ui/run-pass/specialization/auxiliary/go_trait.rs similarity index 100% rename from src/test/run-pass/specialization/auxiliary/go_trait.rs rename to src/test/ui/run-pass/specialization/auxiliary/go_trait.rs diff --git a/src/test/run-pass/specialization/auxiliary/specialization_cross_crate.rs b/src/test/ui/run-pass/specialization/auxiliary/specialization_cross_crate.rs similarity index 100% rename from src/test/run-pass/specialization/auxiliary/specialization_cross_crate.rs rename to src/test/ui/run-pass/specialization/auxiliary/specialization_cross_crate.rs diff --git a/src/test/run-pass/specialization/cross-crate-defaults.rs b/src/test/ui/run-pass/specialization/cross-crate-defaults.rs similarity index 100% rename from src/test/run-pass/specialization/cross-crate-defaults.rs rename to src/test/ui/run-pass/specialization/cross-crate-defaults.rs diff --git a/src/test/run-pass/specialization/defaultimpl/allowed-cross-crate.rs b/src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/allowed-cross-crate.rs rename to src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs diff --git a/src/test/run-pass/specialization/defaultimpl/auxiliary/go_trait.rs b/src/test/ui/run-pass/specialization/defaultimpl/auxiliary/go_trait.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/auxiliary/go_trait.rs rename to src/test/ui/run-pass/specialization/defaultimpl/auxiliary/go_trait.rs diff --git a/src/test/run-pass/specialization/defaultimpl/out-of-order.rs b/src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/out-of-order.rs rename to src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs diff --git a/src/test/run-pass/specialization/defaultimpl/overlap-projection.rs b/src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/overlap-projection.rs rename to src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs diff --git a/src/test/run-pass/specialization/defaultimpl/projection.rs b/src/test/ui/run-pass/specialization/defaultimpl/projection.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/projection.rs rename to src/test/ui/run-pass/specialization/defaultimpl/projection.rs diff --git a/src/test/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs b/src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs rename to src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs diff --git a/src/test/run-pass/specialization/specialization-allowed-cross-crate.rs b/src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-allowed-cross-crate.rs rename to src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs diff --git a/src/test/run-pass/specialization/specialization-assoc-fns.rs b/src/test/ui/run-pass/specialization/specialization-assoc-fns.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-assoc-fns.rs rename to src/test/ui/run-pass/specialization/specialization-assoc-fns.rs diff --git a/src/test/run-pass/specialization/specialization-basics.rs b/src/test/ui/run-pass/specialization/specialization-basics.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-basics.rs rename to src/test/ui/run-pass/specialization/specialization-basics.rs diff --git a/src/test/run-pass/specialization/specialization-cross-crate-no-gate.rs b/src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-cross-crate-no-gate.rs rename to src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs diff --git a/src/test/run-pass/specialization/specialization-cross-crate.rs b/src/test/ui/run-pass/specialization/specialization-cross-crate.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-cross-crate.rs rename to src/test/ui/run-pass/specialization/specialization-cross-crate.rs diff --git a/src/test/run-pass/specialization/specialization-default-methods.rs b/src/test/ui/run-pass/specialization/specialization-default-methods.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-default-methods.rs rename to src/test/ui/run-pass/specialization/specialization-default-methods.rs diff --git a/src/test/run-pass/specialization/specialization-on-projection.rs b/src/test/ui/run-pass/specialization/specialization-on-projection.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-on-projection.rs rename to src/test/ui/run-pass/specialization/specialization-on-projection.rs diff --git a/src/test/run-pass/specialization/specialization-out-of-order.rs b/src/test/ui/run-pass/specialization/specialization-out-of-order.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-out-of-order.rs rename to src/test/ui/run-pass/specialization/specialization-out-of-order.rs diff --git a/src/test/run-pass/specialization/specialization-overlap-projection.rs b/src/test/ui/run-pass/specialization/specialization-overlap-projection.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-overlap-projection.rs rename to src/test/ui/run-pass/specialization/specialization-overlap-projection.rs diff --git a/src/test/run-pass/specialization/specialization-projection-alias.rs b/src/test/ui/run-pass/specialization/specialization-projection-alias.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-projection-alias.rs rename to src/test/ui/run-pass/specialization/specialization-projection-alias.rs diff --git a/src/test/run-pass/specialization/specialization-projection.rs b/src/test/ui/run-pass/specialization/specialization-projection.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-projection.rs rename to src/test/ui/run-pass/specialization/specialization-projection.rs diff --git a/src/test/run-pass/specialization/specialization-super-traits.rs b/src/test/ui/run-pass/specialization/specialization-super-traits.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-super-traits.rs rename to src/test/ui/run-pass/specialization/specialization-super-traits.rs diff --git a/src/test/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs b/src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs rename to src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs diff --git a/src/test/run-pass/specialization/specialization-translate-projections-with-params.rs b/src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-translate-projections-with-params.rs rename to src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs diff --git a/src/test/run-pass/specialization/specialization-translate-projections.rs b/src/test/ui/run-pass/specialization/specialization-translate-projections.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-translate-projections.rs rename to src/test/ui/run-pass/specialization/specialization-translate-projections.rs diff --git a/src/test/run-pass/thinlto/all-crates.rs b/src/test/ui/run-pass/thinlto/all-crates.rs similarity index 100% rename from src/test/run-pass/thinlto/all-crates.rs rename to src/test/ui/run-pass/thinlto/all-crates.rs diff --git a/src/test/run-pass/thinlto/auxiliary/dylib.rs b/src/test/ui/run-pass/thinlto/auxiliary/dylib.rs similarity index 100% rename from src/test/run-pass/thinlto/auxiliary/dylib.rs rename to src/test/ui/run-pass/thinlto/auxiliary/dylib.rs diff --git a/src/test/run-pass/thinlto/auxiliary/msvc-imp-present.rs b/src/test/ui/run-pass/thinlto/auxiliary/msvc-imp-present.rs similarity index 100% rename from src/test/run-pass/thinlto/auxiliary/msvc-imp-present.rs rename to src/test/ui/run-pass/thinlto/auxiliary/msvc-imp-present.rs diff --git a/src/test/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs b/src/test/ui/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs similarity index 100% rename from src/test/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs rename to src/test/ui/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs diff --git a/src/test/run-pass/thinlto/dylib-works.rs b/src/test/ui/run-pass/thinlto/dylib-works.rs similarity index 100% rename from src/test/run-pass/thinlto/dylib-works.rs rename to src/test/ui/run-pass/thinlto/dylib-works.rs diff --git a/src/test/run-pass/thinlto/msvc-imp-present.rs b/src/test/ui/run-pass/thinlto/msvc-imp-present.rs similarity index 100% rename from src/test/run-pass/thinlto/msvc-imp-present.rs rename to src/test/ui/run-pass/thinlto/msvc-imp-present.rs diff --git a/src/test/run-pass/thinlto/thin-lto-inlines.rs b/src/test/ui/run-pass/thinlto/thin-lto-inlines.rs similarity index 100% rename from src/test/run-pass/thinlto/thin-lto-inlines.rs rename to src/test/ui/run-pass/thinlto/thin-lto-inlines.rs diff --git a/src/test/run-pass/thinlto/thin-lto-inlines2.rs b/src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs similarity index 100% rename from src/test/run-pass/thinlto/thin-lto-inlines2.rs rename to src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs diff --git a/src/test/run-pass/thinlto/weak-works.rs b/src/test/ui/run-pass/thinlto/weak-works.rs similarity index 100% rename from src/test/run-pass/thinlto/weak-works.rs rename to src/test/ui/run-pass/thinlto/weak-works.rs diff --git a/src/test/run-pass/uniform-paths/basic-nested.rs b/src/test/ui/run-pass/uniform-paths/basic-nested.rs similarity index 100% rename from src/test/run-pass/uniform-paths/basic-nested.rs rename to src/test/ui/run-pass/uniform-paths/basic-nested.rs diff --git a/src/test/run-pass/uniform-paths/basic.rs b/src/test/ui/run-pass/uniform-paths/basic.rs similarity index 100% rename from src/test/run-pass/uniform-paths/basic.rs rename to src/test/ui/run-pass/uniform-paths/basic.rs diff --git a/src/test/run-pass/uniform-paths/macros-nested.rs b/src/test/ui/run-pass/uniform-paths/macros-nested.rs similarity index 100% rename from src/test/run-pass/uniform-paths/macros-nested.rs rename to src/test/ui/run-pass/uniform-paths/macros-nested.rs diff --git a/src/test/run-pass/uniform-paths/macros.rs b/src/test/ui/run-pass/uniform-paths/macros.rs similarity index 100% rename from src/test/run-pass/uniform-paths/macros.rs rename to src/test/ui/run-pass/uniform-paths/macros.rs diff --git a/src/test/run-pass/uniform-paths/same-crate.rs b/src/test/ui/run-pass/uniform-paths/same-crate.rs similarity index 100% rename from src/test/run-pass/uniform-paths/same-crate.rs rename to src/test/ui/run-pass/uniform-paths/same-crate.rs diff --git a/src/test/run-pass/union/auxiliary/union.rs b/src/test/ui/run-pass/union/auxiliary/union.rs similarity index 100% rename from src/test/run-pass/union/auxiliary/union.rs rename to src/test/ui/run-pass/union/auxiliary/union.rs diff --git a/src/test/run-pass/union/union-align.rs b/src/test/ui/run-pass/union/union-align.rs similarity index 100% rename from src/test/run-pass/union/union-align.rs rename to src/test/ui/run-pass/union/union-align.rs diff --git a/src/test/run-pass/union/union-backcomp.rs b/src/test/ui/run-pass/union/union-backcomp.rs similarity index 100% rename from src/test/run-pass/union/union-backcomp.rs rename to src/test/ui/run-pass/union/union-backcomp.rs diff --git a/src/test/run-pass/union/union-basic.rs b/src/test/ui/run-pass/union/union-basic.rs similarity index 100% rename from src/test/run-pass/union/union-basic.rs rename to src/test/ui/run-pass/union/union-basic.rs diff --git a/src/test/run-pass/union/union-c-interop.rs b/src/test/ui/run-pass/union/union-c-interop.rs similarity index 100% rename from src/test/run-pass/union/union-c-interop.rs rename to src/test/ui/run-pass/union/union-c-interop.rs diff --git a/src/test/run-pass/union/union-const-codegen.rs b/src/test/ui/run-pass/union/union-const-codegen.rs similarity index 100% rename from src/test/run-pass/union/union-const-codegen.rs rename to src/test/ui/run-pass/union/union-const-codegen.rs diff --git a/src/test/run-pass/union/union-const-eval-field.rs b/src/test/ui/run-pass/union/union-const-eval-field.rs similarity index 100% rename from src/test/run-pass/union/union-const-eval-field.rs rename to src/test/ui/run-pass/union/union-const-eval-field.rs diff --git a/src/test/run-pass/union/union-derive.rs b/src/test/ui/run-pass/union/union-derive.rs similarity index 100% rename from src/test/run-pass/union/union-derive.rs rename to src/test/ui/run-pass/union/union-derive.rs diff --git a/src/test/run-pass/union/union-drop-assign.rs b/src/test/ui/run-pass/union/union-drop-assign.rs similarity index 100% rename from src/test/run-pass/union/union-drop-assign.rs rename to src/test/ui/run-pass/union/union-drop-assign.rs diff --git a/src/test/run-pass/union/union-drop.rs b/src/test/ui/run-pass/union/union-drop.rs similarity index 100% rename from src/test/run-pass/union/union-drop.rs rename to src/test/ui/run-pass/union/union-drop.rs diff --git a/src/test/run-pass/union/union-generic.rs b/src/test/ui/run-pass/union/union-generic.rs similarity index 100% rename from src/test/run-pass/union/union-generic.rs rename to src/test/ui/run-pass/union/union-generic.rs diff --git a/src/test/run-pass/union/union-inherent-method.rs b/src/test/ui/run-pass/union/union-inherent-method.rs similarity index 100% rename from src/test/run-pass/union/union-inherent-method.rs rename to src/test/ui/run-pass/union/union-inherent-method.rs diff --git a/src/test/run-pass/union/union-macro.rs b/src/test/ui/run-pass/union/union-macro.rs similarity index 100% rename from src/test/run-pass/union/union-macro.rs rename to src/test/ui/run-pass/union/union-macro.rs diff --git a/src/test/run-pass/union/union-nodrop.rs b/src/test/ui/run-pass/union/union-nodrop.rs similarity index 100% rename from src/test/run-pass/union/union-nodrop.rs rename to src/test/ui/run-pass/union/union-nodrop.rs diff --git a/src/test/run-pass/union/union-overwrite.rs b/src/test/ui/run-pass/union/union-overwrite.rs similarity index 100% rename from src/test/run-pass/union/union-overwrite.rs rename to src/test/ui/run-pass/union/union-overwrite.rs diff --git a/src/test/run-pass/union/union-packed.rs b/src/test/ui/run-pass/union/union-packed.rs similarity index 100% rename from src/test/run-pass/union/union-packed.rs rename to src/test/ui/run-pass/union/union-packed.rs diff --git a/src/test/run-pass/union/union-pat-refutability.rs b/src/test/ui/run-pass/union/union-pat-refutability.rs similarity index 100% rename from src/test/run-pass/union/union-pat-refutability.rs rename to src/test/ui/run-pass/union/union-pat-refutability.rs diff --git a/src/test/run-pass/union/union-trait-impl.rs b/src/test/ui/run-pass/union/union-trait-impl.rs similarity index 100% rename from src/test/run-pass/union/union-trait-impl.rs rename to src/test/ui/run-pass/union/union-trait-impl.rs diff --git a/src/test/run-pass/union/union-transmute.rs b/src/test/ui/run-pass/union/union-transmute.rs similarity index 100% rename from src/test/run-pass/union/union-transmute.rs rename to src/test/ui/run-pass/union/union-transmute.rs diff --git a/src/test/run-pass/union/union-with-drop-fields-lint.rs b/src/test/ui/run-pass/union/union-with-drop-fields-lint.rs similarity index 100% rename from src/test/run-pass/union/union-with-drop-fields-lint.rs rename to src/test/ui/run-pass/union/union-with-drop-fields-lint.rs diff --git a/src/test/run-pass/unsized-locals/reference-unsized-locals.rs b/src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs similarity index 100% rename from src/test/run-pass/unsized-locals/reference-unsized-locals.rs rename to src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs diff --git a/src/test/run-pass/unsized-locals/simple-unsized-locals.rs b/src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs similarity index 100% rename from src/test/run-pass/unsized-locals/simple-unsized-locals.rs rename to src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs diff --git a/src/test/run-pass/unsized-locals/unsized-exprs.rs b/src/test/ui/run-pass/unsized-locals/unsized-exprs.rs similarity index 100% rename from src/test/run-pass/unsized-locals/unsized-exprs.rs rename to src/test/ui/run-pass/unsized-locals/unsized-exprs.rs diff --git a/src/test/run-pass/unsized-locals/unsized-parameters.rs b/src/test/ui/run-pass/unsized-locals/unsized-parameters.rs similarity index 100% rename from src/test/run-pass/unsized-locals/unsized-parameters.rs rename to src/test/ui/run-pass/unsized-locals/unsized-parameters.rs From f3b766d7add66f2943284b5fff664d16a23d36e9 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 6 Sep 2018 14:41:12 +0200 Subject: [PATCH 2/5] Add `// run-pass` to collection of tests. --- src/test/ui/run-pass/allocator/custom.rs | 2 ++ src/test/ui/run-pass/allocator/xcrate-use.rs | 2 ++ src/test/ui/run-pass/allocator/xcrate-use2.rs | 2 ++ src/test/ui/run-pass/bench/issue-32062.rs | 2 ++ src/test/ui/run-pass/ctfe/assoc-const.rs | 2 ++ src/test/ui/run-pass/ctfe/bswap-const.rs | 2 ++ src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs | 2 ++ src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs | 2 ++ src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs | 2 ++ src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs | 2 ++ src/test/ui/run-pass/ctfe/deref_in_pattern.rs | 2 ++ src/test/ui/run-pass/ctfe/ice-48279.rs | 2 ++ src/test/ui/run-pass/ctfe/issue-37550.rs | 2 ++ src/test/ui/run-pass/ctfe/issue-broken-mir.rs | 2 ++ src/test/ui/run-pass/ctfe/locals-in-const-fn.rs | 2 ++ src/test/ui/run-pass/ctfe/match-const-fn-structs.rs | 2 ++ src/test/ui/run-pass/ctfe/mozjs-error.rs | 2 ++ src/test/ui/run-pass/ctfe/non-scalar-cast.rs | 2 ++ src/test/ui/run-pass/ctfe/promotion.rs | 2 ++ src/test/ui/run-pass/ctfe/references.rs | 2 ++ src/test/ui/run-pass/ctfe/repeat_match.rs | 2 ++ src/test/ui/run-pass/ctfe/return-in-const-fn.rs | 2 ++ src/test/ui/run-pass/ctfe/signed_enum_discr.rs | 2 ++ src/test/ui/run-pass/ctfe/transmute-const.rs | 2 ++ src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs | 2 ++ src/test/ui/run-pass/generator/borrow-in-tail-expr.rs | 2 ++ src/test/ui/run-pass/generator/conditional-drop.rs | 2 ++ src/test/ui/run-pass/generator/control-flow.rs | 2 ++ src/test/ui/run-pass/generator/drop-env.rs | 2 ++ src/test/ui/run-pass/generator/issue-44197.rs | 2 ++ src/test/ui/run-pass/generator/issue-52398.rs | 2 ++ src/test/ui/run-pass/generator/iterator-count.rs | 2 ++ src/test/ui/run-pass/generator/live-upvar-across-yield.rs | 2 ++ src/test/ui/run-pass/generator/match-bindings.rs | 2 ++ src/test/ui/run-pass/generator/nested_generators.rs | 2 ++ src/test/ui/run-pass/generator/panic-drops.rs | 2 ++ src/test/ui/run-pass/generator/panic-safe.rs | 2 ++ src/test/ui/run-pass/generator/reborrow-mut-upvar.rs | 2 ++ src/test/ui/run-pass/generator/resume-after-return.rs | 2 ++ src/test/ui/run-pass/generator/smoke.rs | 2 ++ src/test/ui/run-pass/generator/static-generators.rs | 2 ++ .../ui/run-pass/generator/too-live-local-in-immovable-gen.rs | 2 ++ src/test/ui/run-pass/generator/xcrate-reachable.rs | 2 ++ src/test/ui/run-pass/generator/xcrate.rs | 2 ++ src/test/ui/run-pass/generator/yield-in-args-rev.rs | 2 ++ src/test/ui/run-pass/generator/yield-in-box.rs | 2 ++ src/test/ui/run-pass/generator/yield-in-initializer.rs | 2 ++ src/test/ui/run-pass/generator/yield-subtype.rs | 2 ++ src/test/ui/run-pass/impl-trait/auto-trait-leak.rs | 2 ++ src/test/ui/run-pass/impl-trait/bounds_regression.rs | 2 ++ src/test/ui/run-pass/impl-trait/equality.rs | 2 ++ src/test/ui/run-pass/impl-trait/example-calendar.rs | 2 ++ src/test/ui/run-pass/impl-trait/example-st.rs | 2 ++ src/test/ui/run-pass/impl-trait/existential-minimal.rs | 2 ++ src/test/ui/run-pass/impl-trait/issue-42479.rs | 2 ++ src/test/ui/run-pass/impl-trait/issue-49376.rs | 2 ++ src/test/ui/run-pass/impl-trait/lifetimes.rs | 2 ++ src/test/ui/run-pass/impl-trait/nesting.rs | 2 ++ src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs | 2 ++ src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs | 2 ++ .../ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs | 2 ++ .../impl-trait/universal_in_impl_trait_in_parameters.rs | 2 ++ .../run-pass/impl-trait/universal_in_trait_defn_parameters.rs | 2 ++ src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs | 2 ++ src/test/ui/run-pass/impl-trait/xcrate.rs | 2 ++ src/test/ui/run-pass/impl-trait/xcrate_simple.rs | 2 ++ src/test/ui/run-pass/nll/issue-47153-generic-const.rs | 2 ++ src/test/ui/run-pass/nll/issue-47589.rs | 2 ++ src/test/ui/run-pass/nll/issue-48623-closure.rs | 2 ++ src/test/ui/run-pass/nll/issue-48623-generator.rs | 2 ++ src/test/ui/run-pass/nll/issue-50343.rs | 2 ++ src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs | 2 ++ src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs | 2 ++ src/test/ui/run-pass/nll/mutating_references.rs | 2 ++ src/test/ui/run-pass/nll/process_or_insert_default.rs | 2 ++ src/test/ui/run-pass/nll/rc-loop.rs | 2 ++ src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs | 2 ++ .../ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs | 2 ++ src/test/ui/run-pass/panic-runtime/abort.rs | 2 ++ src/test/ui/run-pass/panic-runtime/link-to-abort.rs | 2 ++ src/test/ui/run-pass/panic-runtime/link-to-unwind.rs | 2 ++ src/test/ui/run-pass/panic-runtime/lto-abort.rs | 2 ++ src/test/ui/run-pass/panic-runtime/lto-unwind.rs | 2 ++ src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs | 2 ++ src/test/ui/run-pass/specialization/cross-crate-defaults.rs | 2 ++ .../run-pass/specialization/defaultimpl/allowed-cross-crate.rs | 2 ++ src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs | 2 ++ .../run-pass/specialization/defaultimpl/overlap-projection.rs | 2 ++ src/test/ui/run-pass/specialization/defaultimpl/projection.rs | 2 ++ .../defaultimpl/specialization-trait-item-not-implemented.rs | 2 ++ .../specialization/specialization-allowed-cross-crate.rs | 2 ++ src/test/ui/run-pass/specialization/specialization-assoc-fns.rs | 2 ++ src/test/ui/run-pass/specialization/specialization-basics.rs | 2 ++ .../specialization/specialization-cross-crate-no-gate.rs | 2 ++ .../ui/run-pass/specialization/specialization-cross-crate.rs | 2 ++ .../run-pass/specialization/specialization-default-methods.rs | 2 ++ .../ui/run-pass/specialization/specialization-on-projection.rs | 2 ++ .../ui/run-pass/specialization/specialization-out-of-order.rs | 2 ++ .../specialization/specialization-overlap-projection.rs | 2 ++ .../run-pass/specialization/specialization-projection-alias.rs | 2 ++ .../ui/run-pass/specialization/specialization-projection.rs | 2 ++ .../ui/run-pass/specialization/specialization-super-traits.rs | 2 ++ .../specialization-translate-projections-with-lifetimes.rs | 2 ++ .../specialization-translate-projections-with-params.rs | 2 ++ .../specialization/specialization-translate-projections.rs | 2 ++ src/test/ui/run-pass/thinlto/all-crates.rs | 2 ++ src/test/ui/run-pass/thinlto/dylib-works.rs | 2 ++ src/test/ui/run-pass/thinlto/msvc-imp-present.rs | 2 ++ src/test/ui/run-pass/thinlto/thin-lto-inlines.rs | 2 ++ src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs | 2 ++ src/test/ui/run-pass/thinlto/weak-works.rs | 2 ++ src/test/ui/run-pass/uniform-paths/basic-nested.rs | 2 ++ src/test/ui/run-pass/uniform-paths/basic.rs | 2 ++ src/test/ui/run-pass/uniform-paths/macros-nested.rs | 2 ++ src/test/ui/run-pass/uniform-paths/macros.rs | 2 ++ src/test/ui/run-pass/uniform-paths/same-crate.rs | 2 ++ src/test/ui/run-pass/union/union-align.rs | 2 ++ src/test/ui/run-pass/union/union-backcomp.rs | 2 ++ src/test/ui/run-pass/union/union-basic.rs | 2 ++ src/test/ui/run-pass/union/union-c-interop.rs | 2 ++ src/test/ui/run-pass/union/union-const-codegen.rs | 2 ++ src/test/ui/run-pass/union/union-const-eval-field.rs | 2 ++ src/test/ui/run-pass/union/union-derive.rs | 2 ++ src/test/ui/run-pass/union/union-drop-assign.rs | 2 ++ src/test/ui/run-pass/union/union-drop.rs | 2 ++ src/test/ui/run-pass/union/union-generic.rs | 2 ++ src/test/ui/run-pass/union/union-inherent-method.rs | 2 ++ src/test/ui/run-pass/union/union-macro.rs | 2 ++ src/test/ui/run-pass/union/union-nodrop.rs | 2 ++ src/test/ui/run-pass/union/union-overwrite.rs | 2 ++ src/test/ui/run-pass/union/union-packed.rs | 2 ++ src/test/ui/run-pass/union/union-pat-refutability.rs | 2 ++ src/test/ui/run-pass/union/union-trait-impl.rs | 2 ++ src/test/ui/run-pass/union/union-transmute.rs | 2 ++ src/test/ui/run-pass/union/union-with-drop-fields-lint.rs | 2 ++ src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs | 2 ++ src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs | 2 ++ src/test/ui/run-pass/unsized-locals/unsized-exprs.rs | 2 ++ src/test/ui/run-pass/unsized-locals/unsized-parameters.rs | 2 ++ 139 files changed, 278 insertions(+) diff --git a/src/test/ui/run-pass/allocator/custom.rs b/src/test/ui/run-pass/allocator/custom.rs index 3a7f8fa862094..9617f7d4685d7 100644 --- a/src/test/ui/run-pass/allocator/custom.rs +++ b/src/test/ui/run-pass/allocator/custom.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:helper.rs // no-prefer-dynamic diff --git a/src/test/ui/run-pass/allocator/xcrate-use.rs b/src/test/ui/run-pass/allocator/xcrate-use.rs index 482e3b04aae2d..8b9e1e329f7b9 100644 --- a/src/test/ui/run-pass/allocator/xcrate-use.rs +++ b/src/test/ui/run-pass/allocator/xcrate-use.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:custom.rs // aux-build:helper.rs // no-prefer-dynamic diff --git a/src/test/ui/run-pass/allocator/xcrate-use2.rs b/src/test/ui/run-pass/allocator/xcrate-use2.rs index 7a45fd28bdbc5..2e52f28d3117a 100644 --- a/src/test/ui/run-pass/allocator/xcrate-use2.rs +++ b/src/test/ui/run-pass/allocator/xcrate-use2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:custom.rs // aux-build:custom-as-global.rs // aux-build:helper.rs diff --git a/src/test/ui/run-pass/bench/issue-32062.rs b/src/test/ui/run-pass/bench/issue-32062.rs index 8f6457d820a84..c21399fd2998e 100644 --- a/src/test/ui/run-pass/bench/issue-32062.rs +++ b/src/test/ui/run-pass/bench/issue-32062.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // pretty-expanded FIXME #23616 fn main() { diff --git a/src/test/ui/run-pass/ctfe/assoc-const.rs b/src/test/ui/run-pass/ctfe/assoc-const.rs index 6a740dc1dd30b..cead174392619 100644 --- a/src/test/ui/run-pass/ctfe/assoc-const.rs +++ b/src/test/ui/run-pass/ctfe/assoc-const.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + trait Nat { const VALUE: usize; } diff --git a/src/test/ui/run-pass/ctfe/bswap-const.rs b/src/test/ui/run-pass/ctfe/bswap-const.rs index b951a9b72b1e1..5fc7609bb680e 100644 --- a/src/test/ui/run-pass/ctfe/bswap-const.rs +++ b/src/test/ui/run-pass/ctfe/bswap-const.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(core_intrinsics)] use std::intrinsics; diff --git a/src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs b/src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs index 813dd5fbb9941..94e97d37424c3 100644 --- a/src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs +++ b/src/test/ui/run-pass/ctfe/chained-constants-stackoverflow.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/34997 pub const CST_1: u32 = 0; diff --git a/src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs b/src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs index e233107169c75..09590d5f19771 100644 --- a/src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs +++ b/src/test/ui/run-pass/ctfe/const-block-non-item-statement-3.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(const_let)] type Array = [u32; { let x = 2; 5 }]; diff --git a/src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs b/src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs index b5a9bfb45a1b4..5490bd4d3ad83 100644 --- a/src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs +++ b/src/test/ui/run-pass/ctfe/const-block-non-item-statement.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(const_let)] enum Foo { diff --git a/src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs b/src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs index 8b832976aab0e..323232acc675f 100644 --- a/src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs +++ b/src/test/ui/run-pass/ctfe/const-fn-destructuring-arg.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // test that certain things are disallowed in constant functions #![feature(const_fn, const_let)] diff --git a/src/test/ui/run-pass/ctfe/deref_in_pattern.rs b/src/test/ui/run-pass/ctfe/deref_in_pattern.rs index 4ccfa0338f393..6f4cca624bfe7 100644 --- a/src/test/ui/run-pass/ctfe/deref_in_pattern.rs +++ b/src/test/ui/run-pass/ctfe/deref_in_pattern.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/25574 const A: [u8; 4] = *b"fooo"; diff --git a/src/test/ui/run-pass/ctfe/ice-48279.rs b/src/test/ui/run-pass/ctfe/ice-48279.rs index f59a6810e3a78..34b7b56f274a0 100644 --- a/src/test/ui/run-pass/ctfe/ice-48279.rs +++ b/src/test/ui/run-pass/ctfe/ice-48279.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/48279 #![feature(min_const_fn)] diff --git a/src/test/ui/run-pass/ctfe/issue-37550.rs b/src/test/ui/run-pass/ctfe/issue-37550.rs index 27796a5feea28..21c4ec2c09ec3 100644 --- a/src/test/ui/run-pass/ctfe/issue-37550.rs +++ b/src/test/ui/run-pass/ctfe/issue-37550.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(const_fn, const_let)] const fn x() { diff --git a/src/test/ui/run-pass/ctfe/issue-broken-mir.rs b/src/test/ui/run-pass/ctfe/issue-broken-mir.rs index 6ed0c7c0d5dc4..4810ef75c7810 100644 --- a/src/test/ui/run-pass/ctfe/issue-broken-mir.rs +++ b/src/test/ui/run-pass/ctfe/issue-broken-mir.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/27918 fn main() { diff --git a/src/test/ui/run-pass/ctfe/locals-in-const-fn.rs b/src/test/ui/run-pass/ctfe/locals-in-const-fn.rs index 8c153315c25aa..d10465b9dcd26 100644 --- a/src/test/ui/run-pass/ctfe/locals-in-const-fn.rs +++ b/src/test/ui/run-pass/ctfe/locals-in-const-fn.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/48821 #![feature(const_fn, const_let)] diff --git a/src/test/ui/run-pass/ctfe/match-const-fn-structs.rs b/src/test/ui/run-pass/ctfe/match-const-fn-structs.rs index 352958f4c6a45..6c829f142dd0a 100644 --- a/src/test/ui/run-pass/ctfe/match-const-fn-structs.rs +++ b/src/test/ui/run-pass/ctfe/match-const-fn-structs.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/46114 #![feature(min_const_fn)] diff --git a/src/test/ui/run-pass/ctfe/mozjs-error.rs b/src/test/ui/run-pass/ctfe/mozjs-error.rs index 9c8a4b5ae6a2d..51471f0a34291 100644 --- a/src/test/ui/run-pass/ctfe/mozjs-error.rs +++ b/src/test/ui/run-pass/ctfe/mozjs-error.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + struct CustomAutoRooterVFTable { trace: unsafe extern "C" fn(this: *mut i32, trc: *mut u32), } diff --git a/src/test/ui/run-pass/ctfe/non-scalar-cast.rs b/src/test/ui/run-pass/ctfe/non-scalar-cast.rs index ff4474f47c9f3..9711247b83e00 100644 --- a/src/test/ui/run-pass/ctfe/non-scalar-cast.rs +++ b/src/test/ui/run-pass/ctfe/non-scalar-cast.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/37448 fn main() { diff --git a/src/test/ui/run-pass/ctfe/promotion.rs b/src/test/ui/run-pass/ctfe/promotion.rs index 28b876c308b64..5407529f0653d 100644 --- a/src/test/ui/run-pass/ctfe/promotion.rs +++ b/src/test/ui/run-pass/ctfe/promotion.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags: -O fn foo(_: &'static [&'static str]) {} diff --git a/src/test/ui/run-pass/ctfe/references.rs b/src/test/ui/run-pass/ctfe/references.rs index ad7dbeb79c721..946ed246bb05e 100644 --- a/src/test/ui/run-pass/ctfe/references.rs +++ b/src/test/ui/run-pass/ctfe/references.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + const FOO: &[u8] = b"foo"; const BAR: &[u8] = &[1, 2, 3]; diff --git a/src/test/ui/run-pass/ctfe/repeat_match.rs b/src/test/ui/run-pass/ctfe/repeat_match.rs index dedf5defebb7c..60a9a916bff4d 100644 --- a/src/test/ui/run-pass/ctfe/repeat_match.rs +++ b/src/test/ui/run-pass/ctfe/repeat_match.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/45044 const X: [u8; 1] = [0; 1]; diff --git a/src/test/ui/run-pass/ctfe/return-in-const-fn.rs b/src/test/ui/run-pass/ctfe/return-in-const-fn.rs index 87fdac4bfb4fe..e002001952379 100644 --- a/src/test/ui/run-pass/ctfe/return-in-const-fn.rs +++ b/src/test/ui/run-pass/ctfe/return-in-const-fn.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/43754 #![feature(min_const_fn)] diff --git a/src/test/ui/run-pass/ctfe/signed_enum_discr.rs b/src/test/ui/run-pass/ctfe/signed_enum_discr.rs index 7049d28a87085..9dd2990ab8d67 100644 --- a/src/test/ui/run-pass/ctfe/signed_enum_discr.rs +++ b/src/test/ui/run-pass/ctfe/signed_enum_discr.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/49181 #[derive(Eq, PartialEq)] diff --git a/src/test/ui/run-pass/ctfe/transmute-const.rs b/src/test/ui/run-pass/ctfe/transmute-const.rs index bf9459a67c453..efd6df5f88642 100644 --- a/src/test/ui/run-pass/ctfe/transmute-const.rs +++ b/src/test/ui/run-pass/ctfe/transmute-const.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(const_transmute)] use std::mem; diff --git a/src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs b/src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs index d5f3e88fd52e8..c7000d198138d 100644 --- a/src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs +++ b/src/test/ui/run-pass/ctfe/tuple-struct-constructors.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // https://github.com/rust-lang/rust/issues/41898 use std::num::NonZeroU64; diff --git a/src/test/ui/run-pass/generator/borrow-in-tail-expr.rs b/src/test/ui/run-pass/generator/borrow-in-tail-expr.rs index 486fe3c900d8b..3ac501d01176c 100644 --- a/src/test/ui/run-pass/generator/borrow-in-tail-expr.rs +++ b/src/test/ui/run-pass/generator/borrow-in-tail-expr.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] fn main() { diff --git a/src/test/ui/run-pass/generator/conditional-drop.rs b/src/test/ui/run-pass/generator/conditional-drop.rs index 3d39c46186be3..ca8689ca842df 100644 --- a/src/test/ui/run-pass/generator/conditional-drop.rs +++ b/src/test/ui/run-pass/generator/conditional-drop.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::Generator; diff --git a/src/test/ui/run-pass/generator/control-flow.rs b/src/test/ui/run-pass/generator/control-flow.rs index 09971410e556d..b1560b83cdcb9 100644 --- a/src/test/ui/run-pass/generator/control-flow.rs +++ b/src/test/ui/run-pass/generator/control-flow.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::{GeneratorState, Generator}; diff --git a/src/test/ui/run-pass/generator/drop-env.rs b/src/test/ui/run-pass/generator/drop-env.rs index ef4dc24472e61..9bdee02709795 100644 --- a/src/test/ui/run-pass/generator/drop-env.rs +++ b/src/test/ui/run-pass/generator/drop-env.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::Generator; diff --git a/src/test/ui/run-pass/generator/issue-44197.rs b/src/test/ui/run-pass/generator/issue-44197.rs index 272b7eb7bfdd0..7ddc3c6e83ce1 100644 --- a/src/test/ui/run-pass/generator/issue-44197.rs +++ b/src/test/ui/run-pass/generator/issue-44197.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::{ Generator, GeneratorState }; diff --git a/src/test/ui/run-pass/generator/issue-52398.rs b/src/test/ui/run-pass/generator/issue-52398.rs index 0fb8f277ea9d4..9ed65a0eee06d 100644 --- a/src/test/ui/run-pass/generator/issue-52398.rs +++ b/src/test/ui/run-pass/generator/issue-52398.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] use std::cell::RefCell; diff --git a/src/test/ui/run-pass/generator/iterator-count.rs b/src/test/ui/run-pass/generator/iterator-count.rs index 3564ddaa8068e..b9d877b64985b 100644 --- a/src/test/ui/run-pass/generator/iterator-count.rs +++ b/src/test/ui/run-pass/generator/iterator-count.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::{GeneratorState, Generator}; diff --git a/src/test/ui/run-pass/generator/live-upvar-across-yield.rs b/src/test/ui/run-pass/generator/live-upvar-across-yield.rs index 28e7da232ce09..f560c521533ed 100644 --- a/src/test/ui/run-pass/generator/live-upvar-across-yield.rs +++ b/src/test/ui/run-pass/generator/live-upvar-across-yield.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::Generator; diff --git a/src/test/ui/run-pass/generator/match-bindings.rs b/src/test/ui/run-pass/generator/match-bindings.rs index 231aa1b42f021..10d8bb8c9a7ef 100644 --- a/src/test/ui/run-pass/generator/match-bindings.rs +++ b/src/test/ui/run-pass/generator/match-bindings.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] enum Enum { diff --git a/src/test/ui/run-pass/generator/nested_generators.rs b/src/test/ui/run-pass/generator/nested_generators.rs index 29808da85a7a9..e73f3f197dbc2 100644 --- a/src/test/ui/run-pass/generator/nested_generators.rs +++ b/src/test/ui/run-pass/generator/nested_generators.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] #![feature(generator_trait)] diff --git a/src/test/ui/run-pass/generator/panic-drops.rs b/src/test/ui/run-pass/generator/panic-drops.rs index 3d7b60ab6b901..34efd43c50551 100644 --- a/src/test/ui/run-pass/generator/panic-drops.rs +++ b/src/test/ui/run-pass/generator/panic-drops.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-wasm32-bare compiled as panic=abort by default #![feature(generators, generator_trait)] diff --git a/src/test/ui/run-pass/generator/panic-safe.rs b/src/test/ui/run-pass/generator/panic-safe.rs index ace5cdde51d85..f1aa5de968956 100644 --- a/src/test/ui/run-pass/generator/panic-safe.rs +++ b/src/test/ui/run-pass/generator/panic-safe.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-wasm32-bare compiled with panic=abort by default #![feature(generators, generator_trait)] diff --git a/src/test/ui/run-pass/generator/reborrow-mut-upvar.rs b/src/test/ui/run-pass/generator/reborrow-mut-upvar.rs index 8353066bfbe8e..582b5ad575bed 100644 --- a/src/test/ui/run-pass/generator/reborrow-mut-upvar.rs +++ b/src/test/ui/run-pass/generator/reborrow-mut-upvar.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] fn _run(bar: &mut i32) { diff --git a/src/test/ui/run-pass/generator/resume-after-return.rs b/src/test/ui/run-pass/generator/resume-after-return.rs index 06e7615d26191..67c653f102d7b 100644 --- a/src/test/ui/run-pass/generator/resume-after-return.rs +++ b/src/test/ui/run-pass/generator/resume-after-return.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-wasm32-bare compiled with panic=abort by default #![feature(generators, generator_trait)] diff --git a/src/test/ui/run-pass/generator/smoke.rs b/src/test/ui/run-pass/generator/smoke.rs index 7395c8484c169..2651000e8b415 100644 --- a/src/test/ui/run-pass/generator/smoke.rs +++ b/src/test/ui/run-pass/generator/smoke.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-emscripten no threads support // compile-flags: --test diff --git a/src/test/ui/run-pass/generator/static-generators.rs b/src/test/ui/run-pass/generator/static-generators.rs index ebc070eee09c1..9c659b53a0653 100644 --- a/src/test/ui/run-pass/generator/static-generators.rs +++ b/src/test/ui/run-pass/generator/static-generators.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators, generator_trait)] use std::ops::{Generator, GeneratorState}; diff --git a/src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs b/src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs index 2314533a68153..81a5f571202f3 100644 --- a/src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs +++ b/src/test/ui/run-pass/generator/too-live-local-in-immovable-gen.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] fn main() { diff --git a/src/test/ui/run-pass/generator/xcrate-reachable.rs b/src/test/ui/run-pass/generator/xcrate-reachable.rs index 2fc39ba186916..c14b3c3328a07 100644 --- a/src/test/ui/run-pass/generator/xcrate-reachable.rs +++ b/src/test/ui/run-pass/generator/xcrate-reachable.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:xcrate-reachable.rs #![feature(generator_trait)] diff --git a/src/test/ui/run-pass/generator/xcrate.rs b/src/test/ui/run-pass/generator/xcrate.rs index 04791d5135677..af4a84dd1dbaa 100644 --- a/src/test/ui/run-pass/generator/xcrate.rs +++ b/src/test/ui/run-pass/generator/xcrate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:xcrate.rs #![feature(generators, generator_trait)] diff --git a/src/test/ui/run-pass/generator/yield-in-args-rev.rs b/src/test/ui/run-pass/generator/yield-in-args-rev.rs index df00329799e96..3048b1225d318 100644 --- a/src/test/ui/run-pass/generator/yield-in-args-rev.rs +++ b/src/test/ui/run-pass/generator/yield-in-args-rev.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that a borrow that occurs after a yield in the same // argument list is not treated as live across the yield by // type-checking. diff --git a/src/test/ui/run-pass/generator/yield-in-box.rs b/src/test/ui/run-pass/generator/yield-in-box.rs index d68007be05c88..a5ba3a25e87cd 100644 --- a/src/test/ui/run-pass/generator/yield-in-box.rs +++ b/src/test/ui/run-pass/generator/yield-in-box.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that box-statements with yields in them work. #![feature(generators, box_syntax)] diff --git a/src/test/ui/run-pass/generator/yield-in-initializer.rs b/src/test/ui/run-pass/generator/yield-in-initializer.rs index 3042061226b39..00045e6d3f6a8 100644 --- a/src/test/ui/run-pass/generator/yield-in-initializer.rs +++ b/src/test/ui/run-pass/generator/yield-in-initializer.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(generators)] fn main() { diff --git a/src/test/ui/run-pass/generator/yield-subtype.rs b/src/test/ui/run-pass/generator/yield-subtype.rs index c41341690441f..62d3a59ab7889 100644 --- a/src/test/ui/run-pass/generator/yield-subtype.rs +++ b/src/test/ui/run-pass/generator/yield-subtype.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // revisions:lexical nll //[nll]compile-flags: -Z disable-nll-user-type-assert #![cfg_attr(nll, feature(nll))] diff --git a/src/test/ui/run-pass/impl-trait/auto-trait-leak.rs b/src/test/ui/run-pass/impl-trait/auto-trait-leak.rs index 62fbae7b40c03..fb252b01f8573 100644 --- a/src/test/ui/run-pass/impl-trait/auto-trait-leak.rs +++ b/src/test/ui/run-pass/impl-trait/auto-trait-leak.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Fast path, main can see the concrete type returned. fn before() -> impl FnMut(i32) { let mut p = Box::new(0); diff --git a/src/test/ui/run-pass/impl-trait/bounds_regression.rs b/src/test/ui/run-pass/impl-trait/bounds_regression.rs index cc931a68edd04..b6abfdebfa852 100644 --- a/src/test/ui/run-pass/impl-trait/bounds_regression.rs +++ b/src/test/ui/run-pass/impl-trait/bounds_regression.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + pub trait FakeGenerator { type Yield; type Return; diff --git a/src/test/ui/run-pass/impl-trait/equality.rs b/src/test/ui/run-pass/impl-trait/equality.rs index 034d3d7c80f36..5026f10b6f86e 100644 --- a/src/test/ui/run-pass/impl-trait/equality.rs +++ b/src/test/ui/run-pass/impl-trait/equality.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] trait Foo: std::fmt::Debug + Eq {} diff --git a/src/test/ui/run-pass/impl-trait/example-calendar.rs b/src/test/ui/run-pass/impl-trait/example-calendar.rs index fce31256db492..6cf06d1562104 100644 --- a/src/test/ui/run-pass/impl-trait/example-calendar.rs +++ b/src/test/ui/run-pass/impl-trait/example-calendar.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // revisions: normal nll //[nll] compile-flags:-Zborrowck=mir diff --git a/src/test/ui/run-pass/impl-trait/example-st.rs b/src/test/ui/run-pass/impl-trait/example-st.rs index a06bde7f532d3..014af37ccf983 100644 --- a/src/test/ui/run-pass/impl-trait/example-st.rs +++ b/src/test/ui/run-pass/impl-trait/example-st.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + struct State; type Error = (); diff --git a/src/test/ui/run-pass/impl-trait/existential-minimal.rs b/src/test/ui/run-pass/impl-trait/existential-minimal.rs index 4e9d786dda058..bae4c685e7c48 100644 --- a/src/test/ui/run-pass/impl-trait/existential-minimal.rs +++ b/src/test/ui/run-pass/impl-trait/existential-minimal.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn main() {} fn foo() -> impl std::fmt::Debug { "cake" } diff --git a/src/test/ui/run-pass/impl-trait/issue-42479.rs b/src/test/ui/run-pass/impl-trait/issue-42479.rs index df7a6c1309220..1da5cd36ca949 100644 --- a/src/test/ui/run-pass/impl-trait/issue-42479.rs +++ b/src/test/ui/run-pass/impl-trait/issue-42479.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::iter::once; struct Foo { diff --git a/src/test/ui/run-pass/impl-trait/issue-49376.rs b/src/test/ui/run-pass/impl-trait/issue-49376.rs index b687b485fce21..10379dad37d9e 100644 --- a/src/test/ui/run-pass/impl-trait/issue-49376.rs +++ b/src/test/ui/run-pass/impl-trait/issue-49376.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Tests for nested self-reference which caused a stack overflow. use std::fmt::Debug; diff --git a/src/test/ui/run-pass/impl-trait/lifetimes.rs b/src/test/ui/run-pass/impl-trait/lifetimes.rs index d126d795d909a..e5a98962ff3ab 100644 --- a/src/test/ui/run-pass/impl-trait/lifetimes.rs +++ b/src/test/ui/run-pass/impl-trait/lifetimes.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![allow(warnings)] use std::fmt::Debug; diff --git a/src/test/ui/run-pass/impl-trait/nesting.rs b/src/test/ui/run-pass/impl-trait/nesting.rs index 73e6c1c0d1d68..f721ace0afe8e 100644 --- a/src/test/ui/run-pass/impl-trait/nesting.rs +++ b/src/test/ui/run-pass/impl-trait/nesting.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn foo(t: T) -> impl Into<[T; { const FOO: usize = 1; FOO }]> { [t] } diff --git a/src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs b/src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs index 9fc74757da0bf..b78ec557d0904 100644 --- a/src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs +++ b/src/test/ui/run-pass/impl-trait/universal_hrtb_anon.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn hrtb(f: impl Fn(&u32) -> u32) -> u32 { f(&22) + f(&44) } diff --git a/src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs b/src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs index 3aefc79ebf782..0bec594346bb2 100644 --- a/src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs +++ b/src/test/ui/run-pass/impl-trait/universal_hrtb_named.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + fn hrtb(f: impl for<'a> Fn(&'a u32) -> &'a u32) -> u32 { f(&22) + f(&44) } diff --git a/src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs b/src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs index 57452a2e475c3..95e6a3efdf098 100644 --- a/src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs +++ b/src/test/ui/run-pass/impl-trait/universal_in_adt_in_parameters.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::fmt::Display; fn check_display_eq(iter: &Vec) { diff --git a/src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs b/src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs index fea946f12584e..b9c68c280f101 100644 --- a/src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs +++ b/src/test/ui/run-pass/impl-trait/universal_in_impl_trait_in_parameters.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::fmt::Display; fn check_display_eq(iter: impl IntoIterator) { diff --git a/src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs b/src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs index d3611e02e025b..6fb44147c1cd5 100644 --- a/src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs +++ b/src/test/ui/run-pass/impl-trait/universal_in_trait_defn_parameters.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::fmt::Debug; trait InTraitDefnParameters { diff --git a/src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs b/src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs index 594207feb09a4..9b1c2b92446ff 100644 --- a/src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs +++ b/src/test/ui/run-pass/impl-trait/universal_multiple_bounds.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::fmt::Display; fn foo(f: impl Display + Clone) -> String { diff --git a/src/test/ui/run-pass/impl-trait/xcrate.rs b/src/test/ui/run-pass/impl-trait/xcrate.rs index 35ae185b3e1de..aa5d3298f6979 100644 --- a/src/test/ui/run-pass/impl-trait/xcrate.rs +++ b/src/test/ui/run-pass/impl-trait/xcrate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:xcrate.rs extern crate xcrate; diff --git a/src/test/ui/run-pass/impl-trait/xcrate_simple.rs b/src/test/ui/run-pass/impl-trait/xcrate_simple.rs index 8d4086cc88047..8b7c8ada1c014 100644 --- a/src/test/ui/run-pass/impl-trait/xcrate_simple.rs +++ b/src/test/ui/run-pass/impl-trait/xcrate_simple.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:xcrate.rs extern crate xcrate; diff --git a/src/test/ui/run-pass/nll/issue-47153-generic-const.rs b/src/test/ui/run-pass/nll/issue-47153-generic-const.rs index 9708ca1c14279..ac41179bcace1 100644 --- a/src/test/ui/run-pass/nll/issue-47153-generic-const.rs +++ b/src/test/ui/run-pass/nll/issue-47153-generic-const.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Regression test for #47153: constants in a generic context (such as // a trait) used to ICE. diff --git a/src/test/ui/run-pass/nll/issue-47589.rs b/src/test/ui/run-pass/nll/issue-47589.rs index 393c18efad0ad..f960cfd7fb373 100644 --- a/src/test/ui/run-pass/nll/issue-47589.rs +++ b/src/test/ui/run-pass/nll/issue-47589.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] pub struct DescriptorSet<'a> { diff --git a/src/test/ui/run-pass/nll/issue-48623-closure.rs b/src/test/ui/run-pass/nll/issue-48623-closure.rs index 08ff54a428e76..312aa6d577aac 100644 --- a/src/test/ui/run-pass/nll/issue-48623-closure.rs +++ b/src/test/ui/run-pass/nll/issue-48623-closure.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] struct WithDrop; diff --git a/src/test/ui/run-pass/nll/issue-48623-generator.rs b/src/test/ui/run-pass/nll/issue-48623-generator.rs index 524837c4ba91e..24b25c4db16cd 100644 --- a/src/test/ui/run-pass/nll/issue-48623-generator.rs +++ b/src/test/ui/run-pass/nll/issue-48623-generator.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] #![feature(generators, generator_trait)] diff --git a/src/test/ui/run-pass/nll/issue-50343.rs b/src/test/ui/run-pass/nll/issue-50343.rs index f01d99c68cc7b..f33baa288fa89 100644 --- a/src/test/ui/run-pass/nll/issue-50343.rs +++ b/src/test/ui/run-pass/nll/issue-50343.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] #![deny(unused_mut)] diff --git a/src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs b/src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs index d5cf122bf3b33..3e40b527ef450 100644 --- a/src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs +++ b/src/test/ui/run-pass/nll/issue-50461-used-mut-from-moves.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] #![deny(unused_mut)] diff --git a/src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs b/src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs index 7959f1737b9f4..781dded627278 100644 --- a/src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs +++ b/src/test/ui/run-pass/nll/issue-53123-raw-pointer-cast.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] #![allow(unused_variables)] diff --git a/src/test/ui/run-pass/nll/mutating_references.rs b/src/test/ui/run-pass/nll/mutating_references.rs index 96b7362e4d939..1cf9e3aae90a5 100644 --- a/src/test/ui/run-pass/nll/mutating_references.rs +++ b/src/test/ui/run-pass/nll/mutating_references.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] struct List { diff --git a/src/test/ui/run-pass/nll/process_or_insert_default.rs b/src/test/ui/run-pass/nll/process_or_insert_default.rs index a3a484402cc14..57fbfb642ea5f 100644 --- a/src/test/ui/run-pass/nll/process_or_insert_default.rs +++ b/src/test/ui/run-pass/nll/process_or_insert_default.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(nll)] use std::collections::HashMap; diff --git a/src/test/ui/run-pass/nll/rc-loop.rs b/src/test/ui/run-pass/nll/rc-loop.rs index 2114dbebe93fb..420f09707f1e8 100644 --- a/src/test/ui/run-pass/nll/rc-loop.rs +++ b/src/test/ui/run-pass/nll/rc-loop.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // A test for something that NLL enables. It sometimes happens that // the `while let` pattern makes some borrows from a variable (in this // case, `x`) that you need in order to compute the next value for diff --git a/src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs b/src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs index eab8112b85543..a9b240be804e3 100644 --- a/src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs +++ b/src/test/ui/run-pass/non_modrs_mods/non_modrs_mods.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + +// run-pass // // ignore-pretty issue #37195 #![feature(non_modrs_mods)] diff --git a/src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs b/src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs index 731603606e426..5bff65d0cfabd 100644 --- a/src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs +++ b/src/test/ui/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags:-C panic=abort // aux-build:exit-success-if-unwind.rs // no-prefer-dynamic diff --git a/src/test/ui/run-pass/panic-runtime/abort.rs b/src/test/ui/run-pass/panic-runtime/abort.rs index 4692ad3ca2f1d..2275efa188ed0 100644 --- a/src/test/ui/run-pass/panic-runtime/abort.rs +++ b/src/test/ui/run-pass/panic-runtime/abort.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags:-C panic=abort // no-prefer-dynamic // ignore-cloudabi no processes diff --git a/src/test/ui/run-pass/panic-runtime/link-to-abort.rs b/src/test/ui/run-pass/panic-runtime/link-to-abort.rs index 9f5407e4526a5..5016c9591b065 100644 --- a/src/test/ui/run-pass/panic-runtime/link-to-abort.rs +++ b/src/test/ui/run-pass/panic-runtime/link-to-abort.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags:-C panic=abort // no-prefer-dynamic // ignore-macos diff --git a/src/test/ui/run-pass/panic-runtime/link-to-unwind.rs b/src/test/ui/run-pass/panic-runtime/link-to-unwind.rs index dec8f738d3294..47d7aeaef26e5 100644 --- a/src/test/ui/run-pass/panic-runtime/link-to-unwind.rs +++ b/src/test/ui/run-pass/panic-runtime/link-to-unwind.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // no-prefer-dynamic #![feature(panic_unwind)] diff --git a/src/test/ui/run-pass/panic-runtime/lto-abort.rs b/src/test/ui/run-pass/panic-runtime/lto-abort.rs index 54e02fb697579..6e3dbe1d0f3cf 100644 --- a/src/test/ui/run-pass/panic-runtime/lto-abort.rs +++ b/src/test/ui/run-pass/panic-runtime/lto-abort.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags:-C lto -C panic=abort // no-prefer-dynamic // ignore-cloudabi no processes diff --git a/src/test/ui/run-pass/panic-runtime/lto-unwind.rs b/src/test/ui/run-pass/panic-runtime/lto-unwind.rs index 52f10688f14f5..a0caa4e80c2f3 100644 --- a/src/test/ui/run-pass/panic-runtime/lto-unwind.rs +++ b/src/test/ui/run-pass/panic-runtime/lto-unwind.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags:-C lto -C panic=unwind // no-prefer-dynamic // ignore-cloudabi no processes diff --git a/src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs b/src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs index a65dcf33d85b1..f484e98640f79 100644 --- a/src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs +++ b/src/test/ui/run-pass/specialization/assoc-ty-graph-cycle.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Make sure we don't crash with a cycle error during coherence. #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/cross-crate-defaults.rs b/src/test/ui/run-pass/specialization/cross-crate-defaults.rs index 132520dcb736e..ee978755cbd27 100644 --- a/src/test/ui/run-pass/specialization/cross-crate-defaults.rs +++ b/src/test/ui/run-pass/specialization/cross-crate-defaults.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:cross_crates_defaults.rs #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs b/src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs index 6b999f3835835..4a481beffd2a2 100644 --- a/src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs +++ b/src/test/ui/run-pass/specialization/defaultimpl/allowed-cross-crate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:go_trait.rs #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs b/src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs index f77b88e2f850a..e78b06579446f 100644 --- a/src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs +++ b/src/test/ui/run-pass/specialization/defaultimpl/out-of-order.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that you can list the more specific impl before the more general one. #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs b/src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs index 500cded38c1ad..00381bb09c983 100644 --- a/src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs +++ b/src/test/ui/run-pass/specialization/defaultimpl/overlap-projection.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that impls on projected self types can resolve overlap, even when the // projections involve specialization, so long as the associated type is // provided by the most specialized impl. diff --git a/src/test/ui/run-pass/specialization/defaultimpl/projection.rs b/src/test/ui/run-pass/specialization/defaultimpl/projection.rs index 6a833ba6760f6..989f4f286f2c4 100644 --- a/src/test/ui/run-pass/specialization/defaultimpl/projection.rs +++ b/src/test/ui/run-pass/specialization/defaultimpl/projection.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Make sure we *can* project non-defaulted associated types diff --git a/src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs b/src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs index fc7312020053e..440b8d748a4ab 100644 --- a/src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs +++ b/src/test/ui/run-pass/specialization/defaultimpl/specialization-trait-item-not-implemented.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Tests that we can combine a default impl that supplies one method with a // full impl that supplies the other, and they can invoke one another. diff --git a/src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs b/src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs index 6b999f3835835..4a481beffd2a2 100644 --- a/src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs +++ b/src/test/ui/run-pass/specialization/specialization-allowed-cross-crate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:go_trait.rs #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/specialization-assoc-fns.rs b/src/test/ui/run-pass/specialization/specialization-assoc-fns.rs index 577f217862da3..e6db162a70b86 100644 --- a/src/test/ui/run-pass/specialization/specialization-assoc-fns.rs +++ b/src/test/ui/run-pass/specialization/specialization-assoc-fns.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that non-method associated functions can be specialized #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/specialization-basics.rs b/src/test/ui/run-pass/specialization/specialization-basics.rs index b11495e9edf1a..7638b91c3bc8d 100644 --- a/src/test/ui/run-pass/specialization/specialization-basics.rs +++ b/src/test/ui/run-pass/specialization/specialization-basics.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Tests a variety of basic specialization scenarios and method diff --git a/src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs b/src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs index b9548539e1649..0427a9a429a77 100644 --- a/src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs +++ b/src/test/ui/run-pass/specialization/specialization-cross-crate-no-gate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that specialization works even if only the upstream crate enables it // aux-build:specialization_cross_crate.rs diff --git a/src/test/ui/run-pass/specialization/specialization-cross-crate.rs b/src/test/ui/run-pass/specialization/specialization-cross-crate.rs index 7593ac4fb1dd2..9520c0c0d613c 100644 --- a/src/test/ui/run-pass/specialization/specialization-cross-crate.rs +++ b/src/test/ui/run-pass/specialization/specialization-cross-crate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:specialization_cross_crate.rs #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/specialization-default-methods.rs b/src/test/ui/run-pass/specialization/specialization-default-methods.rs index 9cfc6aabbb4f2..e384687f86648 100644 --- a/src/test/ui/run-pass/specialization/specialization-default-methods.rs +++ b/src/test/ui/run-pass/specialization/specialization-default-methods.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Test that default methods are cascaded correctly diff --git a/src/test/ui/run-pass/specialization/specialization-on-projection.rs b/src/test/ui/run-pass/specialization/specialization-on-projection.rs index acf78def1b967..39af761fd48b2 100644 --- a/src/test/ui/run-pass/specialization/specialization-on-projection.rs +++ b/src/test/ui/run-pass/specialization/specialization-on-projection.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Ensure that specialization works for impls defined directly on a projection diff --git a/src/test/ui/run-pass/specialization/specialization-out-of-order.rs b/src/test/ui/run-pass/specialization/specialization-out-of-order.rs index 2d293f494a347..1bc2a5f9af7f4 100644 --- a/src/test/ui/run-pass/specialization/specialization-out-of-order.rs +++ b/src/test/ui/run-pass/specialization/specialization-out-of-order.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that you can list the more specific impl before the more general one. #![feature(specialization)] diff --git a/src/test/ui/run-pass/specialization/specialization-overlap-projection.rs b/src/test/ui/run-pass/specialization/specialization-overlap-projection.rs index 20046ee66b0e2..4223f8144c115 100644 --- a/src/test/ui/run-pass/specialization/specialization-overlap-projection.rs +++ b/src/test/ui/run-pass/specialization/specialization-overlap-projection.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Test that impls on projected self types can resolve overlap, even when the // projections involve specialization, so long as the associated type is // provided by the most specialized impl. diff --git a/src/test/ui/run-pass/specialization/specialization-projection-alias.rs b/src/test/ui/run-pass/specialization/specialization-projection-alias.rs index 7fce1cca582c1..f2f107653445a 100644 --- a/src/test/ui/run-pass/specialization/specialization-projection-alias.rs +++ b/src/test/ui/run-pass/specialization/specialization-projection-alias.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Regression test for ICE when combining specialized associated types and type diff --git a/src/test/ui/run-pass/specialization/specialization-projection.rs b/src/test/ui/run-pass/specialization/specialization-projection.rs index 4e0bdec297fe2..2bed94ccbc167 100644 --- a/src/test/ui/run-pass/specialization/specialization-projection.rs +++ b/src/test/ui/run-pass/specialization/specialization-projection.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Make sure we *can* project non-defaulted associated types diff --git a/src/test/ui/run-pass/specialization/specialization-super-traits.rs b/src/test/ui/run-pass/specialization/specialization-super-traits.rs index a9b3bfca53d18..d7c340f890d28 100644 --- a/src/test/ui/run-pass/specialization/specialization-super-traits.rs +++ b/src/test/ui/run-pass/specialization/specialization-super-traits.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] // Test that you can specialize via an explicit trait hierarchy diff --git a/src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs b/src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs index 9702f63241377..1ead57e8adc9c 100644 --- a/src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs +++ b/src/test/ui/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(specialization)] trait Iterator { diff --git a/src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs b/src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs index 647d5523c376c..ba823c43557b7 100644 --- a/src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs +++ b/src/test/ui/run-pass/specialization/specialization-translate-projections-with-params.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Ensure that provided items are inherited properly even when impls vary in // type parameters *and* rely on projections, and the type parameters are input // types on the trait. diff --git a/src/test/ui/run-pass/specialization/specialization-translate-projections.rs b/src/test/ui/run-pass/specialization/specialization-translate-projections.rs index 11e1d997fdda0..796485017c5db 100644 --- a/src/test/ui/run-pass/specialization/specialization-translate-projections.rs +++ b/src/test/ui/run-pass/specialization/specialization-translate-projections.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Ensure that provided items are inherited properly even when impls vary in // type parameters *and* rely on projections. diff --git a/src/test/ui/run-pass/thinlto/all-crates.rs b/src/test/ui/run-pass/thinlto/all-crates.rs index 8d68202d71176..c10b5cc96d65b 100644 --- a/src/test/ui/run-pass/thinlto/all-crates.rs +++ b/src/test/ui/run-pass/thinlto/all-crates.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags: -Clto=thin // no-prefer-dynamic diff --git a/src/test/ui/run-pass/thinlto/dylib-works.rs b/src/test/ui/run-pass/thinlto/dylib-works.rs index 06df40f61427d..fc8c0db2e26b4 100644 --- a/src/test/ui/run-pass/thinlto/dylib-works.rs +++ b/src/test/ui/run-pass/thinlto/dylib-works.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:dylib.rs extern crate dylib; diff --git a/src/test/ui/run-pass/thinlto/msvc-imp-present.rs b/src/test/ui/run-pass/thinlto/msvc-imp-present.rs index 95cff2a286207..47fc00c79a7ee 100644 --- a/src/test/ui/run-pass/thinlto/msvc-imp-present.rs +++ b/src/test/ui/run-pass/thinlto/msvc-imp-present.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:msvc-imp-present.rs // compile-flags: -Z thinlto -C codegen-units=8 // no-prefer-dynamic diff --git a/src/test/ui/run-pass/thinlto/thin-lto-inlines.rs b/src/test/ui/run-pass/thinlto/thin-lto-inlines.rs index 41ca983af51c7..68b9ab769857f 100644 --- a/src/test/ui/run-pass/thinlto/thin-lto-inlines.rs +++ b/src/test/ui/run-pass/thinlto/thin-lto-inlines.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags: -Z thinlto -C codegen-units=8 -O // ignore-emscripten can't inspect instructions on emscripten diff --git a/src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs b/src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs index 3c0e904662a35..84809b09785ea 100644 --- a/src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs +++ b/src/test/ui/run-pass/thinlto/thin-lto-inlines2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags: -C codegen-units=8 -O -C lto=thin // aux-build:thin-lto-inlines-aux.rs // no-prefer-dynamic diff --git a/src/test/ui/run-pass/thinlto/weak-works.rs b/src/test/ui/run-pass/thinlto/weak-works.rs index 0a1b7307a46ff..51516ae87abdd 100644 --- a/src/test/ui/run-pass/thinlto/weak-works.rs +++ b/src/test/ui/run-pass/thinlto/weak-works.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // compile-flags: -C codegen-units=8 -Z thinlto // ignore-windows diff --git a/src/test/ui/run-pass/uniform-paths/basic-nested.rs b/src/test/ui/run-pass/uniform-paths/basic-nested.rs index 954736dfd907c..7a977759971f5 100644 --- a/src/test/ui/run-pass/uniform-paths/basic-nested.rs +++ b/src/test/ui/run-pass/uniform-paths/basic-nested.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // edition:2018 #![feature(decl_macro, uniform_paths)] diff --git a/src/test/ui/run-pass/uniform-paths/basic.rs b/src/test/ui/run-pass/uniform-paths/basic.rs index 59a0404e4c360..8f17295c09976 100644 --- a/src/test/ui/run-pass/uniform-paths/basic.rs +++ b/src/test/ui/run-pass/uniform-paths/basic.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // edition:2018 #![feature(uniform_paths)] diff --git a/src/test/ui/run-pass/uniform-paths/macros-nested.rs b/src/test/ui/run-pass/uniform-paths/macros-nested.rs index 9cf05cd956039..8f942634c842b 100644 --- a/src/test/ui/run-pass/uniform-paths/macros-nested.rs +++ b/src/test/ui/run-pass/uniform-paths/macros-nested.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // edition:2018 #![feature(uniform_paths)] diff --git a/src/test/ui/run-pass/uniform-paths/macros.rs b/src/test/ui/run-pass/uniform-paths/macros.rs index ad74f5d0876bb..179f8916bf3b9 100644 --- a/src/test/ui/run-pass/uniform-paths/macros.rs +++ b/src/test/ui/run-pass/uniform-paths/macros.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // edition:2018 #![feature(uniform_paths)] diff --git a/src/test/ui/run-pass/uniform-paths/same-crate.rs b/src/test/ui/run-pass/uniform-paths/same-crate.rs index a3eefa7134c47..bb15d6d53ac70 100644 --- a/src/test/ui/run-pass/uniform-paths/same-crate.rs +++ b/src/test/ui/run-pass/uniform-paths/same-crate.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // edition:2018 #![feature(uniform_paths)] diff --git a/src/test/ui/run-pass/union/union-align.rs b/src/test/ui/run-pass/union/union-align.rs index 54e4e12d24fa5..02f447c626f84 100644 --- a/src/test/ui/run-pass/union/union-align.rs +++ b/src/test/ui/run-pass/union/union-align.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(untagged_unions)] use std::mem::{size_of, size_of_val, align_of, align_of_val}; diff --git a/src/test/ui/run-pass/union/union-backcomp.rs b/src/test/ui/run-pass/union/union-backcomp.rs index b706a81850ce8..23d51d39c2ed0 100644 --- a/src/test/ui/run-pass/union/union-backcomp.rs +++ b/src/test/ui/run-pass/union/union-backcomp.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + macro_rules! union { () => (struct S;) } diff --git a/src/test/ui/run-pass/union/union-basic.rs b/src/test/ui/run-pass/union/union-basic.rs index 079f6a6b641e9..bfbac1a6bf203 100644 --- a/src/test/ui/run-pass/union/union-basic.rs +++ b/src/test/ui/run-pass/union/union-basic.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // aux-build:union.rs extern crate union; diff --git a/src/test/ui/run-pass/union/union-c-interop.rs b/src/test/ui/run-pass/union/union-c-interop.rs index dd16bf2e4a38e..fb54b8030df91 100644 --- a/src/test/ui/run-pass/union/union-c-interop.rs +++ b/src/test/ui/run-pass/union/union-c-interop.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // ignore-wasm32-bare no libc to test ffi with #[derive(Clone, Copy)] diff --git a/src/test/ui/run-pass/union/union-const-codegen.rs b/src/test/ui/run-pass/union/union-const-codegen.rs index 77270364bb5e9..aa583e6cead9c 100644 --- a/src/test/ui/run-pass/union/union-const-codegen.rs +++ b/src/test/ui/run-pass/union/union-const-codegen.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + union U { a: u64, b: u64, diff --git a/src/test/ui/run-pass/union/union-const-eval-field.rs b/src/test/ui/run-pass/union/union-const-eval-field.rs index a380b01dcc13f..c8eda7545d92b 100644 --- a/src/test/ui/run-pass/union/union-const-eval-field.rs +++ b/src/test/ui/run-pass/union/union-const-eval-field.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(const_fn)] type Field1 = (i32, u32); diff --git a/src/test/ui/run-pass/union/union-derive.rs b/src/test/ui/run-pass/union/union-derive.rs index 8ff6f17394f9e..6f80172dd1949 100644 --- a/src/test/ui/run-pass/union/union-derive.rs +++ b/src/test/ui/run-pass/union/union-derive.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Some traits can be derived for unions. #![feature(untagged_unions)] diff --git a/src/test/ui/run-pass/union/union-drop-assign.rs b/src/test/ui/run-pass/union/union-drop-assign.rs index 0da68e43f32a1..dcd968d93425b 100644 --- a/src/test/ui/run-pass/union/union-drop-assign.rs +++ b/src/test/ui/run-pass/union/union-drop-assign.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Drop works for union itself. #![feature(untagged_unions)] diff --git a/src/test/ui/run-pass/union/union-drop.rs b/src/test/ui/run-pass/union/union-drop.rs index 2ca68dc3b6e39..edf21b1024540 100644 --- a/src/test/ui/run-pass/union/union-drop.rs +++ b/src/test/ui/run-pass/union/union-drop.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + // Drop works for union itself. #![feature(untagged_unions)] diff --git a/src/test/ui/run-pass/union/union-generic.rs b/src/test/ui/run-pass/union/union-generic.rs index 9293805edbf83..eccd155958467 100644 --- a/src/test/ui/run-pass/union/union-generic.rs +++ b/src/test/ui/run-pass/union/union-generic.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(untagged_unions)] union MaybeItem { diff --git a/src/test/ui/run-pass/union/union-inherent-method.rs b/src/test/ui/run-pass/union/union-inherent-method.rs index a88fdc57a3ef4..d9300b5b9f566 100644 --- a/src/test/ui/run-pass/union/union-inherent-method.rs +++ b/src/test/ui/run-pass/union/union-inherent-method.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + union U { a: u8, } diff --git a/src/test/ui/run-pass/union/union-macro.rs b/src/test/ui/run-pass/union/union-macro.rs index b6141ae82c371..f4ffa2edbde09 100644 --- a/src/test/ui/run-pass/union/union-macro.rs +++ b/src/test/ui/run-pass/union/union-macro.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + macro_rules! duplicate { ($i: item) => { mod m1 { diff --git a/src/test/ui/run-pass/union/union-nodrop.rs b/src/test/ui/run-pass/union/union-nodrop.rs index 6295c6120c5ba..4f2456e43bad1 100644 --- a/src/test/ui/run-pass/union/union-nodrop.rs +++ b/src/test/ui/run-pass/union/union-nodrop.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(core_intrinsics)] #![feature(untagged_unions)] diff --git a/src/test/ui/run-pass/union/union-overwrite.rs b/src/test/ui/run-pass/union/union-overwrite.rs index 9389a6237bca6..b788b6b64d5d2 100644 --- a/src/test/ui/run-pass/union/union-overwrite.rs +++ b/src/test/ui/run-pass/union/union-overwrite.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(untagged_unions)] #[repr(C)] diff --git a/src/test/ui/run-pass/union/union-packed.rs b/src/test/ui/run-pass/union/union-packed.rs index 61bb04fece095..f3e46d039bb94 100644 --- a/src/test/ui/run-pass/union/union-packed.rs +++ b/src/test/ui/run-pass/union/union-packed.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(untagged_unions)] #![feature(repr_packed)] diff --git a/src/test/ui/run-pass/union/union-pat-refutability.rs b/src/test/ui/run-pass/union/union-pat-refutability.rs index 81607236c9ecd..f48d8e0d91b07 100644 --- a/src/test/ui/run-pass/union/union-pat-refutability.rs +++ b/src/test/ui/run-pass/union/union-pat-refutability.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #[repr(u32)] enum Tag { I, F } diff --git a/src/test/ui/run-pass/union/union-trait-impl.rs b/src/test/ui/run-pass/union/union-trait-impl.rs index c1e408cc02ac6..6e732f24b2504 100644 --- a/src/test/ui/run-pass/union/union-trait-impl.rs +++ b/src/test/ui/run-pass/union/union-trait-impl.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + use std::fmt; union U { diff --git a/src/test/ui/run-pass/union/union-transmute.rs b/src/test/ui/run-pass/union/union-transmute.rs index 7233687aaab53..1fc20bef9e017 100644 --- a/src/test/ui/run-pass/union/union-transmute.rs +++ b/src/test/ui/run-pass/union/union-transmute.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + extern crate core; use core::f32; diff --git a/src/test/ui/run-pass/union/union-with-drop-fields-lint.rs b/src/test/ui/run-pass/union/union-with-drop-fields-lint.rs index 6cb7e82d6b740..5f1ac7b51eeb0 100644 --- a/src/test/ui/run-pass/union/union-with-drop-fields-lint.rs +++ b/src/test/ui/run-pass/union/union-with-drop-fields-lint.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(untagged_unions)] #![allow(dead_code)] #![allow(unions_with_drop_fields)] diff --git a/src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs b/src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs index 6ed39a78648a2..8b96c30940f07 100644 --- a/src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs +++ b/src/test/ui/run-pass/unsized-locals/reference-unsized-locals.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(unsized_locals)] fn main() { diff --git a/src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs b/src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs index 0b1aa6225eb50..9643afaee6276 100644 --- a/src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs +++ b/src/test/ui/run-pass/unsized-locals/simple-unsized-locals.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(unsized_locals)] fn main() { diff --git a/src/test/ui/run-pass/unsized-locals/unsized-exprs.rs b/src/test/ui/run-pass/unsized-locals/unsized-exprs.rs index 9a5e534db25b3..06919a07c756b 100644 --- a/src/test/ui/run-pass/unsized-locals/unsized-exprs.rs +++ b/src/test/ui/run-pass/unsized-locals/unsized-exprs.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(unsized_tuple_coercion, unsized_locals)] struct A(X); diff --git a/src/test/ui/run-pass/unsized-locals/unsized-parameters.rs b/src/test/ui/run-pass/unsized-locals/unsized-parameters.rs index 0314fe1d68662..82036c5797d79 100644 --- a/src/test/ui/run-pass/unsized-locals/unsized-parameters.rs +++ b/src/test/ui/run-pass/unsized-locals/unsized-parameters.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// run-pass + #![feature(unsized_locals)] pub fn f0(_f: dyn FnOnce()) {} From 84a02e17dafa07a392fe041458dc9feb36dad278 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 6 Sep 2018 14:45:33 +0200 Subject: [PATCH 3/5] Allow various name convention lints. --- src/test/ui/run-pass/ctfe/mozjs-error.rs | 1 + src/test/ui/run-pass/uniform-paths/basic-nested.rs | 1 + src/test/ui/run-pass/uniform-paths/basic.rs | 1 + src/test/ui/run-pass/uniform-paths/macros-nested.rs | 1 + src/test/ui/run-pass/uniform-paths/macros.rs | 1 + src/test/ui/run-pass/union/union-c-interop.rs | 1 + src/test/ui/run-pass/union/union-packed.rs | 1 + 7 files changed, 7 insertions(+) diff --git a/src/test/ui/run-pass/ctfe/mozjs-error.rs b/src/test/ui/run-pass/ctfe/mozjs-error.rs index 51471f0a34291..ea200ba738fb6 100644 --- a/src/test/ui/run-pass/ctfe/mozjs-error.rs +++ b/src/test/ui/run-pass/ctfe/mozjs-error.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_upper_case_globals)] struct CustomAutoRooterVFTable { trace: unsafe extern "C" fn(this: *mut i32, trc: *mut u32), diff --git a/src/test/ui/run-pass/uniform-paths/basic-nested.rs b/src/test/ui/run-pass/uniform-paths/basic-nested.rs index 7a977759971f5..1fe5d8abbe2e7 100644 --- a/src/test/ui/run-pass/uniform-paths/basic-nested.rs +++ b/src/test/ui/run-pass/uniform-paths/basic-nested.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_camel_case_types)] // edition:2018 diff --git a/src/test/ui/run-pass/uniform-paths/basic.rs b/src/test/ui/run-pass/uniform-paths/basic.rs index 8f17295c09976..d8e68e9be9723 100644 --- a/src/test/ui/run-pass/uniform-paths/basic.rs +++ b/src/test/ui/run-pass/uniform-paths/basic.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_camel_case_types)] // edition:2018 diff --git a/src/test/ui/run-pass/uniform-paths/macros-nested.rs b/src/test/ui/run-pass/uniform-paths/macros-nested.rs index 8f942634c842b..373734345fc34 100644 --- a/src/test/ui/run-pass/uniform-paths/macros-nested.rs +++ b/src/test/ui/run-pass/uniform-paths/macros-nested.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_camel_case_types)] // edition:2018 diff --git a/src/test/ui/run-pass/uniform-paths/macros.rs b/src/test/ui/run-pass/uniform-paths/macros.rs index 179f8916bf3b9..20984eb13dd4f 100644 --- a/src/test/ui/run-pass/uniform-paths/macros.rs +++ b/src/test/ui/run-pass/uniform-paths/macros.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_camel_case_types)] // edition:2018 diff --git a/src/test/ui/run-pass/union/union-c-interop.rs b/src/test/ui/run-pass/union/union-c-interop.rs index fb54b8030df91..976ab845cd19c 100644 --- a/src/test/ui/run-pass/union/union-c-interop.rs +++ b/src/test/ui/run-pass/union/union-c-interop.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_snake_case)] // ignore-wasm32-bare no libc to test ffi with diff --git a/src/test/ui/run-pass/union/union-packed.rs b/src/test/ui/run-pass/union/union-packed.rs index f3e46d039bb94..c167a40507a81 100644 --- a/src/test/ui/run-pass/union/union-packed.rs +++ b/src/test/ui/run-pass/union/union-packed.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(non_snake_case)] #![feature(untagged_unions)] #![feature(repr_packed)] From 8e729555269e768351674ce0e528aaca409db2d9 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 6 Sep 2018 14:51:14 +0200 Subject: [PATCH 4/5] Allow unions_with_drop_fields for unions with members with destructors (or generics that *might* have dtors) --- src/test/ui/run-pass/union/union-derive.rs | 1 + src/test/ui/run-pass/union/union-drop-assign.rs | 1 + src/test/ui/run-pass/union/union-drop.rs | 1 + src/test/ui/run-pass/union/union-generic.rs | 1 + src/test/ui/run-pass/union/union-overwrite.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/src/test/ui/run-pass/union/union-derive.rs b/src/test/ui/run-pass/union/union-derive.rs index 6f80172dd1949..248595ee7ac02 100644 --- a/src/test/ui/run-pass/union/union-derive.rs +++ b/src/test/ui/run-pass/union/union-derive.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unions_with_drop_fields)] // Some traits can be derived for unions. diff --git a/src/test/ui/run-pass/union/union-drop-assign.rs b/src/test/ui/run-pass/union/union-drop-assign.rs index dcd968d93425b..2884cf16b967b 100644 --- a/src/test/ui/run-pass/union/union-drop-assign.rs +++ b/src/test/ui/run-pass/union/union-drop-assign.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unions_with_drop_fields)] // Drop works for union itself. diff --git a/src/test/ui/run-pass/union/union-drop.rs b/src/test/ui/run-pass/union/union-drop.rs index edf21b1024540..ba5c20b6dc3c6 100644 --- a/src/test/ui/run-pass/union/union-drop.rs +++ b/src/test/ui/run-pass/union/union-drop.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unions_with_drop_fields)] // Drop works for union itself. diff --git a/src/test/ui/run-pass/union/union-generic.rs b/src/test/ui/run-pass/union/union-generic.rs index eccd155958467..dcea56c288f96 100644 --- a/src/test/ui/run-pass/union/union-generic.rs +++ b/src/test/ui/run-pass/union/union-generic.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unions_with_drop_fields)] #![feature(untagged_unions)] diff --git a/src/test/ui/run-pass/union/union-overwrite.rs b/src/test/ui/run-pass/union/union-overwrite.rs index b788b6b64d5d2..b4d0850a50425 100644 --- a/src/test/ui/run-pass/union/union-overwrite.rs +++ b/src/test/ui/run-pass/union/union-overwrite.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unions_with_drop_fields)] #![feature(untagged_unions)] From 4973094feb0d0b1498a1bc3ac250ab87cefdd61a Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 6 Sep 2018 14:54:11 +0200 Subject: [PATCH 5/5] Allow illegal_floating_point_literal_pattern. These will need to be updated at some point. Discussion can be found on rust-lang/rust#41620. --- src/test/ui/run-pass/union/union-pat-refutability.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/ui/run-pass/union/union-pat-refutability.rs b/src/test/ui/run-pass/union/union-pat-refutability.rs index f48d8e0d91b07..2c481160fdad4 100644 --- a/src/test/ui/run-pass/union/union-pat-refutability.rs +++ b/src/test/ui/run-pass/union/union-pat-refutability.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(illegal_floating_point_literal_pattern)] #[repr(u32)] enum Tag { I, F }