From 9be35f82c1abf2ecbab489bca9eca138ea648312 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 27 Jul 2019 01:33:01 +0300 Subject: [PATCH] tests: Move run-pass tests without naming conflicts to ui --- src/test/run-pass/.gitattributes | 1 - src/test/run-pass/if-ret.stderr | 8 -- .../macros/macro-use-all-and-none.stderr | 8 -- .../crate-path-absolute.rs | 42 --------- .../crate-path-absolute.stderr | 8 -- .../crate-path-visibility-ambiguity.rs | 15 ---- .../crate-path-visibility-ambiguity.stderr | 8 -- .../auxiliary/xcrate.rs | 7 -- .../rfc-2126-extern-absolute-paths/basic.rs | 25 ------ .../rfc-2126-extern-absolute-paths/test.rs | 10 --- .../whitelisted.rs | 14 --- .../ast_stmt_expr_attr.rs | 0 .../auxiliary/issue-13560-1.rs | 0 .../auxiliary/issue-13560-2.rs | 0 .../auxiliary/issue-13560-3.rs | 0 .../auxiliary/issue-16822.rs | 0 .../auxiliary/issue-18502.rs | 0 .../auxiliary/issue-24106.rs | 0 .../auxiliary/issue-40001-plugin.rs | 0 .../auxiliary/linkage-visibility.rs | 0 .../auxiliary/lint-for-crate-rpass.rs} | 0 .../auxiliary/llvm-pass-plugin.rs | 0 .../auxiliary/lto-syntax-extension-lib.rs | 0 .../auxiliary/lto-syntax-extension-plugin.rs | 0 .../auxiliary/macro-crate-test.rs | 0 .../auxiliary/outlive-expansion-phase.rs | 0 .../auxiliary/plugin-args.rs | 0 .../auxiliary/roman-numerals.rs | 0 .../syntax-extension-with-dll-deps-1.rs | 0 .../compiler-calls.rs | 0 .../create-dir-all-bare.rs | 0 .../derive-no-std-not-supported.rs | 0 .../deriving-encodable-decodable-box.rs | 0 ...riving-encodable-decodable-cell-refcell.rs | 0 .../deriving-global.rs | 0 .../deriving-hygiene.rs | 0 .../dropck_tarena_sound_drop.rs | 0 .../empty-struct-braces-derive.rs | 0 .../extern-mod-syntax.rs | 0 .../issue-11881.rs | 0 .../issue-13560.rs | 0 .../issue-14021.rs | 0 .../issue-15149.rs | 0 .../issue-15778-pass.rs | 4 +- .../issue-15924.rs | 0 .../issue-16822.rs | 0 .../issue-18502.rs | 0 .../issue-24106.rs | 0 .../issue-24972.rs | 0 .../issue-2804.rs | 0 .../issue-40001.rs | 0 .../issue-4016.rs | 0 .../issue-4036.rs | 0 .../linkage-visibility.rs | 0 .../llvm-pass-plugin.rs | 0 .../lto-syntax-extension.rs | 0 .../macro-crate-multi-decorator.rs | 0 .../mod_dir_path_canonicalized.rs | 0 .../mod_dir_simple/compiletest-ignore-dir | 0 .../mod_dir_simple/test.rs | 0 .../myriad-closures.rs | 0 .../newtype_index.rs | 0 .../outlive-expansion-phase.rs | 0 .../plugin-args-1.rs | 0 .../plugin-args-2.rs | 0 .../plugin-args-3.rs | 0 .../pprust-expr-roundtrip.rs | 0 .../regions-mock-tcx.rs | 0 .../rename-directory.rs | 0 .../roman-numerals-macro.rs | 0 .../rustc_encodable_hygiene.rs | 0 .../stdio-from.rs | 0 .../switch-stdout.rs | 0 .../undef_mask.rs | 0 .../abi-sysv64-arg-passing.rs | 0 .../abi-sysv64-register-usage.rs | 0 .../issues/issue-62350-sysv-neg-reg-counts.rs | 0 src/test/{run-pass => ui}/abort-on-c-abi.rs | 0 .../{run-pass => ui}/alias-uninit-value.rs | 0 .../align-with-extern-c-fn.rs | 0 .../alignment-gep-tup-like-1.rs | 0 .../alloca-from-derived-tydesc.rs | 0 .../{run-pass => ui}/allocator-alloc-one.rs | 0 .../allocator/auxiliary/custom-as-global.rs | 0 .../allocator/auxiliary/custom.rs | 0 .../allocator/auxiliary/helper.rs | 0 .../allocator/custom-in-block.rs | 0 .../allocator/custom-in-submodule.rs | 0 src/test/{run-pass => ui}/allocator/custom.rs | 0 .../{run-pass => ui}/allocator/xcrate-use.rs | 0 .../{run-pass => ui}/allocator/xcrate-use2.rs | 0 src/test/{run-pass => ui}/anon-extern-mod.rs | 0 src/test/{run-pass => ui}/argument-passing.rs | 0 .../array-slice-vec/arr_cycle.rs | 0 .../array-slice-vec/array_const_index-1.rs | 0 .../array-slice-vec/box-of-array-of-drop-1.rs | 0 .../array-slice-vec/box-of-array-of-drop-2.rs | 0 .../array-slice-vec/cast-in-array-size.rs | 0 .../check-static-mut-slices.rs | 0 .../array-slice-vec/check-static-slice.rs | 0 .../array-slice-vec/copy-out-of-array-1.rs | 0 .../array-slice-vec/destructure-array-1.rs | 0 .../array-slice-vec/empty-mutable-vec.rs | 0 .../array-slice-vec/estr-slice.rs | 0 .../array-slice-vec/evec-slice.rs | 0 .../array-slice-vec/fixed_length_copy.rs | 0 .../array-slice-vec/huge-largest-array.rs | 0 .../array-slice-vec/ivec-pass-by-value.rs | 0 ...ility-inherits-through-fixed-length-vec.rs | 0 .../array-slice-vec/mutable-alias-vec.rs | 0 .../array-slice-vec/nested-vec-1.rs | 0 .../array-slice-vec/nested-vec-2.rs | 0 .../array-slice-vec/nested-vec-3.rs | 0 .../new-style-fixed-length-vec.rs | 0 .../array-slice-vec/rcvr-borrowed-to-slice.rs | 0 .../array-slice-vec/repeated-vector-syntax.rs | 0 .../array-slice-vec/show-boxed-slice.rs | 0 .../array-slice-vec/slice-2.rs | 0 .../slice-of-zero-size-elements.rs | 0 .../array-slice-vec/slice-panic-1.rs | 0 .../array-slice-vec/slice-panic-2.rs | 0 .../{run-pass => ui}/array-slice-vec/slice.rs | 0 .../array-slice-vec/slice_binary_search.rs | 0 .../array-slice-vec/variance-vec-covariant.rs | 0 .../array-slice-vec/vec-concat.rs | 0 .../array-slice-vec/vec-dst.rs | 0 .../array-slice-vec/vec-fixed-length.rs | 0 .../array-slice-vec/vec-growth.rs | 0 .../array-slice-vec/vec-late-init.rs | 0 .../array-slice-vec/vec-macro-no-std.rs | 0 .../array-slice-vec/vec-macro-repeat.rs | 0 .../array-slice-vec/vec-macro-rvalue-scope.rs | 0 .../vec-macro-with-brackets.rs | 0 .../vec-macro-with-trailing-comma.rs | 0 .../array-slice-vec/vec-matching-autoslice.rs | 0 .../array-slice-vec/vec-matching-fixed.rs | 0 .../array-slice-vec/vec-matching-fold.rs | 0 .../vec-matching-legal-tail-element-borrow.rs | 0 .../array-slice-vec/vec-matching.rs | 0 .../array-slice-vec/vec-push.rs | 0 .../array-slice-vec/vec-repeat-with-cast.rs | 0 .../array-slice-vec/vec-slice-drop.rs | 0 .../array-slice-vec/vec-slice.rs | 0 .../array-slice-vec/vec-tail-matching.rs | 0 .../array-slice-vec/vec-to_str.rs | 0 .../{run-pass => ui}/array-slice-vec/vec.rs | 0 .../array-slice-vec/vec_cycle.rs | 0 .../array-slice-vec/vec_cycle_wrapped.rs | 0 .../array-slice-vec/vector-no-ann-2.rs | 0 src/test/{run-pass => ui}/artificial-block.rs | 0 src/test/{run-pass => ui}/as-precedence.rs | 0 src/test/{run-pass => ui}/asm-concat-src.rs | 0 src/test/{run-pass => ui}/asm-in-moved.rs | 0 .../{run-pass => ui}/asm-in-out-operand.rs | 0 .../{run-pass => ui}/asm-indirect-memory.rs | 0 src/test/{run-pass => ui}/asm-out-assign.rs | 0 .../assert-eq-trailing-comma.rs | 0 src/test/{run-pass => ui}/assert-escape.rs | 0 .../assert-ne-trailing-comma.rs | 0 src/test/{run-pass => ui}/assign-assign.rs | 0 src/test/{run-pass => ui}/assoc-oddities-3.rs | 0 .../associated-const-const-eval.rs | 0 ...associated-const-cross-crate-const-eval.rs | 0 .../associated-const-cross-crate-defaults.rs | 0 .../associated-const-cross-crate.rs | 0 .../associated-const-in-global-const.rs | 0 .../associated-const-inherent-impl.rs | 0 .../associated-const-marks-live-code.rs | 0 .../associated-const-match-patterns.rs | 0 .../associated-const-outer-ty-refs.rs | 0 .../associated-const-overwrite-default.rs | 0 .../associated-const-public-impl.rs | 0 .../associated-const-range-match-patterns.rs | 0 .../associated-const-resolution-order.rs | 0 .../associated-const-self-type.rs | 0 .../associated-const-type-parameters.rs | 0 .../associated-const-ufcs-infer-trait.rs | 0 .../associated-const-use-default.rs | 0 ...associated-const-use-impl-of-same-trait.rs | 0 .../associated-consts/associated-const.rs | 0 .../auxiliary/associated-const-cc-lib.rs | 0 .../auxiliary/empty-struct.rs | 0 .../associated-item-long-paths.rs | 0 .../associated-types-basic.rs | 0 .../associated-types-binding-in-trait.rs | 0 ...ssociated-types-binding-in-where-clause.rs | 0 .../associated-types-bound.rs | 0 .../associated-types/associated-types-cc.rs | 0 .../associated-types-conditional-dispatch.rs | 0 .../associated-types-constant-type.rs | 0 ...ciated-types-doubleendediterator-object.rs | 0 ...ted-types-duplicate-binding-in-env-hrtb.rs | 0 ...sociated-types-duplicate-binding-in-env.rs | 0 .../associated-types-enum-field-named.rs | 0 .../associated-types-enum-field-numbered.rs | 0 .../associated-types-eq-obj.rs | 0 .../associated-types-from-supertrait.rs | 0 .../associated-types-impl-redirect.rs | 0 .../associated-types-in-bound-type-arg.rs | 0 .../associated-types-in-default-method.rs | 0 .../associated-types-in-fn.rs | 0 .../associated-types-in-impl-generics.rs | 0 .../associated-types-in-inherent-method.rs | 0 .../associated-types-issue-20220.rs | 0 .../associated-types-issue-20371.rs | 0 .../associated-types-issue-21212.rs | 0 .../associated-types-iterator-binding.rs | 0 .../associated-types-method.rs | 0 .../associated-types-nested-projections.rs | 0 ...iated-types-normalize-in-bounds-binding.rs | 0 ...sociated-types-normalize-in-bounds-ufcs.rs | 0 .../associated-types-normalize-in-bounds.rs | 0 ...ociated-types-normalize-unifield-struct.rs | 0 ...ject-from-type-param-via-bound-in-where.rs | 0 ...d-types-projection-bound-in-supertraits.rs | 0 ...ypes-projection-from-known-type-in-impl.rs | 0 ...ociated-types-projection-in-object-type.rs | 0 ...sociated-types-projection-in-supertrait.rs | 0 ...ciated-types-projection-in-where-clause.rs | 0 ...ted-types-projection-to-unrelated-trait.rs | 0 ...ed-path-with-trait-with-type-parameters.rs | 0 .../associated-types-ref-from-struct.rs | 0 .../associated-types-ref-in-struct-literal.rs | 0 ...ciated-types-region-erasure-issue-20582.rs | 0 .../associated-types-resolve-lifetime.rs | 0 .../associated-types-return.rs | 0 .../associated-types-simple.rs | 0 .../associated-types-stream.rs | 0 .../associated-types-struct-field-named.rs | 0 .../associated-types-struct-field-numbered.rs | 0 .../associated-types-sugar-path.rs | 0 ...iated-types-where-clause-impl-ambiguity.rs | 0 .../auxiliary/associated-types-cc-lib.rs | 0 .../{run-pass => ui}/atomic-access-bool.rs | 0 src/test/{run-pass => ui}/atomic-alignment.rs | 0 .../atomic-compare_exchange.rs | 0 src/test/{run-pass => ui}/atomic-print.rs | 0 src/test/{run-pass => ui}/attr-main-2.rs | 0 src/test/{run-pass => ui}/attr-main.rs | 0 src/test/{run-pass => ui}/attr-shebang.rs | 0 src/test/{run-pass => ui}/attr-start.rs | 0 src/test/{run-pass => ui}/attr.rs | 0 ...ugmented-assignments-feature-gate-cross.rs | 0 .../augmented-assignments-feature-gate.rs | 0 src/test/{run-pass => ui}/auto-instantiate.rs | 0 .../{run-pass => ui}/auto-is-contextual.rs | 0 src/test/{run-pass => ui}/autobind.rs | 0 .../auto-ref-bounded-ty-param.rs | 0 .../autoref-autoderef/auto-ref-sliceable.rs | 0 .../autoref-autoderef/auto-ref.rs | 0 .../autoderef-and-borrow-method-receiver.rs | 0 .../autoderef-method-on-trait.rs | 0 .../autoderef-method-priority.rs | 0 .../autoderef-method-twice-but-not-thrice.rs | 0 .../autoderef-method-twice.rs | 0 .../autoref-autoderef/autoderef-method.rs | 0 .../autoref-autoderef/autoderef-privacy.rs | 0 .../autoref-intermediate-types-issue-3585.rs | 0 .../anon-extern-mod-cross-crate-1.rs | 0 .../auxiliary/augmented_assignments.rs | 0 .../blind-item-mixed-crate-use-item-foo.rs | 0 .../blind-item-mixed-crate-use-item-foo2.rs | 0 .../check_static_recursion_foreign_helper.rs | 0 .../{run-pass => ui}/auxiliary/cond_plugin.rs | 0 .../crate-method-reexport-grrrrrrr2.rs | 0 .../auxiliary/debuginfo-lto-aux.rs | 0 .../auxiliary/edition-kw-macro-2015.rs | 0 .../auxiliary/edition-kw-macro-2018.rs | 0 .../{run-pass => ui}/auxiliary/foreign_lib.rs | 0 .../{run-pass => ui}/auxiliary/hello_macro.rs | 0 .../auxiliary/impl_privacy_xc_1.rs | 0 .../auxiliary/impl_privacy_xc_2.rs | 0 .../{run-pass => ui}/auxiliary/inline_dtor.rs | 0 .../auxiliary/inner_static.rs | 0 .../auxiliary/kinds_in_metadata.rs | 0 .../link-cfg-works-transitive-dylib.rs | 0 .../link-cfg-works-transitive-rlib.rs | 0 .../{run-pass => ui}/auxiliary/linkage1.rs | 0 .../auxiliary/llvm_pr32379.rs | 0 .../auxiliary/msvc-data-only-lib.rs | 0 .../{run-pass => ui}/auxiliary/nested_item.rs | 0 .../auxiliary/proc_macro_def.rs | 0 .../auxiliary/reachable-unnameable-items.rs | 0 .../auxiliary/reexport-should-still-link.rs | 0 .../{run-pass => ui}/auxiliary/rmeta-rmeta.rs | 0 .../{run-pass => ui}/auxiliary/svh-a-base.rs | 0 src/test/{run-pass => ui}/auxiliary/svh-b.rs | 0 .../auxiliary/trait_superkinds_in_metadata.rs | 0 .../auxiliary/typeid-intrinsic-aux1.rs | 0 .../auxiliary/typeid-intrinsic-aux2.rs | 0 .../using-target-feature-unstable.rs | 0 .../backtrace-debuginfo-aux.rs | 0 .../{run-pass => ui}/backtrace-debuginfo.rs | 0 src/test/{run-pass => ui}/backtrace.rs | 0 .../bare-fn-implements-fn-mut.rs | 0 .../{run-pass => ui}/bare-static-string.rs | 0 .../{run-pass => ui}/bench/issue-32062.rs | 0 src/test/{run-pass => ui}/big-literals.rs | 0 .../binary-minus-without-space.rs | 0 src/test/{run-pass => ui}/bind-by-move.rs | 0 .../bind-field-short-with-modifiers.rs | 0 .../binding/borrowed-ptr-pattern-2.rs | 0 .../binding/borrowed-ptr-pattern-3.rs | 0 .../borrowed-ptr-pattern-infallible.rs | 0 .../binding/borrowed-ptr-pattern-option.rs | 0 .../binding/borrowed-ptr-pattern.rs | 0 .../binding/empty-types-in-patterns.rs | 0 .../binding/exhaustive-bool-match-sanity.rs | 0 .../binding/expr-match-generic-unique1.rs | 0 .../binding/expr-match-generic-unique2.rs | 0 .../binding/expr-match-generic.rs | 0 .../binding/expr-match-panic-all.rs | 0 .../binding/expr-match-panic.rs | 0 .../binding/expr-match-unique.rs | 0 .../{run-pass => ui}/binding/expr-match.rs | 0 .../binding/fat-arrow-match.rs | 0 .../fn-arg-incomplete-pattern-drop-order.rs | 0 .../binding/fn-pattern-expected-type-2.rs | 0 .../binding/fn-pattern-expected-type.rs | 0 .../binding/func-arg-incomplete-pattern.rs | 0 .../binding/func-arg-ref-pattern.rs | 0 .../binding/func-arg-wild-pattern.rs | 0 src/test/{run-pass => ui}/binding/if-let.rs | 0 .../binding/inconsistent-lifetime-mismatch.rs | 0 .../inferred-suffix-in-pattern-range.rs | 0 .../binding/irrefutable-slice-patterns.rs | 0 .../binding/let-assignability.rs | 0 .../binding/let-destruct-ref.rs | 0 .../binding/let-var-hygiene.rs | 0 .../binding/match-arm-statics.rs | 0 .../binding/match-beginning-vert.rs | 0 .../binding/match-borrowed_str.rs | 0 .../{run-pass => ui}/binding/match-bot-2.rs | 0 .../{run-pass => ui}/binding/match-bot.rs | 0 .../binding/match-byte-array-patterns.rs | 0 .../binding/match-enum-struct-0.rs | 0 .../binding/match-enum-struct-1.rs | 0 .../binding/match-implicit-copy-unique.rs | 0 .../binding/match-in-macro.rs | 0 .../{run-pass => ui}/binding/match-join.rs | 0 .../binding/match-larger-const.rs | 0 .../binding/match-naked-record-expr.rs | 0 .../binding/match-naked-record.rs | 0 .../{run-pass => ui}/binding/match-path.rs | 0 .../binding/match-pattern-bindings.rs | 0 .../binding/match-pattern-lit.rs | 0 .../binding/match-pattern-no-type-params.rs | 0 .../binding/match-pattern-simple.rs | 0 .../{run-pass => ui}/binding/match-phi.rs | 0 .../binding/match-pipe-binding.rs | 0 .../binding/match-range-infer.rs | 0 .../binding/match-range-static.rs | 0 .../{run-pass => ui}/binding/match-range.rs | 0 .../binding/match-reassign.rs | 0 .../match-ref-binding-in-guard-3256.rs | 0 .../binding/match-ref-binding-mut-option.rs | 0 .../binding/match-ref-binding-mut.rs | 0 .../binding/match-ref-binding.rs | 0 .../binding/match-ref-unsized.rs | 0 .../{run-pass => ui}/binding/match-str.rs | 0 .../binding/match-struct-0.rs | 0 .../{run-pass => ui}/binding/match-tag.rs | 0 .../binding/match-unique-bind.rs | 0 .../{run-pass => ui}/binding/match-unsized.rs | 0 .../match-value-binding-in-guard-3291.rs | 0 .../binding/match-var-hygiene.rs | 0 .../binding/match-vec-alternatives.rs | 0 .../binding/match-vec-rvalue.rs | 0 .../binding/match-with-ret-arm.rs | 0 .../{run-pass => ui}/binding/multi-let.rs | 0 .../binding/mut-in-ident-patterns.rs | 0 .../binding/nested-exhaustive-match.rs | 0 .../{run-pass => ui}/binding/nested-matchs.rs | 0 .../binding/nested-pattern.rs | 0 .../{run-pass => ui}/binding/nil-pattern.rs | 0 .../binding/nullary-or-pattern.rs | 0 .../binding/optional_comma_in_match_arm.rs | 0 .../{run-pass => ui}/binding/or-pattern.rs | 0 .../binding/order-drop-with-match.rs | 0 .../{run-pass => ui}/binding/pat-ranges.rs | 0 .../{run-pass => ui}/binding/pat-tuple-1.rs | 0 .../{run-pass => ui}/binding/pat-tuple-2.rs | 0 .../{run-pass => ui}/binding/pat-tuple-3.rs | 0 .../{run-pass => ui}/binding/pat-tuple-4.rs | 0 .../{run-pass => ui}/binding/pat-tuple-5.rs | 0 .../{run-pass => ui}/binding/pat-tuple-6.rs | 0 .../{run-pass => ui}/binding/pat-tuple-7.rs | 0 .../binding/pattern-bound-var-in-for-each.rs | 0 .../binding/pattern-in-closure.rs | 0 .../range-inclusive-pattern-precedence.rs | 0 .../binding/simple-generic-match.rs | 0 .../binding/use-uninit-match.rs | 0 .../binding/use-uninit-match2.rs | 0 .../binding/zero_sized_subslice_match.rs | 0 .../{run-pass => ui}/binops-issue-22743.rs | 0 src/test/{run-pass => ui}/binops.rs | 0 src/test/{run-pass => ui}/bitwise.rs | 0 .../blind-item-local-shadow.rs | 0 .../blind-item-mixed-crate-use-item.rs | 0 .../blind-item-mixed-use-item.rs | 0 .../{run-pass => ui}/block-arg-call-as.rs | 0 src/test/{run-pass => ui}/block-arg.rs | 0 .../{run-pass => ui}/block-explicit-types.rs | 0 .../{run-pass => ui}/block-expr-precedence.rs | 0 src/test/{run-pass => ui}/block-fn-coerce.rs | 0 src/test/{run-pass => ui}/block-iter-1.rs | 0 src/test/{run-pass => ui}/block-iter-2.rs | 0 src/test/{run-pass => ui}/bool-not.rs | 0 src/test/{run-pass => ui}/bool.rs | 0 .../borrow-by-val-method-receiver.rs | 0 .../borrowck/borrowck-assign-to-subfield.rs | 0 .../borrowck-assignment-to-static-mut.rs | 0 .../borrowck/borrowck-binding-mutbl.rs | 0 .../borrowck-borrow-from-expr-block.rs | 0 .../borrowck-borrow-of-mut-base-ptr-safe.rs | 0 .../borrowck/borrowck-closures-two-imm.rs | 0 .../borrowck/borrowck-fixed-length-vecs.rs | 0 .../borrowck/borrowck-freeze-frozen-mut.rs | 0 .../borrowck/borrowck-lend-args.rs | 0 .../borrowck-macro-interaction-issue-6304.rs | 0 .../borrowck/borrowck-move-by-capture-ok.rs | 0 ...orrowck-multiple-borrows-interior-boxes.rs | 0 .../borrowck/borrowck-mut-uniq.rs | 0 .../borrowck/borrowck-mut-vec-as-imm-slice.rs | 0 .../borrowck/borrowck-pat-enum.rs | 0 .../borrowck-pat-reassign-no-binding.rs | 0 .../borrowck/borrowck-rvalues-mutable.rs | 0 .../borrowck-scope-of-deref-issue-4666.rs | 0 .../borrowck/borrowck-static-item-in-fn.rs | 0 .../borrowck/borrowck-trait-lifetime.rs | 0 .../borrowck/borrowck-uniq-via-ref.rs | 0 .../borrowck/borrowck-univariant-enum.rs | 0 .../borrowck-unsafe-static-mutable-borrows.rs | 0 .../borrowck/borrowck-unused-mut-locals.rs | 0 .../borrowck/issue-62007-assign-box.rs | 0 .../borrowck/issue-62007-assign-field.rs | 0 .../borrowck/two-phase-baseline.rs | 0 .../borrowck/two-phase-bin-ops.rs | 0 ...se-control-flow-split-before-activation.rs | 0 src/test/{run-pass => ui}/box-new.rs | 0 .../{run-pass => ui}/bug-7183-generics.rs | 0 src/test/{run-pass => ui}/bug-7295.rs | 0 .../{run-pass => ui}/builtin-clone-unwind.rs | 0 src/test/{run-pass => ui}/builtin-clone.rs | 0 ...ltin-superkinds-capabilities-transitive.rs | 0 .../builtin-superkinds-capabilities-xc.rs | 0 .../builtin-superkinds-capabilities.rs | 0 .../builtin-superkinds-in-metadata.rs | 0 .../builtin-superkinds-phantom-typaram.rs | 0 .../builtin-superkinds-simple.rs | 0 .../builtin-superkinds-typaram.rs | 0 src/test/{run-pass => ui}/byte-literals.rs | 0 src/test/{run-pass => ui}/c-stack-as-value.rs | 0 .../c-stack-returning-int64.rs | 0 .../{run-pass => ui}/cabi-int-widening.rs | 0 src/test/{run-pass => ui}/can-copy-pod.rs | 0 .../cancel-clean-via-immediate-rvalue-ref.rs | 0 .../{run-pass => ui}/cast-does-fallback.rs | 0 .../{run-pass => ui}/cast-region-to-uint.rs | 0 .../cast-rfc0401-vtable-kinds.rs | 0 src/test/{run-pass => ui}/cast-rfc0401.rs | 0 src/test/{run-pass => ui}/cast-to-infer-ty.rs | 0 src/test/{run-pass => ui}/cast.rs | 0 .../{run-pass => ui}/catch-unwind-bang.rs | 0 .../{run-pass => ui}/cell-does-not-clone.rs | 0 .../cfg/auxiliary/cfg_inner_static.rs | 0 .../crate-attributes-using-cfg_attr.rs | 0 src/test/{run-pass => ui}/cfg/cfg-attr-cfg.rs | 0 .../{run-pass => ui}/cfg/cfg-attr-crate.rs | 0 src/test/{run-pass => ui}/cfg/cfg-family.rs | 0 .../{run-pass => ui}/cfg/cfg-in-crate-1.rs | 0 .../{run-pass => ui}/cfg/cfg-macros-foo.rs | 0 .../{run-pass => ui}/cfg/cfg-macros-notfoo.rs | 0 .../{run-pass => ui}/cfg/cfg-match-arm.rs | 0 .../{run-pass => ui}/cfg/cfg-target-family.rs | 0 .../{run-pass => ui}/cfg/cfg-target-vendor.rs | 0 src/test/{run-pass => ui}/cfg/cfg_attr.rs | 0 .../{run-pass => ui}/cfg/cfg_inner_static.rs | 0 .../{run-pass => ui}/cfg/cfg_stmt_expr.rs | 0 .../{run-pass => ui}/cfg/cfgs-on-items.rs | 0 .../cfg/conditional-compile-arch.rs | 0 .../cfg/conditional-compile.rs | 0 .../cfg/crate-attributes-using-cfg_attr.rs | 0 .../chalkify/builtin-copy-clone.rs | 0 .../chalkify/inherent_impl.rs | 0 .../{run-pass => ui}/chalkify/projection.rs | 0 .../{run-pass => ui}/chalkify/super_trait.rs | 0 .../chalkify/trait_implied_bound.rs | 0 .../chalkify/type_implied_bound.rs | 0 src/test/{run-pass => ui}/char.rs | 0 src/test/{run-pass => ui}/char_unicode.rs | 0 .../check-static-recursion-foreign.rs | 0 .../check_const-feature-gated.rs | 0 .../{run-pass => ui}/child-outlives-parent.rs | 0 .../cleanup-arm-conditional.rs | 0 .../cleanup-rvalue-during-if-and-while.rs | 0 .../cleanup-rvalue-for-scope.rs | 0 .../{run-pass => ui}/cleanup-rvalue-scopes.rs | 0 ...nup-rvalue-temp-during-incomplete-alloc.rs | 0 .../{run-pass => ui}/cleanup-shortcircuit.rs | 0 .../{run-pass => ui}/clone-with-exterior.rs | 0 .../close-over-big-then-small-data.rs | 0 src/test/{run-pass => ui}/cmp-default.rs | 0 .../{run-pass => ui}/codegen-object-shim.rs | 0 .../coerce/coerce-expect-unsized.rs | 0 .../coerce/coerce-overloaded-autoderef.rs | 0 .../coerce/coerce-reborrow-imm-ptr-arg.rs | 0 .../coerce/coerce-reborrow-imm-ptr-rcvr.rs | 0 .../coerce/coerce-reborrow-imm-vec-arg.rs | 0 .../coerce/coerce-reborrow-imm-vec-rcvr.rs | 0 .../coerce/coerce-reborrow-mut-ptr-arg.rs | 0 .../coerce/coerce-reborrow-mut-ptr-rcvr.rs | 0 .../coerce/coerce-reborrow-mut-vec-arg.rs | 0 .../coerce/coerce-reborrow-mut-vec-rcvr.rs | 0 .../coerce/coerce-unify-return.rs | 0 .../{run-pass => ui}/coerce/coerce-unify.rs | 0 .../coerce/coerce-unsize-subtype.rs | 0 .../re_rebalance_coherence_lib-rpass.rs} | 0 .../coherence/coherence-bigint-int.rs | 0 .../coherence/coherence-bigint-vecint.rs | 0 .../coherence/coherence-blanket.rs | 0 .../coherence-covered-type-parameter.rs | 0 .../coherence/coherence-impl-in-fn.rs | 0 .../coherence-iterator-vec-any-elem.rs | 0 .../coherence/coherence-iterator-vec.rs | 0 .../coherence-multidispatch-tuple.rs | 0 .../coherence/coherence-rfc447-constrained.rs | 0 .../coherence/coherence-where-clause.rs | 0 .../coherence/coherence_copy_like.rs | 0 ...herence-default-generic-associated-type.rs | 4 +- .../{run-pass => ui}/collections-const-new.rs | 0 src/test/{run-pass => ui}/command-exec.rs | 0 src/test/{run-pass => ui}/command-pre-exec.rs | 0 src/test/{run-pass => ui}/command-uid-gid.rs | 0 src/test/{run-pass => ui}/complex.rs | 0 .../{run-pass => ui}/consts/assoc-const.rs | 0 .../anon-extern-mod-cross-crate-1.rs | 0 .../consts/auxiliary/cci_borrow_lib.rs | 0 .../consts/auxiliary/cci_const.rs | 0 .../consts/auxiliary/cci_const_block.rs | 0 .../{run-pass => ui}/consts/bswap-const.rs | 0 .../consts/chained-constants-stackoverflow.rs | 0 .../consts/const-adt-align-mismatch.rs | 0 .../consts/const-autoderef.rs | 0 .../{run-pass => ui}/consts/const-big-enum.rs | 0 .../{run-pass => ui}/consts/const-binops.rs | 0 .../consts/const-bitshift-rhs-inference.rs | 0 .../consts/const-block-cross-crate-fn.rs | 0 .../consts/const-block-item-macro-codegen.rs | 0 .../consts/const-block-item.rs | 0 .../const-block-non-item-statement-3.rs | 0 .../{run-pass => ui}/consts/const-block.rs | 0 .../{run-pass => ui}/consts/const-bound.rs | 0 .../consts/const-byte-str-cast.rs | 0 .../consts/const-cast-ptr-int.rs | 0 .../{run-pass => ui}/consts/const-cast.rs | 0 .../{run-pass => ui}/consts/const-const.rs | 0 .../{run-pass => ui}/consts/const-contents.rs | 0 .../consts/const-cross-crate-const.rs | 0 .../consts/const-cross-crate-extern.rs | 0 .../{run-pass => ui}/consts/const-deref.rs | 0 .../consts/const-endianess.rs | 0 .../consts/const-enum-byref-self.rs | 0 .../consts/const-enum-byref.rs | 0 .../consts/const-enum-cast.rs | 0 .../{run-pass => ui}/consts/const-enum-ptr.rs | 0 .../consts/const-enum-struct.rs | 0 .../consts/const-enum-struct2.rs | 0 .../consts/const-enum-structlike.rs | 0 .../consts/const-enum-tuple.rs | 0 .../consts/const-enum-tuple2.rs | 0 .../consts/const-enum-tuplestruct.rs | 0 .../consts/const-enum-tuplestruct2.rs | 0 .../consts/const-enum-vec-index.rs | 0 .../consts/const-enum-vec-ptr.rs | 0 .../consts/const-enum-vector.rs | 0 .../consts/const-expr-in-fixed-length-vec.rs | 0 .../consts/const-expr-in-vec-repeat.rs | 0 .../consts/const-extern-function.rs | 0 .../consts/const-fields-and-indexing.rs | 0 .../consts/const-fn-const-eval.rs | 0 .../consts/const-fn-feature-flags.rs | 0 .../consts/const-fn-method.rs | 0 .../consts/const-fn-nested.rs | 0 .../consts/const-fn-stability-calls.rs | 0 .../consts/const-fn-type-name.rs | 0 .../{run-pass => ui}/consts/const-fn-val.rs | 0 src/test/{run-pass => ui}/consts/const-fn.rs | 0 .../consts/const-index-feature-gate.rs | 0 .../consts/const-int-saturating-arith.rs | 0 .../consts/const-meth-pattern.rs | 0 .../consts/const-needs_drop.rs | 0 .../{run-pass => ui}/consts/const-negation.rs | 0 .../{run-pass => ui}/consts/const-negative.rs | 0 .../consts/const-nullary-enum.rs | 0 .../consts/const-nullary-univariant-enum.rs | 0 .../consts/const-pattern-variant.rs | 0 .../consts/const-rec-and-tup.rs | 0 .../consts/const-region-ptrs-noncopy.rs | 0 .../consts/const-region-ptrs.rs | 0 .../consts/const-repeated-values.rs | 0 .../consts/const-size_of-align_of.rs | 0 .../{run-pass => ui}/consts/const-str-ptr.rs | 0 .../consts/const-struct-offsets.rs | 0 .../{run-pass => ui}/consts/const-struct.rs | 0 .../consts/const-trait-to-trait.rs | 0 .../consts/const-tuple-struct.rs | 0 .../consts/const-unit-struct.rs | 0 .../consts/const-unsafe-fn.rs | 0 .../consts/const-vec-of-fns.rs | 0 .../consts/const-vec-syntax.rs | 0 .../consts/const-vecs-and-slices.rs | 0 src/test/{run-pass => ui}/consts/const.rs | 0 .../consts/consts-in-patterns.rs | 0 .../consts/deref_in_pattern.rs | 0 src/test/{run-pass => ui}/consts/ice-48279.rs | 0 .../{run-pass => ui}/consts/issue-37550.rs | 0 .../consts/issue-broken-mir.rs | 0 .../consts/locals-in-const-fn.rs | 0 .../consts/match-const-fn-structs.rs | 0 .../{run-pass => ui}/consts/mozjs-error.rs | 0 .../consts/non-scalar-cast.rs | 0 src/test/{run-pass => ui}/consts/promotion.rs | 0 .../{run-pass => ui}/consts/references.rs | 0 .../{run-pass => ui}/consts/repeat_match.rs | 0 .../consts/return-in-const-fn.rs | 0 .../consts/signed_enum_discr.rs | 0 .../consts/transmute-const.rs | 0 .../consts/tuple-struct-constructors.rs | 0 src/test/{run-pass => ui}/core-run-destroy.rs | 0 .../{run-pass => ui}/crate-leading-sep.rs | 0 .../crate-method-reexport-grrrrrrr.rs | 0 .../{run-pass => ui}/crate-name-attr-used.rs | 0 .../anon-extern-mod-cross-crate-2.rs | 0 .../anon-extern-mod-cross-crate-1.rs | 0 .../auxiliary/anon_trait_static_method_lib.rs | 0 .../cross-crate/auxiliary/cci_borrow_lib.rs | 0 .../auxiliary/cci_capture_clause.rs | 0 .../cross-crate/auxiliary/cci_const.rs | 0 .../cross-crate/auxiliary/cci_impl_lib.rs | 0 .../cross-crate/auxiliary/cci_iter_lib.rs | 0 .../cross-crate/auxiliary/cci_nested_lib.rs | 0 .../auxiliary/cci_no_inline_lib.rs | 0 .../auxiliary/moves_based_on_type_lib.rs | 0 .../auxiliary/newtype_struct_xc.rs | 0 .../cross-crate/auxiliary/pub_static_array.rs | 0 .../auxiliary/reexported_static_methods.rs | 0 .../auxiliary/xcrate-trait-lifetime-param.rs | 0 .../auxiliary/xcrate_address_insignificant.rs | 0 .../xcrate_associated_type_defaults.rs | 0 .../xcrate_generic_fn_nested_return.rs | 0 .../auxiliary/xcrate_static_addresses.rs | 0 .../auxiliary/xcrate_unit_struct.rs | 0 .../cross-crate/cci_borrow.rs | 0 .../cross-crate/cci_capture_clause.rs | 0 .../cross-crate/cci_impl_exe.rs | 0 .../cross-crate/cci_iter_exe.rs | 0 .../cross-crate/cci_nested_exe.rs | 0 .../cross-crate/cci_no_inline_exe.rs | 0 .../cross-crate/cross-crate-const-pat.rs | 0 .../cross-crate-newtype-struct-pat.rs | 0 .../moves-based-on-type-cross-crate.rs | 0 .../reexported-static-methods-cross-crate.rs | 0 .../cross-crate/static-array-across-crate.rs | 0 .../xcrate-address-insignificant.rs | 0 .../xcrate-associated-type-defaults.rs | 0 .../cross-crate/xcrate-static-addresses.rs | 0 .../xcrate-trait-lifetime-param.rs | 0 .../cross-crate/xcrate-unit-struct.rs | 0 .../xcrate_generic_fn_nested_return.rs | 0 .../{run-pass => ui}/crt-static-off-works.rs | 0 .../{run-pass => ui}/crt-static-on-works.rs | 0 .../{run-pass => ui}/cycle-generic-bound.rs | 0 .../dead-code-alias-in-pat.rs | 0 .../dead-code-leading-underscore.rs | 0 src/test/{run-pass => ui}/debuginfo-lto.rs | 0 src/test/{run-pass => ui}/deep.rs | 0 .../default-alloc-error-hook.rs | 0 .../default-associated-types.rs | 0 .../default-method-parsing.rs | 0 .../{run-pass => ui}/default-method-simple.rs | 0 .../defaults-well-formedness.rs | 0 .../deprecation-in-force-unstable.rs | 0 src/test/{run-pass => ui}/deref-lval.rs | 0 src/test/{run-pass => ui}/deref-mut-on-ref.rs | 0 src/test/{run-pass => ui}/deref-on-ref.rs | 0 src/test/{run-pass => ui}/deref-rc.rs | 0 src/test/{run-pass => ui}/deref.rs | 0 .../deriving/auxiliary/derive-no-std.rs | 0 .../deriving/derive-no-std.rs | 0 .../deriving/derive-partialord-correctness.rs | 0 .../deriving/deriving-associated-types.rs | 0 .../deriving/deriving-bounds.rs | 0 .../deriving/deriving-clone-array.rs | 0 .../deriving/deriving-clone-enum.rs | 0 .../deriving/deriving-clone-generic-enum.rs | 0 .../deriving/deriving-clone-generic-struct.rs | 0 .../deriving-clone-generic-tuple-struct.rs | 0 .../deriving/deriving-clone-struct.rs | 0 .../deriving/deriving-clone-tuple-struct.rs | 0 .../deriving/deriving-cmp-generic-enum.rs | 0 .../deriving-cmp-generic-struct-enum.rs | 0 .../deriving/deriving-cmp-generic-struct.rs | 0 .../deriving-cmp-generic-tuple-struct.rs | 0 .../deriving/deriving-cmp-shortcircuit.rs | 0 .../deriving/deriving-copyclone.rs | 0 .../deriving/deriving-default-box.rs | 0 .../deriving/deriving-enum-single-variant.rs | 0 .../deriving/deriving-eq-ord-boxed-slice.rs | 0 .../deriving/deriving-hash.rs | 0 .../deriving/deriving-in-fn.rs | 0 .../deriving/deriving-in-macro.rs | 0 .../deriving/deriving-meta-multiple.rs | 0 .../deriving/deriving-meta.rs | 0 ...deriving-self-lifetime-totalord-totaleq.rs | 0 .../deriving/deriving-show-2.rs | 0 .../deriving/deriving-show.rs | 0 .../deriving/deriving-via-extension-c-enum.rs | 0 .../deriving/deriving-via-extension-enum.rs | 0 .../deriving-via-extension-hash-enum.rs | 0 .../deriving-via-extension-hash-struct.rs | 0 .../deriving-via-extension-struct-empty.rs | 0 ...-via-extension-struct-like-enum-variant.rs | 0 .../deriving-via-extension-struct-tuple.rs | 0 .../deriving/deriving-via-extension-struct.rs | 0 .../deriving-via-extension-type-params.rs | 0 .../deriving/deriving-with-repr-packed.rs | 0 .../{run-pass => ui}/dispatch_from_dyn_zst.rs | 0 .../diverging-fallback-control-flow.rs | 0 .../diverging-fallback-method-chain.rs | 0 .../diverging-fallback-option.rs | 0 src/test/{run-pass => ui}/double-ref.rs | 0 .../auxiliary/dropck_eyepatch_extern_crate.rs | 0 .../drop/drop-on-empty-block-exit.rs | 0 src/test/{run-pass => ui}/drop/drop-on-ret.rs | 0 .../drop/drop-struct-as-object.rs | 0 .../{run-pass => ui}/drop/drop-trait-enum.rs | 0 .../drop/drop-trait-generic.rs | 0 src/test/{run-pass => ui}/drop/drop-trait.rs | 0 .../drop/drop-uninhabited-enum.rs | 0 .../drop/drop-with-type-ascription-1.rs | 0 .../drop/drop-with-type-ascription-2.rs | 0 .../drop/dropck-eyepatch-extern-crate.rs | 0 .../drop/dropck-eyepatch-reorder.rs | 0 .../{run-pass => ui}/drop/dropck-eyepatch.rs | 0 .../drop/dropck_legal_cycles.rs | 0 .../drop/dynamic-drop-async.rs | 0 .../{run-pass => ui}/drop/dynamic-drop.rs | 0 .../drop/no-drop-flag-size.rs | 0 .../{run-pass => ui}/drop/nondrop-cycle.rs | 0 src/test/{run-pass => ui}/dupe-first-attr.rc | 0 .../duplicated-external-mods.rs | 0 .../dst-coerce-custom.rs | 0 .../dynamically-sized-types/dst-coerce-rc.rs | 0 .../dynamically-sized-types/dst-coercions.rs | 0 .../dynamically-sized-types/dst-deref-mut.rs | 0 .../dynamically-sized-types/dst-deref.rs | 0 .../dst-field-align.rs | 0 .../dynamically-sized-types/dst-index.rs | 0 .../dst-irrefutable-bind.rs | 0 .../dynamically-sized-types/dst-raw.rs | 0 .../dst-struct-sole.rs | 0 .../dynamically-sized-types/dst-struct.rs | 0 .../dst-trait-tuple.rs | 0 .../dynamically-sized-types/dst-trait.rs | 0 .../dynamically-sized-types/dst-tuple-sole.rs | 0 .../dynamically-sized-types/dst-tuple.rs | 0 .../{run-pass => ui}/early-ret-binop-add.rs | 0 .../{run-pass => ui}/early-vtbl-resolution.rs | 0 .../edition-keywords-2015-2015.rs | 0 .../edition-keywords-2015-2018.rs | 0 .../edition-keywords-2018-2015.rs | 0 .../edition-keywords-2018-2018.rs | 0 src/test/{run-pass => ui}/else-if.rs | 0 .../empty-allocation-non-null.rs | 0 .../empty-allocation-rvalue-non-null.rs | 0 .../empty-type-parameter-list.rs | 0 src/test/{run-pass => ui}/empty_global_asm.rs | 0 .../env-args-reverse-iterator.rs | 0 src/test/{run-pass => ui}/env-funky-keys.rs | 0 src/test/{run-pass => ui}/env-home-dir.rs | 0 src/test/{run-pass => ui}/env-null-vars.rs | 0 src/test/{run-pass => ui}/env-vars.rs | 0 .../{run-pass => ui}/epoch-gate-feature.rs | 0 src/test/{run-pass => ui}/eq-multidispatch.rs | 0 src/test/{run-pass => ui}/estr-uniq.rs | 0 src/test/{run-pass => ui}/exec-env.rs | 0 src/test/{run-pass => ui}/existential_type.rs | 0 .../{run-pass => ui}/explicit-i-suffix.rs | 0 .../export-glob-imports-target.rs | 0 src/test/{run-pass => ui}/export-multi.rs | 0 .../export-non-interference2.rs | 0 .../export-non-interference3.rs | 0 src/test/{run-pass => ui}/expr-block-fn.rs | 0 .../expr-block-generic-unique1.rs | 0 .../expr-block-generic-unique2.rs | 0 .../{run-pass => ui}/expr-block-generic.rs | 0 src/test/{run-pass => ui}/expr-block-slot.rs | 0 .../{run-pass => ui}/expr-block-unique.rs | 0 src/test/{run-pass => ui}/expr-block.rs | 0 src/test/{run-pass => ui}/expr-copy.rs | 0 src/test/{run-pass => ui}/expr-empty-ret.rs | 0 src/test/{run-pass => ui}/expr-fn.rs | 0 src/test/{run-pass => ui}/expr-if-generic.rs | 0 .../{run-pass => ui}/expr-if-panic-all.rs | 0 src/test/{run-pass => ui}/expr-if-panic.rs | 0 src/test/{run-pass => ui}/expr-if-unique.rs | 0 src/test/{run-pass => ui}/expr-if.rs | 0 src/test/{run-pass => ui}/expr-scope.rs | 0 .../ext-expand-inner-exprs.rs | 0 src/test/{run-pass => ui}/extend-for-unit.rs | 0 src/test/{run-pass => ui}/exterior.rs | 0 .../auxiliary/extern-crosscrate-source.rs | 0 .../extern/auxiliary/extern-take-value.rs | 0 .../auxiliary/extern_calling_convention.rs | 0 .../auxiliary/extern_mod_ordering_lib.rs | 0 .../extern/auxiliary/fat_drop.rs | 0 src/test/{run-pass => ui}/extern/extern-1.rs | 0 .../extern/extern-call-deep.rs | 0 .../extern/extern-call-deep2.rs | 0 .../extern/extern-call-direct.rs | 0 .../extern/extern-call-indirect.rs | 0 .../extern/extern-call-scrub.rs | 0 .../extern/extern-calling-convention-test.rs | 0 .../extern/extern-compare-with-return-type.rs | 0 .../extern/extern-crosscrate.rs | 0 .../extern/extern-foreign-crate.rs | 0 .../{run-pass => ui}/extern/extern-methods.rs | 0 .../{run-pass => ui}/extern/extern-mod-abi.rs | 0 .../extern/extern-mod-ordering-exe.rs | 0 .../extern/extern-pass-TwoU16s.rs | 0 .../extern/extern-pass-TwoU32s.rs | 0 .../extern/extern-pass-TwoU64s.rs | 0 .../extern/extern-pass-TwoU8s.rs | 0 .../extern/extern-pass-char.rs | 0 .../extern/extern-pass-double.rs | 0 .../extern/extern-pass-empty.rs | 0 .../extern/extern-pass-u32.rs | 0 .../extern/extern-pass-u64.rs | 0 .../extern/extern-prelude-core.rs | 0 .../extern/extern-prelude-core.stderr | 0 .../extern/extern-prelude-no-speculative.rs | 0 .../extern/extern-prelude-std.rs | 0 .../extern/extern-prelude-std.stderr | 0 .../{run-pass => ui}/extern/extern-pub.rs | 0 .../extern/extern-return-TwoU16s.rs | 0 .../extern/extern-return-TwoU32s.rs | 0 .../extern/extern-return-TwoU64s.rs | 0 .../extern/extern-return-TwoU8s.rs | 0 .../{run-pass => ui}/extern/extern-rust.rs | 0 .../extern/extern-take-value.rs | 0 .../extern/extern-thiscall.rs | 0 .../extern/extern-types-inherent-impl.rs | 0 .../extern/extern-types-manual-sync-send.rs | 0 .../extern/extern-types-pointer-cast.rs | 0 .../extern/extern-types-size_of_val.rs | 0 .../extern/extern-types-thin-pointer.rs | 0 .../extern/extern-types-trait-impl.rs | 0 .../extern/extern-vectorcall.rs | 0 .../extern/extern_fat_drop.rs | 0 .../extoption_env-not-defined.rs | 0 src/test/{run-pass => ui}/fact.rs | 0 src/test/{run-pass => ui}/fat-lto.rs | 0 src/test/{run-pass => ui}/fds-are-cloexec.rs | 0 .../filter-block-view-items.rs | 0 src/test/{run-pass => ui}/fixup-deref-mut.rs | 0 .../for-loop-while/auto-loop.rs | 0 .../for-loop-while/break-value.rs | 0 .../{run-pass => ui}/for-loop-while/break.rs | 0 .../for-loop-while/for-destruct.rs | 0 .../for-loop-while/for-loop-goofiness.rs | 0 .../for-loop-while/for-loop-has-unit-body.rs | 0 .../for-loop-while/for-loop-into-iterator.rs | 0 .../for-loop-lifetime-of-unbound-values.rs | 0 .../for-loop-while/for-loop-macro.rs | 0 .../for-loop-mut-ref-element.rs | 0 .../for-loop-while/for-loop-no-std.rs | 0 .../for-loop-while/for-loop-panic.rs | 0 ...unconstrained-element-type-i32-fallback.rs | 0 .../foreach-external-iterators-break.rs | 0 ...xternal-iterators-hashmap-break-restart.rs | 0 .../foreach-external-iterators-hashmap.rs | 0 .../foreach-external-iterators-loop.rs | 0 .../foreach-external-iterators-nested.rs | 0 .../foreach-external-iterators.rs | 0 .../for-loop-while/foreach-nested.rs | 0 .../for-loop-while/foreach-put-structured.rs | 0 .../foreach-simple-outer-slot.rs | 0 .../for-loop-while/label_break_value.rs | 0 .../for-loop-while/labeled-break.rs | 0 .../for-loop-while/linear-for-loop.rs | 0 .../liveness-assign-imm-local-after-loop.rs | 0 .../for-loop-while/liveness-loop-break.rs | 0 .../for-loop-while/liveness-move-in-loop.rs | 0 .../for-loop-while/loop-break-cont-1.rs | 0 .../for-loop-while/loop-break-cont.rs | 0 .../for-loop-while/loop-break-value.rs | 0 .../for-loop-while/loop-diverges.rs | 0 .../for-loop-while/loop-label-shadowing.rs | 0 .../loop-labeled-break-value.rs | 0 .../loop-no-reinit-needed-post-bot.rs | 0 .../for-loop-while/loop-scope.rs | 0 .../for-loop-while/while-cont.rs | 0 .../for-loop-while/while-flow-graph.rs | 0 .../for-loop-while/while-label.rs | 0 .../for-loop-while/while-let.rs | 0 .../while-loop-constraints-2.rs | 0 .../for-loop-while/while-prelude-drop.rs | 0 .../for-loop-while/while-with-break.rs | 0 .../{run-pass => ui}/for-loop-while/while.rs | 0 .../foreign/auxiliary/fn-abi.rs | 0 .../foreign/auxiliary/foreign_lib.rs | 0 .../foreign/foreign-call-no-runtime.rs | 0 .../{run-pass => ui}/foreign/foreign-dupe.rs | 0 .../foreign/foreign-fn-linkname.rs | 0 .../foreign/foreign-fn-with-byval.rs | 0 .../foreign/foreign-int-types.rs | 0 .../foreign-mod-src/compiletest-ignore-dir | 0 .../foreign/foreign-mod-src/inner.rs | 0 .../foreign/foreign-mod-unused-const.rs | 0 .../foreign/foreign-no-abi.rs | 0 .../foreign-src/compiletest-ignore-dir | 0 .../foreign/foreign-src/foreign.rs | 0 .../foreign/foreign-truncated-arguments.rs | 0 src/test/{run-pass => ui}/foreign/foreign2.rs | 0 src/test/{run-pass => ui}/format-hygiene.rs | 0 src/test/{run-pass => ui}/format-nan.rs | 0 src/test/{run-pass => ui}/format-no-std.rs | 0 src/test/{run-pass => ui}/format-ref-cell.rs | 0 .../{run-pass => ui}/fsu-moves-and-copies.rs | 0 .../{run-pass => ui}/fun-call-variants.rs | 0 .../{run-pass => ui}/fun-indirect-call.rs | 0 .../functions-closures/auxiliary/fn-abi.rs | 0 .../call-closure-from-overloaded-op.rs | 0 .../capture-clauses-boxed-closures.rs | 0 .../capture-clauses-unboxed-closures.rs | 0 .../functions-closures/clone-closure.rs | 0 .../closure-bounds-can-capture-chan.rs | 0 .../closure-expected-type/README.md | 0 .../expect-infer-supply-two-infers.rs | 0 .../closure-expected-type/issue-38714.rs | 0 .../supply-just-return-type.rs | 0 .../closure-expected-type/supply-nothing.rs | 0 .../functions-closures/closure-immediate.rs | 0 .../functions-closures/closure-inference.rs | 0 .../functions-closures/closure-inference2.rs | 0 .../functions-closures/closure-reform.rs | 0 .../closure-returning-closure.rs | 0 .../closure-to-fn-coercion.rs | 0 .../closure_to_fn_coercion-expected-types.rs | 0 .../functions-closures/copy-closure.rs | 0 .../functions-closures/fn-abi.rs | 0 .../functions-closures/fn-bare-assign.rs | 0 .../fn-bare-coerce-to-block.rs | 0 .../functions-closures/fn-bare-item.rs | 0 .../functions-closures/fn-bare-size.rs | 0 .../functions-closures/fn-bare-spawn.rs | 0 .../functions-closures/fn-coerce-field.rs | 0 .../functions-closures/fn-item-type-cast.rs | 0 .../functions-closures/fn-item-type-coerce.rs | 0 .../fn-item-type-zero-sized.rs | 0 .../functions-closures/fn-lval.rs | 0 .../functions-closures/fn-type-infer.rs | 0 .../implied-bounds-closure-arg-outlives.rs | 0 .../nullable-pointer-opt-closures.rs | 0 .../parallel-codegen-closures.rs | 0 .../functions-closures/return-from-closure.rs | 0 .../generator/addassign-yield.rs | 0 .../generator/auxiliary/xcrate-reachable.rs | 0 .../generator/auxiliary/xcrate.rs | 0 .../generator/borrow-in-tail-expr.rs | 0 .../generator/conditional-drop.rs | 0 .../generator/control-flow.rs | 0 .../generator/drop-and-replace.rs | 0 .../{run-pass => ui}/generator/drop-env.rs | 0 .../{run-pass => ui}/generator/issue-44197.rs | 0 .../{run-pass => ui}/generator/issue-52398.rs | 0 .../{run-pass => ui}/generator/issue-57084.rs | 0 .../{run-pass => ui}/generator/issue-58888.rs | 0 .../generator/iterator-count.rs | 0 .../generator/live-upvar-across-yield.rs | 0 .../generator/match-bindings.rs | 0 .../generator/nested_generators.rs | 0 .../generator/non-static-is-unpin.rs | 0 .../generator/overlap-locals.rs | 0 .../{run-pass => ui}/generator/panic-drops.rs | 0 .../{run-pass => ui}/generator/panic-safe.rs | 0 .../generator/pin-box-generator.rs | 0 .../generator/reborrow-mut-upvar.rs | 0 .../generator/resume-after-return.rs | 0 .../generator/size-moved-locals.rs | 0 src/test/{run-pass => ui}/generator/smoke.rs | 0 .../generator/static-generators.rs | 0 .../too-live-local-in-immovable-gen.rs | 0 .../generator/xcrate-reachable.rs | 0 src/test/{run-pass => ui}/generator/xcrate.rs | 0 .../generator/yield-in-args-rev.rs | 0 .../generator/yield-in-box.rs | 0 .../generator/yield-in-initializer.rs | 0 .../generator/yield-subtype.rs | 0 .../auxiliary/default_type_params_xc.rs | 0 .../generics/generic-alias-unique.rs | 0 ...generic-default-type-params-cross-crate.rs | 0 .../generics/generic-default-type-params.rs | 0 .../generics/generic-derived-type.rs | 0 .../generics/generic-exterior-unique.rs | 0 .../generics/generic-extern-mangle.rs | 0 .../generics/generic-fn-infer.rs | 0 .../generics/generic-fn-twice.rs | 0 .../generics/generic-fn-unique.rs | 0 .../{run-pass => ui}/generics/generic-fn.rs | 0 .../generics/generic-ivec-leak.rs | 0 .../generics/generic-newtype-struct.rs | 0 .../generics/generic-object.rs | 0 .../generics/generic-recursive-tag.rs | 0 .../generics/generic-static-methods.rs | 0 .../generics/generic-tag-corruption.rs | 0 .../generics/generic-tag-local.rs | 0 .../generics/generic-tag-match.rs | 0 .../generics/generic-tag-values.rs | 0 .../{run-pass => ui}/generics/generic-tag.rs | 0 .../generics/generic-temporary.rs | 0 .../{run-pass => ui}/generics/generic-tup.rs | 0 .../generics/generic-type-synonym.rs | 0 .../{run-pass => ui}/generics/generic-type.rs | 0 .../generics/generic-unique.rs | 0 src/test/{run-pass => ui}/global-scope.rs | 0 .../{run-pass => ui}/guards-not-exhaustive.rs | 0 src/test/{run-pass => ui}/guards.rs | 0 src/test/{run-pass => ui}/hashmap-memory.rs | 0 src/test/{run-pass => ui}/hello.rs | 0 .../hrtb-binder-levels-in-object-types.rs | 0 .../hrtb-debruijn-object-types-in-closures.rs | 0 .../hrtb-fn-like-trait-object.rs | 0 .../hrtb-fn-like-trait.rs | 0 .../hrtb-opt-in-copy.rs | 0 .../higher-rank-trait-bounds/hrtb-parse.rs | 0 .../hrtb-precedence-of-plus-where-clause.rs | 0 .../hrtb-precedence-of-plus.rs | 0 .../hrtb-resolve-lifetime.rs | 0 .../hrtb-trait-object-paren-notation.rs | 0 .../hrtb-trait-object-passed-to-closure.rs | 0 .../hrtb-type-outlives.rs | 0 .../hrtb-unboxed-closure-trait.rs | 0 src/test/{run-pass => ui}/html-literals.rs | 0 src/test/{run-pass => ui}/if-bot.rs | 0 src/test/{run-pass => ui}/if-check.rs | 0 src/test/{run-pass => ui}/if-ret.rs | 0 src/test/{run-pass => ui}/ifmt.rs | 0 .../{run-pass => ui}/ignore-all-the-things.rs | 0 src/test/{run-pass => ui}/impl-for-never.rs | 0 .../impl-inherent-non-conflict.rs | 0 .../impl-not-adjacent-to-type.rs | 0 .../{run-pass => ui}/impl-privacy-xc-1.rs | 0 .../{run-pass => ui}/impl-privacy-xc-2.rs | 0 .../impl-trait-in-bindings.rs | 0 .../impl-trait-in-bindings.stderr | 0 .../impl-trait/auxiliary/xcrate.rs | 0 .../impl-trait/bounds_regression.rs | 0 .../impl-trait/example-calendar.rs | 0 .../{run-pass => ui}/impl-trait/example-st.rs | 0 .../{run-pass => ui}/impl-trait/lifetimes.rs | 0 .../{run-pass => ui}/impl-trait/nesting.rs | 0 .../impl-trait/universal_hrtb_anon.rs | 0 .../impl-trait/universal_hrtb_named.rs | 0 .../universal_in_adt_in_parameters.rs | 0 .../universal_in_impl_trait_in_parameters.rs | 0 .../universal_in_trait_defn_parameters.rs | 0 .../impl-trait/universal_multiple_bounds.rs | 0 .../{run-pass => ui}/impl-trait/xcrate.rs | 0 .../impl-trait/xcrate_simple.rs | 0 .../auxiliary/crate_with_invalid_spans.rs | 0 .../crate_with_invalid_spans_macros.rs | 0 .../import-crate-with-invalid-spans/main.rs | 0 .../{run-pass => ui}/imports/import-from.rs | 0 .../{run-pass => ui}/imports/import-glob-1.rs | 0 .../imports/import-glob-crate.rs | 0 .../imports/import-in-block.rs | 0 .../imports/import-prefix-macro.rs | 0 .../{run-pass => ui}/imports/import-rename.rs | 0 .../imports/import-trailing-comma.rs | 0 src/test/{run-pass => ui}/imports/import.rs | 0 src/test/{run-pass => ui}/imports/import2.rs | 0 src/test/{run-pass => ui}/imports/import3.rs | 0 src/test/{run-pass => ui}/imports/import4.rs | 0 src/test/{run-pass => ui}/imports/import5.rs | 0 src/test/{run-pass => ui}/imports/import6.rs | 0 src/test/{run-pass => ui}/imports/import7.rs | 0 src/test/{run-pass => ui}/imports/import8.rs | 0 src/test/{run-pass => ui}/imports/imports.rs | 0 .../{run-pass => ui}/in-band-lifetimes.rs | 0 src/test/{run-pass => ui}/inc-range-pat.rs | 0 .../{run-pass => ui}/infer-fn-tail-expr.rs | 0 src/test/{run-pass => ui}/inherit-env.rs | 0 src/test/{run-pass => ui}/init-large-type.rs | 0 .../{run-pass => ui}/init-res-into-things.rs | 0 src/test/{run-pass => ui}/inlined-main.rs | 0 .../{run-pass => ui}/inner-attrs-on-impl.rs | 0 src/test/{run-pass => ui}/inner-module.rs | 0 src/test/{run-pass => ui}/inner-static.rs | 0 src/test/{run-pass => ui}/instantiable.rs | 0 .../intrinsics/auxiliary/cci_intrinsic.rs | 0 .../intrinsics/intrinsic-alignment.rs | 0 .../intrinsics/intrinsic-assume.rs | 0 .../intrinsics/intrinsic-atomics-cc.rs | 0 .../intrinsics/intrinsic-atomics.rs | 0 .../intrinsics/intrinsic-move-val-cleanups.rs | 0 .../intrinsics/intrinsic-move-val.rs | 0 .../intrinsics/intrinsic-unreachable.rs | 0 .../intrinsics/intrinsics-integer.rs | 0 .../intrinsics/intrinsics-math.rs | 0 .../invalid_const_promotion.rs | 0 .../invoke-external-foreign.rs | 0 src/test/{run-pass => ui}/irrefutable-unit.rs | 0 src/test/{run-pass => ui}/issue-59020.rs | 0 .../{run-pass => ui}/issues/.gitattributes | 0 .../issues/auxiliary/cgu_test.rs | 0 .../issues/auxiliary/cgu_test_a.rs | 0 .../issues/auxiliary/cgu_test_b.rs | 0 .../{run-pass => ui}/issues/auxiliary/i8.rs | 0 .../{run-pass => ui}/issues/auxiliary/iss.rs | 0 .../issues/auxiliary/issue-10028.rs | 0 .../issues/auxiliary/issue-10031-aux.rs | 0 .../issues/auxiliary/issue-11224.rs | 0 .../issues/auxiliary/issue-11225-1.rs | 0 .../issues/auxiliary/issue-11225-2.rs | 0 .../issues/auxiliary/issue-11225-3.rs | 0 .../issues/auxiliary/issue-11508.rs | 0 .../issues/auxiliary/issue-11529.rs | 0 .../issues/auxiliary/issue-12133-dylib.rs | 0 .../issues/auxiliary/issue-12133-dylib2.rs | 0 .../issues/auxiliary/issue-12133-rlib.rs | 0 .../issues/auxiliary/issue-12612-1.rs | 0 .../issues/auxiliary/issue-12612-2.rs | 0 .../issues/auxiliary/issue-12660-aux.rs | 0 .../issues/auxiliary/issue-13507.rs | 0 .../issues/auxiliary/issue-13620-1.rs | 0 .../issues/auxiliary/issue-13620-2.rs | 0 .../issues/auxiliary/issue-13872-1.rs | 0 .../issues/auxiliary/issue-13872-2.rs | 0 .../issues/auxiliary/issue-13872-3.rs | 0 .../issues/auxiliary/issue-14344-1.rs | 0 .../issues/auxiliary/issue-14344-2.rs | 0 .../issues/auxiliary/issue-14421.rs | 0 .../issues/auxiliary/issue-14422.rs | 0 .../issues/auxiliary/issue-15562.rs | 0 .../issues/auxiliary/issue-16643.rs | 0 .../issues/auxiliary/issue-17662.rs | 0 .../issues/auxiliary/issue-17718-aux.rs | 0 .../issues/auxiliary/issue-18501.rs | 0 .../issues/auxiliary/issue-18514.rs | 0 .../issues/auxiliary/issue-18711.rs | 0 .../issues/auxiliary/issue-18913-1.rs | 0 .../issues/auxiliary/issue-18913-2.rs | 0 .../issues/auxiliary/issue-19293.rs | 0 .../issues/auxiliary/issue-19340-1.rs | 0 .../issues/auxiliary/issue-20389.rs | 0 .../issues/auxiliary/issue-2170-lib.rs | 0 .../issues/auxiliary/issue-2316-a.rs | 0 .../issues/auxiliary/issue-2316-b.rs | 0 .../issues/auxiliary/issue-2380.rs | 0 .../issues/auxiliary/issue-2414-a.rs | 0 .../issues/auxiliary/issue-2414-b.rs | 0 .../issues/auxiliary/issue-2472-b.rs | 0 .../issues/auxiliary/issue-25185-1.rs | 0 .../issues/auxiliary/issue-25185-2.rs | 0 .../issues/auxiliary/issue-2526.rs | 0 .../issues/auxiliary/issue-25467.rs | 0 .../issues/auxiliary/issue-2631-a.rs | 0 .../issues/auxiliary/issue-2723-a.rs | 0 .../issues/auxiliary/issue-29485.rs | 0 .../issues/auxiliary/issue-3012-1.rs | 0 .../issues/auxiliary/issue-3136-a.rc | 0 .../issues/auxiliary/issue-3136-a.rs | 0 .../issues/auxiliary/issue-31702-1.rs | 0 .../issues/auxiliary/issue-31702-2.rs | 0 .../issues/auxiliary/issue-34796-aux.rs | 0 .../issues/auxiliary/issue-36954.rs | 0 .../issues/auxiliary/issue-38190.rs | 0 .../issues/auxiliary/issue-38226-aux.rs | 0 .../issues/auxiliary/issue-38715-modern.rs | 0 .../issues/auxiliary/issue-38715.rs | 0 .../issues/auxiliary/issue-3979-traits.rs | 0 .../issues/auxiliary/issue-39823.rs | 0 .../issues/auxiliary/issue-40469.rs | 0 .../issues/auxiliary/issue-41053.rs | 0 .../issues/auxiliary/issue-41394.rs | 0 .../issues/auxiliary/issue-42007-s.rs | 0 .../issues/auxiliary/issue-4208-cc.rs | 0 .../issues/auxiliary/issue-4545.rs | 0 .../issues/auxiliary/issue-48984-aux.rs | 0 .../issues/auxiliary/issue-5518.rs | 0 .../issues/auxiliary/issue-5521.rs | 0 .../issues/auxiliary/issue-7178.rs | 0 .../issues/auxiliary/issue-7899.rs | 0 .../issues/auxiliary/issue-8044.rs | 0 .../issues/auxiliary/issue-8259.rs | 0 .../issues/auxiliary/issue-8401.rs | 0 .../issues/auxiliary/issue-9123.rs | 0 .../issues/auxiliary/issue-9155.rs | 0 .../issues/auxiliary/issue-9188.rs | 0 .../issues/auxiliary/issue-9906.rs | 0 .../issues/auxiliary/issue-9968.rs | 0 .../{run-pass => ui}/issues/issue-10025.rs | 0 .../{run-pass => ui}/issues/issue-10028.rs | 0 .../{run-pass => ui}/issues/issue-10031.rs | 0 .../{run-pass => ui}/issues/issue-10228.rs | 0 .../{run-pass => ui}/issues/issue-10392.rs | 0 .../{run-pass => ui}/issues/issue-10436.rs | 0 .../{run-pass => ui}/issues/issue-10626.rs | 0 .../{run-pass => ui}/issues/issue-10638.rs | 0 .../{run-pass => ui}/issues/issue-10682.rs | 0 .../{run-pass => ui}/issues/issue-10683.rs | 0 .../{run-pass => ui}/issues/issue-10718.rs | 0 .../{run-pass => ui}/issues/issue-10734.rs | 0 .../{run-pass => ui}/issues/issue-10767.rs | 0 .../{run-pass => ui}/issues/issue-10802.rs | 0 .../{run-pass => ui}/issues/issue-10806.rs | 0 .../{run-pass => ui}/issues/issue-11047.rs | 0 .../{run-pass => ui}/issues/issue-11085.rs | 0 .../{run-pass => ui}/issues/issue-1112.rs | 0 .../{run-pass => ui}/issues/issue-11205.rs | 0 .../{run-pass => ui}/issues/issue-11224.rs | 0 .../{run-pass => ui}/issues/issue-11225-1.rs | 0 .../{run-pass => ui}/issues/issue-11225-2.rs | 0 .../{run-pass => ui}/issues/issue-11225-3.rs | 0 .../{run-pass => ui}/issues/issue-11267.rs | 0 .../{run-pass => ui}/issues/issue-11382.rs | 0 .../{run-pass => ui}/issues/issue-11508.rs | 0 .../{run-pass => ui}/issues/issue-11529.rs | 0 .../{run-pass => ui}/issues/issue-11552.rs | 0 .../{run-pass => ui}/issues/issue-11577.rs | 0 .../{run-pass => ui}/issues/issue-11677.rs | 0 .../{run-pass => ui}/issues/issue-11709.rs | 0 .../{run-pass => ui}/issues/issue-11820.rs | 0 .../{run-pass => ui}/issues/issue-11940.rs | 0 .../{run-pass => ui}/issues/issue-11958.rs | 0 .../{run-pass => ui}/issues/issue-12033.rs | 0 .../{run-pass => ui}/issues/issue-12133-1.rs | 0 .../{run-pass => ui}/issues/issue-12133-2.rs | 0 .../{run-pass => ui}/issues/issue-12133-3.rs | 0 .../{run-pass => ui}/issues/issue-12285.rs | 0 .../{run-pass => ui}/issues/issue-1257.rs | 0 .../{run-pass => ui}/issues/issue-12582.rs | 0 .../{run-pass => ui}/issues/issue-12612.rs | 0 .../{run-pass => ui}/issues/issue-12660.rs | 0 .../{run-pass => ui}/issues/issue-12677.rs | 0 .../{run-pass => ui}/issues/issue-12699.rs | 0 .../{run-pass => ui}/issues/issue-12744.rs | 0 .../{run-pass => ui}/issues/issue-12860.rs | 0 .../{run-pass => ui}/issues/issue-12909.rs | 0 .../{run-pass => ui}/issues/issue-13027.rs | 0 .../{run-pass => ui}/issues/issue-13204.rs | 0 .../issues/issue-13259-windows-tcb-trash.rs | 0 .../{run-pass => ui}/issues/issue-13264.rs | 0 .../{run-pass => ui}/issues/issue-13304.rs | 0 .../{run-pass => ui}/issues/issue-13323.rs | 0 .../{run-pass => ui}/issues/issue-13434.rs | 0 .../{run-pass => ui}/issues/issue-13507-2.rs | 0 .../{run-pass => ui}/issues/issue-13620.rs | 0 .../{run-pass => ui}/issues/issue-13655.rs | 0 .../{run-pass => ui}/issues/issue-13665.rs | 0 .../{run-pass => ui}/issues/issue-13763.rs | 0 .../{run-pass => ui}/issues/issue-13808.rs | 0 .../{run-pass => ui}/issues/issue-13867.rs | 0 .../{run-pass => ui}/issues/issue-13872.rs | 0 .../{run-pass => ui}/issues/issue-13902.rs | 0 .../{run-pass => ui}/issues/issue-14229.rs | 0 .../{run-pass => ui}/issues/issue-14308.rs | 0 .../{run-pass => ui}/issues/issue-14344.rs | 0 .../{run-pass => ui}/issues/issue-14382.rs | 0 .../{run-pass => ui}/issues/issue-14393.rs | 0 .../{run-pass => ui}/issues/issue-14399.rs | 0 .../{run-pass => ui}/issues/issue-14421.rs | 0 .../{run-pass => ui}/issues/issue-14422.rs | 0 .../{run-pass => ui}/issues/issue-14456.rs | 0 .../{run-pass => ui}/issues/issue-1451.rs | 0 .../{run-pass => ui}/issues/issue-14589.rs | 0 .../{run-pass => ui}/issues/issue-1460.rs | 0 .../{run-pass => ui}/issues/issue-14821.rs | 0 .../{run-pass => ui}/issues/issue-14865.rs | 0 .../{run-pass => ui}/issues/issue-14875.rs | 0 .../{run-pass => ui}/issues/issue-14919.rs | 0 .../{run-pass => ui}/issues/issue-14940.rs | 0 .../{run-pass => ui}/issues/issue-14958.rs | 0 .../{run-pass => ui}/issues/issue-15043.rs | 0 .../{run-pass => ui}/issues/issue-15063.rs | 0 .../{run-pass => ui}/issues/issue-15080.rs | 0 .../{run-pass => ui}/issues/issue-15104.rs | 0 .../{run-pass => ui}/issues/issue-15155.rs | 0 .../{run-pass => ui}/issues/issue-15189.rs | 0 .../{run-pass => ui}/issues/issue-15221.rs | 0 .../{run-pass => ui}/issues/issue-15444.rs | 0 .../{run-pass => ui}/issues/issue-15487.rs | 0 .../issues/issue-15523-big.rs | 0 .../{run-pass => ui}/issues/issue-15523.rs | 0 .../{run-pass => ui}/issues/issue-15562.rs | 0 .../{run-pass => ui}/issues/issue-15571.rs | 0 .../{run-pass => ui}/issues/issue-15673.rs | 0 .../{run-pass => ui}/issues/issue-15689-1.rs | 0 .../{run-pass => ui}/issues/issue-15730.rs | 0 .../{run-pass => ui}/issues/issue-15734.rs | 0 .../{run-pass => ui}/issues/issue-15763.rs | 0 .../{run-pass => ui}/issues/issue-15774.rs | 0 .../{run-pass => ui}/issues/issue-15793.rs | 0 .../{run-pass => ui}/issues/issue-15858.rs | 0 .../issue-15881-model-lexer-dotdotdot.rs | 0 .../{run-pass => ui}/issues/issue-16151.rs | 0 .../{run-pass => ui}/issues/issue-16256.rs | 0 .../{run-pass => ui}/issues/issue-16272.rs | 0 .../{run-pass => ui}/issues/issue-16278.rs | 0 .../{run-pass => ui}/issues/issue-16441.rs | 0 .../{run-pass => ui}/issues/issue-16452.rs | 0 .../{run-pass => ui}/issues/issue-16492.rs | 0 .../{run-pass => ui}/issues/issue-16530.rs | 0 .../{run-pass => ui}/issues/issue-16560.rs | 0 .../issues/issue-16597-empty.rs | 0 .../{run-pass => ui}/issues/issue-16597.rs | 0 .../{run-pass => ui}/issues/issue-1660.rs | 0 .../{run-pass => ui}/issues/issue-16602-1.rs | 0 .../{run-pass => ui}/issues/issue-16602-2.rs | 0 .../{run-pass => ui}/issues/issue-16602-3.rs | 0 .../{run-pass => ui}/issues/issue-16643.rs | 0 .../{run-pass => ui}/issues/issue-16648.rs | 0 .../{run-pass => ui}/issues/issue-16671.rs | 0 .../{run-pass => ui}/issues/issue-16739.rs | 0 .../{run-pass => ui}/issues/issue-16745.rs | 0 .../{run-pass => ui}/issues/issue-16774.rs | 0 .../{run-pass => ui}/issues/issue-16783.rs | 0 .../{run-pass => ui}/issues/issue-16819.rs | 0 .../{run-pass => ui}/issues/issue-1696.rs | 0 .../{run-pass => ui}/issues/issue-1701.rs | 0 .../{run-pass => ui}/issues/issue-17068.rs | 0 .../{run-pass => ui}/issues/issue-17074.rs | 0 .../{run-pass => ui}/issues/issue-17170.rs | 0 .../{run-pass => ui}/issues/issue-17216.rs | 0 .../{run-pass => ui}/issues/issue-17233.rs | 0 .../{run-pass => ui}/issues/issue-17302.rs | 0 .../{run-pass => ui}/issues/issue-17322.rs | 0 .../{run-pass => ui}/issues/issue-17351.rs | 0 .../{run-pass => ui}/issues/issue-17361.rs | 0 .../{run-pass => ui}/issues/issue-17503.rs | 0 .../{run-pass => ui}/issues/issue-17662.rs | 0 .../issues/issue-17718-borrow-interior.rs | 0 .../issues/issue-17718-parse-const.rs | 0 .../issue-17718-static-unsafe-interior.rs | 0 .../{run-pass => ui}/issues/issue-17718.rs | 0 .../{run-pass => ui}/issues/issue-17734.rs | 0 .../{run-pass => ui}/issues/issue-17756.rs | 0 .../{run-pass => ui}/issues/issue-17771.rs | 0 .../{run-pass => ui}/issues/issue-17816.rs | 0 .../{run-pass => ui}/issues/issue-17877.rs | 0 .../{run-pass => ui}/issues/issue-17897.rs | 0 .../{run-pass => ui}/issues/issue-18060.rs | 0 .../{run-pass => ui}/issues/issue-18075.rs | 0 .../{run-pass => ui}/issues/issue-18110.rs | 0 .../{run-pass => ui}/issues/issue-18173.rs | 0 .../{run-pass => ui}/issues/issue-18232.rs | 0 .../{run-pass => ui}/issues/issue-18352.rs | 0 .../{run-pass => ui}/issues/issue-18353.rs | 0 .../{run-pass => ui}/issues/issue-18412.rs | 0 .../{run-pass => ui}/issues/issue-18425.rs | 0 .../{run-pass => ui}/issues/issue-18464.rs | 0 .../{run-pass => ui}/issues/issue-18501.rs | 0 .../{run-pass => ui}/issues/issue-18514.rs | 0 .../{run-pass => ui}/issues/issue-18539.rs | 0 .../{run-pass => ui}/issues/issue-18652.rs | 0 .../{run-pass => ui}/issues/issue-18655.rs | 0 .../{run-pass => ui}/issues/issue-18661.rs | 0 .../{run-pass => ui}/issues/issue-18685.rs | 0 .../{run-pass => ui}/issues/issue-18711.rs | 0 .../{run-pass => ui}/issues/issue-18767.rs | 0 .../issues/issue-18804/auxiliary/lib.rs | 0 .../issues/issue-18804/main.rs | 0 .../{run-pass => ui}/issues/issue-18845.rs | 0 .../{run-pass => ui}/issues/issue-18859.rs | 0 .../{run-pass => ui}/issues/issue-18913.rs | 0 .../{run-pass => ui}/issues/issue-18937-1.rs | 0 .../{run-pass => ui}/issues/issue-18952.rs | 0 .../{run-pass => ui}/issues/issue-19001.rs | 0 .../{run-pass => ui}/issues/issue-19127.rs | 0 .../{run-pass => ui}/issues/issue-19135.rs | 0 .../{run-pass => ui}/issues/issue-19244.rs | 0 .../{run-pass => ui}/issues/issue-19293.rs | 0 .../{run-pass => ui}/issues/issue-19340-1.rs | 0 .../{run-pass => ui}/issues/issue-19340-2.rs | 0 .../{run-pass => ui}/issues/issue-19358.rs | 0 .../{run-pass => ui}/issues/issue-19367.rs | 0 .../{run-pass => ui}/issues/issue-19499.rs | 0 .../{run-pass => ui}/issues/issue-1974.rs | 0 .../issues/issue-19811-escape-unicode.rs | 0 .../issues/issue-20055-box-trait.rs | 0 .../issues/issue-20055-box-unsized-array.rs | 0 .../{run-pass => ui}/issues/issue-20174.rs | 0 .../{run-pass => ui}/issues/issue-20343.rs | 0 .../{run-pass => ui}/issues/issue-20389.rs | 0 .../{run-pass => ui}/issues/issue-20427.rs | 0 .../{run-pass => ui}/issues/issue-20544.rs | 0 .../{run-pass => ui}/issues/issue-20575.rs | 0 .../{run-pass => ui}/issues/issue-20616.rs | 0 .../{run-pass => ui}/issues/issue-2063.rs | 0 .../{run-pass => ui}/issues/issue-20676.rs | 0 .../{run-pass => ui}/issues/issue-2074.rs | 0 .../{run-pass => ui}/issues/issue-20803.rs | 0 .../{run-pass => ui}/issues/issue-20823.rs | 0 .../{run-pass => ui}/issues/issue-20847.rs | 0 .../{run-pass => ui}/issues/issue-20953.rs | 0 .../{run-pass => ui}/issues/issue-21033.rs | 0 .../{run-pass => ui}/issues/issue-21058.rs | 0 .../{run-pass => ui}/issues/issue-21291.rs | 0 .../{run-pass => ui}/issues/issue-21306.rs | 0 .../{run-pass => ui}/issues/issue-21361.rs | 0 .../{run-pass => ui}/issues/issue-21384.rs | 0 .../{run-pass => ui}/issues/issue-21400.rs | 0 .../{run-pass => ui}/issues/issue-21475.rs | 0 .../{run-pass => ui}/issues/issue-21486.rs | 0 .../{run-pass => ui}/issues/issue-21655.rs | 0 .../{run-pass => ui}/issues/issue-2170-exe.rs | 0 .../{run-pass => ui}/issues/issue-21721.rs | 0 .../{run-pass => ui}/issues/issue-2190-1.rs | 0 .../{run-pass => ui}/issues/issue-21909.rs | 0 .../{run-pass => ui}/issues/issue-21922.rs | 0 .../{run-pass => ui}/issues/issue-22008.rs | 0 .../{run-pass => ui}/issues/issue-22036.rs | 0 .../{run-pass => ui}/issues/issue-2214.rs | 0 .../{run-pass => ui}/issues/issue-2216.rs | 0 .../{run-pass => ui}/issues/issue-22258.rs | 0 .../{run-pass => ui}/issues/issue-22346.rs | 0 .../{run-pass => ui}/issues/issue-22403.rs | 0 .../{run-pass => ui}/issues/issue-22426.rs | 0 .../{run-pass => ui}/issues/issue-22463.rs | 0 .../issues/issue-22536-copy-mustnt-zero.rs | 0 .../{run-pass => ui}/issues/issue-22546.rs | 0 .../{run-pass => ui}/issues/issue-22577.rs | 0 .../{run-pass => ui}/issues/issue-22629.rs | 0 .../{run-pass => ui}/issues/issue-22828.rs | 0 .../{run-pass => ui}/issues/issue-2284.rs | 0 .../{run-pass => ui}/issues/issue-22864-1.rs | 0 .../{run-pass => ui}/issues/issue-22864-2.rs | 0 .../{run-pass => ui}/issues/issue-2288.rs | 0 .../{run-pass => ui}/issues/issue-22992-2.rs | 0 .../{run-pass => ui}/issues/issue-22992.rs | 0 .../{run-pass => ui}/issues/issue-23036.rs | 0 .../{run-pass => ui}/issues/issue-2316-c.rs | 0 .../{run-pass => ui}/issues/issue-23208.rs | 0 .../{run-pass => ui}/issues/issue-23261.rs | 0 .../{run-pass => ui}/issues/issue-23304-1.rs | 0 .../{run-pass => ui}/issues/issue-23304-2.rs | 0 .../{run-pass => ui}/issues/issue-23311.rs | 0 .../{run-pass => ui}/issues/issue-23336.rs | 0 .../issue-23338-ensure-param-drop-order.rs | 0 ...ssue-23338-params-outlive-temps-of-body.rs | 0 .../{run-pass => ui}/issues/issue-23433.rs | 0 .../{run-pass => ui}/issues/issue-23485.rs | 0 .../{run-pass => ui}/issues/issue-23491.rs | 0 .../issues/issue-23611-enum-swap-in-drop.rs | 0 .../{run-pass => ui}/issues/issue-23649-1.rs | 0 .../{run-pass => ui}/issues/issue-23649-2.rs | 0 .../{run-pass => ui}/issues/issue-23699.rs | 0 .../{run-pass => ui}/issues/issue-23781.rs | 0 .../{run-pass => ui}/issues/issue-2380-b.rs | 0 .../{run-pass => ui}/issues/issue-23808.rs | 0 .../{run-pass => ui}/issues/issue-23825.rs | 0 .../{run-pass => ui}/issues/issue-2383.rs | 0 .../{run-pass => ui}/issues/issue-23833.rs | 0 .../{run-pass => ui}/issues/issue-23891.rs | 0 .../{run-pass => ui}/issues/issue-23898.rs | 0 .../{run-pass => ui}/issues/issue-23958.rs | 0 .../issues/issue-23968-const-not-overflow.rs | 0 .../{run-pass => ui}/issues/issue-23992.rs | 0 .../{run-pass => ui}/issues/issue-24010.rs | 0 .../{run-pass => ui}/issues/issue-24086.rs | 0 .../{run-pass => ui}/issues/issue-2414-c.rs | 0 .../{run-pass => ui}/issues/issue-2428.rs | 0 .../{run-pass => ui}/issues/issue-24308.rs | 0 .../{run-pass => ui}/issues/issue-24313.rs | 0 .../{run-pass => ui}/issues/issue-24353.rs | 0 .../{run-pass => ui}/issues/issue-2445-b.rs | 0 .../{run-pass => ui}/issues/issue-2445.rs | 0 .../{run-pass => ui}/issues/issue-24533.rs | 0 ...535-allow-mutable-borrow-in-match-guard.rs | 0 .../{run-pass => ui}/issues/issue-24589.rs | 0 .../{run-pass => ui}/issues/issue-2463.rs | 0 .../auxiliary/issue-24687-lib.rs | 0 .../auxiliary/issue-24687-mbcs-in-comments.rs | 0 .../issue-24687-embed-debuginfo/main.rs | 0 .../{run-pass => ui}/issues/issue-2472.rs | 0 .../{run-pass => ui}/issues/issue-24779.rs | 0 .../issues/issue-24805-dropck-itemless.rs | 0 .../issues/issue-24945-repeat-dash-opts.rs | 0 .../{run-pass => ui}/issues/issue-24947.rs | 0 .../{run-pass => ui}/issues/issue-24954.rs | 0 .../{run-pass => ui}/issues/issue-25089.rs | 0 .../{run-pass => ui}/issues/issue-25145.rs | 0 .../{run-pass => ui}/issues/issue-25185.rs | 0 .../{run-pass => ui}/issues/issue-2526-a.rs | 0 .../{run-pass => ui}/issues/issue-25279.rs | 0 .../{run-pass => ui}/issues/issue-25339.rs | 0 .../{run-pass => ui}/issues/issue-25343.rs | 0 .../{run-pass => ui}/issues/issue-25467.rs | 0 .../{run-pass => ui}/issues/issue-25497.rs | 0 .../{run-pass => ui}/issues/issue-2550.rs | 0 .../{run-pass => ui}/issues/issue-25515.rs | 0 .../issues/issue-25549-multiple-drop.rs | 0 .../{run-pass => ui}/issues/issue-25679.rs | 0 .../{run-pass => ui}/issues/issue-25693.rs | 0 .../{run-pass => ui}/issues/issue-25700-1.rs | 0 .../{run-pass => ui}/issues/issue-25700-2.rs | 0 .../issues/issue-25746-bool-transmute.rs | 0 .../{run-pass => ui}/issues/issue-25757.rs | 0 .../{run-pass => ui}/issues/issue-25810.rs | 0 .../{run-pass => ui}/issues/issue-25916.rs | 0 .../{run-pass => ui}/issues/issue-26127.rs | 0 .../{run-pass => ui}/issues/issue-26251.rs | 0 .../{run-pass => ui}/issues/issue-2631-b.rs | 0 .../{run-pass => ui}/issues/issue-26322.rs | 0 .../{run-pass => ui}/issues/issue-2633-2.rs | 0 .../{run-pass => ui}/issues/issue-2633.rs | 0 .../{run-pass => ui}/issues/issue-2642.rs | 0 .../{run-pass => ui}/issues/issue-26468.rs | 0 .../{run-pass => ui}/issues/issue-26484.rs | 0 .../{run-pass => ui}/issues/issue-26641.rs | 0 .../{run-pass => ui}/issues/issue-26655.rs | 0 .../{run-pass => ui}/issues/issue-26709.rs | 0 .../{run-pass => ui}/issues/issue-26802.rs | 0 .../{run-pass => ui}/issues/issue-26805.rs | 0 .../issues/issue-26873-multifile.rs | 0 .../issues/issue-26873-multifile/A/B.rs | 0 .../issues/issue-26873-multifile/A/C.rs | 0 .../issues/issue-26873-multifile/A/mod.rs | 0 .../compiletest-ignore-dir | 0 .../issues/issue-26873-multifile/mod.rs | 0 .../issues/issue-26873-onefile.rs | 0 .../{run-pass => ui}/issues/issue-26996.rs | 0 .../{run-pass => ui}/issues/issue-27021.rs | 0 .../issue-27054-primitive-binary-ops.rs | 0 .../{run-pass => ui}/issues/issue-2708.rs | 0 .../{run-pass => ui}/issues/issue-2718.rs | 0 .../{run-pass => ui}/issues/issue-2723-b.rs | 0 .../{run-pass => ui}/issues/issue-27240.rs | 0 .../{run-pass => ui}/issues/issue-27268.rs | 0 .../{run-pass => ui}/issues/issue-27320.rs | 0 .../{run-pass => ui}/issues/issue-2734.rs | 0 .../{run-pass => ui}/issues/issue-2735-2.rs | 0 .../{run-pass => ui}/issues/issue-2735-3.rs | 0 .../{run-pass => ui}/issues/issue-2735.rs | 0 .../issues/issue-27401-dropflag-reinit.rs | 0 .../{run-pass => ui}/issues/issue-2748-b.rs | 0 .../{run-pass => ui}/issues/issue-27639.rs | 0 .../{run-pass => ui}/issues/issue-27859.rs | 0 .../{run-pass => ui}/issues/issue-27890.rs | 0 .../{run-pass => ui}/issues/issue-27901.rs | 0 .../{run-pass => ui}/issues/issue-27949.rs | 0 .../{run-pass => ui}/issues/issue-27997.rs | 0 .../{run-pass => ui}/issues/issue-28181.rs | 0 .../issues/issue-28498-must-work-ex1.rs | 0 .../issues/issue-28498-must-work-ex2.rs | 0 .../issues/issue-28498-ugeh-ex1.rs | 0 .../issue-28498-ugeh-with-lifetime-param.rs | 0 .../issue-28498-ugeh-with-passed-to-fn.rs | 0 .../issue-28498-ugeh-with-trait-bound.rs | 0 .../{run-pass => ui}/issues/issue-28550.rs | 0 .../{run-pass => ui}/issues/issue-28676.rs | 0 .../{run-pass => ui}/issues/issue-28777.rs | 0 .../{run-pass => ui}/issues/issue-28828.rs | 0 .../{run-pass => ui}/issues/issue-28839.rs | 0 .../{run-pass => ui}/issues/issue-2895.rs | 0 .../{run-pass => ui}/issues/issue-28950.rs | 0 .../{run-pass => ui}/issues/issue-28983.rs | 0 .../{run-pass => ui}/issues/issue-29053.rs | 0 .../{run-pass => ui}/issues/issue-29071-2.rs | 0 .../{run-pass => ui}/issues/issue-29092.rs | 0 .../{run-pass => ui}/issues/issue-29166.rs | 0 .../{run-pass => ui}/issues/issue-29227.rs | 0 .../{run-pass => ui}/issues/issue-2935.rs | 0 .../{run-pass => ui}/issues/issue-2936.rs | 0 .../{run-pass => ui}/issues/issue-29466.rs | 0 .../{run-pass => ui}/issues/issue-29485.rs | 0 .../{run-pass => ui}/issues/issue-29488.rs | 0 .../{run-pass => ui}/issues/issue-29522.rs | 0 .../{run-pass => ui}/issues/issue-29663.rs | 0 .../{run-pass => ui}/issues/issue-29668.rs | 0 .../{run-pass => ui}/issues/issue-29746.rs | 0 .../{run-pass => ui}/issues/issue-29844.rs | 0 .../{run-pass => ui}/issues/issue-2989.rs | 0 .../{run-pass => ui}/issues/issue-29914-2.rs | 0 .../{run-pass => ui}/issues/issue-29914-3.rs | 0 .../{run-pass => ui}/issues/issue-29914.rs | 0 .../{run-pass => ui}/issues/issue-29927-1.rs | 0 .../{run-pass => ui}/issues/issue-29927.rs | 0 .../{run-pass => ui}/issues/issue-29948.rs | 0 .../issues/issue-30018-nopanic.rs | 0 .../issues/issue-30018-panic.rs | 0 .../{run-pass => ui}/issues/issue-30081.rs | 0 .../{run-pass => ui}/issues/issue-3012-2.rs | 0 .../{run-pass => ui}/issues/issue-3026.rs | 0 .../{run-pass => ui}/issues/issue-3037.rs | 0 .../{run-pass => ui}/issues/issue-30371.rs | 0 .../{run-pass => ui}/issues/issue-30490.rs | 0 .../{run-pass => ui}/issues/issue-3052.rs | 0 .../{run-pass => ui}/issues/issue-30530.rs | 0 .../{run-pass => ui}/issues/issue-30615.rs | 0 .../{run-pass => ui}/issues/issue-30756.rs | 0 .../{run-pass => ui}/issues/issue-30891.rs | 0 .../{run-pass => ui}/issues/issue-3091.rs | 0 .../{run-pass => ui}/issues/issue-3109.rs | 0 .../{run-pass => ui}/issues/issue-3121.rs | 0 .../issues/issue-31267-additional.rs | 0 .../{run-pass => ui}/issues/issue-31267.rs | 0 .../{run-pass => ui}/issues/issue-31299.rs | 0 .../{run-pass => ui}/issues/issue-3136-b.rs | 0 .../{run-pass => ui}/issues/issue-31702.rs | 0 .../{run-pass => ui}/issues/issue-31776.rs | 0 .../{run-pass => ui}/issues/issue-32008.rs | 0 .../{run-pass => ui}/issues/issue-3211.rs | 0 .../{run-pass => ui}/issues/issue-3220.rs | 0 .../{run-pass => ui}/issues/issue-32292.rs | 0 .../{run-pass => ui}/issues/issue-32389.rs | 0 .../{run-pass => ui}/issues/issue-32518.rs | 0 .../{run-pass => ui}/issues/issue-32805.rs | 0 .../{run-pass => ui}/issues/issue-3290.rs | 0 .../{run-pass => ui}/issues/issue-32947.rs | 0 .../{run-pass => ui}/issues/issue-33096.rs | 0 .../{run-pass => ui}/issues/issue-33185.rs | 0 .../{run-pass => ui}/issues/issue-33187.rs | 0 .../{run-pass => ui}/issues/issue-33202.rs | 0 src/test/{run-pass => ui}/issues/issue-333.rs | 0 .../{run-pass => ui}/issues/issue-33387.rs | 0 .../{run-pass => ui}/issues/issue-33461.rs | 0 .../{run-pass => ui}/issues/issue-33498.rs | 0 .../{run-pass => ui}/issues/issue-33537.rs | 0 .../{run-pass => ui}/issues/issue-33687.rs | 0 .../{run-pass => ui}/issues/issue-33770.rs | 0 .../{run-pass => ui}/issues/issue-3389.rs | 0 .../{run-pass => ui}/issues/issue-33992.rs | 0 .../{run-pass => ui}/issues/issue-34053.rs | 0 .../{run-pass => ui}/issues/issue-34074.rs | 0 .../{run-pass => ui}/issues/issue-3429.rs | 0 .../{run-pass => ui}/issues/issue-34427.rs | 0 .../{run-pass => ui}/issues/issue-3447.rs | 0 .../{run-pass => ui}/issues/issue-34503.rs | 0 .../{run-pass => ui}/issues/issue-34569.rs | 0 .../{run-pass => ui}/issues/issue-34571.rs | 0 .../{run-pass => ui}/issues/issue-34784.rs | 0 .../{run-pass => ui}/issues/issue-34796.rs | 0 .../{run-pass => ui}/issues/issue-34798.rs | 0 .../{run-pass => ui}/issues/issue-34932.rs | 0 .../{run-pass => ui}/issues/issue-3500.rs | 0 .../{run-pass => ui}/issues/issue-35423.rs | 0 .../{run-pass => ui}/issues/issue-3556.rs | 0 .../{run-pass => ui}/issues/issue-3559.rs | 0 .../{run-pass => ui}/issues/issue-35600.rs | 0 .../{run-pass => ui}/issues/issue-3563-3.rs | 0 .../{run-pass => ui}/issues/issue-3574.rs | 0 .../{run-pass => ui}/issues/issue-35815.rs | 0 .../{run-pass => ui}/issues/issue-36023.rs | 0 .../issue-36036-associated-type-layout.rs | 0 .../{run-pass => ui}/issues/issue-36053.rs | 0 .../issue-36139-normalize-closure-sig.rs | 0 .../{run-pass => ui}/issues/issue-36260.rs | 0 .../issues/issue-36278-prefix-nesting.rs | 0 .../{run-pass => ui}/issues/issue-36381.rs | 0 .../{run-pass => ui}/issues/issue-36401.rs | 0 .../{run-pass => ui}/issues/issue-36474.rs | 0 .../{run-pass => ui}/issues/issue-3656.rs | 0 .../issue-36744-bitcast-args-if-needed.rs | 0 .../{run-pass => ui}/issues/issue-36768.rs | 0 .../issues/issue-36786-resolve-call.rs | 0 .../{run-pass => ui}/issues/issue-36792.rs | 0 .../{run-pass => ui}/issues/issue-36816.rs | 0 .../{run-pass => ui}/issues/issue-3683.rs | 0 .../{run-pass => ui}/issues/issue-36856.rs | 0 .../{run-pass => ui}/issues/issue-36936.rs | 0 .../{run-pass => ui}/issues/issue-36954.rs | 0 .../{run-pass => ui}/issues/issue-3702.rs | 0 .../{run-pass => ui}/issues/issue-37109.rs | 0 .../{run-pass => ui}/issues/issue-37175.rs | 0 .../{run-pass => ui}/issues/issue-37222.rs | 0 .../issues/issue-37291/auxiliary/lib.rs | 0 .../issues/issue-37291/main.rs | 0 .../{run-pass => ui}/issues/issue-3743.rs | 0 .../{run-pass => ui}/issues/issue-3753.rs | 0 .../{run-pass => ui}/issues/issue-37686.rs | 0 .../{run-pass => ui}/issues/issue-3794.rs | 0 .../{run-pass => ui}/issues/issue-37991.rs | 0 .../{run-pass => ui}/issues/issue-38002.rs | 0 .../{run-pass => ui}/issues/issue-38033.rs | 0 .../{run-pass => ui}/issues/issue-38074.rs | 0 .../{run-pass => ui}/issues/issue-38091.rs | 0 .../{run-pass => ui}/issues/issue-38190.rs | 0 .../{run-pass => ui}/issues/issue-38226.rs | 0 .../{run-pass => ui}/issues/issue-38437.rs | 0 .../{run-pass => ui}/issues/issue-3847.rs | 0 .../{run-pass => ui}/issues/issue-38556.rs | 0 .../{run-pass => ui}/issues/issue-38763.rs | 0 .../{run-pass => ui}/issues/issue-3878.rs | 0 .../{run-pass => ui}/issues/issue-38942.rs | 0 .../{run-pass => ui}/issues/issue-3895.rs | 0 .../{run-pass => ui}/issues/issue-38987.rs | 0 .../{run-pass => ui}/issues/issue-3904.rs | 0 .../{run-pass => ui}/issues/issue-39292.rs | 0 .../{run-pass => ui}/issues/issue-3935.rs | 0 .../{run-pass => ui}/issues/issue-39367.rs | 0 .../{run-pass => ui}/issues/issue-39548.rs | 0 .../{run-pass => ui}/issues/issue-39709.rs | 0 .../{run-pass => ui}/issues/issue-39720.rs | 0 .../issues/issue-39720.stderr | 0 .../issues/issue-3979-generics.rs | 0 .../issues/issue-3979-xcrate.rs | 0 .../{run-pass => ui}/issues/issue-3979.rs | 0 .../{run-pass => ui}/issues/issue-39808.rs | 0 .../{run-pass => ui}/issues/issue-39823.rs | 0 .../{run-pass => ui}/issues/issue-39827.rs | 0 .../{run-pass => ui}/issues/issue-40003.rs | 0 .../{run-pass => ui}/issues/issue-40085.rs | 0 .../{run-pass => ui}/issues/issue-40235.rs | 0 .../{run-pass => ui}/issues/issue-40408.rs | 0 .../{run-pass => ui}/issues/issue-40469.rs | 0 .../{run-pass => ui}/issues/issue-40770.rs | 0 .../{run-pass => ui}/issues/issue-40847.rs | 0 .../{run-pass => ui}/issues/issue-40883.rs | 0 .../{run-pass => ui}/issues/issue-40951.rs | 0 .../{run-pass => ui}/issues/issue-41053.rs | 0 .../{run-pass => ui}/issues/issue-4107.rs | 0 .../{run-pass => ui}/issues/issue-41213.rs | 0 .../{run-pass => ui}/issues/issue-41479.rs | 0 .../{run-pass => ui}/issues/issue-41498.rs | 0 .../{run-pass => ui}/issues/issue-41604.rs | 0 .../{run-pass => ui}/issues/issue-41677.rs | 0 .../{run-pass => ui}/issues/issue-41696.rs | 0 .../{run-pass => ui}/issues/issue-41744.rs | 0 .../{run-pass => ui}/issues/issue-41803.rs | 0 .../issues/issue-41849-variance-req.rs | 0 .../{run-pass => ui}/issues/issue-41888.rs | 0 .../{run-pass => ui}/issues/issue-42007.rs | 0 .../{run-pass => ui}/issues/issue-4208.rs | 0 .../{run-pass => ui}/issues/issue-42148.rs | 0 .../{run-pass => ui}/issues/issue-42210.rs | 0 .../{run-pass => ui}/issues/issue-4228.rs | 0 .../{run-pass => ui}/issues/issue-42453.rs | 0 .../{run-pass => ui}/issues/issue-42463.rs | 0 .../{run-pass => ui}/issues/issue-4252.rs | 0 .../{run-pass => ui}/issues/issue-42552.rs | 0 .../{run-pass => ui}/issues/issue-42679.rs | 0 .../{run-pass => ui}/issues/issue-42747.rs | 0 .../{run-pass => ui}/issues/issue-43132.rs | 0 .../{run-pass => ui}/issues/issue-43205.rs | 0 .../{run-pass => ui}/issues/issue-43291.rs | 0 .../{run-pass => ui}/issues/issue-4333.rs | 0 .../{run-pass => ui}/issues/issue-43692.rs | 0 .../{run-pass => ui}/issues/issue-43853.rs | 0 .../{run-pass => ui}/issues/issue-4387.rs | 0 .../{run-pass => ui}/issues/issue-43910.rs | 0 .../{run-pass => ui}/issues/issue-43923.rs | 0 .../{run-pass => ui}/issues/issue-4401.rs | 0 .../{run-pass => ui}/issues/issue-44333.rs | 0 .../{run-pass => ui}/issues/issue-4446.rs | 0 .../{run-pass => ui}/issues/issue-4448.rs | 0 .../{run-pass => ui}/issues/issue-45124.rs | 0 .../{run-pass => ui}/issues/issue-45152.rs | 0 .../{run-pass => ui}/issues/issue-4541.rs | 0 .../{run-pass => ui}/issues/issue-4542.rs | 0 .../{run-pass => ui}/issues/issue-4545.rs | 0 .../{run-pass => ui}/issues/issue-45510.rs | 0 .../{run-pass => ui}/issues/issue-45731.rs | 0 .../{run-pass => ui}/issues/issue-46069.rs | 0 .../{run-pass => ui}/issues/issue-46095.rs | 0 .../{run-pass => ui}/issues/issue-46519.rs | 0 .../{run-pass => ui}/issues/issue-46553.rs | 0 .../{run-pass => ui}/issues/issue-46845.rs | 0 .../{run-pass => ui}/issues/issue-46855.rs | 0 .../issues/issue-46920-byte-array-patterns.rs | 0 .../{run-pass => ui}/issues/issue-47139-1.rs | 0 .../{run-pass => ui}/issues/issue-47139-2.rs | 0 .../{run-pass => ui}/issues/issue-4734.rs | 0 .../{run-pass => ui}/issues/issue-4735.rs | 0 .../{run-pass => ui}/issues/issue-47364.rs | 0 .../{run-pass => ui}/issues/issue-4759-1.rs | 0 .../{run-pass => ui}/issues/issue-4759.rs | 0 .../{run-pass => ui}/issues/issue-47638.rs | 0 .../{run-pass => ui}/issues/issue-48006.rs | 0 .../{run-pass => ui}/issues/issue-48159.rs | 0 .../issues/issue-48508-aux.rs | 0 .../{run-pass => ui}/issues/issue-48508.rs | 0 .../{run-pass => ui}/issues/issue-4865-1.rs | 0 .../{run-pass => ui}/issues/issue-4865-2.rs | 0 .../{run-pass => ui}/issues/issue-4865-3.rs | 0 .../{run-pass => ui}/issues/issue-4875.rs | 0 .../{run-pass => ui}/issues/issue-48962.rs | 0 .../{run-pass => ui}/issues/issue-48984.rs | 0 .../{run-pass => ui}/issues/issue-49298.rs | 0 ...orthand-field-patterns-in-pattern-macro.rs | 0 .../{run-pass => ui}/issues/issue-49632.rs | 0 .../{run-pass => ui}/issues/issue-49685.rs | 0 .../{run-pass => ui}/issues/issue-49854.rs | 0 .../{run-pass => ui}/issues/issue-49955-2.rs | 0 .../{run-pass => ui}/issues/issue-49955.rs | 0 .../{run-pass => ui}/issues/issue-49973.rs | 0 ...e-5008-borrowed-traitobject-method-call.rs | 0 .../{run-pass => ui}/issues/issue-50415.rs | 0 .../{run-pass => ui}/issues/issue-50442.rs | 0 .../{run-pass => ui}/issues/issue-5060.rs | 0 .../{run-pass => ui}/issues/issue-50689.rs | 0 .../{run-pass => ui}/issues/issue-50731.rs | 0 .../{run-pass => ui}/issues/issue-50811.rs | 0 .../auxiliary/lib.rs | 0 .../issue-50865-private-impl-trait/main.rs | 0 .../{run-pass => ui}/issues/issue-51185.rs | 0 .../{run-pass => ui}/issues/issue-51345.rs | 0 .../{run-pass => ui}/issues/issue-51582.rs | 0 .../{run-pass => ui}/issues/issue-51907.rs | 0 .../{run-pass => ui}/issues/issue-5192.rs | 0 .../issue-52140/auxiliary/some_crate.rs | 0 .../issues/issue-52140/main.rs | 0 .../issue-52141/auxiliary/some_crate.rs | 0 .../issues/issue-52141/main.rs | 0 .../{run-pass => ui}/issues/issue-52169.rs | 0 .../{run-pass => ui}/issues/issue-5239-2.rs | 0 .../{run-pass => ui}/issues/issue-5243.rs | 0 .../{run-pass => ui}/issues/issue-52557.rs | 0 .../issues/issue-52705/auxiliary/png2.rs | 0 .../issues/issue-52705/main.rs | 0 .../{run-pass => ui}/issues/issue-5280.rs | 0 .../{run-pass => ui}/issues/issue-5315.rs | 0 .../issue-5321-immediates-with-bare-self.rs | 0 .../{run-pass => ui}/issues/issue-53333.rs | 0 .../{run-pass => ui}/issues/issue-53728.rs | 0 .../{run-pass => ui}/issues/issue-53843.rs | 0 ...issue-54462-mutable-noalias-correctness.rs | 0 .../{run-pass => ui}/issues/issue-54467.rs | 0 .../issues/issue-54477-reduced-2.rs | 0 .../{run-pass => ui}/issues/issue-54696.rs | 0 .../{run-pass => ui}/issues/issue-5518.rs | 0 .../{run-pass => ui}/issues/issue-5521.rs | 0 .../{run-pass => ui}/issues/issue-5530.rs | 0 .../{run-pass => ui}/issues/issue-55376.rs | 0 .../{run-pass => ui}/issues/issue-55380.rs | 0 .../{run-pass => ui}/issues/issue-5550.rs | 0 .../{run-pass => ui}/issues/issue-5554.rs | 0 .../{run-pass => ui}/issues/issue-56237.rs | 0 .../{run-pass => ui}/issues/issue-5666.rs | 0 .../{run-pass => ui}/issues/issue-5688.rs | 0 .../{run-pass => ui}/issues/issue-5708.rs | 0 .../{run-pass => ui}/issues/issue-5718.rs | 0 .../{run-pass => ui}/issues/issue-5741.rs | 0 .../{run-pass => ui}/issues/issue-5791.rs | 0 .../{run-pass => ui}/issues/issue-58212.rs | 0 .../issue-58435-ice-with-assoc-const.rs | 0 .../{run-pass => ui}/issues/issue-58463.rs | 0 .../{run-pass => ui}/issues/issue-5917.rs | 0 .../{run-pass => ui}/issues/issue-5988.rs | 0 .../{run-pass => ui}/issues/issue-5997.rs | 0 .../{run-pass => ui}/issues/issue-6117.rs | 0 .../{run-pass => ui}/issues/issue-6128.rs | 0 .../{run-pass => ui}/issues/issue-6130.rs | 0 .../{run-pass => ui}/issues/issue-6153.rs | 0 .../{run-pass => ui}/issues/issue-6157.rs | 0 .../{run-pass => ui}/issues/issue-61696.rs | 0 .../{run-pass => ui}/issues/issue-61894.rs | 0 .../{run-pass => ui}/issues/issue-6318.rs | 0 .../{run-pass => ui}/issues/issue-6334.rs | 0 .../{run-pass => ui}/issues/issue-6344-let.rs | 0 .../issues/issue-6344-match.rs | 0 .../{run-pass => ui}/issues/issue-6449.rs | 0 .../{run-pass => ui}/issues/issue-6892.rs | 0 .../{run-pass => ui}/issues/issue-6919.rs | 0 .../{run-pass => ui}/issues/issue-7012.rs | 0 .../{run-pass => ui}/issues/issue-7178.rs | 0 .../{run-pass => ui}/issues/issue-7222.rs | 0 .../{run-pass => ui}/issues/issue-7344.rs | 0 .../issues/issue-7519-match-unit-in-arg.rs | 0 .../{run-pass => ui}/issues/issue-7563.rs | 0 .../{run-pass => ui}/issues/issue-7575.rs | 0 .../{run-pass => ui}/issues/issue-7660.rs | 0 .../{run-pass => ui}/issues/issue-7663.rs | 0 .../{run-pass => ui}/issues/issue-7784.rs | 0 .../{run-pass => ui}/issues/issue-7899.rs | 0 .../{run-pass => ui}/issues/issue-7911.rs | 0 .../{run-pass => ui}/issues/issue-8044.rs | 0 .../{run-pass => ui}/issues/issue-8248.rs | 0 .../{run-pass => ui}/issues/issue-8249.rs | 0 .../{run-pass => ui}/issues/issue-8259.rs | 0 .../{run-pass => ui}/issues/issue-8351-1.rs | 0 .../{run-pass => ui}/issues/issue-8351-2.rs | 0 .../{run-pass => ui}/issues/issue-8391.rs | 0 .../{run-pass => ui}/issues/issue-8401.rs | 0 .../{run-pass => ui}/issues/issue-8460.rs | 0 .../{run-pass => ui}/issues/issue-8498.rs | 0 .../{run-pass => ui}/issues/issue-8506.rs | 0 src/test/{run-pass => ui}/issues/issue-868.rs | 0 .../{run-pass => ui}/issues/issue-8709.rs | 0 .../{run-pass => ui}/issues/issue-8783.rs | 0 .../{run-pass => ui}/issues/issue-8827.rs | 0 .../{run-pass => ui}/issues/issue-8851.rs | 0 .../{run-pass => ui}/issues/issue-8860.rs | 0 .../{run-pass => ui}/issues/issue-8898.rs | 0 .../{run-pass => ui}/issues/issue-9047.rs | 0 .../{run-pass => ui}/issues/issue-9123.rs | 0 .../{run-pass => ui}/issues/issue-9129.rs | 0 .../{run-pass => ui}/issues/issue-9155.rs | 0 .../{run-pass => ui}/issues/issue-9188.rs | 0 .../{run-pass => ui}/issues/issue-9259.rs | 0 .../{run-pass => ui}/issues/issue-9382.rs | 0 .../issue-9394-inherited-trait-calls.rs | 0 .../{run-pass => ui}/issues/issue-9396.rs | 0 .../{run-pass => ui}/issues/issue-9446.rs | 0 .../{run-pass => ui}/issues/issue-9737.rs | 0 src/test/{run-pass => ui}/issues/issue-979.rs | 0 .../{run-pass => ui}/issues/issue-9837.rs | 0 .../{run-pass => ui}/issues/issue-9906.rs | 0 .../{run-pass => ui}/issues/issue-9918.rs | 0 .../{run-pass => ui}/issues/issue-9942.rs | 0 .../{run-pass => ui}/issues/issue-9951.rs | 0 .../{run-pass => ui}/issues/issue-9968.rs | 0 src/test/{run-pass => ui}/istr.rs | 0 .../{run-pass => ui}/item-name-overload.rs | 0 .../into-iterator-type-inference-shift.rs | 0 .../iterators/iter-cloned-type-inference.rs | 0 .../{run-pass => ui}/iterators/iter-range.rs | 0 .../iterators/iter-step-overflow-debug.rs | 0 .../iterators/iter-step-overflow-ndebug.rs | 0 .../iterators/iter-sum-overflow-debug.rs | 0 .../iterators/iter-sum-overflow-ndebug.rs | 0 .../iter-sum-overflow-overflow-checks.rs | 0 .../{run-pass => ui}/iterators/iter-zip.rs | 0 .../keyword-changes-2012-07-31.rs | 0 .../kindck-implicit-close-over-mut-var.rs | 0 .../{run-pass => ui}/kinds-in-metadata.rs | 0 .../lambda-infer-unresolved.rs | 0 .../{run-pass => ui}/lambda-var-hygiene.rs | 0 src/test/{run-pass => ui}/large-records.rs | 0 .../{run-pass => ui}/last-use-in-block.rs | 0 .../last-use-in-cap-clause.rs | 0 .../{run-pass => ui}/last-use-is-capture.rs | 0 src/test/{run-pass => ui}/lazy-and-or.rs | 0 src/test/{run-pass => ui}/lazy-init.rs | 0 .../{run-pass => ui}/leak-unique-as-tydesc.rs | 0 .../lex-bare-cr-nondoc-comment.rs | 0 ...line-endings-string-literal-doc-comment.rs | 80 +++++++++--------- src/test/{run-pass => ui}/lexical-scoping.rs | 0 src/test/{run-pass => ui}/lib-defaults.rs | 0 src/test/{run-pass => ui}/link-cfg-works.rs | 0 src/test/{run-pass => ui}/link-section.rs | 0 src/test/{run-pass => ui}/linkage1.rs | 0 src/test/{run-pass => ui}/lint-cap.rs | 0 .../lint-dead-code-associated-type.rs | 0 .../lint-dead-code-variant.rs | 0 .../lint-expr-stmt-attrs-for-early-lints.rs | 0 .../lint-unknown-lints-at-crate-level.rs | 0 src/test/{run-pass => ui}/list.rs | 0 .../liveness-assign-imm-local-after-ret.rs | 0 src/test/{run-pass => ui}/llvm-pr32379.rs | 0 src/test/{run-pass => ui}/log-err-phi.rs | 0 .../log-knows-the-names-of-variants-in-std.rs | 0 .../log-knows-the-names-of-variants.rs | 0 src/test/{run-pass => ui}/log-poly.rs | 0 .../logging-only-prints-once.rs | 0 .../logging_before_rt_started.rs | 0 src/test/{run-pass => ui}/long-while.rs | 0 .../lto-many-codegen-units.rs | 0 .../lto-still-runs-thread-dtors.rs | 0 .../lub-glb-with-unbound-infer-var.rs | 0 src/test/{run-pass => ui}/macro-quote-cond.rs | 0 src/test/{run-pass => ui}/macro-quote-test.rs | 0 .../macros/assert-eq-macro-success.rs | 0 .../macros/assert-eq-macro-unsized.rs | 0 .../macros/assert-ne-macro-success.rs | 0 .../macros/assert-ne-macro-unsized.rs | 0 .../macros/auxiliary/macro-comma-support.rs | 0 .../auxiliary/macro-include-items-expr.rs | 0 .../auxiliary/macro-include-items-item.rs | 0 .../macros/auxiliary/macro_crate_def_only.rs | 0 .../auxiliary/macro_export_inner_module.rs | 0 .../macros/auxiliary/macro_with_super_1.rs | 0 .../macros/auxiliary/two_macros-rpass.rs} | 0 .../macros/auxiliary/use-macro-self.rs | 0 .../macros/colorful-write-macros.rs | 0 .../macros/conditional-debug-macro-on.rs | 0 src/test/{run-pass => ui}/macros/die-macro.rs | 0 .../{run-pass => ui}/macros/issue-25274.rs | 0 ...log_syntax-trace_macros-macro-locations.rs | 0 ...syntax-trace_macros-macro-locations.stdout | 0 src/test/{run-pass => ui}/macros/macro-2.rs | 0 .../macros/macro-as-fn-body.rs | 0 .../macros/macro-attribute-expansion.rs | 0 .../macros/macro-attributes.rs | 0 .../macros/macro-block-nonterminal.rs | 0 .../macros/macro-crate-def-only.rs | 0 .../macros/macro-crate-nonterminal-renamed.rs | 0 .../macros/macro-crate-nonterminal.rs | 0 .../macros/macro-crate-use.rs | 0 .../macros/macro-deep_expansion.rs | 0 .../macros/macro-delimiter-significance.rs | 0 .../macros/macro-doc-comments.rs | 0 .../macros/macro-doc-escapes.rs | 0 .../macros/macro-doc-raw-str-hashes.rs | 0 .../macros/macro-export-inner-module.rs | 0 .../macros/macro-first-set.rs | 0 .../macros/macro-followed-by-seq.rs | 0 .../macros/macro-include-items.rs | 0 .../macros/macro-interpolation.rs | 0 ...vocation-in-count-expr-fixed-array-type.rs | 0 .../macros/macro-lifetime-used-with-bound.rs | 0 .../macros/macro-lifetime-used-with-labels.rs | 0 .../macro-lifetime-used-with-labels.stderr | 0 .../macros/macro-lifetime-used-with-static.rs | 0 .../{run-pass => ui}/macros/macro-lifetime.rs | 0 .../{run-pass => ui}/macros/macro-literal.rs | 0 .../macros/macro-meta-items.rs | 0 .../macros/macro-method-issue-4621.rs | 0 .../macros/macro-multiple-items.rs | 0 .../macros/macro-named-default.rs | 0 .../macro-nested_definition_issue-31946.rs | 0 .../macros/macro-nested_expr.rs | 0 .../macros/macro-nested_stmt_macros.rs | 0 .../{run-pass => ui}/macros/macro-nt-list.rs | 0 .../macros/macro-of-higher-order.rs | 0 .../macros/macro-pat-follow.rs | 0 .../macros/macro-pat-neg-lit.rs | 0 src/test/{run-pass => ui}/macros/macro-pat.rs | 0 .../{run-pass => ui}/macros/macro-path.rs | 0 .../macros/macro-pub-matcher.rs | 0 .../macros/macro-seq-followed-by-seq.rs | 0 .../{run-pass => ui}/macros/macro-stmt.rs | 0 .../macros/macro-stmt_macro_in_expr_macro.rs | 0 .../macros/macro-tt-followed-by-seq.rs | 0 .../macros/macro-use-all-and-none.rs | 6 +- .../ui/macros/macro-use-all-and-none.stderr | 12 +++ .../{run-pass => ui}/macros/macro-use-all.rs | 0 .../{run-pass => ui}/macros/macro-use-both.rs | 0 .../{run-pass => ui}/macros/macro-use-one.rs | 0 .../macros/macro-with-attrs1.rs | 0 .../macros/macro-with-attrs2.rs | 0 .../macro-with-braces-in-expr-position.rs | 0 .../macros/macro_with_super_2.rs | 0 .../macros/meta-variable-misuse.rs | 0 .../macros/parse-complex-macro-invoc-op.rs | 0 .../macros/paths-in-macro-invocations.rs | 4 +- .../macros/pub-item-inside-macro.rs | 0 .../macros/pub-method-inside-macro.rs | 0 .../macros/semi-after-macro-ty.rs | 0 .../macros/stmt_expr_attr_macro_parse.rs | 0 .../macros/syntax-extension-cfg.rs | 0 .../includeme.fragment | 0 .../macros/syntax-extension-source-utils.rs | 0 src/test/{run-pass => ui}/macros/try-macro.rs | 0 .../{run-pass => ui}/macros/two-macro-use.rs | 0 .../macros/type-macros-hlist.rs | 0 .../macros/type-macros-simple.rs | 0 .../typeck-macro-interaction-issue-8852.rs | 0 .../{run-pass => ui}/macros/use-macro-self.rs | 0 src/test/{run-pass => ui}/max-min-classes.rs | 0 .../methods/auxiliary/method_self_arg1.rs | 0 .../methods/auxiliary/method_self_arg2.rs | 0 ...thod-argument-inference-associated-type.rs | 0 .../method-early-bound-lifetimes-on-self.rs | 0 ...thod-mut-self-modifies-mut-slice-lvalue.rs | 0 .../method-normalize-bounds-issue-20604.rs | 0 .../method-probe-no-guessing-dyn-trait.rs | 0 .../methods/method-projection.rs | 0 .../methods/method-recursive-blanket-impl.rs | 0 .../methods/method-self-arg-aux1.rs | 0 .../methods/method-self-arg-aux2.rs | 0 .../methods/method-self-arg-trait.rs | 0 .../methods/method-self-arg.rs | 0 .../method-two-trait-defer-resolution-1.rs | 0 .../method-two-trait-defer-resolution-2.rs | 0 ...o-traits-distinguished-via-where-clause.rs | 0 .../methods/method-where-clause.rs | 0 .../{run-pass => ui}/mid-path-type-params.rs | 0 .../minmax-stability-issue-23687.rs | 0 .../mir/auxiliary/mir_external_refs.rs | 0 .../mir/mir-inlining/ice-issue-45493.rs | 0 .../mir/mir-inlining/ice-issue-45885.rs | 0 .../no-trait-method-issue-40473.rs | 0 .../mir/mir-typeck-normalize-fn-sig.rs | 0 .../mir/mir_adt_construction.rs | 0 .../mir/mir_ascription_coercion.rs | 0 .../mir/mir_augmented_assignments.rs | 0 .../{run-pass => ui}/mir/mir_autoderef.rs | 0 src/test/{run-pass => ui}/mir/mir_boxing.rs | 0 .../mir/mir_build_match_comparisons.rs | 0 .../mir/mir_call_with_associated_type.rs | 0 .../mir/mir_calls_to_shims.rs | 0 .../{run-pass => ui}/mir/mir_cast_fn_ret.rs | 0 .../{run-pass => ui}/mir/mir_codegen_array.rs | 0 .../mir/mir_codegen_array_2.rs | 0 .../mir/mir_codegen_call_converging.rs | 0 .../{run-pass => ui}/mir/mir_codegen_calls.rs | 0 .../mir/mir_codegen_calls_variadic.rs | 0 .../mir/mir_codegen_critical_edge.rs | 0 .../mir/mir_codegen_spike1.rs | 0 .../mir/mir_codegen_switch.rs | 0 .../mir/mir_codegen_switchint.rs | 0 .../mir/mir_coercion_casts.rs | 0 .../{run-pass => ui}/mir/mir_coercions.rs | 0 .../{run-pass => ui}/mir/mir_constval_adts.rs | 0 .../{run-pass => ui}/mir/mir_drop_order.rs | 0 .../mir/mir_early_return_scope.rs | 0 src/test/{run-pass => ui}/mir/mir_fat_ptr.rs | 0 .../{run-pass => ui}/mir/mir_fat_ptr_drop.rs | 0 .../mir/mir_heavy_promoted.rs | 0 .../mir/mir_match_arm_guard.rs | 0 .../{run-pass => ui}/mir/mir_match_test.rs | 0 .../{run-pass => ui}/mir/mir_misc_casts.rs | 0 .../{run-pass => ui}/mir/mir_overflow_off.rs | 0 .../{run-pass => ui}/mir/mir_raw_fat_ptr.rs | 0 .../{run-pass => ui}/mir/mir_refs_correct.rs | 0 .../{run-pass => ui}/mir/mir_small_agg_arg.rs | 0 .../mir/mir_static_subtype.rs | 0 .../mir/mir_struct_with_assoc_ty.rs | 0 .../mir/mir_temp_promotions.rs | 0 .../{run-pass => ui}/mir/mir_void_return.rs | 0 .../{run-pass => ui}/mir/mir_void_return_2.rs | 0 .../modules/auxiliary/two_macros_2.rs | 0 .../{run-pass => ui}/modules/mod-inside-fn.rs | 0 .../modules/mod-view-items.rs | 0 .../modules/mod_dir_implicit.rs | 0 .../compiletest-ignore-dir | 0 .../modules/mod_dir_implicit_aux/mod.rs | 0 .../{run-pass => ui}/modules/mod_dir_path.rs | 0 .../{run-pass => ui}/modules/mod_dir_path2.rs | 0 .../{run-pass => ui}/modules/mod_dir_path3.rs | 0 .../modules/mod_dir_path_multi.rs | 0 .../modules/mod_dir_recursive.rs | 0 .../modules/mod_dir_simple.rs | 0 .../mod_dir_simple/compiletest-ignore-dir | 0 .../mod_dir_simple/load_another_mod.rs | 0 .../modules/mod_dir_simple/test.rs | 0 src/test/{run-pass => ui}/modules/mod_file.rs | 0 .../{run-pass => ui}/modules/mod_file_aux.rs | 0 .../modules/mod_file_with_path_attr.rs | 0 .../compiletest-ignore-dir | 0 .../float-template/inst_f32.rs | 0 .../float-template/inst_f64.rs | 0 .../float-template/inst_float.rs | 0 src/test/{run-pass => ui}/monad.rs | 0 .../monomorphize-abi-alignment.rs | 0 ...nomorphized-callees-with-ty-params-3314.rs | 0 .../{run-pass => ui}/moves/move-1-unique.rs | 0 .../{run-pass => ui}/moves/move-2-unique.rs | 0 src/test/{run-pass => ui}/moves/move-2.rs | 0 .../{run-pass => ui}/moves/move-3-unique.rs | 0 .../{run-pass => ui}/moves/move-4-unique.rs | 0 src/test/{run-pass => ui}/moves/move-4.rs | 0 .../moves/move-arg-2-unique.rs | 0 src/test/{run-pass => ui}/moves/move-arg-2.rs | 0 src/test/{run-pass => ui}/moves/move-arg.rs | 0 .../{run-pass => ui}/moves/move-nullary-fn.rs | 0 .../moves/move-out-of-field.rs | 0 .../{run-pass => ui}/moves/move-scalar.rs | 0 .../moves-based-on-type-capture-clause.rs | 0 src/test/{run-pass => ui}/mpsc_stress.rs | 0 src/test/{run-pass => ui}/msvc-data-only.rs | 0 src/test/{run-pass => ui}/multi-panic.rs | 0 src/test/{run-pass => ui}/multibyte.rs | 0 ...ispatch-conditional-impl-not-considered.rs | 0 src/test/{run-pass => ui}/multidispatch1.rs | 0 src/test/{run-pass => ui}/multidispatch2.rs | 0 .../{run-pass => ui}/multiline-comment.rs | 0 src/test/{run-pass => ui}/multiple-reprs.rs | 0 .../mut-function-arguments.rs | 0 src/test/{run-pass => ui}/mut-vstore-expr.rs | 0 .../mutual-recursion-group.rs | 0 .../native-print-no-runtime.rs | 0 src/test/{run-pass => ui}/negative.rs | 0 .../{run-pass => ui}/nested-block-comment.rs | 0 src/test/{run-pass => ui}/nested-class.rs | 0 .../nested-function-names-issue-8587.rs | 0 src/test/{run-pass => ui}/nested_item_main.rs | 0 src/test/{run-pass => ui}/never-result.rs | 0 .../{run-pass => ui}/never-type-rvalues.rs | 0 src/test/{run-pass => ui}/never_coercions.rs | 0 src/test/{run-pass => ui}/new-box-syntax.rs | 0 src/test/{run-pass => ui}/new-box.rs | 0 src/test/{run-pass => ui}/new-impl-syntax.rs | 0 .../{run-pass => ui}/new-import-syntax.rs | 0 .../{run-pass => ui}/new-style-constants.rs | 0 .../{run-pass => ui}/new-unicode-escapes.rs | 0 .../{run-pass => ui}/new-unsafe-pointers.rs | 0 .../{run-pass => ui}/newlambdas-ret-infer.rs | 0 .../{run-pass => ui}/newlambdas-ret-infer2.rs | 0 src/test/{run-pass => ui}/newlambdas.rs | 0 .../{run-pass => ui}/newtype-polymorphic.rs | 0 .../{run-pass => ui}/newtype-temporary.rs | 0 src/test/{run-pass => ui}/newtype.rs | 0 .../{run-pass => ui}/nil-decl-in-foreign.rs | 0 .../nll/issue-47153-generic-const.rs | 0 src/test/{run-pass => ui}/nll/issue-47589.rs | 0 .../nll/issue-48623-closure.rs | 0 .../nll/issue-48623-generator.rs | 0 src/test/{run-pass => ui}/nll/issue-50343.rs | 0 .../nll/issue-50461-used-mut-from-moves.rs | 0 .../nll/issue-53123-raw-pointer-cast.rs | 0 .../nll/mutating_references.rs | 0 .../nll/process_or_insert_default.rs | 0 src/test/{run-pass => ui}/nll/rc-loop.rs | 0 src/test/{run-pass => ui}/no-core-1.rs | 0 src/test/{run-pass => ui}/no-core-2.rs | 0 src/test/{run-pass => ui}/no-landing-pads.rs | 0 src/test/{run-pass => ui}/no-std-1.rs | 0 src/test/{run-pass => ui}/no-std-2.rs | 0 src/test/{run-pass => ui}/no-std-3.rs | 0 src/test/{run-pass => ui}/no-stdio.rs | 0 .../{run-pass => ui}/non-built-in-quote.rs | 0 src/test/{run-pass => ui}/non-legacy-modes.rs | 0 .../non_modrs_mods/foors_mod.rs | 0 .../foors_mod/compiletest-ignore-dir | 0 .../foors_mod/inline/somename.rs | 0 .../foors_mod/inner_foors_mod.rs | 0 .../foors_mod/inner_foors_mod/innest.rs | 0 .../foors_mod/inner_modrs_mod/innest.rs | 0 .../foors_mod/inner_modrs_mod/mod.rs | 0 .../modrs_mod/compiletest-ignore-dir | 0 .../modrs_mod/inline/somename.rs | 0 .../modrs_mod/inner_foors_mod.rs | 0 .../modrs_mod/inner_foors_mod/innest.rs | 0 .../modrs_mod/inner_modrs_mod/innest.rs | 0 .../modrs_mod/inner_modrs_mod/mod.rs | 0 .../non_modrs_mods/modrs_mod/mod.rs | 0 .../non_modrs_mods/non_modrs_mods.rs | 0 .../some_crazy_attr_mod_dir/arbitrary_name.rs | 0 .../compiletest-ignore-dir | 0 .../inner_modrs_mod/innest.rs | 0 .../inner_modrs_mod/mod.rs | 0 src/test/{run-pass => ui}/nul-characters.rs | 0 .../nullable-pointer-ffi-compat.rs | 0 .../nullable-pointer-iotareduction.rs | 0 .../{run-pass => ui}/nullable-pointer-size.rs | 0 .../numbers-arithmetic/arith-0.rs | 0 .../numbers-arithmetic/arith-1.rs | 0 .../numbers-arithmetic/arith-2.rs | 0 .../numbers-arithmetic/arith-unsigned.rs | 0 .../numbers-arithmetic/div-mod.rs | 0 .../float-int-invalid-const-cast.rs | 0 .../float-literal-inference.rs | 0 .../numbers-arithmetic/float-nan.rs | 0 .../numbers-arithmetic/float-signature.rs | 0 .../numbers-arithmetic/float.rs | 0 .../numbers-arithmetic/float2.rs | 0 .../numbers-arithmetic/float_math.rs | 0 .../numbers-arithmetic/floatlits.rs | 0 .../numbers-arithmetic/i128-ffi.rs | 0 .../numbers-arithmetic/i128.rs | 0 .../numbers-arithmetic/i32-sub.rs | 0 .../numbers-arithmetic/i8-incr.rs | 0 .../numbers-arithmetic/int-abs-overflow.rs | 0 .../numbers-arithmetic/int.rs | 0 .../integer-literal-radix.rs | 0 .../integer-literal-suffix-inference-2.rs | 0 .../integer-literal-suffix-inference-3.rs | 0 .../integer-literal-suffix-inference.rs | 0 .../next-power-of-two-overflow-debug.rs | 0 .../next-power-of-two-overflow-ndebug.rs | 0 .../numbers-arithmetic/num-wrapping.rs | 0 .../numeric-method-autoexport.rs | 0 .../promoted_overflow_opt.rs | 0 .../saturating-float-casts.rs | 0 .../numbers-arithmetic/shift-near-oflo.rs | 0 .../numbers-arithmetic/shift-various-types.rs | 0 .../numbers-arithmetic/shift.rs | 0 .../signed-shift-const-eval.rs | 0 .../numbers-arithmetic/u128-as-f32.rs | 0 .../numbers-arithmetic/u128.rs | 0 .../numbers-arithmetic/u32-decr.rs | 0 .../numbers-arithmetic/u8-incr-decr.rs | 0 .../numbers-arithmetic/u8-incr.rs | 0 .../numbers-arithmetic/uint.rs | 0 ...ject-lifetime-default-default-to-static.rs | 0 .../object-lifetime-default-from-rptr-box.rs | 0 .../object-lifetime-default-from-rptr-mut.rs | 0 .../object-lifetime-default-from-rptr.rs | 0 .../object-method-numbering.rs | 0 .../objects-coerce-freeze-borrored.rs | 0 ...owned-object-borrowed-method-headerless.rs | 0 .../objects-owned-object-owned-method.rs | 0 .../{run-pass => ui}/once-move-out-on-heap.rs | 0 src/test/{run-pass => ui}/one-tuple.rs | 0 .../op-assign-builtins-by-ref.rs | 0 src/test/{run-pass => ui}/opeq.rs | 0 .../operator-associativity.rs | 0 .../operator-multidispatch.rs | 0 .../{run-pass => ui}/operator-overloading.rs | 0 .../{run-pass => ui}/optimization-fuel-0.rs | 0 .../optimization-fuel-0.stderr | 0 .../{run-pass => ui}/optimization-fuel-1.rs | 0 .../optimization-fuel-1.stderr | 0 src/test/{run-pass => ui}/option-ext.rs | 0 src/test/{run-pass => ui}/option-unwrap.rs | 0 src/test/{run-pass => ui}/out-of-stack.rs | 0 .../{run-pass => ui}/out-pointer-aliasing.rs | 0 .../{run-pass => ui}/output-slot-variants.rs | 0 .../over-constrained-vregs.rs | 0 ...lap-doesnt-conflict-with-specialization.rs | 0 ...p-permitted-for-annotated-marker-traits.rs | 0 .../auxiliary/overloaded_autoderef_xc.rs | 0 .../overloaded/overloaded-autoderef-count.rs | 0 .../overloaded-autoderef-indexing.rs | 0 .../overloaded/overloaded-autoderef-order.rs | 0 .../overloaded/overloaded-autoderef-vtable.rs | 0 .../overloaded/overloaded-autoderef-xcrate.rs | 0 .../overloaded/overloaded-autoderef.rs | 0 .../overloaded-calls-object-one-arg.rs | 0 .../overloaded-calls-object-two-args.rs | 0 .../overloaded-calls-object-zero-args.rs | 0 .../overloaded-calls-param-vtables.rs | 0 .../overloaded/overloaded-calls-simple.rs | 0 .../overloaded/overloaded-calls-zero-args.rs | 0 .../overloaded/overloaded-deref-count.rs | 0 .../overloaded/overloaded-deref.rs | 0 .../overloaded/overloaded-index-assoc-list.rs | 0 .../overloaded/overloaded-index-autoderef.rs | 0 .../overloaded/overloaded-index-in-field.rs | 0 .../overloaded/overloaded-index.rs | 0 .../overloaded_deref_with_ref_pattern.rs | 0 ...oaded_deref_with_ref_pattern_issue15609.rs | 0 .../{run-pass => ui}/owned-implies-static.rs | 0 .../packed/auxiliary/packed.rs | 0 .../packed/packed-struct-borrow-element.rs | 0 .../packed/packed-struct-drop-aligned.rs | 0 .../packed/packed-struct-generic-layout.rs | 0 .../packed/packed-struct-generic-size.rs | 0 .../packed/packed-struct-layout.rs | 0 .../packed/packed-struct-match.rs | 0 .../packed/packed-struct-optimized-enum.rs | 0 .../packed/packed-struct-size-xc.rs | 0 .../packed/packed-struct-size.rs | 0 .../packed/packed-struct-vec.rs | 0 .../packed/packed-tuple-struct-layout.rs | 0 .../packed/packed-tuple-struct-size.rs | 0 .../packed-with-inference-vars-issue-61402.rs | 0 .../abort-link-to-unwinding-crates.rs | 0 .../{run-pass => ui}/panic-runtime/abort.rs | 0 .../auxiliary/exit-success-if-unwind.rs | 0 .../panic-runtime/link-to-abort.rs | 0 .../panic-runtime/link-to-unwind.rs | 0 .../panic-runtime/lto-abort.rs | 0 .../panic-runtime/lto-unwind.rs | 0 .../panic-uninitialized-zeroed.rs | 0 .../panics/panic-handler-chain.rs | 0 .../panics/panic-handler-flail-wildly.rs | 0 .../panics/panic-handler-set-twice.rs | 0 .../panics/panic-in-dtor-drops-fields.rs | 0 .../panics/panic-recover-propagate.rs | 0 .../{run-pass => ui}/panics/panic-safe.rs | 0 src/test/{run-pass => ui}/paren-free.rs | 0 .../{run-pass => ui}/parse-assoc-type-lt.rs | 0 src/test/{run-pass => ui}/parse-panic.rs | 0 .../parser-unicode-whitespace.rs | 0 src/test/{run-pass => ui}/path.rs | 0 .../{run-pass => ui}/paths-containing-nul.rs | 0 .../print-stdout-eprint-stderr.rs | 0 .../privacy/auxiliary/priv-impl-prim-ty.rs | 0 .../privacy/auxiliary/privacy_reexport.rs | 0 .../privacy/auxiliary/pub_use_mods_xcrate.rs | 0 .../privacy/auxiliary/pub_use_xcrate1.rs | 0 .../privacy/auxiliary/pub_use_xcrate2.rs | 0 .../privacy/priv-impl-prim-ty.rs | 0 .../{run-pass => ui}/privacy/privacy-ns.rs | 0 .../privacy/privacy-reexport.rs | 0 .../privacy/private-class-field.rs | 0 .../privacy/pub-extern-privacy.rs | 0 .../privacy/pub-use-xcrate.rs | 0 .../privacy/pub_use_mods_xcrate_exe.rs | 0 .../{run-pass => ui}/proc-macro/add-impl.rs | 0 .../proc-macro/append-impl.rs | 0 .../{run-pass => ui}/proc-macro/attr-args.rs | 0 .../{run-pass => ui}/proc-macro/attr-cfg.rs | 0 .../proc-macro/attr-on-trait.rs | 0 .../proc-macro/auxiliary/add-impl.rs | 0 .../proc-macro/auxiliary/append-impl.rs | 0 .../proc-macro/auxiliary/attr-args.rs | 0 .../proc-macro/auxiliary/attr-cfg.rs | 0 .../proc-macro/auxiliary/attr-on-trait.rs | 0 .../proc-macro/auxiliary/bang-macro.rs | 0 .../proc-macro/auxiliary/call-site.rs | 0 .../auxiliary/count_compound_ops.rs | 0 .../auxiliary/custom-attr-only-one-derive.rs | 0 .../proc-macro/auxiliary/derive-a.rs | 0 .../proc-macro/auxiliary/derive-atob.rs | 0 .../proc-macro/auxiliary/derive-attr-cfg.rs | 0 .../proc-macro/auxiliary/derive-b-rpass.rs} | 0 .../proc-macro/auxiliary/derive-ctod.rs | 0 .../proc-macro/auxiliary/derive-nothing.rs | 0 .../auxiliary/derive-same-struct.rs | 0 .../proc-macro/auxiliary/derive-two-attrs.rs | 0 .../proc-macro/auxiliary/derive-union.rs | 0 .../proc-macro/auxiliary/double.rs | 0 .../proc-macro/auxiliary/empty-crate.rs | 0 .../auxiliary/expand-with-a-macro.rs | 0 .../auxiliary/external-crate-var.rs | 0 .../auxiliary/gen-lifetime-token.rs | 0 .../proc-macro/auxiliary/hygiene_example.rs | 0 .../auxiliary/hygiene_example_codegen.rs | 0 .../proc-macro/auxiliary/issue-39889.rs | 0 .../proc-macro/auxiliary/issue-42708.rs | 0 .../proc-macro/auxiliary/issue-50061.rs | 0 .../proc-macro/auxiliary/modify-ast.rs | 0 .../proc-macro/auxiliary/negative-token.rs | 0 .../proc-macro/auxiliary/not-joint.rs | 0 .../proc-macro/auxiliary/span-api-tests.rs | 0 .../proc-macro/auxiliary/span-test-macros.rs | 0 .../{run-pass => ui}/proc-macro/bang-macro.rs | 0 .../{run-pass => ui}/proc-macro/call-site.rs | 0 .../proc-macro/count_compound_ops.rs | 0 .../{run-pass => ui}/proc-macro/crate-var.rs | 0 .../proc-macro/custom-attr-only-one-derive.rs | 0 .../proc-macro/derive-attr-cfg.rs | 0 .../{run-pass => ui}/proc-macro/derive-b.rs | 4 +- .../proc-macro/derive-same-struct.rs | 0 .../proc-macro/derive-same-struct.stdout | 0 .../proc-macro/derive-test.rs | 0 .../proc-macro/derive-two-attrs.rs | 0 .../proc-macro/derive-union.rs | 0 .../proc-macro/empty-crate.rs | 0 .../proc-macro/expand-with-a-macro.rs | 0 .../proc-macro/gen-lifetime-token.rs | 0 .../proc-macro/hygiene_example.rs | 0 .../proc-macro/issue-39889.rs | 0 .../proc-macro/issue-42708.rs | 0 .../proc-macro/issue-50061.rs | 0 .../{run-pass => ui}/proc-macro/load-two.rs | 0 .../{run-pass => ui}/proc-macro/modify-ast.rs | 0 .../proc-macro/negative-token.rs | 0 .../{run-pass => ui}/proc-macro/not-joint.rs | 0 src/test/{run-pass => ui}/proc-macro/smoke.rs | 0 .../proc-macro/span-api-tests.rs | 0 .../proc-macro/struct-field-macro.rs | 0 src/test/{run-pass => ui}/proc_macro.rs | 0 .../{run-pass => ui}/process/process-envs.rs | 0 .../{run-pass => ui}/process/process-exit.rs | 0 .../process/process-remove-from-env.rs | 0 .../process/process-sigpipe.rs | 0 .../process/process-spawn-nonexistent.rs | 0 .../process-spawn-with-unicode-params.rs | 0 .../process/process-status-inherits-stdin.rs | 0 .../project-cache-issue-31849.rs | 0 .../project-cache-issue-37154.rs | 0 .../project-defer-unification.rs | 0 src/test/{run-pass => ui}/pure-sum.rs | 0 src/test/{run-pass => ui}/purity-infer.rs | 0 src/test/{run-pass => ui}/range-type-infer.rs | 0 src/test/{run-pass => ui}/range.rs | 0 src/test/{run-pass => ui}/range_inclusive.rs | 0 .../{run-pass => ui}/range_inclusive_gate.rs | 0 .../{run-pass => ui}/ranges-precedence.rs | 0 src/test/{run-pass => ui}/raw-fat-ptr.rs | 0 src/test/{run-pass => ui}/raw-str.rs | Bin .../rcvr-borrowed-to-region.rs | 0 .../reachable-unnameable-items.rs | 0 .../reachable-unnameable-type-alias.rs | 0 src/test/{run-pass => ui}/readalias.rs | 0 src/test/{run-pass => ui}/realloc-16687.rs | 0 .../reexport-should-still-link.rs | 0 src/test/{run-pass => ui}/reexport-star.rs | 0 .../reexport-test-harness-main.rs | 0 .../refer-to-other-statics-by-value.rs | 0 .../regions-addr-of-interior-of-unique-box.rs | 0 .../regions/regions-addr-of-ret.rs | 0 .../regions-assoc-type-region-bound.rs | 0 .../regions-assoc-type-static-bound.rs | 0 .../regions/regions-borrow-at.rs | 0 .../regions/regions-borrow-evec-fixed.rs | 0 .../regions/regions-borrow-evec-uniq.rs | 0 .../regions/regions-borrow-uniq.rs | 0 .../{run-pass => ui}/regions/regions-bot.rs | 0 .../regions-bound-lists-feature-gate-2.rs | 0 .../regions-bound-lists-feature-gate.rs | 0 ...-close-over-type-parameter-successfully.rs | 0 .../regions/regions-copy-closure.rs | 0 .../regions/regions-creating-enums2.rs | 0 .../regions/regions-creating-enums5.rs | 0 .../regions/regions-debruijn-of-object.rs | 0 .../regions/regions-dependent-addr-of.rs | 0 .../regions/regions-dependent-autofn.rs | 0 .../regions/regions-dependent-autoslice.rs | 0 .../regions/regions-dependent-let-ref.rs | 0 ...egions-early-bound-lifetime-in-assoc-fn.rs | 0 .../regions-early-bound-trait-param.rs | 0 ...egions-early-bound-used-in-bound-method.rs | 0 .../regions-early-bound-used-in-bound.rs | 0 .../regions-early-bound-used-in-type-param.rs | 0 .../regions/regions-escape-into-other-fn.rs | 0 .../regions/regions-expl-self.rs | 0 .../regions/regions-fn-subtyping-2.rs | 0 .../regions/regions-fn-subtyping.rs | 0 ...on-outlives-static-outlives-free-region.rs | 0 .../regions-infer-borrow-scope-addr-of.rs | 0 .../regions-infer-borrow-scope-view.rs | 0 ...gions-infer-borrow-scope-within-loop-ok.rs | 0 .../regions/regions-infer-borrow-scope.rs | 0 .../regions/regions-infer-call-2.rs | 0 .../regions/regions-infer-call.rs | 0 ...regions-infer-contravariance-due-to-ret.rs | 0 .../regions-infer-reborrow-ref-mut-recurse.rs | 0 ...regions-infer-region-in-fn-but-not-type.rs | 0 .../regions/regions-infer-static-from-proc.rs | 0 .../regions/regions-issue-21422.rs | 0 .../regions/regions-issue-22246.rs | 0 .../regions-lifetime-nonfree-late-bound.rs | 0 ...-lifetime-static-items-enclosing-scopes.rs | 0 .../regions/regions-link-fn-args.rs | 0 .../regions/regions-lub-ref-ref-rc.rs | 0 .../regions/regions-mock-codegen.rs | 0 .../regions-no-bound-in-argument-cleanup.rs | 0 .../regions-no-variance-from-fn-generics.rs | 0 .../regions/regions-nullary-variant.rs | 0 .../regions/regions-params.rs | 0 .../regions-reassign-let-bound-pointer.rs | 0 .../regions-reassign-match-bound-pointer.rs | 0 .../regions/regions-refcell.rs | 0 ...ions-on-closures-to-inference-variables.rs | 0 .../regions-return-interior-of-option.rs | 0 .../regions/regions-scope-chain-example.rs | 0 .../regions/regions-self-impls.rs | 0 .../regions/regions-self-in-enums.rs | 0 .../regions/regions-simple.rs | 0 .../regions/regions-static-closure.rs | 0 .../regions/regions-trait-object-1.rs | 0 ...ariance-contravariant-use-contravariant.rs | 0 ...egions-variance-covariant-use-covariant.rs | 0 .../{run-pass => ui}/repeat-expr-in-static.rs | 0 src/test/{run-pass => ui}/repr_c_int_align.rs | 0 .../{run-pass => ui}/resolve-issue-2428.rs | 0 .../resolve-pseudo-shadowing.rs | 0 .../resource-assign-is-not-copy.rs | 0 .../{run-pass => ui}/resource-destruct.rs | 0 .../result-opt-conversions.rs | 0 src/test/{run-pass => ui}/ret-bang.rs | 0 src/test/{run-pass => ui}/ret-none.rs | 0 src/test/{run-pass => ui}/return-nil.rs | 0 src/test/{run-pass => ui}/rfcs/rfc-1014-2.rs | 0 src/test/{run-pass => ui}/rfcs/rfc-1014.rs | 0 .../rfcs/rfc-1789-as-cell/from-mut.rs | 0 .../termination-trait-for-box-dyn-error.rs | 0 .../termination-trait-for-empty.rs | 0 .../termination-trait-for-exitcode.rs | 0 .../termination-trait-for-impl-termination.rs | 0 ...rmination-trait-for-result-box-error_ok.rs | 0 .../termination-trait-for-result.rs | 0 .../termination-trait-for-str.rs | 0 .../rfcs/rfc-2005-default-binding-mode/box.rs | 0 .../rfc-2005-default-binding-mode/constref.rs | 0 .../rfc-2005-default-binding-mode/enum.rs | 0 .../rfcs/rfc-2005-default-binding-mode/for.rs | 0 .../rfc-2005-default-binding-mode/general.rs | 0 .../rfcs/rfc-2005-default-binding-mode/lit.rs | 0 .../rfc-2005-default-binding-mode/range.rs | 0 .../ref-region.rs | 0 .../reset-mode.rs | 0 .../rfc-2005-default-binding-mode/slice.rs | 0 .../rfc-2005-default-binding-mode/struct.rs | 0 .../tuple-struct.rs | 0 .../rfc-2005-default-binding-mode/tuple.rs | 0 .../rfcs/rfc-2151-raw-identifiers/attr.rs | 0 .../rfcs/rfc-2151-raw-identifiers/basic.rs | 0 .../rfcs/rfc-2151-raw-identifiers/items.rs | 0 .../rfcs/rfc-2151-raw-identifiers/macros.rs | 0 .../rfcs/rfc-2175-or-if-while-let/basic.rs | 0 .../rfcs/rfc-2302-self-struct-ctor.rs | 0 ...-unreserve-pure-offsetof-sizeof-alignof.rs | 0 .../rfc1445/eq-allows-match-on-ty-in-macro.rs | 0 .../rfcs/rfc1445/eq-allows-match.rs | 0 src/test/{run-pass => ui}/rfcs/rfc1623.rs | 0 .../rfcs/rfc1717/auxiliary/clibrary.rs | 0 .../rfcs/rfc1717/library-override.rs | 0 .../rfcs/rfc1857-drop-order.rs | 0 .../running-with-no-runtime.rs | 0 src/test/{run-pass => ui}/rustc-rust-log.rs | 0 .../rvalue-static-promotion.rs | 0 .../segfault-no-out-of-stack.rs | 0 .../semistatement-in-lambda.rs | 0 .../sepcomp/auxiliary/sepcomp-extern-lib.rs | 0 .../sepcomp/auxiliary/sepcomp_cci_lib.rs | 0 .../sepcomp/auxiliary/sepcomp_lib.rs | 0 .../{run-pass => ui}/sepcomp/sepcomp-cci.rs | 0 .../sepcomp/sepcomp-extern.rs | 0 .../sepcomp/sepcomp-fns-backwards.rs | 0 .../{run-pass => ui}/sepcomp/sepcomp-fns.rs | 0 .../sepcomp/sepcomp-lib-lto.rs | 0 .../{run-pass => ui}/sepcomp/sepcomp-lib.rs | 0 .../sepcomp/sepcomp-statics.rs | 0 .../sepcomp/sepcomp-unwind.rs | 0 src/test/{run-pass => ui}/seq-compare.rs | 0 src/test/{run-pass => ui}/shadow.rs | 0 .../shadowed-use-visibility.rs | 0 src/test/{run-pass => ui}/shebang.rs | 0 .../signal-alternate-stack-cleanup.rs | 0 .../{run-pass => ui}/signal-exit-status.rs | 0 .../sigpipe-should-be-ignored.rs | 0 .../{run-pass => ui}/simd/simd-generics.rs | 0 .../simd/simd-intrinsic-float-math.rs | 0 .../simd/simd-intrinsic-float-minmax.rs | 0 ...intrinsic-generic-arithmetic-saturating.rs | 0 .../simd/simd-intrinsic-generic-arithmetic.rs | 0 .../simd/simd-intrinsic-generic-bitmask.rs | 0 .../simd/simd-intrinsic-generic-cast.rs | 0 .../simd/simd-intrinsic-generic-comparison.rs | 0 .../simd/simd-intrinsic-generic-elements.rs | 0 .../simd/simd-intrinsic-generic-gather.rs | 0 .../simd/simd-intrinsic-generic-reduction.rs | 0 .../simd/simd-intrinsic-generic-select.rs | 0 .../{run-pass => ui}/simd/simd-size-align.rs | 0 .../simd/simd-target-feature-mixup.rs | 0 src/test/{run-pass => ui}/simd/simd-type.rs | 0 src/test/{run-pass => ui}/simple-infer.rs | 0 .../{run-pass => ui}/simple_global_asm.rs | 0 src/test/{run-pass => ui}/size-and-align.rs | 0 .../sized-borrowed-pointer.rs | 0 .../{run-pass => ui}/sized-owned-pointer.rs | 0 src/test/{run-pass => ui}/sleep.rs | 0 .../{run-pass => ui}/slowparse-bstring.rs | 0 src/test/{run-pass => ui}/slowparse-string.rs | 0 .../specialization/assoc-ty-graph-cycle.rs | 0 .../auxiliary/cross_crates_defaults.rs | 0 .../specialization/auxiliary/go_trait.rs | 0 .../auxiliary/specialization_cross_crate.rs | 0 .../specialization/cross-crate-defaults.rs | 0 .../defaultimpl/allowed-cross-crate.rs | 0 .../defaultimpl/auxiliary/go_trait.rs | 0 .../defaultimpl/out-of-order.rs | 0 .../defaultimpl/overlap-projection.rs | 0 .../specialization/defaultimpl/projection.rs | 0 .../specialization/issue-50452.rs | 0 .../specialization-allowed-cross-crate.rs | 0 .../specialization-assoc-fns.rs | 0 .../specialization/specialization-basics.rs | 0 .../specialization-cross-crate-no-gate.rs | 0 .../specialization-cross-crate.rs | 0 .../specialization-default-methods.rs | 0 .../specialization-on-projection.rs | 0 .../specialization-out-of-order.rs | 0 .../specialization-overlap-projection.rs | 0 .../specialization-projection-alias.rs | 0 .../specialization-projection.rs | 0 .../specialization-super-traits.rs | 0 ...on-translate-projections-with-lifetimes.rs | 0 ...ation-translate-projections-with-params.rs | 0 .../specialization-translate-projections.rs | 0 src/test/{run-pass => ui}/sse2.rs | 0 src/test/{run-pass => ui}/stable-addr-of.rs | 0 src/test/{run-pass => ui}/stack-probes-lto.rs | 0 src/test/{run-pass => ui}/stack-probes.rs | 0 .../auxiliary/static-function-pointer-aux.rs | 0 .../statics/auxiliary/static-methods-crate.rs | 0 .../auxiliary/static_fn_inline_xc_aux.rs | 0 .../auxiliary/static_fn_trait_xc_aux.rs | 0 .../statics/auxiliary/static_mut_xc.rs | 0 .../statics/static-fn-inline-xc.rs | 0 .../statics/static-fn-trait-xc.rs | 0 .../statics/static-function-pointer-xc.rs | 0 .../statics/static-function-pointer.rs | 0 .../{run-pass => ui}/statics/static-impl.rs | 0 ...tic-method-in-trait-with-tps-intracrate.rs | 0 .../statics/static-method-xcrate.rs | 0 .../statics/static-methods-in-traits.rs | 0 .../statics/static-methods-in-traits2.rs | 0 .../statics/static-mut-foreign.rs | 0 .../{run-pass => ui}/statics/static-mut-xc.rs | 0 .../statics/static-recursive.rs | 0 .../{run-pass => ui}/stdio-is-blocking.rs | 0 src/test/{run-pass => ui}/str-concat.rs | 0 src/test/{run-pass => ui}/str-multiline.rs | 0 src/test/{run-pass => ui}/string-box-error.rs | 0 src/test/{run-pass => ui}/string-escapes.rs | 0 .../{run-pass => ui}/struct-ctor-mangling.rs | 0 .../structs-enums/align-enum.rs | 0 .../structs-enums/align-struct.rs | 0 .../structs-enums/auxiliary/cci_class.rs | 0 .../structs-enums/auxiliary/cci_class_2.rs | 0 .../structs-enums/auxiliary/cci_class_3.rs | 0 .../structs-enums/auxiliary/cci_class_4.rs | 0 .../structs-enums/auxiliary/cci_class_6.rs | 0 .../structs-enums/auxiliary/cci_class_cast.rs | 0 .../auxiliary/cci_class_trait.rs | 0 .../structs-enums/auxiliary/empty-struct.rs | 0 .../auxiliary/namespaced_enum_emulate_flat.rs | 0 .../auxiliary/namespaced_enums.rs | 0 .../auxiliary/newtype_struct_xc.rs | 0 .../struct_destructuring_cross_crate.rs | 0 .../auxiliary/struct_variant_xc_aux.rs | 0 .../auxiliary/xcrate_struct_aliases.rs | 0 .../structs-enums/borrow-tuple-fields.rs | 0 .../class-cast-to-trait-cross-crate-2.rs | 0 .../class-cast-to-trait-multiple-types.rs | 0 .../structs-enums/class-cast-to-trait.rs | 0 .../structs-enums/class-dtor.rs | 0 .../structs-enums/class-exports.rs | 0 .../class-impl-very-parameterized-trait.rs | 0 .../class-implement-trait-cross-crate.rs | 0 .../structs-enums/class-implement-traits.rs | 0 .../structs-enums/class-method-cross-crate.rs | 0 .../class-methods-cross-crate.rs | 0 .../structs-enums/class-methods.rs | 0 .../class-poly-methods-cross-crate.rs | 0 .../structs-enums/class-poly-methods.rs | 0 .../structs-enums/class-separate-impl.rs | 0 .../structs-enums/class-str-field.rs | 0 .../structs-enums/class-typarams.rs | 0 .../structs-enums/classes-cross-crate.rs | 0 .../structs-enums/classes-self-referential.rs | 0 .../classes-simple-cross-crate.rs | 0 .../structs-enums/classes-simple-method.rs | 0 .../structs-enums/classes-simple.rs | 0 .../{run-pass => ui}/structs-enums/classes.rs | 0 .../codegen-tag-static-padding.rs | 0 .../structs-enums/compare-generic-enums.rs | 0 .../structs-enums/discrim-explicit-23030.rs | 0 .../structs-enums/empty-struct-braces.rs | 0 .../structs-enums/empty-tag.rs | 0 .../structs-enums/enum-alignment.rs | 0 .../structs-enums/enum-clike-ffi-as-int.rs | 0 .../structs-enums/enum-discr.rs | 0 .../structs-enums/enum-discrim-autosizing.rs | 0 .../enum-discrim-manual-sizing.rs | 0 .../enum-discrim-range-overflow.rs | 0 .../structs-enums/enum-discrim-width-stuff.rs | 0 .../structs-enums/enum-disr-val-pretty.rs | 0 .../structs-enums/enum-export-inheritance.rs | 0 .../structs-enums/enum-layout-optimization.rs | 0 .../enum-non-c-like-repr-c-and-int.rs | 0 .../structs-enums/enum-non-c-like-repr-c.rs | 0 .../structs-enums/enum-non-c-like-repr-int.rs | 0 .../structs-enums/enum-null-pointer-opt.rs | 0 .../enum-nullable-const-null-with-fields.rs | 0 .../enum-nullable-simplifycfg-misopt.rs | 0 .../structs-enums/enum-univariant-repr.rs | 0 .../structs-enums/enum-variants.rs | 0 .../structs-enums/enum-vec-initializer.rs | 0 .../structs-enums/export-abstract-tag.rs | 0 .../structs-enums/export-tag-variant.rs | 0 .../structs-enums/expr-if-struct.rs | 0 .../structs-enums/expr-match-struct.rs | 0 .../structs-enums/field-destruction-order.rs | 0 .../structs-enums/foreign-struct.rs | 0 .../structs-enums/functional-struct-upd.rs | 0 .../structs-enums/ivec-tag.rs | 0 .../module-qualified-struct-destructure.rs | 0 .../namespaced-enum-emulate-flat-xc.rs | 0 .../namespaced-enum-emulate-flat.rs | 0 .../namespaced-enum-glob-import-xcrate.rs | 0 .../namespaced-enum-glob-import.rs | 0 .../structs-enums/namespaced-enums-xcrate.rs | 0 .../structs-enums/namespaced-enums.rs | 0 .../structs-enums/nested-enum-same-names.rs | 0 .../structs-enums/newtype-struct-drop-run.rs | 0 .../structs-enums/newtype-struct-with-dtor.rs | 0 .../structs-enums/newtype-struct-xc-2.rs | 0 .../structs-enums/newtype-struct-xc.rs | 0 .../structs-enums/nonzero-enum.rs | 0 .../structs-enums/numeric-fields.rs | 0 ...object-lifetime-default-from-ref-struct.rs | 0 ...bject-lifetime-default-from-rptr-struct.rs | 0 .../structs-enums/rec-align-u32.rs | 0 .../structs-enums/rec-align-u64.rs | 0 .../structs-enums/rec-auto.rs | 0 .../structs-enums/rec-extend.rs | 0 .../{run-pass => ui}/structs-enums/rec-tup.rs | 0 .../{run-pass => ui}/structs-enums/rec.rs | 0 .../structs-enums/record-pat.rs | 0 .../structs-enums/resource-in-struct.rs | 0 .../structs-enums/simple-generic-tag.rs | 0 .../structs-enums/simple-match-generic-tag.rs | 0 .../structs-enums/small-enum-range-edge.rs | 0 .../structs-enums/small-enums-with-fields.rs | 0 .../structs-enums/struct-aliases-xcrate.rs | 0 .../structs-enums/struct-aliases.rs | 0 .../struct-destructuring-cross-crate.rs | 0 .../structs-enums/struct-field-shorthand.rs | 0 .../struct-like-variant-construct.rs | 0 .../struct-like-variant-match.rs | 0 .../struct-lit-functional-no-fields.rs | 0 .../structs-enums/struct-literal-dtor.rs | 0 .../structs-enums/struct-new-as-field-name.rs | 0 .../structs-enums/struct-order-of-eval-1.rs | 0 .../structs-enums/struct-order-of-eval-2.rs | 0 .../structs-enums/struct-order-of-eval-3.rs | 0 .../structs-enums/struct-order-of-eval-4.rs | 0 .../structs-enums/struct-partial-move-1.rs | 0 .../structs-enums/struct-partial-move-2.rs | 0 .../struct-path-associated-type.rs | 0 .../structs-enums/struct-path-self.rs | 0 .../structs-enums/struct-pattern-matching.rs | 0 .../structs-enums/struct-return.rs | 0 .../struct-variant-field-visibility.rs | 0 .../structs-enums/struct_variant_xc.rs | 0 .../structs-enums/struct_variant_xc_match.rs | 0 .../structs-enums/tag-align-dyn-u64.rs | 0 .../structs-enums/tag-align-dyn-variants.rs | 0 .../structs-enums/tag-align-shape.rs | 0 .../structs-enums/tag-align-u64.rs | 0 .../structs-enums/tag-disr-val-shape.rs | 0 .../structs-enums/tag-exports.rs | 0 .../structs-enums/tag-in-block.rs | 0 .../tag-variant-disr-type-mismatch.rs | 0 .../structs-enums/tag-variant-disr-val.rs | 0 .../{run-pass => ui}/structs-enums/tag.rs | 0 .../structs-enums/tuple-struct-construct.rs | 0 .../tuple-struct-constructor-pointer.rs | 0 .../tuple-struct-destructuring.rs | 0 .../structs-enums/tuple-struct-matching.rs | 0 .../structs-enums/tuple-struct-trivial.rs | 0 .../structs-enums/uninstantiable-struct.rs | 0 .../unit-like-struct-drop-run.rs | 0 .../structs-enums/unit-like-struct.rs | 0 .../structs-enums/variant-structs-trivial.rs | 0 .../{run-pass => ui}/structured-compare.rs | 0 .../super-fast-paren-parsing.rs | 0 src/test/{run-pass => ui}/super.rs | 0 src/test/{run-pass => ui}/supported-cast.rs | 0 src/test/{run-pass => ui}/svh-add-nothing.rs | 0 src/test/{run-pass => ui}/swap-1.rs | 0 src/test/{run-pass => ui}/swap-2.rs | 0 src/test/{run-pass => ui}/swap-overlapping.rs | 0 .../{run-pass => ui}/tail-call-arg-leak.rs | 0 src/test/{run-pass => ui}/tail-cps.rs | 0 src/test/{run-pass => ui}/tail-direct.rs | 0 src/test/{run-pass => ui}/tcp-stress.rs | 0 .../terminate-in-initializer.rs | 0 ...est-allow-dead-extern-static-no-warning.rs | 0 .../{run-pass => ui}/test-allow-fail-attr.rs | 0 ...e-verification-for-explicit-return-type.rs | 0 .../test-main-not-dead-attr.rs | 0 .../{run-pass => ui}/test-main-not-dead.rs | 0 .../test-runner-hides-buried-main.rs | 0 .../test-runner-hides-main.rs | 0 .../test-runner-hides-start.rs | 0 .../test-should-fail-good-message.rs | 0 src/test/{run-pass => ui}/test-vs-cfg-test.rs | 0 .../thin-lto-global-allocator.rs | 0 .../{run-pass => ui}/thinlto/all-crates.rs | 0 .../thinlto/auxiliary/dylib.rs | 0 .../thinlto/auxiliary/msvc-imp-present.rs | 0 .../thinlto/auxiliary/thin-lto-inlines-aux.rs | 0 .../{run-pass => ui}/thinlto/dylib-works.rs | 0 .../thinlto/msvc-imp-present.rs | 0 .../thinlto/thin-lto-inlines.rs | 0 .../thinlto/thin-lto-inlines2.rs | 0 .../{run-pass => ui}/thinlto/weak-works.rs | 0 .../thread-local-not-in-prelude.rs | 0 .../auxiliary/thread-local-extern-static.rs | 0 .../{run-pass => ui}/threads-sendsync/comm.rs | 0 .../send-is-not-static-par-for.rs | 0 .../threads-sendsync/send-resource.rs | 0 .../threads-sendsync/send-type-inference.rs | 0 .../threads-sendsync/send_str_hashmap.rs | 0 .../threads-sendsync/send_str_treemap.rs | 0 .../threads-sendsync/sendable-class.rs | 0 .../threads-sendsync/sendfn-is-a-block.rs | 0 .../sendfn-spawn-with-fn-arg.rs | 0 .../threads-sendsync/spawn-fn.rs | 0 .../threads-sendsync/spawn-types.rs | 0 .../threads-sendsync/spawn.rs | 0 .../threads-sendsync/spawn2.rs | 0 .../threads-sendsync/spawning-with-debug.rs | 0 .../std-sync-right-kind-impls.rs | 0 .../threads-sendsync/sync-send-atomics.rs | 0 .../threads-sendsync/sync-send-in-std.rs | 0 .../sync-send-iterators-in-libcollections.rs | 0 .../sync-send-iterators-in-libcore.rs | 0 .../threads-sendsync/task-comm-0.rs | 0 .../threads-sendsync/task-comm-1.rs | 0 .../threads-sendsync/task-comm-10.rs | 0 .../threads-sendsync/task-comm-11.rs | 0 .../threads-sendsync/task-comm-12.rs | 0 .../threads-sendsync/task-comm-13.rs | 0 .../threads-sendsync/task-comm-14.rs | 0 .../threads-sendsync/task-comm-15.rs | 0 .../threads-sendsync/task-comm-16.rs | 0 .../threads-sendsync/task-comm-17.rs | 0 .../threads-sendsync/task-comm-3.rs | 0 .../threads-sendsync/task-comm-4.rs | 0 .../threads-sendsync/task-comm-5.rs | 0 .../threads-sendsync/task-comm-6.rs | 0 .../threads-sendsync/task-comm-7.rs | 0 .../threads-sendsync/task-comm-9.rs | 0 .../threads-sendsync/task-comm-chan-nil.rs | 0 .../threads-sendsync/task-life-0.rs | 0 .../task-spawn-move-and-copy.rs | 0 .../threads-sendsync/task-stderr.rs | 0 .../thread-local-extern-static.rs | 0 .../threads-sendsync/thread-local-syntax.rs | 0 .../threads-sendsync/threads.rs | 0 .../tls-dtors-are-run-in-a-static-binary.rs | 0 .../threads-sendsync/tls-init-on-init.rs | 0 .../threads-sendsync/tls-try-with.rs | 0 src/test/{run-pass => ui}/tool_attributes.rs | 0 .../tool_lints_2018_preview.rs | 0 src/test/{run-pass => ui}/trailing-comma.rs | 0 .../traits/anon-trait-static-method.rs | 0 .../traits/anon_trait_static_method_exe.rs | 0 .../traits/assignability-trait.rs | 0 .../astconv-cycle-between-trait-and-type.rs | 0 .../traits/augmented-assignments-trait.rs | 0 .../{run-pass => ui}/traits/auto-traits.rs | 0 .../auxiliary/anon_trait_static_method_lib.rs | 0 .../traits/auxiliary/go_trait.rs | 0 .../traits/auxiliary/trait_alias.rs | 0 .../auxiliary/trait_default_method_xc_aux.rs | 0 .../trait_default_method_xc_aux_2.rs | 0 .../trait_inheritance_auto_xc_2_aux.rs | 0 .../trait_inheritance_auto_xc_aux.rs | 0 .../trait_inheritance_overloading_xc.rs | 0 .../traits/auxiliary/trait_xc_call_aux.rs | 0 .../traits/auxiliary/traitimpl.rs | 0 .../traits/cycle-trait-type-trait.rs | 0 .../default-method-supertrait-vtable.rs | 0 src/test/{run-pass => ui}/traits/dyn-trait.rs | 0 .../traits/fmt-pointer-trait.rs | 0 .../traits/impl-implicit-trait.rs | 0 .../traits/impl-inherent-prefer-over-trait.rs | 0 .../infer-from-object-trait-issue-26952.rs | 0 .../traits/inherent-trait-method-order.rs | 0 .../traits/kindck-owned-trait-contains-1.rs | 0 .../traits/multiple-trait-bounds.rs | 0 .../traits/object-one-type-two-traits.rs | 0 ...overlap-permitted-for-marker-traits-neg.rs | 0 .../overlap-permitted-for-marker-traits.rs | 0 .../traits/parameterized-trait-with-bounds.rs | 0 .../traits/principal-less-trait-objects.rs | 0 .../traits/supertrait-default-generics.rs | 0 .../traits/syntax-trait-polarity.rs | 0 .../traits/trait-alias-import-cross-crate.rs | 0 .../traits/trait-alias-import.rs | 0 .../traits/trait-bounds-basic.rs | 0 ...trait-bounds-impl-comparison-duplicates.rs | 0 .../traits/trait-bounds-in-arc.rs | 0 .../traits/trait-bounds-recursion.rs | 0 .../{run-pass => ui}/traits/trait-bounds.rs | 0 .../traits/trait-cache-issue-18209.rs | 0 .../traits/trait-coercion-generic.rs | 0 .../{run-pass => ui}/traits/trait-coercion.rs | 0 .../traits/trait-composition-trivial.rs | 0 .../traits/trait-copy-guessing.rs | 0 .../trait-default-method-bound-subst.rs | 0 .../trait-default-method-bound-subst2.rs | 0 .../trait-default-method-bound-subst3.rs | 0 .../trait-default-method-bound-subst4.rs | 0 .../traits/trait-default-method-bound.rs | 0 .../traits/trait-default-method-xc-2.rs | 0 .../traits/trait-default-method-xc.rs | 0 ...se-ambiguity-where-clause-builtin-bound.rs | 0 .../{run-pass => ui}/traits/trait-generic.rs | 0 .../{run-pass => ui}/traits/trait-impl-2.rs | 0 .../{run-pass => ui}/traits/trait-impl.rs | 0 .../traits/trait-inheritance-auto-xc-2.rs | 0 .../traits/trait-inheritance-auto-xc.rs | 0 .../traits/trait-inheritance-auto.rs | 0 .../trait-inheritance-call-bound-inherited.rs | 0 ...trait-inheritance-call-bound-inherited2.rs | 0 ...ritance-cast-without-call-to-supertrait.rs | 0 .../traits/trait-inheritance-cast.rs | 0 .../trait-inheritance-cross-trait-call-xc.rs | 0 .../trait-inheritance-cross-trait-call.rs | 0 .../traits/trait-inheritance-diamond.rs | 0 .../trait-inheritance-multiple-inheritors.rs | 0 .../trait-inheritance-multiple-params.rs | 0 .../traits/trait-inheritance-num.rs | 0 .../traits/trait-inheritance-num0.rs | 0 .../traits/trait-inheritance-num1.rs | 0 .../traits/trait-inheritance-num2.rs | 0 .../traits/trait-inheritance-num3.rs | 0 .../traits/trait-inheritance-num5.rs | 0 .../trait-inheritance-overloading-simple.rs | 0 .../trait-inheritance-overloading-xc-exe.rs | 0 .../traits/trait-inheritance-overloading.rs | 0 .../trait-inheritance-self-in-supertype.rs | 0 .../traits/trait-inheritance-self.rs | 0 .../traits/trait-inheritance-simple.rs | 0 .../traits/trait-inheritance-static.rs | 0 .../traits/trait-inheritance-static2.rs | 0 .../traits/trait-inheritance-subst.rs | 0 .../traits/trait-inheritance-subst2.rs | 0 .../traits/trait-inheritance-visibility.rs | 0 .../traits/trait-inheritance2.rs | 0 .../traits/trait-item-inside-macro.rs | 0 .../traits/trait-object-auto-dedup.rs | 0 .../traits/trait-object-exclusion.rs | 0 .../traits/trait-object-generics.rs | 0 .../traits/trait-object-lifetime-first.rs | 0 .../trait-object-with-lifetime-bound.rs | 0 .../traits/trait-region-pointer-simple.rs | 0 .../traits/trait-safety-ok-cc.rs | 0 .../traits/trait-safety-ok.rs | 0 .../traits/trait-static-method-overwriting.rs | 0 .../{run-pass => ui}/traits/trait-to-str.rs | 0 .../traits/trait-where-clause-vs-impl.rs | 0 .../traits/trait-with-bounds-default.rs | 0 .../traits/traits-assoc-type-in-supertrait.rs | 0 .../traits/traits-conditional-dispatch.rs | 0 .../traits/traits-conditional-model-fn.rs | 0 .../traits/traits-default-method-macro.rs | 0 .../traits/traits-default-method-mut.rs | 0 .../traits/traits-default-method-self.rs | 0 .../traits/traits-default-method-trivial.rs | 0 .../traits/traits-elaborate-type-region.rs | 0 .../traits-impl-object-overlap-issue-23853.rs | 0 .../traits/traits-issue-22019.rs | 0 .../traits/traits-issue-22110.rs | 0 .../traits/traits-issue-22655.rs | 0 .../traits/traits-issue-23003.rs | 0 .../traits/traits-issue-26339.rs | 0 ...aits-multidispatch-infer-convert-target.rs | 0 .../traits/traits-repeated-supertrait.rs | 0 .../traits/ufcs-trait-object.rs | 0 .../traits/use-trait-before-def.rs | 0 .../transmute-non-immediate-to-immediate.rs | 0 .../transmute-specialization.rs | 0 src/test/{run-pass => ui}/trivial-message.rs | 0 src/test/{run-pass => ui}/try-block.rs | 0 .../try-from-int-error-partial-eq.rs | 0 .../try-is-identifier-edition2015.rs | 0 .../{run-pass => ui}/try-operator-custom.rs | 0 .../{run-pass => ui}/try-operator-hygiene.rs | 0 src/test/{run-pass => ui}/try-operator.rs | 0 src/test/{run-pass => ui}/try-wait.rs | 0 src/test/{run-pass => ui}/try_from.rs | 0 src/test/{run-pass => ui}/tup.rs | 0 .../{run-pass => ui}/tuple-index-fat-types.rs | 0 src/test/{run-pass => ui}/tuple-index.rs | 0 src/test/{run-pass => ui}/tydesc-name.rs | 0 src/test/{run-pass => ui}/type-ascription.rs | 0 .../{run-pass => ui}/type-id-higher-rank-2.rs | 0 .../{run-pass => ui}/type-id-higher-rank.rs | 0 .../{run-pass => ui}/type-in-nested-module.rs | 0 .../type-infer-generalize-ty-var.rs | 0 src/test/{run-pass => ui}/type-namespace.rs | 0 .../type-param-constraints.rs | 0 src/test/{run-pass => ui}/type-param.rs | 0 .../type-params-in-for-each.rs | 0 src/test/{run-pass => ui}/type-ptr.rs | 0 src/test/{run-pass => ui}/type-sizes.rs | 0 .../{run-pass => ui}/type-use-i1-versus-i8.rs | 0 .../typeck-closure-to-unsafe-fn-ptr.rs | 0 .../typeck-fn-to-unsafe-fn-ptr.rs | 0 .../typeck_type_placeholder_1.rs | 0 .../typeclasses-eq-example-static.rs | 0 .../typeclasses-eq-example.rs | 0 src/test/{run-pass => ui}/typeid-intrinsic.rs | 0 .../{run-pass => ui}/typestate-cfg-nesting.rs | 0 .../{run-pass => ui}/typestate-multi-decl.rs | 0 .../ufcs-polymorphic-paths.rs | 0 src/test/{run-pass => ui}/ufcs-type-params.rs | 0 .../unary-minus-suffix-inference.rs | 0 .../auxiliary/unboxed-closures-cross-crate.rs | 0 .../unboxed-closures-all-traits.rs | 0 .../unboxed-closures-blanket-fn-mut.rs | 0 .../unboxed-closures-blanket-fn.rs | 0 .../unboxed-closures-boxed.rs | 0 .../unboxed-closures-by-ref.rs | 0 .../unboxed-closures-call-fn-autoderef.rs | 0 .../unboxed-closures-call-sugar-autoderef.rs | 0 ...ed-closures-call-sugar-object-autoderef.rs | 0 .../unboxed-closures-call-sugar-object.rs | 0 .../unboxed-closures-counter-not-moved.rs | 0 .../unboxed-closures-cross-crate.rs | 0 .../unboxed-closures-direct-sugary-call.rs | 0 .../unboxed-closures/unboxed-closures-drop.rs | 0 .../unboxed-closures-extern-fn-hr.rs | 0 .../unboxed-closures-extern-fn.rs | 0 ...unboxed-closures-fn-as-fnmut-and-fnonce.rs | 0 .../unboxed-closures-fnmut-as-fnonce.rs | 0 .../unboxed-closures-generic.rs | 0 ...res-infer-arg-types-from-expected-bound.rs | 0 ...fer-arg-types-from-expected-object-type.rs | 0 ...-types-w-bound-regs-from-expected-bound.rs | 0 ...oxed-closures-infer-explicit-call-early.rs | 0 ...oxed-closures-infer-fnmut-calling-fnmut.rs | 0 .../unboxed-closures-infer-fnmut-move.rs | 0 .../unboxed-closures-infer-fnmut.rs | 0 .../unboxed-closures-infer-fnonce-move.rs | 0 .../unboxed-closures-infer-fnonce.rs | 0 .../unboxed-closures-infer-kind.rs | 0 .../unboxed-closures-infer-recursive-fn.rs | 0 .../unboxed-closures-infer-upvar.rs | 0 .../unboxed-closures-manual-impl.rs | 0 .../unboxed-closures-monomorphization.rs | 0 ...osures-move-from-projection-issue-30046.rs | 0 .../unboxed-closures-move-mutable.rs | 0 ...ures-move-some-upvars-in-by-ref-closure.rs | 0 .../unboxed-closures-prelude.rs | 0 .../unboxed-closures-simple.rs | 0 .../unboxed-closures-single-word-env.rs | 0 .../unboxed-closures-static-call-fn-once.rs | 0 .../unboxed-closures-sugar-object.rs | 0 .../unboxed-closures-unique-type-id.rs | 0 .../unboxed-closures-zero-args.rs | 0 .../{run-pass => ui}/underscore-lifetimes.rs | 0 .../underscore-method-after-integer.rs | 0 .../uniform-paths/auxiliary/issue-53691.rs | 0 .../uniform-paths/basic-nested.rs | 0 .../{run-pass => ui}/uniform-paths/basic.rs | 0 .../uniform-paths/issue-53691.rs | 0 .../uniform-paths/macros-nested.rs | 0 .../{run-pass => ui}/uniform-paths/macros.rs | 0 .../uniform-paths/same-crate.rs | 0 src/test/{run-pass => ui}/unify-return-ty.rs | 0 .../{run-pass => ui}/uninit-empty-types.rs | 0 .../{run-pass => ui}/union/auxiliary/union.rs | 0 .../{run-pass => ui}/union/union-align.rs | 0 .../{run-pass => ui}/union/union-backcomp.rs | 0 .../{run-pass => ui}/union/union-basic.rs | 0 .../{run-pass => ui}/union/union-c-interop.rs | 0 .../union/union-const-codegen.rs | 0 .../union/union-const-eval-field.rs | 0 .../union/union-drop-assign.rs | 0 src/test/{run-pass => ui}/union/union-drop.rs | 0 .../union/union-inherent-method.rs | 0 .../{run-pass => ui}/union/union-macro.rs | 0 .../{run-pass => ui}/union/union-nodrop.rs | 0 .../{run-pass => ui}/union/union-nonzero.rs | 0 .../{run-pass => ui}/union/union-overwrite.rs | 0 .../{run-pass => ui}/union/union-packed.rs | 0 .../union/union-pat-refutability.rs | 0 .../union/union-trait-impl.rs | 0 .../{run-pass => ui}/union/union-transmute.rs | 0 .../unique/unique-assign-copy.rs | 0 .../unique/unique-assign-drop.rs | 0 .../unique/unique-assign-generic.rs | 0 .../{run-pass => ui}/unique/unique-assign.rs | 0 .../unique/unique-autoderef-field.rs | 0 .../unique/unique-autoderef-index.rs | 0 .../{run-pass => ui}/unique/unique-cmp.rs | 0 .../unique/unique-containing-tag.rs | 0 .../{run-pass => ui}/unique/unique-create.rs | 0 .../unique/unique-decl-init-copy.rs | 0 .../unique/unique-decl-init.rs | 0 .../unique/unique-decl-move.rs | 0 .../{run-pass => ui}/unique/unique-decl.rs | 0 .../{run-pass => ui}/unique/unique-deref.rs | 0 .../unique/unique-destructure.rs | 0 .../unique/unique-drop-complex.rs | 0 .../unique/unique-ffi-symbols.rs | 0 .../unique/unique-fn-arg-move.rs | 0 .../unique/unique-fn-arg-mut.rs | 0 .../{run-pass => ui}/unique/unique-fn-arg.rs | 0 .../{run-pass => ui}/unique/unique-fn-ret.rs | 0 .../unique/unique-generic-assign.rs | 0 .../{run-pass => ui}/unique/unique-in-tag.rs | 0 .../unique/unique-in-vec-copy.rs | 0 .../{run-pass => ui}/unique/unique-in-vec.rs | 0 .../{run-pass => ui}/unique/unique-init.rs | 0 .../{run-pass => ui}/unique/unique-kinds.rs | 0 .../{run-pass => ui}/unique/unique-log.rs | 0 .../unique/unique-match-discrim.rs | 0 .../unique/unique-move-drop.rs | 0 .../unique/unique-move-temp.rs | 0 .../{run-pass => ui}/unique/unique-move.rs | 0 .../{run-pass => ui}/unique/unique-mutable.rs | 0 .../unique/unique-object-move.rs | 0 .../{run-pass => ui}/unique/unique-pat-2.rs | 0 .../{run-pass => ui}/unique/unique-pat-3.rs | 0 .../{run-pass => ui}/unique/unique-pat.rs | 0 .../{run-pass => ui}/unique/unique-rec.rs | 0 .../{run-pass => ui}/unique/unique-send-2.rs | 0 .../{run-pass => ui}/unique/unique-send.rs | 0 .../{run-pass => ui}/unique/unique-swap.rs | 0 src/test/{run-pass => ui}/unit.rs | 0 .../{run-pass => ui}/unnamed_argument_mode.rs | 0 .../{run-pass => ui}/unreachable-code-1.rs | 0 src/test/{run-pass => ui}/unreachable-code.rs | 0 src/test/{run-pass => ui}/unsafe-coercion.rs | 0 .../unsafe-fn-called-from-unsafe-blk.rs | 0 .../unsafe-fn-called-from-unsafe-fn.rs | 0 .../unsafe-pointer-assignability.rs | 0 .../unsized-locals/autoderef.rs | 0 .../unsized-locals/box-fnonce.rs | 0 ...y-value-trait-object-safety-withdefault.rs | 0 .../reference-unsized-locals.rs | 0 .../unsized-locals/simple-unsized-locals.rs | 0 .../unsized-locals/unsized-parameters.rs | 0 .../{run-pass => ui}/unsized-tuple-impls.rs | 0 src/test/{run-pass => ui}/unsized.rs | 0 src/test/{run-pass => ui}/unsized2.rs | 0 .../{run-pass => ui}/unused-move-capture.rs | 0 src/test/{run-pass => ui}/unused-move.rs | 0 src/test/{run-pass => ui}/unwind-resource.rs | 0 src/test/{run-pass => ui}/unwind-unique.rs | 0 .../{run-pass => ui}/use-crate-name-alias.rs | 0 .../{run-pass => ui}/use-import-export.rs | 0 src/test/{run-pass => ui}/use-keyword-2.rs | 0 src/test/{run-pass => ui}/use-mod.rs | 0 .../{run-pass => ui}/use-nested-groups.rs | 0 src/test/{run-pass => ui}/use.rs | 0 src/test/{run-pass => ui}/use_inline_dtor.rs | 0 .../using-target-feature-unstable.rs | 0 src/test/{run-pass => ui}/utf8-bom.rs | 0 src/test/{run-pass => ui}/utf8.rs | 0 src/test/{run-pass => ui}/utf8_chars.rs | 0 src/test/{run-pass => ui}/variadic-ffi.rs | 0 ...ariance-intersection-of-ref-and-opt-ref.rs | 0 .../variance-iterators-in-libcore.rs | 0 src/test/{run-pass => ui}/volatile-fat-ptr.rs | 0 .../wait-forked-but-failed-child.rs | 0 .../{run-pass => ui}/warn-ctypes-inhibit.rs | 0 src/test/{run-pass => ui}/weak-lang-item.rs | 0 .../weak-new-uninhabited-issue-48493.rs | 0 src/test/{run-pass => ui}/weird-exit-code.rs | 0 src/test/{run-pass => ui}/weird-exprs.rs | 0 .../wf-bound-region-in-object-type.rs | 0 .../auxiliary/where_clauses_xc.rs | 0 .../where-clause-bounds-inconsistency.rs | 0 .../where-clause-early-bound-lifetimes.rs | 0 .../where-clause-region-outlives.rs | 0 .../where-clauses-cross-crate.rs | 0 .../where-clauses/where-clauses-lifetimes.rs | 0 .../where-clauses/where-clauses-method.rs | 0 .../where-clauses-unboxed-closures.rs | 0 .../where-clauses/where-clauses.rs | 0 src/test/{run-pass => ui}/wrapping-int-api.rs | 0 src/test/{run-pass => ui}/write-fmt-errors.rs | 0 src/test/{run-pass => ui}/writealias.rs | 0 .../wrong-hashset-issue-42918.rs | 0 src/test/{run-pass => ui}/x86stdcall.rs | 0 src/test/{run-pass => ui}/x86stdcall2.rs | 0 src/test/{run-pass => ui}/yield.rs | 0 src/test/{run-pass => ui}/yield1.rs | 0 src/test/{run-pass => ui}/yield2.rs | 0 src/test/{run-pass => ui}/z-crate-attr.rs | 0 .../zero-sized/zero-size-type-destructors.rs | 0 .../zero-sized/zero-sized-binary-heap-push.rs | 0 .../zero-sized/zero-sized-btreemap-insert.rs | 0 .../zero-sized/zero-sized-linkedlist-push.rs | 0 .../zero-sized/zero-sized-tuple-struct.rs | 0 .../zero-sized/zero-sized-vec-deque-push.rs | 0 .../zero-sized/zero-sized-vec-push.rs | 0 3226 files changed, 64 insertions(+), 196 deletions(-) delete mode 100644 src/test/run-pass/.gitattributes delete mode 100644 src/test/run-pass/if-ret.stderr delete mode 100644 src/test/run-pass/macros/macro-use-all-and-none.stderr delete mode 100644 src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs delete mode 100644 src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.stderr delete mode 100644 src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs delete mode 100644 src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.stderr delete mode 100644 src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/auxiliary/xcrate.rs delete mode 100644 src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs delete mode 100644 src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs delete mode 100644 src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/whitelisted.rs rename src/test/{run-pass-fulldeps => ui-fulldeps}/ast_stmt_expr_attr.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-13560-1.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-13560-2.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-13560-3.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-16822.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-18502.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-24106.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/issue-40001-plugin.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/linkage-visibility.rs (100%) rename src/test/{run-pass-fulldeps/auxiliary/lint-for-crate.rs => ui-fulldeps/auxiliary/lint-for-crate-rpass.rs} (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/llvm-pass-plugin.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/lto-syntax-extension-lib.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/lto-syntax-extension-plugin.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/macro-crate-test.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/outlive-expansion-phase.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/plugin-args.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/roman-numerals.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/auxiliary/syntax-extension-with-dll-deps-1.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/compiler-calls.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/create-dir-all-bare.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/derive-no-std-not-supported.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/deriving-encodable-decodable-box.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/deriving-encodable-decodable-cell-refcell.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/deriving-global.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/deriving-hygiene.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/dropck_tarena_sound_drop.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/empty-struct-braces-derive.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/extern-mod-syntax.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-11881.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-13560.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-14021.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-15149.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-15778-pass.rs (78%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-15924.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-16822.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-18502.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-24106.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-24972.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-2804.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-40001.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-4016.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/issue-4036.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/linkage-visibility.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/llvm-pass-plugin.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/lto-syntax-extension.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/macro-crate-multi-decorator.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/mod_dir_path_canonicalized.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/mod_dir_simple/compiletest-ignore-dir (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/mod_dir_simple/test.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/myriad-closures.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/newtype_index.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/outlive-expansion-phase.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/plugin-args-1.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/plugin-args-2.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/plugin-args-3.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/pprust-expr-roundtrip.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/regions-mock-tcx.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/rename-directory.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/roman-numerals-macro.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/rustc_encodable_hygiene.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/stdio-from.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/switch-stdout.rs (100%) rename src/test/{run-pass-fulldeps => ui-fulldeps}/undef_mask.rs (100%) rename src/test/{run-pass => ui}/abi-sysv64-arg-passing.rs (100%) rename src/test/{run-pass => ui}/abi-sysv64-register-usage.rs (100%) rename src/test/{run-pass => ui}/abi/issues/issue-62350-sysv-neg-reg-counts.rs (100%) rename src/test/{run-pass => ui}/abort-on-c-abi.rs (100%) rename src/test/{run-pass => ui}/alias-uninit-value.rs (100%) rename src/test/{run-pass => ui}/align-with-extern-c-fn.rs (100%) rename src/test/{run-pass => ui}/alignment-gep-tup-like-1.rs (100%) rename src/test/{run-pass => ui}/alloca-from-derived-tydesc.rs (100%) rename src/test/{run-pass => ui}/allocator-alloc-one.rs (100%) rename src/test/{run-pass => ui}/allocator/auxiliary/custom-as-global.rs (100%) rename src/test/{run-pass => ui}/allocator/auxiliary/custom.rs (100%) rename src/test/{run-pass => ui}/allocator/auxiliary/helper.rs (100%) rename src/test/{run-pass => ui}/allocator/custom-in-block.rs (100%) rename src/test/{run-pass => ui}/allocator/custom-in-submodule.rs (100%) rename src/test/{run-pass => ui}/allocator/custom.rs (100%) rename src/test/{run-pass => ui}/allocator/xcrate-use.rs (100%) rename src/test/{run-pass => ui}/allocator/xcrate-use2.rs (100%) rename src/test/{run-pass => ui}/anon-extern-mod.rs (100%) rename src/test/{run-pass => ui}/argument-passing.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/arr_cycle.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/array_const_index-1.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/box-of-array-of-drop-1.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/box-of-array-of-drop-2.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/cast-in-array-size.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/check-static-mut-slices.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/check-static-slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/copy-out-of-array-1.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/destructure-array-1.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/empty-mutable-vec.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/estr-slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/evec-slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/fixed_length_copy.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/huge-largest-array.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/ivec-pass-by-value.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/mutable-alias-vec.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/nested-vec-1.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/nested-vec-2.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/nested-vec-3.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/new-style-fixed-length-vec.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/rcvr-borrowed-to-slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/repeated-vector-syntax.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/show-boxed-slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/slice-2.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/slice-of-zero-size-elements.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/slice-panic-1.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/slice-panic-2.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/slice_binary_search.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/variance-vec-covariant.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-concat.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-dst.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-fixed-length.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-growth.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-late-init.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-macro-no-std.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-macro-repeat.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-macro-rvalue-scope.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-macro-with-brackets.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-macro-with-trailing-comma.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-matching-autoslice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-matching-fixed.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-matching-fold.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-matching-legal-tail-element-borrow.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-matching.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-push.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-repeat-with-cast.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-slice-drop.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-slice.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-tail-matching.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec-to_str.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec_cycle.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vec_cycle_wrapped.rs (100%) rename src/test/{run-pass => ui}/array-slice-vec/vector-no-ann-2.rs (100%) rename src/test/{run-pass => ui}/artificial-block.rs (100%) rename src/test/{run-pass => ui}/as-precedence.rs (100%) rename src/test/{run-pass => ui}/asm-concat-src.rs (100%) rename src/test/{run-pass => ui}/asm-in-moved.rs (100%) rename src/test/{run-pass => ui}/asm-in-out-operand.rs (100%) rename src/test/{run-pass => ui}/asm-indirect-memory.rs (100%) rename src/test/{run-pass => ui}/asm-out-assign.rs (100%) rename src/test/{run-pass => ui}/assert-eq-trailing-comma.rs (100%) rename src/test/{run-pass => ui}/assert-escape.rs (100%) rename src/test/{run-pass => ui}/assert-ne-trailing-comma.rs (100%) rename src/test/{run-pass => ui}/assign-assign.rs (100%) rename src/test/{run-pass => ui}/assoc-oddities-3.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-const-eval.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-cross-crate-const-eval.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-cross-crate-defaults.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-cross-crate.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-in-global-const.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-inherent-impl.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-marks-live-code.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-match-patterns.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-outer-ty-refs.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-overwrite-default.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-public-impl.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-range-match-patterns.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-resolution-order.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-self-type.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-type-parameters.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-ufcs-infer-trait.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-use-default.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const-use-impl-of-same-trait.rs (100%) rename src/test/{run-pass => ui}/associated-consts/associated-const.rs (100%) rename src/test/{run-pass => ui}/associated-consts/auxiliary/associated-const-cc-lib.rs (100%) rename src/test/{run-pass => ui}/associated-consts/auxiliary/empty-struct.rs (100%) rename src/test/{run-pass => ui}/associated-item-long-paths.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-basic.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-binding-in-trait.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-binding-in-where-clause.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-bound.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-cc.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-conditional-dispatch.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-constant-type.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-doubleendediterator-object.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-duplicate-binding-in-env.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-enum-field-named.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-enum-field-numbered.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-eq-obj.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-from-supertrait.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-impl-redirect.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-in-bound-type-arg.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-in-default-method.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-in-fn.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-in-impl-generics.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-in-inherent-method.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-issue-20220.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-issue-20371.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-issue-21212.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-iterator-binding.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-method.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-nested-projections.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-normalize-in-bounds-binding.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-normalize-in-bounds-ufcs.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-normalize-in-bounds.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-normalize-unifield-struct.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-projection-bound-in-supertraits.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-projection-from-known-type-in-impl.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-projection-in-object-type.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-projection-in-supertrait.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-projection-in-where-clause.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-projection-to-unrelated-trait.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-ref-from-struct.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-ref-in-struct-literal.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-region-erasure-issue-20582.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-resolve-lifetime.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-return.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-simple.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-stream.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-struct-field-named.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-struct-field-numbered.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-sugar-path.rs (100%) rename src/test/{run-pass => ui}/associated-types/associated-types-where-clause-impl-ambiguity.rs (100%) rename src/test/{run-pass => ui}/associated-types/auxiliary/associated-types-cc-lib.rs (100%) rename src/test/{run-pass => ui}/atomic-access-bool.rs (100%) rename src/test/{run-pass => ui}/atomic-alignment.rs (100%) rename src/test/{run-pass => ui}/atomic-compare_exchange.rs (100%) rename src/test/{run-pass => ui}/atomic-print.rs (100%) rename src/test/{run-pass => ui}/attr-main-2.rs (100%) rename src/test/{run-pass => ui}/attr-main.rs (100%) rename src/test/{run-pass => ui}/attr-shebang.rs (100%) rename src/test/{run-pass => ui}/attr-start.rs (100%) rename src/test/{run-pass => ui}/attr.rs (100%) rename src/test/{run-pass => ui}/augmented-assignments-feature-gate-cross.rs (100%) rename src/test/{run-pass => ui}/augmented-assignments-feature-gate.rs (100%) rename src/test/{run-pass => ui}/auto-instantiate.rs (100%) rename src/test/{run-pass => ui}/auto-is-contextual.rs (100%) rename src/test/{run-pass => ui}/autobind.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/auto-ref-bounded-ty-param.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/auto-ref-sliceable.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/auto-ref.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-and-borrow-method-receiver.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-method-on-trait.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-method-priority.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-method-twice.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-method.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoderef-privacy.rs (100%) rename src/test/{run-pass => ui}/autoref-autoderef/autoref-intermediate-types-issue-3585.rs (100%) rename src/test/{run-pass => ui}/auxiliary/anon-extern-mod-cross-crate-1.rs (100%) rename src/test/{run-pass => ui}/auxiliary/augmented_assignments.rs (100%) rename src/test/{run-pass => ui}/auxiliary/blind-item-mixed-crate-use-item-foo.rs (100%) rename src/test/{run-pass => ui}/auxiliary/blind-item-mixed-crate-use-item-foo2.rs (100%) rename src/test/{run-pass => ui}/auxiliary/check_static_recursion_foreign_helper.rs (100%) rename src/test/{run-pass => ui}/auxiliary/cond_plugin.rs (100%) rename src/test/{run-pass => ui}/auxiliary/crate-method-reexport-grrrrrrr2.rs (100%) rename src/test/{run-pass => ui}/auxiliary/debuginfo-lto-aux.rs (100%) rename src/test/{run-pass => ui}/auxiliary/edition-kw-macro-2015.rs (100%) rename src/test/{run-pass => ui}/auxiliary/edition-kw-macro-2018.rs (100%) rename src/test/{run-pass => ui}/auxiliary/foreign_lib.rs (100%) rename src/test/{run-pass => ui}/auxiliary/hello_macro.rs (100%) rename src/test/{run-pass => ui}/auxiliary/impl_privacy_xc_1.rs (100%) rename src/test/{run-pass => ui}/auxiliary/impl_privacy_xc_2.rs (100%) rename src/test/{run-pass => ui}/auxiliary/inline_dtor.rs (100%) rename src/test/{run-pass => ui}/auxiliary/inner_static.rs (100%) rename src/test/{run-pass => ui}/auxiliary/kinds_in_metadata.rs (100%) rename src/test/{run-pass => ui}/auxiliary/link-cfg-works-transitive-dylib.rs (100%) rename src/test/{run-pass => ui}/auxiliary/link-cfg-works-transitive-rlib.rs (100%) rename src/test/{run-pass => ui}/auxiliary/linkage1.rs (100%) rename src/test/{run-pass => ui}/auxiliary/llvm_pr32379.rs (100%) rename src/test/{run-pass => ui}/auxiliary/msvc-data-only-lib.rs (100%) rename src/test/{run-pass => ui}/auxiliary/nested_item.rs (100%) rename src/test/{run-pass => ui}/auxiliary/proc_macro_def.rs (100%) rename src/test/{run-pass => ui}/auxiliary/reachable-unnameable-items.rs (100%) rename src/test/{run-pass => ui}/auxiliary/reexport-should-still-link.rs (100%) rename src/test/{run-pass => ui}/auxiliary/rmeta-rmeta.rs (100%) rename src/test/{run-pass => ui}/auxiliary/svh-a-base.rs (100%) rename src/test/{run-pass => ui}/auxiliary/svh-b.rs (100%) rename src/test/{run-pass => ui}/auxiliary/trait_superkinds_in_metadata.rs (100%) rename src/test/{run-pass => ui}/auxiliary/typeid-intrinsic-aux1.rs (100%) rename src/test/{run-pass => ui}/auxiliary/typeid-intrinsic-aux2.rs (100%) rename src/test/{run-pass => ui}/auxiliary/using-target-feature-unstable.rs (100%) rename src/test/{run-pass => ui}/backtrace-debuginfo-aux.rs (100%) rename src/test/{run-pass => ui}/backtrace-debuginfo.rs (100%) rename src/test/{run-pass => ui}/backtrace.rs (100%) rename src/test/{run-pass => ui}/bare-fn-implements-fn-mut.rs (100%) rename src/test/{run-pass => ui}/bare-static-string.rs (100%) rename src/test/{run-pass => ui}/bench/issue-32062.rs (100%) rename src/test/{run-pass => ui}/big-literals.rs (100%) rename src/test/{run-pass => ui}/binary-minus-without-space.rs (100%) rename src/test/{run-pass => ui}/bind-by-move.rs (100%) rename src/test/{run-pass => ui}/binding/bind-field-short-with-modifiers.rs (100%) rename src/test/{run-pass => ui}/binding/borrowed-ptr-pattern-2.rs (100%) rename src/test/{run-pass => ui}/binding/borrowed-ptr-pattern-3.rs (100%) rename src/test/{run-pass => ui}/binding/borrowed-ptr-pattern-infallible.rs (100%) rename src/test/{run-pass => ui}/binding/borrowed-ptr-pattern-option.rs (100%) rename src/test/{run-pass => ui}/binding/borrowed-ptr-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/empty-types-in-patterns.rs (100%) rename src/test/{run-pass => ui}/binding/exhaustive-bool-match-sanity.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match-generic-unique1.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match-generic-unique2.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match-generic.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match-panic-all.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match-panic.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match-unique.rs (100%) rename src/test/{run-pass => ui}/binding/expr-match.rs (100%) rename src/test/{run-pass => ui}/binding/fat-arrow-match.rs (100%) rename src/test/{run-pass => ui}/binding/fn-arg-incomplete-pattern-drop-order.rs (100%) rename src/test/{run-pass => ui}/binding/fn-pattern-expected-type-2.rs (100%) rename src/test/{run-pass => ui}/binding/fn-pattern-expected-type.rs (100%) rename src/test/{run-pass => ui}/binding/func-arg-incomplete-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/func-arg-ref-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/func-arg-wild-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/if-let.rs (100%) rename src/test/{run-pass => ui}/binding/inconsistent-lifetime-mismatch.rs (100%) rename src/test/{run-pass => ui}/binding/inferred-suffix-in-pattern-range.rs (100%) rename src/test/{run-pass => ui}/binding/irrefutable-slice-patterns.rs (100%) rename src/test/{run-pass => ui}/binding/let-assignability.rs (100%) rename src/test/{run-pass => ui}/binding/let-destruct-ref.rs (100%) rename src/test/{run-pass => ui}/binding/let-var-hygiene.rs (100%) rename src/test/{run-pass => ui}/binding/match-arm-statics.rs (100%) rename src/test/{run-pass => ui}/binding/match-beginning-vert.rs (100%) rename src/test/{run-pass => ui}/binding/match-borrowed_str.rs (100%) rename src/test/{run-pass => ui}/binding/match-bot-2.rs (100%) rename src/test/{run-pass => ui}/binding/match-bot.rs (100%) rename src/test/{run-pass => ui}/binding/match-byte-array-patterns.rs (100%) rename src/test/{run-pass => ui}/binding/match-enum-struct-0.rs (100%) rename src/test/{run-pass => ui}/binding/match-enum-struct-1.rs (100%) rename src/test/{run-pass => ui}/binding/match-implicit-copy-unique.rs (100%) rename src/test/{run-pass => ui}/binding/match-in-macro.rs (100%) rename src/test/{run-pass => ui}/binding/match-join.rs (100%) rename src/test/{run-pass => ui}/binding/match-larger-const.rs (100%) rename src/test/{run-pass => ui}/binding/match-naked-record-expr.rs (100%) rename src/test/{run-pass => ui}/binding/match-naked-record.rs (100%) rename src/test/{run-pass => ui}/binding/match-path.rs (100%) rename src/test/{run-pass => ui}/binding/match-pattern-bindings.rs (100%) rename src/test/{run-pass => ui}/binding/match-pattern-lit.rs (100%) rename src/test/{run-pass => ui}/binding/match-pattern-no-type-params.rs (100%) rename src/test/{run-pass => ui}/binding/match-pattern-simple.rs (100%) rename src/test/{run-pass => ui}/binding/match-phi.rs (100%) rename src/test/{run-pass => ui}/binding/match-pipe-binding.rs (100%) rename src/test/{run-pass => ui}/binding/match-range-infer.rs (100%) rename src/test/{run-pass => ui}/binding/match-range-static.rs (100%) rename src/test/{run-pass => ui}/binding/match-range.rs (100%) rename src/test/{run-pass => ui}/binding/match-reassign.rs (100%) rename src/test/{run-pass => ui}/binding/match-ref-binding-in-guard-3256.rs (100%) rename src/test/{run-pass => ui}/binding/match-ref-binding-mut-option.rs (100%) rename src/test/{run-pass => ui}/binding/match-ref-binding-mut.rs (100%) rename src/test/{run-pass => ui}/binding/match-ref-binding.rs (100%) rename src/test/{run-pass => ui}/binding/match-ref-unsized.rs (100%) rename src/test/{run-pass => ui}/binding/match-str.rs (100%) rename src/test/{run-pass => ui}/binding/match-struct-0.rs (100%) rename src/test/{run-pass => ui}/binding/match-tag.rs (100%) rename src/test/{run-pass => ui}/binding/match-unique-bind.rs (100%) rename src/test/{run-pass => ui}/binding/match-unsized.rs (100%) rename src/test/{run-pass => ui}/binding/match-value-binding-in-guard-3291.rs (100%) rename src/test/{run-pass => ui}/binding/match-var-hygiene.rs (100%) rename src/test/{run-pass => ui}/binding/match-vec-alternatives.rs (100%) rename src/test/{run-pass => ui}/binding/match-vec-rvalue.rs (100%) rename src/test/{run-pass => ui}/binding/match-with-ret-arm.rs (100%) rename src/test/{run-pass => ui}/binding/multi-let.rs (100%) rename src/test/{run-pass => ui}/binding/mut-in-ident-patterns.rs (100%) rename src/test/{run-pass => ui}/binding/nested-exhaustive-match.rs (100%) rename src/test/{run-pass => ui}/binding/nested-matchs.rs (100%) rename src/test/{run-pass => ui}/binding/nested-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/nil-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/nullary-or-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/optional_comma_in_match_arm.rs (100%) rename src/test/{run-pass => ui}/binding/or-pattern.rs (100%) rename src/test/{run-pass => ui}/binding/order-drop-with-match.rs (100%) rename src/test/{run-pass => ui}/binding/pat-ranges.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-1.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-2.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-3.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-4.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-5.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-6.rs (100%) rename src/test/{run-pass => ui}/binding/pat-tuple-7.rs (100%) rename src/test/{run-pass => ui}/binding/pattern-bound-var-in-for-each.rs (100%) rename src/test/{run-pass => ui}/binding/pattern-in-closure.rs (100%) rename src/test/{run-pass => ui}/binding/range-inclusive-pattern-precedence.rs (100%) rename src/test/{run-pass => ui}/binding/simple-generic-match.rs (100%) rename src/test/{run-pass => ui}/binding/use-uninit-match.rs (100%) rename src/test/{run-pass => ui}/binding/use-uninit-match2.rs (100%) rename src/test/{run-pass => ui}/binding/zero_sized_subslice_match.rs (100%) rename src/test/{run-pass => ui}/binops-issue-22743.rs (100%) rename src/test/{run-pass => ui}/binops.rs (100%) rename src/test/{run-pass => ui}/bitwise.rs (100%) rename src/test/{run-pass => ui}/blind-item-local-shadow.rs (100%) rename src/test/{run-pass => ui}/blind-item-mixed-crate-use-item.rs (100%) rename src/test/{run-pass => ui}/blind-item-mixed-use-item.rs (100%) rename src/test/{run-pass => ui}/block-arg-call-as.rs (100%) rename src/test/{run-pass => ui}/block-arg.rs (100%) rename src/test/{run-pass => ui}/block-explicit-types.rs (100%) rename src/test/{run-pass => ui}/block-expr-precedence.rs (100%) rename src/test/{run-pass => ui}/block-fn-coerce.rs (100%) rename src/test/{run-pass => ui}/block-iter-1.rs (100%) rename src/test/{run-pass => ui}/block-iter-2.rs (100%) rename src/test/{run-pass => ui}/bool-not.rs (100%) rename src/test/{run-pass => ui}/bool.rs (100%) rename src/test/{run-pass => ui}/borrow-by-val-method-receiver.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-assign-to-subfield.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-assignment-to-static-mut.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-binding-mutbl.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-borrow-from-expr-block.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-borrow-of-mut-base-ptr-safe.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-closures-two-imm.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-fixed-length-vecs.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-freeze-frozen-mut.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-lend-args.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-macro-interaction-issue-6304.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-move-by-capture-ok.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-multiple-borrows-interior-boxes.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-mut-uniq.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-mut-vec-as-imm-slice.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-pat-enum.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-pat-reassign-no-binding.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-rvalues-mutable.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-scope-of-deref-issue-4666.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-static-item-in-fn.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-trait-lifetime.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-uniq-via-ref.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-univariant-enum.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-unsafe-static-mutable-borrows.rs (100%) rename src/test/{run-pass => ui}/borrowck/borrowck-unused-mut-locals.rs (100%) rename src/test/{run-pass => ui}/borrowck/issue-62007-assign-box.rs (100%) rename src/test/{run-pass => ui}/borrowck/issue-62007-assign-field.rs (100%) rename src/test/{run-pass => ui}/borrowck/two-phase-baseline.rs (100%) rename src/test/{run-pass => ui}/borrowck/two-phase-bin-ops.rs (100%) rename src/test/{run-pass => ui}/borrowck/two-phase-control-flow-split-before-activation.rs (100%) rename src/test/{run-pass => ui}/box-new.rs (100%) rename src/test/{run-pass => ui}/bug-7183-generics.rs (100%) rename src/test/{run-pass => ui}/bug-7295.rs (100%) rename src/test/{run-pass => ui}/builtin-clone-unwind.rs (100%) rename src/test/{run-pass => ui}/builtin-clone.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-capabilities-transitive.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-capabilities-xc.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-capabilities.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-in-metadata.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-phantom-typaram.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-simple.rs (100%) rename src/test/{run-pass => ui}/builtin-superkinds-typaram.rs (100%) rename src/test/{run-pass => ui}/byte-literals.rs (100%) rename src/test/{run-pass => ui}/c-stack-as-value.rs (100%) rename src/test/{run-pass => ui}/c-stack-returning-int64.rs (100%) rename src/test/{run-pass => ui}/cabi-int-widening.rs (100%) rename src/test/{run-pass => ui}/can-copy-pod.rs (100%) rename src/test/{run-pass => ui}/cancel-clean-via-immediate-rvalue-ref.rs (100%) rename src/test/{run-pass => ui}/cast-does-fallback.rs (100%) rename src/test/{run-pass => ui}/cast-region-to-uint.rs (100%) rename src/test/{run-pass => ui}/cast-rfc0401-vtable-kinds.rs (100%) rename src/test/{run-pass => ui}/cast-rfc0401.rs (100%) rename src/test/{run-pass => ui}/cast-to-infer-ty.rs (100%) rename src/test/{run-pass => ui}/cast.rs (100%) rename src/test/{run-pass => ui}/catch-unwind-bang.rs (100%) rename src/test/{run-pass => ui}/cell-does-not-clone.rs (100%) rename src/test/{run-pass => ui}/cfg/auxiliary/cfg_inner_static.rs (100%) rename src/test/{run-pass => ui}/cfg/auxiliary/crate-attributes-using-cfg_attr.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-attr-cfg.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-attr-crate.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-family.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-in-crate-1.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-macros-foo.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-macros-notfoo.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-match-arm.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-target-family.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg-target-vendor.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg_attr.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg_inner_static.rs (100%) rename src/test/{run-pass => ui}/cfg/cfg_stmt_expr.rs (100%) rename src/test/{run-pass => ui}/cfg/cfgs-on-items.rs (100%) rename src/test/{run-pass => ui}/cfg/conditional-compile-arch.rs (100%) rename src/test/{run-pass => ui}/cfg/conditional-compile.rs (100%) rename src/test/{run-pass => ui}/cfg/crate-attributes-using-cfg_attr.rs (100%) rename src/test/{run-pass => ui}/chalkify/builtin-copy-clone.rs (100%) rename src/test/{run-pass => ui}/chalkify/inherent_impl.rs (100%) rename src/test/{run-pass => ui}/chalkify/projection.rs (100%) rename src/test/{run-pass => ui}/chalkify/super_trait.rs (100%) rename src/test/{run-pass => ui}/chalkify/trait_implied_bound.rs (100%) rename src/test/{run-pass => ui}/chalkify/type_implied_bound.rs (100%) rename src/test/{run-pass => ui}/char.rs (100%) rename src/test/{run-pass => ui}/char_unicode.rs (100%) rename src/test/{run-pass => ui}/check-static-recursion-foreign.rs (100%) rename src/test/{run-pass => ui}/check_const-feature-gated.rs (100%) rename src/test/{run-pass => ui}/child-outlives-parent.rs (100%) rename src/test/{run-pass => ui}/cleanup-arm-conditional.rs (100%) rename src/test/{run-pass => ui}/cleanup-rvalue-during-if-and-while.rs (100%) rename src/test/{run-pass => ui}/cleanup-rvalue-for-scope.rs (100%) rename src/test/{run-pass => ui}/cleanup-rvalue-scopes.rs (100%) rename src/test/{run-pass => ui}/cleanup-rvalue-temp-during-incomplete-alloc.rs (100%) rename src/test/{run-pass => ui}/cleanup-shortcircuit.rs (100%) rename src/test/{run-pass => ui}/clone-with-exterior.rs (100%) rename src/test/{run-pass => ui}/close-over-big-then-small-data.rs (100%) rename src/test/{run-pass => ui}/cmp-default.rs (100%) rename src/test/{run-pass => ui}/codegen-object-shim.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-expect-unsized.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-overloaded-autoderef.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-imm-ptr-arg.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-imm-ptr-rcvr.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-imm-vec-arg.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-imm-vec-rcvr.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-mut-ptr-arg.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-mut-ptr-rcvr.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-mut-vec-arg.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-reborrow-mut-vec-rcvr.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-unify-return.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-unify.rs (100%) rename src/test/{run-pass => ui}/coerce/coerce-unsize-subtype.rs (100%) rename src/test/{run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs => ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs} (100%) rename src/test/{run-pass => ui}/coherence/coherence-bigint-int.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-bigint-vecint.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-blanket.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-covered-type-parameter.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-impl-in-fn.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-iterator-vec-any-elem.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-iterator-vec.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-multidispatch-tuple.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-rfc447-constrained.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence-where-clause.rs (100%) rename src/test/{run-pass => ui}/coherence/coherence_copy_like.rs (100%) rename src/test/{run-pass => ui}/coherence/re-rebalance-coherence-default-generic-associated-type.rs (83%) rename src/test/{run-pass => ui}/collections-const-new.rs (100%) rename src/test/{run-pass => ui}/command-exec.rs (100%) rename src/test/{run-pass => ui}/command-pre-exec.rs (100%) rename src/test/{run-pass => ui}/command-uid-gid.rs (100%) rename src/test/{run-pass => ui}/complex.rs (100%) rename src/test/{run-pass => ui}/consts/assoc-const.rs (100%) rename src/test/{run-pass => ui}/consts/auxiliary/anon-extern-mod-cross-crate-1.rs (100%) rename src/test/{run-pass => ui}/consts/auxiliary/cci_borrow_lib.rs (100%) rename src/test/{run-pass => ui}/consts/auxiliary/cci_const.rs (100%) rename src/test/{run-pass => ui}/consts/auxiliary/cci_const_block.rs (100%) rename src/test/{run-pass => ui}/consts/bswap-const.rs (100%) rename src/test/{run-pass => ui}/consts/chained-constants-stackoverflow.rs (100%) rename src/test/{run-pass => ui}/consts/const-adt-align-mismatch.rs (100%) rename src/test/{run-pass => ui}/consts/const-autoderef.rs (100%) rename src/test/{run-pass => ui}/consts/const-big-enum.rs (100%) rename src/test/{run-pass => ui}/consts/const-binops.rs (100%) rename src/test/{run-pass => ui}/consts/const-bitshift-rhs-inference.rs (100%) rename src/test/{run-pass => ui}/consts/const-block-cross-crate-fn.rs (100%) rename src/test/{run-pass => ui}/consts/const-block-item-macro-codegen.rs (100%) rename src/test/{run-pass => ui}/consts/const-block-item.rs (100%) rename src/test/{run-pass => ui}/consts/const-block-non-item-statement-3.rs (100%) rename src/test/{run-pass => ui}/consts/const-block.rs (100%) rename src/test/{run-pass => ui}/consts/const-bound.rs (100%) rename src/test/{run-pass => ui}/consts/const-byte-str-cast.rs (100%) rename src/test/{run-pass => ui}/consts/const-cast-ptr-int.rs (100%) rename src/test/{run-pass => ui}/consts/const-cast.rs (100%) rename src/test/{run-pass => ui}/consts/const-const.rs (100%) rename src/test/{run-pass => ui}/consts/const-contents.rs (100%) rename src/test/{run-pass => ui}/consts/const-cross-crate-const.rs (100%) rename src/test/{run-pass => ui}/consts/const-cross-crate-extern.rs (100%) rename src/test/{run-pass => ui}/consts/const-deref.rs (100%) rename src/test/{run-pass => ui}/consts/const-endianess.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-byref-self.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-byref.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-cast.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-ptr.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-struct.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-struct2.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-structlike.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-tuple.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-tuple2.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-tuplestruct.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-tuplestruct2.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-vec-index.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-vec-ptr.rs (100%) rename src/test/{run-pass => ui}/consts/const-enum-vector.rs (100%) rename src/test/{run-pass => ui}/consts/const-expr-in-fixed-length-vec.rs (100%) rename src/test/{run-pass => ui}/consts/const-expr-in-vec-repeat.rs (100%) rename src/test/{run-pass => ui}/consts/const-extern-function.rs (100%) rename src/test/{run-pass => ui}/consts/const-fields-and-indexing.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-const-eval.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-feature-flags.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-method.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-nested.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-stability-calls.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-type-name.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn-val.rs (100%) rename src/test/{run-pass => ui}/consts/const-fn.rs (100%) rename src/test/{run-pass => ui}/consts/const-index-feature-gate.rs (100%) rename src/test/{run-pass => ui}/consts/const-int-saturating-arith.rs (100%) rename src/test/{run-pass => ui}/consts/const-meth-pattern.rs (100%) rename src/test/{run-pass => ui}/consts/const-needs_drop.rs (100%) rename src/test/{run-pass => ui}/consts/const-negation.rs (100%) rename src/test/{run-pass => ui}/consts/const-negative.rs (100%) rename src/test/{run-pass => ui}/consts/const-nullary-enum.rs (100%) rename src/test/{run-pass => ui}/consts/const-nullary-univariant-enum.rs (100%) rename src/test/{run-pass => ui}/consts/const-pattern-variant.rs (100%) rename src/test/{run-pass => ui}/consts/const-rec-and-tup.rs (100%) rename src/test/{run-pass => ui}/consts/const-region-ptrs-noncopy.rs (100%) rename src/test/{run-pass => ui}/consts/const-region-ptrs.rs (100%) rename src/test/{run-pass => ui}/consts/const-repeated-values.rs (100%) rename src/test/{run-pass => ui}/consts/const-size_of-align_of.rs (100%) rename src/test/{run-pass => ui}/consts/const-str-ptr.rs (100%) rename src/test/{run-pass => ui}/consts/const-struct-offsets.rs (100%) rename src/test/{run-pass => ui}/consts/const-struct.rs (100%) rename src/test/{run-pass => ui}/consts/const-trait-to-trait.rs (100%) rename src/test/{run-pass => ui}/consts/const-tuple-struct.rs (100%) rename src/test/{run-pass => ui}/consts/const-unit-struct.rs (100%) rename src/test/{run-pass => ui}/consts/const-unsafe-fn.rs (100%) rename src/test/{run-pass => ui}/consts/const-vec-of-fns.rs (100%) rename src/test/{run-pass => ui}/consts/const-vec-syntax.rs (100%) rename src/test/{run-pass => ui}/consts/const-vecs-and-slices.rs (100%) rename src/test/{run-pass => ui}/consts/const.rs (100%) rename src/test/{run-pass => ui}/consts/consts-in-patterns.rs (100%) rename src/test/{run-pass => ui}/consts/deref_in_pattern.rs (100%) rename src/test/{run-pass => ui}/consts/ice-48279.rs (100%) rename src/test/{run-pass => ui}/consts/issue-37550.rs (100%) rename src/test/{run-pass => ui}/consts/issue-broken-mir.rs (100%) rename src/test/{run-pass => ui}/consts/locals-in-const-fn.rs (100%) rename src/test/{run-pass => ui}/consts/match-const-fn-structs.rs (100%) rename src/test/{run-pass => ui}/consts/mozjs-error.rs (100%) rename src/test/{run-pass => ui}/consts/non-scalar-cast.rs (100%) rename src/test/{run-pass => ui}/consts/promotion.rs (100%) rename src/test/{run-pass => ui}/consts/references.rs (100%) rename src/test/{run-pass => ui}/consts/repeat_match.rs (100%) rename src/test/{run-pass => ui}/consts/return-in-const-fn.rs (100%) rename src/test/{run-pass => ui}/consts/signed_enum_discr.rs (100%) rename src/test/{run-pass => ui}/consts/transmute-const.rs (100%) rename src/test/{run-pass => ui}/consts/tuple-struct-constructors.rs (100%) rename src/test/{run-pass => ui}/core-run-destroy.rs (100%) rename src/test/{run-pass => ui}/crate-leading-sep.rs (100%) rename src/test/{run-pass => ui}/crate-method-reexport-grrrrrrr.rs (100%) rename src/test/{run-pass => ui}/crate-name-attr-used.rs (100%) rename src/test/{run-pass => ui}/cross-crate/anon-extern-mod-cross-crate-2.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/anon-extern-mod-cross-crate-1.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/anon_trait_static_method_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_borrow_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_capture_clause.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_const.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_impl_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_iter_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_nested_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/cci_no_inline_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/moves_based_on_type_lib.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/newtype_struct_xc.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/pub_static_array.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/reexported_static_methods.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/xcrate_address_insignificant.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/xcrate_associated_type_defaults.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/xcrate_generic_fn_nested_return.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/xcrate_static_addresses.rs (100%) rename src/test/{run-pass => ui}/cross-crate/auxiliary/xcrate_unit_struct.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cci_borrow.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cci_capture_clause.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cci_impl_exe.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cci_iter_exe.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cci_nested_exe.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cci_no_inline_exe.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cross-crate-const-pat.rs (100%) rename src/test/{run-pass => ui}/cross-crate/cross-crate-newtype-struct-pat.rs (100%) rename src/test/{run-pass => ui}/cross-crate/moves-based-on-type-cross-crate.rs (100%) rename src/test/{run-pass => ui}/cross-crate/reexported-static-methods-cross-crate.rs (100%) rename src/test/{run-pass => ui}/cross-crate/static-array-across-crate.rs (100%) rename src/test/{run-pass => ui}/cross-crate/xcrate-address-insignificant.rs (100%) rename src/test/{run-pass => ui}/cross-crate/xcrate-associated-type-defaults.rs (100%) rename src/test/{run-pass => ui}/cross-crate/xcrate-static-addresses.rs (100%) rename src/test/{run-pass => ui}/cross-crate/xcrate-trait-lifetime-param.rs (100%) rename src/test/{run-pass => ui}/cross-crate/xcrate-unit-struct.rs (100%) rename src/test/{run-pass => ui}/cross-crate/xcrate_generic_fn_nested_return.rs (100%) rename src/test/{run-pass => ui}/crt-static-off-works.rs (100%) rename src/test/{run-pass => ui}/crt-static-on-works.rs (100%) rename src/test/{run-pass => ui}/cycle-generic-bound.rs (100%) rename src/test/{run-pass => ui}/dead-code-alias-in-pat.rs (100%) rename src/test/{run-pass => ui}/dead-code-leading-underscore.rs (100%) rename src/test/{run-pass => ui}/debuginfo-lto.rs (100%) rename src/test/{run-pass => ui}/deep.rs (100%) rename src/test/{run-pass => ui}/default-alloc-error-hook.rs (100%) rename src/test/{run-pass => ui}/default-associated-types.rs (100%) rename src/test/{run-pass => ui}/default-method-parsing.rs (100%) rename src/test/{run-pass => ui}/default-method-simple.rs (100%) rename src/test/{run-pass => ui}/defaults-well-formedness.rs (100%) rename src/test/{run-pass => ui}/deprecation-in-force-unstable.rs (100%) rename src/test/{run-pass => ui}/deref-lval.rs (100%) rename src/test/{run-pass => ui}/deref-mut-on-ref.rs (100%) rename src/test/{run-pass => ui}/deref-on-ref.rs (100%) rename src/test/{run-pass => ui}/deref-rc.rs (100%) rename src/test/{run-pass => ui}/deref.rs (100%) rename src/test/{run-pass => ui}/deriving/auxiliary/derive-no-std.rs (100%) rename src/test/{run-pass => ui}/deriving/derive-no-std.rs (100%) rename src/test/{run-pass => ui}/deriving/derive-partialord-correctness.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-associated-types.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-bounds.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-array.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-generic-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-generic-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-generic-tuple-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-clone-tuple-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-cmp-generic-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-cmp-generic-struct-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-cmp-generic-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-cmp-generic-tuple-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-cmp-shortcircuit.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-copyclone.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-default-box.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-enum-single-variant.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-eq-ord-boxed-slice.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-hash.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-in-fn.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-in-macro.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-meta-multiple.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-meta.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-self-lifetime-totalord-totaleq.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-show-2.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-show.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-c-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-hash-enum.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-hash-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-struct-empty.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-struct-like-enum-variant.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-struct-tuple.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-struct.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-via-extension-type-params.rs (100%) rename src/test/{run-pass => ui}/deriving/deriving-with-repr-packed.rs (100%) rename src/test/{run-pass => ui}/dispatch_from_dyn_zst.rs (100%) rename src/test/{run-pass => ui}/diverging-fallback-control-flow.rs (100%) rename src/test/{run-pass => ui}/diverging-fallback-method-chain.rs (100%) rename src/test/{run-pass => ui}/diverging-fallback-option.rs (100%) rename src/test/{run-pass => ui}/double-ref.rs (100%) rename src/test/{run-pass => ui}/drop/auxiliary/dropck_eyepatch_extern_crate.rs (100%) rename src/test/{run-pass => ui}/drop/drop-on-empty-block-exit.rs (100%) rename src/test/{run-pass => ui}/drop/drop-on-ret.rs (100%) rename src/test/{run-pass => ui}/drop/drop-struct-as-object.rs (100%) rename src/test/{run-pass => ui}/drop/drop-trait-enum.rs (100%) rename src/test/{run-pass => ui}/drop/drop-trait-generic.rs (100%) rename src/test/{run-pass => ui}/drop/drop-trait.rs (100%) rename src/test/{run-pass => ui}/drop/drop-uninhabited-enum.rs (100%) rename src/test/{run-pass => ui}/drop/drop-with-type-ascription-1.rs (100%) rename src/test/{run-pass => ui}/drop/drop-with-type-ascription-2.rs (100%) rename src/test/{run-pass => ui}/drop/dropck-eyepatch-extern-crate.rs (100%) rename src/test/{run-pass => ui}/drop/dropck-eyepatch-reorder.rs (100%) rename src/test/{run-pass => ui}/drop/dropck-eyepatch.rs (100%) rename src/test/{run-pass => ui}/drop/dropck_legal_cycles.rs (100%) rename src/test/{run-pass => ui}/drop/dynamic-drop-async.rs (100%) rename src/test/{run-pass => ui}/drop/dynamic-drop.rs (100%) rename src/test/{run-pass => ui}/drop/no-drop-flag-size.rs (100%) rename src/test/{run-pass => ui}/drop/nondrop-cycle.rs (100%) rename src/test/{run-pass => ui}/dupe-first-attr.rc (100%) rename src/test/{run-pass => ui}/duplicated-external-mods.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-coerce-custom.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-coerce-rc.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-coercions.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-deref-mut.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-deref.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-field-align.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-index.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-irrefutable-bind.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-raw.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-struct-sole.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-struct.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-trait-tuple.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-trait.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-tuple-sole.rs (100%) rename src/test/{run-pass => ui}/dynamically-sized-types/dst-tuple.rs (100%) rename src/test/{run-pass => ui}/early-ret-binop-add.rs (100%) rename src/test/{run-pass => ui}/early-vtbl-resolution.rs (100%) rename src/test/{run-pass => ui}/edition-keywords-2015-2015.rs (100%) rename src/test/{run-pass => ui}/edition-keywords-2015-2018.rs (100%) rename src/test/{run-pass => ui}/edition-keywords-2018-2015.rs (100%) rename src/test/{run-pass => ui}/edition-keywords-2018-2018.rs (100%) rename src/test/{run-pass => ui}/else-if.rs (100%) rename src/test/{run-pass => ui}/empty-allocation-non-null.rs (100%) rename src/test/{run-pass => ui}/empty-allocation-rvalue-non-null.rs (100%) rename src/test/{run-pass => ui}/empty-type-parameter-list.rs (100%) rename src/test/{run-pass => ui}/empty_global_asm.rs (100%) rename src/test/{run-pass => ui}/env-args-reverse-iterator.rs (100%) rename src/test/{run-pass => ui}/env-funky-keys.rs (100%) rename src/test/{run-pass => ui}/env-home-dir.rs (100%) rename src/test/{run-pass => ui}/env-null-vars.rs (100%) rename src/test/{run-pass => ui}/env-vars.rs (100%) rename src/test/{run-pass => ui}/epoch-gate-feature.rs (100%) rename src/test/{run-pass => ui}/eq-multidispatch.rs (100%) rename src/test/{run-pass => ui}/estr-uniq.rs (100%) rename src/test/{run-pass => ui}/exec-env.rs (100%) rename src/test/{run-pass => ui}/existential_type.rs (100%) rename src/test/{run-pass => ui}/explicit-i-suffix.rs (100%) rename src/test/{run-pass => ui}/export-glob-imports-target.rs (100%) rename src/test/{run-pass => ui}/export-multi.rs (100%) rename src/test/{run-pass => ui}/export-non-interference2.rs (100%) rename src/test/{run-pass => ui}/export-non-interference3.rs (100%) rename src/test/{run-pass => ui}/expr-block-fn.rs (100%) rename src/test/{run-pass => ui}/expr-block-generic-unique1.rs (100%) rename src/test/{run-pass => ui}/expr-block-generic-unique2.rs (100%) rename src/test/{run-pass => ui}/expr-block-generic.rs (100%) rename src/test/{run-pass => ui}/expr-block-slot.rs (100%) rename src/test/{run-pass => ui}/expr-block-unique.rs (100%) rename src/test/{run-pass => ui}/expr-block.rs (100%) rename src/test/{run-pass => ui}/expr-copy.rs (100%) rename src/test/{run-pass => ui}/expr-empty-ret.rs (100%) rename src/test/{run-pass => ui}/expr-fn.rs (100%) rename src/test/{run-pass => ui}/expr-if-generic.rs (100%) rename src/test/{run-pass => ui}/expr-if-panic-all.rs (100%) rename src/test/{run-pass => ui}/expr-if-panic.rs (100%) rename src/test/{run-pass => ui}/expr-if-unique.rs (100%) rename src/test/{run-pass => ui}/expr-if.rs (100%) rename src/test/{run-pass => ui}/expr-scope.rs (100%) rename src/test/{run-pass => ui}/ext-expand-inner-exprs.rs (100%) rename src/test/{run-pass => ui}/extend-for-unit.rs (100%) rename src/test/{run-pass => ui}/exterior.rs (100%) rename src/test/{run-pass => ui}/extern/auxiliary/extern-crosscrate-source.rs (100%) rename src/test/{run-pass => ui}/extern/auxiliary/extern-take-value.rs (100%) rename src/test/{run-pass => ui}/extern/auxiliary/extern_calling_convention.rs (100%) rename src/test/{run-pass => ui}/extern/auxiliary/extern_mod_ordering_lib.rs (100%) rename src/test/{run-pass => ui}/extern/auxiliary/fat_drop.rs (100%) rename src/test/{run-pass => ui}/extern/extern-1.rs (100%) rename src/test/{run-pass => ui}/extern/extern-call-deep.rs (100%) rename src/test/{run-pass => ui}/extern/extern-call-deep2.rs (100%) rename src/test/{run-pass => ui}/extern/extern-call-direct.rs (100%) rename src/test/{run-pass => ui}/extern/extern-call-indirect.rs (100%) rename src/test/{run-pass => ui}/extern/extern-call-scrub.rs (100%) rename src/test/{run-pass => ui}/extern/extern-calling-convention-test.rs (100%) rename src/test/{run-pass => ui}/extern/extern-compare-with-return-type.rs (100%) rename src/test/{run-pass => ui}/extern/extern-crosscrate.rs (100%) rename src/test/{run-pass => ui}/extern/extern-foreign-crate.rs (100%) rename src/test/{run-pass => ui}/extern/extern-methods.rs (100%) rename src/test/{run-pass => ui}/extern/extern-mod-abi.rs (100%) rename src/test/{run-pass => ui}/extern/extern-mod-ordering-exe.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-TwoU16s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-TwoU32s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-TwoU64s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-TwoU8s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-char.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-double.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-empty.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-u32.rs (100%) rename src/test/{run-pass => ui}/extern/extern-pass-u64.rs (100%) rename src/test/{run-pass => ui}/extern/extern-prelude-core.rs (100%) rename src/test/{run-pass => ui}/extern/extern-prelude-core.stderr (100%) rename src/test/{run-pass => ui}/extern/extern-prelude-no-speculative.rs (100%) rename src/test/{run-pass => ui}/extern/extern-prelude-std.rs (100%) rename src/test/{run-pass => ui}/extern/extern-prelude-std.stderr (100%) rename src/test/{run-pass => ui}/extern/extern-pub.rs (100%) rename src/test/{run-pass => ui}/extern/extern-return-TwoU16s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-return-TwoU32s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-return-TwoU64s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-return-TwoU8s.rs (100%) rename src/test/{run-pass => ui}/extern/extern-rust.rs (100%) rename src/test/{run-pass => ui}/extern/extern-take-value.rs (100%) rename src/test/{run-pass => ui}/extern/extern-thiscall.rs (100%) rename src/test/{run-pass => ui}/extern/extern-types-inherent-impl.rs (100%) rename src/test/{run-pass => ui}/extern/extern-types-manual-sync-send.rs (100%) rename src/test/{run-pass => ui}/extern/extern-types-pointer-cast.rs (100%) rename src/test/{run-pass => ui}/extern/extern-types-size_of_val.rs (100%) rename src/test/{run-pass => ui}/extern/extern-types-thin-pointer.rs (100%) rename src/test/{run-pass => ui}/extern/extern-types-trait-impl.rs (100%) rename src/test/{run-pass => ui}/extern/extern-vectorcall.rs (100%) rename src/test/{run-pass => ui}/extern/extern_fat_drop.rs (100%) rename src/test/{run-pass => ui}/extoption_env-not-defined.rs (100%) rename src/test/{run-pass => ui}/fact.rs (100%) rename src/test/{run-pass => ui}/fat-lto.rs (100%) rename src/test/{run-pass => ui}/fds-are-cloexec.rs (100%) rename src/test/{run-pass => ui}/filter-block-view-items.rs (100%) rename src/test/{run-pass => ui}/fixup-deref-mut.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/auto-loop.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/break-value.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/break.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-destruct.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-goofiness.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-has-unit-body.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-into-iterator.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-lifetime-of-unbound-values.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-macro.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-mut-ref-element.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-no-std.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-panic.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-external-iterators-break.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-external-iterators-hashmap.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-external-iterators-loop.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-external-iterators-nested.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-external-iterators.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-nested.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-put-structured.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/foreach-simple-outer-slot.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/label_break_value.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/labeled-break.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/linear-for-loop.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/liveness-assign-imm-local-after-loop.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/liveness-loop-break.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/liveness-move-in-loop.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-break-cont-1.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-break-cont.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-break-value.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-diverges.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-label-shadowing.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-labeled-break-value.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-no-reinit-needed-post-bot.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/loop-scope.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-cont.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-flow-graph.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-label.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-let.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-loop-constraints-2.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-prelude-drop.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while-with-break.rs (100%) rename src/test/{run-pass => ui}/for-loop-while/while.rs (100%) rename src/test/{run-pass => ui}/foreign/auxiliary/fn-abi.rs (100%) rename src/test/{run-pass => ui}/foreign/auxiliary/foreign_lib.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-call-no-runtime.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-dupe.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-fn-linkname.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-fn-with-byval.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-int-types.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-mod-src/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/foreign/foreign-mod-src/inner.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-mod-unused-const.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-no-abi.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-src/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/foreign/foreign-src/foreign.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign-truncated-arguments.rs (100%) rename src/test/{run-pass => ui}/foreign/foreign2.rs (100%) rename src/test/{run-pass => ui}/format-hygiene.rs (100%) rename src/test/{run-pass => ui}/format-nan.rs (100%) rename src/test/{run-pass => ui}/format-no-std.rs (100%) rename src/test/{run-pass => ui}/format-ref-cell.rs (100%) rename src/test/{run-pass => ui}/fsu-moves-and-copies.rs (100%) rename src/test/{run-pass => ui}/fun-call-variants.rs (100%) rename src/test/{run-pass => ui}/fun-indirect-call.rs (100%) rename src/test/{run-pass => ui}/functions-closures/auxiliary/fn-abi.rs (100%) rename src/test/{run-pass => ui}/functions-closures/call-closure-from-overloaded-op.rs (100%) rename src/test/{run-pass => ui}/functions-closures/capture-clauses-boxed-closures.rs (100%) rename src/test/{run-pass => ui}/functions-closures/capture-clauses-unboxed-closures.rs (100%) rename src/test/{run-pass => ui}/functions-closures/clone-closure.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-bounds-can-capture-chan.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-expected-type/README.md (100%) rename src/test/{run-pass => ui}/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-expected-type/issue-38714.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-expected-type/supply-just-return-type.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-expected-type/supply-nothing.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-immediate.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-inference.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-inference2.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-reform.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-returning-closure.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure-to-fn-coercion.rs (100%) rename src/test/{run-pass => ui}/functions-closures/closure_to_fn_coercion-expected-types.rs (100%) rename src/test/{run-pass => ui}/functions-closures/copy-closure.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-abi.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-bare-assign.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-bare-coerce-to-block.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-bare-item.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-bare-size.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-bare-spawn.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-coerce-field.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-item-type-cast.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-item-type-coerce.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-item-type-zero-sized.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-lval.rs (100%) rename src/test/{run-pass => ui}/functions-closures/fn-type-infer.rs (100%) rename src/test/{run-pass => ui}/functions-closures/implied-bounds-closure-arg-outlives.rs (100%) rename src/test/{run-pass => ui}/functions-closures/nullable-pointer-opt-closures.rs (100%) rename src/test/{run-pass => ui}/functions-closures/parallel-codegen-closures.rs (100%) rename src/test/{run-pass => ui}/functions-closures/return-from-closure.rs (100%) rename src/test/{run-pass => ui}/generator/addassign-yield.rs (100%) rename src/test/{run-pass => ui}/generator/auxiliary/xcrate-reachable.rs (100%) rename src/test/{run-pass => ui}/generator/auxiliary/xcrate.rs (100%) rename src/test/{run-pass => ui}/generator/borrow-in-tail-expr.rs (100%) rename src/test/{run-pass => ui}/generator/conditional-drop.rs (100%) rename src/test/{run-pass => ui}/generator/control-flow.rs (100%) rename src/test/{run-pass => ui}/generator/drop-and-replace.rs (100%) rename src/test/{run-pass => ui}/generator/drop-env.rs (100%) rename src/test/{run-pass => ui}/generator/issue-44197.rs (100%) rename src/test/{run-pass => ui}/generator/issue-52398.rs (100%) rename src/test/{run-pass => ui}/generator/issue-57084.rs (100%) rename src/test/{run-pass => ui}/generator/issue-58888.rs (100%) rename src/test/{run-pass => ui}/generator/iterator-count.rs (100%) rename src/test/{run-pass => ui}/generator/live-upvar-across-yield.rs (100%) rename src/test/{run-pass => ui}/generator/match-bindings.rs (100%) rename src/test/{run-pass => ui}/generator/nested_generators.rs (100%) rename src/test/{run-pass => ui}/generator/non-static-is-unpin.rs (100%) rename src/test/{run-pass => ui}/generator/overlap-locals.rs (100%) rename src/test/{run-pass => ui}/generator/panic-drops.rs (100%) rename src/test/{run-pass => ui}/generator/panic-safe.rs (100%) rename src/test/{run-pass => ui}/generator/pin-box-generator.rs (100%) rename src/test/{run-pass => ui}/generator/reborrow-mut-upvar.rs (100%) rename src/test/{run-pass => ui}/generator/resume-after-return.rs (100%) rename src/test/{run-pass => ui}/generator/size-moved-locals.rs (100%) rename src/test/{run-pass => ui}/generator/smoke.rs (100%) rename src/test/{run-pass => ui}/generator/static-generators.rs (100%) rename src/test/{run-pass => ui}/generator/too-live-local-in-immovable-gen.rs (100%) rename src/test/{run-pass => ui}/generator/xcrate-reachable.rs (100%) rename src/test/{run-pass => ui}/generator/xcrate.rs (100%) rename src/test/{run-pass => ui}/generator/yield-in-args-rev.rs (100%) rename src/test/{run-pass => ui}/generator/yield-in-box.rs (100%) rename src/test/{run-pass => ui}/generator/yield-in-initializer.rs (100%) rename src/test/{run-pass => ui}/generator/yield-subtype.rs (100%) rename src/test/{run-pass => ui}/generics/auxiliary/default_type_params_xc.rs (100%) rename src/test/{run-pass => ui}/generics/generic-alias-unique.rs (100%) rename src/test/{run-pass => ui}/generics/generic-default-type-params-cross-crate.rs (100%) rename src/test/{run-pass => ui}/generics/generic-default-type-params.rs (100%) rename src/test/{run-pass => ui}/generics/generic-derived-type.rs (100%) rename src/test/{run-pass => ui}/generics/generic-exterior-unique.rs (100%) rename src/test/{run-pass => ui}/generics/generic-extern-mangle.rs (100%) rename src/test/{run-pass => ui}/generics/generic-fn-infer.rs (100%) rename src/test/{run-pass => ui}/generics/generic-fn-twice.rs (100%) rename src/test/{run-pass => ui}/generics/generic-fn-unique.rs (100%) rename src/test/{run-pass => ui}/generics/generic-fn.rs (100%) rename src/test/{run-pass => ui}/generics/generic-ivec-leak.rs (100%) rename src/test/{run-pass => ui}/generics/generic-newtype-struct.rs (100%) rename src/test/{run-pass => ui}/generics/generic-object.rs (100%) rename src/test/{run-pass => ui}/generics/generic-recursive-tag.rs (100%) rename src/test/{run-pass => ui}/generics/generic-static-methods.rs (100%) rename src/test/{run-pass => ui}/generics/generic-tag-corruption.rs (100%) rename src/test/{run-pass => ui}/generics/generic-tag-local.rs (100%) rename src/test/{run-pass => ui}/generics/generic-tag-match.rs (100%) rename src/test/{run-pass => ui}/generics/generic-tag-values.rs (100%) rename src/test/{run-pass => ui}/generics/generic-tag.rs (100%) rename src/test/{run-pass => ui}/generics/generic-temporary.rs (100%) rename src/test/{run-pass => ui}/generics/generic-tup.rs (100%) rename src/test/{run-pass => ui}/generics/generic-type-synonym.rs (100%) rename src/test/{run-pass => ui}/generics/generic-type.rs (100%) rename src/test/{run-pass => ui}/generics/generic-unique.rs (100%) rename src/test/{run-pass => ui}/global-scope.rs (100%) rename src/test/{run-pass => ui}/guards-not-exhaustive.rs (100%) rename src/test/{run-pass => ui}/guards.rs (100%) rename src/test/{run-pass => ui}/hashmap-memory.rs (100%) rename src/test/{run-pass => ui}/hello.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-fn-like-trait.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-opt-in-copy.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-parse.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-type-outlives.rs (100%) rename src/test/{run-pass => ui}/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs (100%) rename src/test/{run-pass => ui}/html-literals.rs (100%) rename src/test/{run-pass => ui}/if-bot.rs (100%) rename src/test/{run-pass => ui}/if-check.rs (100%) rename src/test/{run-pass => ui}/if-ret.rs (100%) rename src/test/{run-pass => ui}/ifmt.rs (100%) rename src/test/{run-pass => ui}/ignore-all-the-things.rs (100%) rename src/test/{run-pass => ui}/impl-for-never.rs (100%) rename src/test/{run-pass => ui}/impl-inherent-non-conflict.rs (100%) rename src/test/{run-pass => ui}/impl-not-adjacent-to-type.rs (100%) rename src/test/{run-pass => ui}/impl-privacy-xc-1.rs (100%) rename src/test/{run-pass => ui}/impl-privacy-xc-2.rs (100%) rename src/test/{run-pass => ui}/impl-trait-in-bindings.rs (100%) rename src/test/{run-pass => ui}/impl-trait-in-bindings.stderr (100%) rename src/test/{run-pass => ui}/impl-trait/auxiliary/xcrate.rs (100%) rename src/test/{run-pass => ui}/impl-trait/bounds_regression.rs (100%) rename src/test/{run-pass => ui}/impl-trait/example-calendar.rs (100%) rename src/test/{run-pass => ui}/impl-trait/example-st.rs (100%) rename src/test/{run-pass => ui}/impl-trait/lifetimes.rs (100%) rename src/test/{run-pass => ui}/impl-trait/nesting.rs (100%) rename src/test/{run-pass => ui}/impl-trait/universal_hrtb_anon.rs (100%) rename src/test/{run-pass => ui}/impl-trait/universal_hrtb_named.rs (100%) rename src/test/{run-pass => ui}/impl-trait/universal_in_adt_in_parameters.rs (100%) rename src/test/{run-pass => ui}/impl-trait/universal_in_impl_trait_in_parameters.rs (100%) rename src/test/{run-pass => ui}/impl-trait/universal_in_trait_defn_parameters.rs (100%) rename src/test/{run-pass => ui}/impl-trait/universal_multiple_bounds.rs (100%) rename src/test/{run-pass => ui}/impl-trait/xcrate.rs (100%) rename src/test/{run-pass => ui}/impl-trait/xcrate_simple.rs (100%) rename src/test/{run-pass => ui}/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans.rs (100%) rename src/test/{run-pass => ui}/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans_macros.rs (100%) rename src/test/{run-pass => ui}/imports/import-crate-with-invalid-spans/main.rs (100%) rename src/test/{run-pass => ui}/imports/import-from.rs (100%) rename src/test/{run-pass => ui}/imports/import-glob-1.rs (100%) rename src/test/{run-pass => ui}/imports/import-glob-crate.rs (100%) rename src/test/{run-pass => ui}/imports/import-in-block.rs (100%) rename src/test/{run-pass => ui}/imports/import-prefix-macro.rs (100%) rename src/test/{run-pass => ui}/imports/import-rename.rs (100%) rename src/test/{run-pass => ui}/imports/import-trailing-comma.rs (100%) rename src/test/{run-pass => ui}/imports/import.rs (100%) rename src/test/{run-pass => ui}/imports/import2.rs (100%) rename src/test/{run-pass => ui}/imports/import3.rs (100%) rename src/test/{run-pass => ui}/imports/import4.rs (100%) rename src/test/{run-pass => ui}/imports/import5.rs (100%) rename src/test/{run-pass => ui}/imports/import6.rs (100%) rename src/test/{run-pass => ui}/imports/import7.rs (100%) rename src/test/{run-pass => ui}/imports/import8.rs (100%) rename src/test/{run-pass => ui}/imports/imports.rs (100%) rename src/test/{run-pass => ui}/in-band-lifetimes.rs (100%) rename src/test/{run-pass => ui}/inc-range-pat.rs (100%) rename src/test/{run-pass => ui}/infer-fn-tail-expr.rs (100%) rename src/test/{run-pass => ui}/inherit-env.rs (100%) rename src/test/{run-pass => ui}/init-large-type.rs (100%) rename src/test/{run-pass => ui}/init-res-into-things.rs (100%) rename src/test/{run-pass => ui}/inlined-main.rs (100%) rename src/test/{run-pass => ui}/inner-attrs-on-impl.rs (100%) rename src/test/{run-pass => ui}/inner-module.rs (100%) rename src/test/{run-pass => ui}/inner-static.rs (100%) rename src/test/{run-pass => ui}/instantiable.rs (100%) rename src/test/{run-pass => ui}/intrinsics/auxiliary/cci_intrinsic.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-alignment.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-assume.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-atomics-cc.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-atomics.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-move-val-cleanups.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-move-val.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsic-unreachable.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsics-integer.rs (100%) rename src/test/{run-pass => ui}/intrinsics/intrinsics-math.rs (100%) rename src/test/{run-pass => ui}/invalid_const_promotion.rs (100%) rename src/test/{run-pass => ui}/invoke-external-foreign.rs (100%) rename src/test/{run-pass => ui}/irrefutable-unit.rs (100%) rename src/test/{run-pass => ui}/issue-59020.rs (100%) rename src/test/{run-pass => ui}/issues/.gitattributes (100%) rename src/test/{run-pass => ui}/issues/auxiliary/cgu_test.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/cgu_test_a.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/cgu_test_b.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/i8.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/iss.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-10028.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-10031-aux.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-11224.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-11225-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-11225-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-11225-3.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-11508.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-11529.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-12133-dylib.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-12133-dylib2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-12133-rlib.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-12612-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-12612-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-12660-aux.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-13507.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-13620-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-13620-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-13872-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-13872-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-13872-3.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-14344-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-14344-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-14421.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-14422.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-15562.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-16643.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-17662.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-17718-aux.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-18501.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-18514.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-18711.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-18913-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-18913-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-19293.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-19340-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-20389.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2170-lib.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2316-a.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2316-b.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2380.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2414-a.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2414-b.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2472-b.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-25185-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-25185-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2526.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-25467.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2631-a.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-2723-a.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-29485.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-3012-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-3136-a.rc (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-3136-a.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-31702-1.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-31702-2.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-34796-aux.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-36954.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-38190.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-38226-aux.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-38715-modern.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-38715.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-3979-traits.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-39823.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-40469.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-41053.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-41394.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-42007-s.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-4208-cc.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-4545.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-48984-aux.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-5518.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-5521.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-7178.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-7899.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-8044.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-8259.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-8401.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-9123.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-9155.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-9188.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-9906.rs (100%) rename src/test/{run-pass => ui}/issues/auxiliary/issue-9968.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10025.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10028.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10031.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10228.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10392.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10436.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10626.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10638.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10682.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10683.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10718.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10734.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10767.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10802.rs (100%) rename src/test/{run-pass => ui}/issues/issue-10806.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11047.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11085.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1112.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11205.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11224.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11225-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11225-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11225-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11267.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11382.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11508.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11529.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11552.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11577.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11677.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11709.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11820.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11940.rs (100%) rename src/test/{run-pass => ui}/issues/issue-11958.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12033.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12133-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12133-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12133-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12285.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1257.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12582.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12612.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12660.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12677.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12699.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12744.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12860.rs (100%) rename src/test/{run-pass => ui}/issues/issue-12909.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13027.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13204.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13259-windows-tcb-trash.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13264.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13304.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13323.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13434.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13507-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13620.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13655.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13665.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13763.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13808.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13867.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13872.rs (100%) rename src/test/{run-pass => ui}/issues/issue-13902.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14229.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14308.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14344.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14382.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14393.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14399.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14421.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14422.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14456.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1451.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14589.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1460.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14821.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14865.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14875.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14919.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14940.rs (100%) rename src/test/{run-pass => ui}/issues/issue-14958.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15043.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15063.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15080.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15104.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15155.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15189.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15221.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15444.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15487.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15523-big.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15523.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15562.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15571.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15673.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15689-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15730.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15734.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15763.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15774.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15793.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15858.rs (100%) rename src/test/{run-pass => ui}/issues/issue-15881-model-lexer-dotdotdot.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16151.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16256.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16272.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16278.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16441.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16452.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16492.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16530.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16560.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16597-empty.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16597.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1660.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16602-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16602-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16602-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16643.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16648.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16671.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16739.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16745.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16774.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16783.rs (100%) rename src/test/{run-pass => ui}/issues/issue-16819.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1696.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1701.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17068.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17074.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17170.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17216.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17233.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17302.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17322.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17351.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17361.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17503.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17662.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17718-borrow-interior.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17718-parse-const.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17718-static-unsafe-interior.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17718.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17734.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17756.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17771.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17816.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17877.rs (100%) rename src/test/{run-pass => ui}/issues/issue-17897.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18060.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18075.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18110.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18173.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18232.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18352.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18353.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18412.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18425.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18464.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18501.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18514.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18539.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18652.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18655.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18661.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18685.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18711.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18767.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18804/auxiliary/lib.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18804/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18845.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18859.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18913.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18937-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-18952.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19001.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19127.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19135.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19244.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19293.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19340-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19340-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19358.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19367.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19499.rs (100%) rename src/test/{run-pass => ui}/issues/issue-1974.rs (100%) rename src/test/{run-pass => ui}/issues/issue-19811-escape-unicode.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20055-box-trait.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20055-box-unsized-array.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20174.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20343.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20389.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20427.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20544.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20575.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20616.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2063.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20676.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2074.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20803.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20823.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20847.rs (100%) rename src/test/{run-pass => ui}/issues/issue-20953.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21033.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21058.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21291.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21306.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21361.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21384.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21400.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21475.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21486.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21655.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2170-exe.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21721.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2190-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21909.rs (100%) rename src/test/{run-pass => ui}/issues/issue-21922.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22008.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22036.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2214.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2216.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22258.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22346.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22403.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22426.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22463.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22536-copy-mustnt-zero.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22546.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22577.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22629.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22828.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2284.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22864-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22864-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2288.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22992-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-22992.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23036.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2316-c.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23208.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23261.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23304-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23304-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23311.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23336.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23338-ensure-param-drop-order.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23338-params-outlive-temps-of-body.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23433.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23485.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23491.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23611-enum-swap-in-drop.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23649-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23649-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23699.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23781.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2380-b.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23808.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23825.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2383.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23833.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23891.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23898.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23958.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23968-const-not-overflow.rs (100%) rename src/test/{run-pass => ui}/issues/issue-23992.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24010.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24086.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2414-c.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2428.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24308.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24313.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24353.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2445-b.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2445.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24533.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24589.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2463.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-lib.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-mbcs-in-comments.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24687-embed-debuginfo/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2472.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24779.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24805-dropck-itemless.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24945-repeat-dash-opts.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24947.rs (100%) rename src/test/{run-pass => ui}/issues/issue-24954.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25089.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25145.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25185.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2526-a.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25279.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25339.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25343.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25467.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25497.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2550.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25515.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25549-multiple-drop.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25679.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25693.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25700-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25700-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25746-bool-transmute.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25757.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25810.rs (100%) rename src/test/{run-pass => ui}/issues/issue-25916.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26127.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26251.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2631-b.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26322.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2633-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2633.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2642.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26468.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26484.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26641.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26655.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26709.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26802.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26805.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26873-multifile.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26873-multifile/A/B.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26873-multifile/A/C.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26873-multifile/A/mod.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26873-multifile/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/issues/issue-26873-multifile/mod.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26873-onefile.rs (100%) rename src/test/{run-pass => ui}/issues/issue-26996.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27021.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27054-primitive-binary-ops.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2708.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2718.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2723-b.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27240.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27268.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27320.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2734.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2735-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2735-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2735.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27401-dropflag-reinit.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2748-b.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27639.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27859.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27890.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27901.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27949.rs (100%) rename src/test/{run-pass => ui}/issues/issue-27997.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28181.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28498-must-work-ex1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28498-must-work-ex2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28498-ugeh-ex1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28498-ugeh-with-lifetime-param.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28498-ugeh-with-passed-to-fn.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28498-ugeh-with-trait-bound.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28550.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28676.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28777.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28828.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28839.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2895.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28950.rs (100%) rename src/test/{run-pass => ui}/issues/issue-28983.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29053.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29071-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29092.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29166.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29227.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2935.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2936.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29466.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29485.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29488.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29522.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29663.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29668.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29746.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29844.rs (100%) rename src/test/{run-pass => ui}/issues/issue-2989.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29914-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29914-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29914.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29927-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29927.rs (100%) rename src/test/{run-pass => ui}/issues/issue-29948.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30018-nopanic.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30018-panic.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30081.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3012-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3026.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3037.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30371.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30490.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3052.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30530.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30615.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30756.rs (100%) rename src/test/{run-pass => ui}/issues/issue-30891.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3091.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3109.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3121.rs (100%) rename src/test/{run-pass => ui}/issues/issue-31267-additional.rs (100%) rename src/test/{run-pass => ui}/issues/issue-31267.rs (100%) rename src/test/{run-pass => ui}/issues/issue-31299.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3136-b.rs (100%) rename src/test/{run-pass => ui}/issues/issue-31702.rs (100%) rename src/test/{run-pass => ui}/issues/issue-31776.rs (100%) rename src/test/{run-pass => ui}/issues/issue-32008.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3211.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3220.rs (100%) rename src/test/{run-pass => ui}/issues/issue-32292.rs (100%) rename src/test/{run-pass => ui}/issues/issue-32389.rs (100%) rename src/test/{run-pass => ui}/issues/issue-32518.rs (100%) rename src/test/{run-pass => ui}/issues/issue-32805.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3290.rs (100%) rename src/test/{run-pass => ui}/issues/issue-32947.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33096.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33185.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33187.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33202.rs (100%) rename src/test/{run-pass => ui}/issues/issue-333.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33387.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33461.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33498.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33537.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33687.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33770.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3389.rs (100%) rename src/test/{run-pass => ui}/issues/issue-33992.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34053.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34074.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3429.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34427.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3447.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34503.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34569.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34571.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34784.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34796.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34798.rs (100%) rename src/test/{run-pass => ui}/issues/issue-34932.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3500.rs (100%) rename src/test/{run-pass => ui}/issues/issue-35423.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3556.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3559.rs (100%) rename src/test/{run-pass => ui}/issues/issue-35600.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3563-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3574.rs (100%) rename src/test/{run-pass => ui}/issues/issue-35815.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36023.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36036-associated-type-layout.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36053.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36139-normalize-closure-sig.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36260.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36278-prefix-nesting.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36381.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36401.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36474.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3656.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36744-bitcast-args-if-needed.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36768.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36786-resolve-call.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36792.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36816.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3683.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36856.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36936.rs (100%) rename src/test/{run-pass => ui}/issues/issue-36954.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3702.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37109.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37175.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37222.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37291/auxiliary/lib.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37291/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3743.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3753.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37686.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3794.rs (100%) rename src/test/{run-pass => ui}/issues/issue-37991.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38002.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38033.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38074.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38091.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38190.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38226.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38437.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3847.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38556.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38763.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3878.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38942.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3895.rs (100%) rename src/test/{run-pass => ui}/issues/issue-38987.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3904.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39292.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3935.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39367.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39548.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39709.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39720.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39720.stderr (100%) rename src/test/{run-pass => ui}/issues/issue-3979-generics.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3979-xcrate.rs (100%) rename src/test/{run-pass => ui}/issues/issue-3979.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39808.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39823.rs (100%) rename src/test/{run-pass => ui}/issues/issue-39827.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40003.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40085.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40235.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40408.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40469.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40770.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40847.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40883.rs (100%) rename src/test/{run-pass => ui}/issues/issue-40951.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41053.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4107.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41213.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41479.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41498.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41604.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41677.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41696.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41744.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41803.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41849-variance-req.rs (100%) rename src/test/{run-pass => ui}/issues/issue-41888.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42007.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4208.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42148.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42210.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4228.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42453.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42463.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4252.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42552.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42679.rs (100%) rename src/test/{run-pass => ui}/issues/issue-42747.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43132.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43205.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43291.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4333.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43692.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43853.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4387.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43910.rs (100%) rename src/test/{run-pass => ui}/issues/issue-43923.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4401.rs (100%) rename src/test/{run-pass => ui}/issues/issue-44333.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4446.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4448.rs (100%) rename src/test/{run-pass => ui}/issues/issue-45124.rs (100%) rename src/test/{run-pass => ui}/issues/issue-45152.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4541.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4542.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4545.rs (100%) rename src/test/{run-pass => ui}/issues/issue-45510.rs (100%) rename src/test/{run-pass => ui}/issues/issue-45731.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46069.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46095.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46519.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46553.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46845.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46855.rs (100%) rename src/test/{run-pass => ui}/issues/issue-46920-byte-array-patterns.rs (100%) rename src/test/{run-pass => ui}/issues/issue-47139-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-47139-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4734.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4735.rs (100%) rename src/test/{run-pass => ui}/issues/issue-47364.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4759-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4759.rs (100%) rename src/test/{run-pass => ui}/issues/issue-47638.rs (100%) rename src/test/{run-pass => ui}/issues/issue-48006.rs (100%) rename src/test/{run-pass => ui}/issues/issue-48159.rs (100%) rename src/test/{run-pass => ui}/issues/issue-48508-aux.rs (100%) rename src/test/{run-pass => ui}/issues/issue-48508.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4865-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4865-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4865-3.rs (100%) rename src/test/{run-pass => ui}/issues/issue-4875.rs (100%) rename src/test/{run-pass => ui}/issues/issue-48962.rs (100%) rename src/test/{run-pass => ui}/issues/issue-48984.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49298.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49632.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49685.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49854.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49955-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49955.rs (100%) rename src/test/{run-pass => ui}/issues/issue-49973.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5008-borrowed-traitobject-method-call.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50415.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50442.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5060.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50689.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50731.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50811.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50865-private-impl-trait/auxiliary/lib.rs (100%) rename src/test/{run-pass => ui}/issues/issue-50865-private-impl-trait/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-51185.rs (100%) rename src/test/{run-pass => ui}/issues/issue-51345.rs (100%) rename src/test/{run-pass => ui}/issues/issue-51582.rs (100%) rename src/test/{run-pass => ui}/issues/issue-51907.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5192.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52140/auxiliary/some_crate.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52140/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52141/auxiliary/some_crate.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52141/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52169.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5239-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5243.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52557.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52705/auxiliary/png2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-52705/main.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5280.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5315.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5321-immediates-with-bare-self.rs (100%) rename src/test/{run-pass => ui}/issues/issue-53333.rs (100%) rename src/test/{run-pass => ui}/issues/issue-53728.rs (100%) rename src/test/{run-pass => ui}/issues/issue-53843.rs (100%) rename src/test/{run-pass => ui}/issues/issue-54462-mutable-noalias-correctness.rs (100%) rename src/test/{run-pass => ui}/issues/issue-54467.rs (100%) rename src/test/{run-pass => ui}/issues/issue-54477-reduced-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-54696.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5518.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5521.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5530.rs (100%) rename src/test/{run-pass => ui}/issues/issue-55376.rs (100%) rename src/test/{run-pass => ui}/issues/issue-55380.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5550.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5554.rs (100%) rename src/test/{run-pass => ui}/issues/issue-56237.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5666.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5688.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5708.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5718.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5741.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5791.rs (100%) rename src/test/{run-pass => ui}/issues/issue-58212.rs (100%) rename src/test/{run-pass => ui}/issues/issue-58435-ice-with-assoc-const.rs (100%) rename src/test/{run-pass => ui}/issues/issue-58463.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5917.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5988.rs (100%) rename src/test/{run-pass => ui}/issues/issue-5997.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6117.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6128.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6130.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6153.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6157.rs (100%) rename src/test/{run-pass => ui}/issues/issue-61696.rs (100%) rename src/test/{run-pass => ui}/issues/issue-61894.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6318.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6334.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6344-let.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6344-match.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6449.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6892.rs (100%) rename src/test/{run-pass => ui}/issues/issue-6919.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7012.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7178.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7222.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7344.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7519-match-unit-in-arg.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7563.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7575.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7660.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7663.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7784.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7899.rs (100%) rename src/test/{run-pass => ui}/issues/issue-7911.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8044.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8248.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8249.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8259.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8351-1.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8351-2.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8391.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8401.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8460.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8498.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8506.rs (100%) rename src/test/{run-pass => ui}/issues/issue-868.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8709.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8783.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8827.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8851.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8860.rs (100%) rename src/test/{run-pass => ui}/issues/issue-8898.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9047.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9123.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9129.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9155.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9188.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9259.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9382.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9394-inherited-trait-calls.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9396.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9446.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9737.rs (100%) rename src/test/{run-pass => ui}/issues/issue-979.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9837.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9906.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9918.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9942.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9951.rs (100%) rename src/test/{run-pass => ui}/issues/issue-9968.rs (100%) rename src/test/{run-pass => ui}/istr.rs (100%) rename src/test/{run-pass => ui}/item-name-overload.rs (100%) rename src/test/{run-pass => ui}/iterators/into-iterator-type-inference-shift.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-cloned-type-inference.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-range.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-step-overflow-debug.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-step-overflow-ndebug.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-sum-overflow-debug.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-sum-overflow-ndebug.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-sum-overflow-overflow-checks.rs (100%) rename src/test/{run-pass => ui}/iterators/iter-zip.rs (100%) rename src/test/{run-pass => ui}/keyword-changes-2012-07-31.rs (100%) rename src/test/{run-pass => ui}/kindck-implicit-close-over-mut-var.rs (100%) rename src/test/{run-pass => ui}/kinds-in-metadata.rs (100%) rename src/test/{run-pass => ui}/lambda-infer-unresolved.rs (100%) rename src/test/{run-pass => ui}/lambda-var-hygiene.rs (100%) rename src/test/{run-pass => ui}/large-records.rs (100%) rename src/test/{run-pass => ui}/last-use-in-block.rs (100%) rename src/test/{run-pass => ui}/last-use-in-cap-clause.rs (100%) rename src/test/{run-pass => ui}/last-use-is-capture.rs (100%) rename src/test/{run-pass => ui}/lazy-and-or.rs (100%) rename src/test/{run-pass => ui}/lazy-init.rs (100%) rename src/test/{run-pass => ui}/leak-unique-as-tydesc.rs (100%) rename src/test/{run-pass => ui}/lex-bare-cr-nondoc-comment.rs (100%) rename src/test/{run-pass => ui}/lexer-crlf-line-endings-string-literal-doc-comment.rs (96%) rename src/test/{run-pass => ui}/lexical-scoping.rs (100%) rename src/test/{run-pass => ui}/lib-defaults.rs (100%) rename src/test/{run-pass => ui}/link-cfg-works.rs (100%) rename src/test/{run-pass => ui}/link-section.rs (100%) rename src/test/{run-pass => ui}/linkage1.rs (100%) rename src/test/{run-pass => ui}/lint-cap.rs (100%) rename src/test/{run-pass => ui}/lint-dead-code-associated-type.rs (100%) rename src/test/{run-pass => ui}/lint-dead-code-variant.rs (100%) rename src/test/{run-pass => ui}/lint-expr-stmt-attrs-for-early-lints.rs (100%) rename src/test/{run-pass => ui}/lint-unknown-lints-at-crate-level.rs (100%) rename src/test/{run-pass => ui}/list.rs (100%) rename src/test/{run-pass => ui}/liveness-assign-imm-local-after-ret.rs (100%) rename src/test/{run-pass => ui}/llvm-pr32379.rs (100%) rename src/test/{run-pass => ui}/log-err-phi.rs (100%) rename src/test/{run-pass => ui}/log-knows-the-names-of-variants-in-std.rs (100%) rename src/test/{run-pass => ui}/log-knows-the-names-of-variants.rs (100%) rename src/test/{run-pass => ui}/log-poly.rs (100%) rename src/test/{run-pass => ui}/logging-only-prints-once.rs (100%) rename src/test/{run-pass => ui}/logging_before_rt_started.rs (100%) rename src/test/{run-pass => ui}/long-while.rs (100%) rename src/test/{run-pass => ui}/lto-many-codegen-units.rs (100%) rename src/test/{run-pass => ui}/lto-still-runs-thread-dtors.rs (100%) rename src/test/{run-pass => ui}/lub-glb-with-unbound-infer-var.rs (100%) rename src/test/{run-pass => ui}/macro-quote-cond.rs (100%) rename src/test/{run-pass => ui}/macro-quote-test.rs (100%) rename src/test/{run-pass => ui}/macros/assert-eq-macro-success.rs (100%) rename src/test/{run-pass => ui}/macros/assert-eq-macro-unsized.rs (100%) rename src/test/{run-pass => ui}/macros/assert-ne-macro-success.rs (100%) rename src/test/{run-pass => ui}/macros/assert-ne-macro-unsized.rs (100%) rename src/test/{run-pass => ui}/macros/auxiliary/macro-comma-support.rs (100%) rename src/test/{run-pass => ui}/macros/auxiliary/macro-include-items-expr.rs (100%) rename src/test/{run-pass => ui}/macros/auxiliary/macro-include-items-item.rs (100%) rename src/test/{run-pass => ui}/macros/auxiliary/macro_crate_def_only.rs (100%) rename src/test/{run-pass => ui}/macros/auxiliary/macro_export_inner_module.rs (100%) rename src/test/{run-pass => ui}/macros/auxiliary/macro_with_super_1.rs (100%) rename src/test/{run-pass/macros/auxiliary/two_macros.rs => ui/macros/auxiliary/two_macros-rpass.rs} (100%) rename src/test/{run-pass => ui}/macros/auxiliary/use-macro-self.rs (100%) rename src/test/{run-pass => ui}/macros/colorful-write-macros.rs (100%) rename src/test/{run-pass => ui}/macros/conditional-debug-macro-on.rs (100%) rename src/test/{run-pass => ui}/macros/die-macro.rs (100%) rename src/test/{run-pass => ui}/macros/issue-25274.rs (100%) rename src/test/{run-pass => ui}/macros/log_syntax-trace_macros-macro-locations.rs (100%) rename src/test/{run-pass => ui}/macros/log_syntax-trace_macros-macro-locations.stdout (100%) rename src/test/{run-pass => ui}/macros/macro-2.rs (100%) rename src/test/{run-pass => ui}/macros/macro-as-fn-body.rs (100%) rename src/test/{run-pass => ui}/macros/macro-attribute-expansion.rs (100%) rename src/test/{run-pass => ui}/macros/macro-attributes.rs (100%) rename src/test/{run-pass => ui}/macros/macro-block-nonterminal.rs (100%) rename src/test/{run-pass => ui}/macros/macro-crate-def-only.rs (100%) rename src/test/{run-pass => ui}/macros/macro-crate-nonterminal-renamed.rs (100%) rename src/test/{run-pass => ui}/macros/macro-crate-nonterminal.rs (100%) rename src/test/{run-pass => ui}/macros/macro-crate-use.rs (100%) rename src/test/{run-pass => ui}/macros/macro-deep_expansion.rs (100%) rename src/test/{run-pass => ui}/macros/macro-delimiter-significance.rs (100%) rename src/test/{run-pass => ui}/macros/macro-doc-comments.rs (100%) rename src/test/{run-pass => ui}/macros/macro-doc-escapes.rs (100%) rename src/test/{run-pass => ui}/macros/macro-doc-raw-str-hashes.rs (100%) rename src/test/{run-pass => ui}/macros/macro-export-inner-module.rs (100%) rename src/test/{run-pass => ui}/macros/macro-first-set.rs (100%) rename src/test/{run-pass => ui}/macros/macro-followed-by-seq.rs (100%) rename src/test/{run-pass => ui}/macros/macro-include-items.rs (100%) rename src/test/{run-pass => ui}/macros/macro-interpolation.rs (100%) rename src/test/{run-pass => ui}/macros/macro-invocation-in-count-expr-fixed-array-type.rs (100%) rename src/test/{run-pass => ui}/macros/macro-lifetime-used-with-bound.rs (100%) rename src/test/{run-pass => ui}/macros/macro-lifetime-used-with-labels.rs (100%) rename src/test/{run-pass => ui}/macros/macro-lifetime-used-with-labels.stderr (100%) rename src/test/{run-pass => ui}/macros/macro-lifetime-used-with-static.rs (100%) rename src/test/{run-pass => ui}/macros/macro-lifetime.rs (100%) rename src/test/{run-pass => ui}/macros/macro-literal.rs (100%) rename src/test/{run-pass => ui}/macros/macro-meta-items.rs (100%) rename src/test/{run-pass => ui}/macros/macro-method-issue-4621.rs (100%) rename src/test/{run-pass => ui}/macros/macro-multiple-items.rs (100%) rename src/test/{run-pass => ui}/macros/macro-named-default.rs (100%) rename src/test/{run-pass => ui}/macros/macro-nested_definition_issue-31946.rs (100%) rename src/test/{run-pass => ui}/macros/macro-nested_expr.rs (100%) rename src/test/{run-pass => ui}/macros/macro-nested_stmt_macros.rs (100%) rename src/test/{run-pass => ui}/macros/macro-nt-list.rs (100%) rename src/test/{run-pass => ui}/macros/macro-of-higher-order.rs (100%) rename src/test/{run-pass => ui}/macros/macro-pat-follow.rs (100%) rename src/test/{run-pass => ui}/macros/macro-pat-neg-lit.rs (100%) rename src/test/{run-pass => ui}/macros/macro-pat.rs (100%) rename src/test/{run-pass => ui}/macros/macro-path.rs (100%) rename src/test/{run-pass => ui}/macros/macro-pub-matcher.rs (100%) rename src/test/{run-pass => ui}/macros/macro-seq-followed-by-seq.rs (100%) rename src/test/{run-pass => ui}/macros/macro-stmt.rs (100%) rename src/test/{run-pass => ui}/macros/macro-stmt_macro_in_expr_macro.rs (100%) rename src/test/{run-pass => ui}/macros/macro-tt-followed-by-seq.rs (100%) rename src/test/{run-pass => ui}/macros/macro-use-all-and-none.rs (50%) create mode 100644 src/test/ui/macros/macro-use-all-and-none.stderr rename src/test/{run-pass => ui}/macros/macro-use-all.rs (100%) rename src/test/{run-pass => ui}/macros/macro-use-both.rs (100%) rename src/test/{run-pass => ui}/macros/macro-use-one.rs (100%) rename src/test/{run-pass => ui}/macros/macro-with-attrs1.rs (100%) rename src/test/{run-pass => ui}/macros/macro-with-attrs2.rs (100%) rename src/test/{run-pass => ui}/macros/macro-with-braces-in-expr-position.rs (100%) rename src/test/{run-pass => ui}/macros/macro_with_super_2.rs (100%) rename src/test/{run-pass => ui}/macros/meta-variable-misuse.rs (100%) rename src/test/{run-pass => ui}/macros/parse-complex-macro-invoc-op.rs (100%) rename src/test/{run-pass => ui}/macros/paths-in-macro-invocations.rs (85%) rename src/test/{run-pass => ui}/macros/pub-item-inside-macro.rs (100%) rename src/test/{run-pass => ui}/macros/pub-method-inside-macro.rs (100%) rename src/test/{run-pass => ui}/macros/semi-after-macro-ty.rs (100%) rename src/test/{run-pass => ui}/macros/stmt_expr_attr_macro_parse.rs (100%) rename src/test/{run-pass => ui}/macros/syntax-extension-cfg.rs (100%) rename src/test/{run-pass => ui}/macros/syntax-extension-source-utils-files/includeme.fragment (100%) rename src/test/{run-pass => ui}/macros/syntax-extension-source-utils.rs (100%) rename src/test/{run-pass => ui}/macros/try-macro.rs (100%) rename src/test/{run-pass => ui}/macros/two-macro-use.rs (100%) rename src/test/{run-pass => ui}/macros/type-macros-hlist.rs (100%) rename src/test/{run-pass => ui}/macros/type-macros-simple.rs (100%) rename src/test/{run-pass => ui}/macros/typeck-macro-interaction-issue-8852.rs (100%) rename src/test/{run-pass => ui}/macros/use-macro-self.rs (100%) rename src/test/{run-pass => ui}/max-min-classes.rs (100%) rename src/test/{run-pass => ui}/methods/auxiliary/method_self_arg1.rs (100%) rename src/test/{run-pass => ui}/methods/auxiliary/method_self_arg2.rs (100%) rename src/test/{run-pass => ui}/methods/method-argument-inference-associated-type.rs (100%) rename src/test/{run-pass => ui}/methods/method-early-bound-lifetimes-on-self.rs (100%) rename src/test/{run-pass => ui}/methods/method-mut-self-modifies-mut-slice-lvalue.rs (100%) rename src/test/{run-pass => ui}/methods/method-normalize-bounds-issue-20604.rs (100%) rename src/test/{run-pass => ui}/methods/method-probe-no-guessing-dyn-trait.rs (100%) rename src/test/{run-pass => ui}/methods/method-projection.rs (100%) rename src/test/{run-pass => ui}/methods/method-recursive-blanket-impl.rs (100%) rename src/test/{run-pass => ui}/methods/method-self-arg-aux1.rs (100%) rename src/test/{run-pass => ui}/methods/method-self-arg-aux2.rs (100%) rename src/test/{run-pass => ui}/methods/method-self-arg-trait.rs (100%) rename src/test/{run-pass => ui}/methods/method-self-arg.rs (100%) rename src/test/{run-pass => ui}/methods/method-two-trait-defer-resolution-1.rs (100%) rename src/test/{run-pass => ui}/methods/method-two-trait-defer-resolution-2.rs (100%) rename src/test/{run-pass => ui}/methods/method-two-traits-distinguished-via-where-clause.rs (100%) rename src/test/{run-pass => ui}/methods/method-where-clause.rs (100%) rename src/test/{run-pass => ui}/mid-path-type-params.rs (100%) rename src/test/{run-pass => ui}/minmax-stability-issue-23687.rs (100%) rename src/test/{run-pass => ui}/mir/auxiliary/mir_external_refs.rs (100%) rename src/test/{run-pass => ui}/mir/mir-inlining/ice-issue-45493.rs (100%) rename src/test/{run-pass => ui}/mir/mir-inlining/ice-issue-45885.rs (100%) rename src/test/{run-pass => ui}/mir/mir-inlining/no-trait-method-issue-40473.rs (100%) rename src/test/{run-pass => ui}/mir/mir-typeck-normalize-fn-sig.rs (100%) rename src/test/{run-pass => ui}/mir/mir_adt_construction.rs (100%) rename src/test/{run-pass => ui}/mir/mir_ascription_coercion.rs (100%) rename src/test/{run-pass => ui}/mir/mir_augmented_assignments.rs (100%) rename src/test/{run-pass => ui}/mir/mir_autoderef.rs (100%) rename src/test/{run-pass => ui}/mir/mir_boxing.rs (100%) rename src/test/{run-pass => ui}/mir/mir_build_match_comparisons.rs (100%) rename src/test/{run-pass => ui}/mir/mir_call_with_associated_type.rs (100%) rename src/test/{run-pass => ui}/mir/mir_calls_to_shims.rs (100%) rename src/test/{run-pass => ui}/mir/mir_cast_fn_ret.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_array.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_array_2.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_call_converging.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_calls.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_calls_variadic.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_critical_edge.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_spike1.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_switch.rs (100%) rename src/test/{run-pass => ui}/mir/mir_codegen_switchint.rs (100%) rename src/test/{run-pass => ui}/mir/mir_coercion_casts.rs (100%) rename src/test/{run-pass => ui}/mir/mir_coercions.rs (100%) rename src/test/{run-pass => ui}/mir/mir_constval_adts.rs (100%) rename src/test/{run-pass => ui}/mir/mir_drop_order.rs (100%) rename src/test/{run-pass => ui}/mir/mir_early_return_scope.rs (100%) rename src/test/{run-pass => ui}/mir/mir_fat_ptr.rs (100%) rename src/test/{run-pass => ui}/mir/mir_fat_ptr_drop.rs (100%) rename src/test/{run-pass => ui}/mir/mir_heavy_promoted.rs (100%) rename src/test/{run-pass => ui}/mir/mir_match_arm_guard.rs (100%) rename src/test/{run-pass => ui}/mir/mir_match_test.rs (100%) rename src/test/{run-pass => ui}/mir/mir_misc_casts.rs (100%) rename src/test/{run-pass => ui}/mir/mir_overflow_off.rs (100%) rename src/test/{run-pass => ui}/mir/mir_raw_fat_ptr.rs (100%) rename src/test/{run-pass => ui}/mir/mir_refs_correct.rs (100%) rename src/test/{run-pass => ui}/mir/mir_small_agg_arg.rs (100%) rename src/test/{run-pass => ui}/mir/mir_static_subtype.rs (100%) rename src/test/{run-pass => ui}/mir/mir_struct_with_assoc_ty.rs (100%) rename src/test/{run-pass => ui}/mir/mir_temp_promotions.rs (100%) rename src/test/{run-pass => ui}/mir/mir_void_return.rs (100%) rename src/test/{run-pass => ui}/mir/mir_void_return_2.rs (100%) rename src/test/{run-pass => ui}/modules/auxiliary/two_macros_2.rs (100%) rename src/test/{run-pass => ui}/modules/mod-inside-fn.rs (100%) rename src/test/{run-pass => ui}/modules/mod-view-items.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_implicit.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_implicit_aux/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/modules/mod_dir_implicit_aux/mod.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_path.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_path2.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_path3.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_path_multi.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_recursive.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_simple.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_simple/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/modules/mod_dir_simple/load_another_mod.rs (100%) rename src/test/{run-pass => ui}/modules/mod_dir_simple/test.rs (100%) rename src/test/{run-pass => ui}/modules/mod_file.rs (100%) rename src/test/{run-pass => ui}/modules/mod_file_aux.rs (100%) rename src/test/{run-pass => ui}/modules/mod_file_with_path_attr.rs (100%) rename src/test/{run-pass => ui}/modules/module-polymorphism3-files/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/modules/module-polymorphism3-files/float-template/inst_f32.rs (100%) rename src/test/{run-pass => ui}/modules/module-polymorphism3-files/float-template/inst_f64.rs (100%) rename src/test/{run-pass => ui}/modules/module-polymorphism3-files/float-template/inst_float.rs (100%) rename src/test/{run-pass => ui}/monad.rs (100%) rename src/test/{run-pass => ui}/monomorphize-abi-alignment.rs (100%) rename src/test/{run-pass => ui}/monomorphized-callees-with-ty-params-3314.rs (100%) rename src/test/{run-pass => ui}/moves/move-1-unique.rs (100%) rename src/test/{run-pass => ui}/moves/move-2-unique.rs (100%) rename src/test/{run-pass => ui}/moves/move-2.rs (100%) rename src/test/{run-pass => ui}/moves/move-3-unique.rs (100%) rename src/test/{run-pass => ui}/moves/move-4-unique.rs (100%) rename src/test/{run-pass => ui}/moves/move-4.rs (100%) rename src/test/{run-pass => ui}/moves/move-arg-2-unique.rs (100%) rename src/test/{run-pass => ui}/moves/move-arg-2.rs (100%) rename src/test/{run-pass => ui}/moves/move-arg.rs (100%) rename src/test/{run-pass => ui}/moves/move-nullary-fn.rs (100%) rename src/test/{run-pass => ui}/moves/move-out-of-field.rs (100%) rename src/test/{run-pass => ui}/moves/move-scalar.rs (100%) rename src/test/{run-pass => ui}/moves/moves-based-on-type-capture-clause.rs (100%) rename src/test/{run-pass => ui}/mpsc_stress.rs (100%) rename src/test/{run-pass => ui}/msvc-data-only.rs (100%) rename src/test/{run-pass => ui}/multi-panic.rs (100%) rename src/test/{run-pass => ui}/multibyte.rs (100%) rename src/test/{run-pass => ui}/multidispatch-conditional-impl-not-considered.rs (100%) rename src/test/{run-pass => ui}/multidispatch1.rs (100%) rename src/test/{run-pass => ui}/multidispatch2.rs (100%) rename src/test/{run-pass => ui}/multiline-comment.rs (100%) rename src/test/{run-pass => ui}/multiple-reprs.rs (100%) rename src/test/{run-pass => ui}/mut-function-arguments.rs (100%) rename src/test/{run-pass => ui}/mut-vstore-expr.rs (100%) rename src/test/{run-pass => ui}/mutual-recursion-group.rs (100%) rename src/test/{run-pass => ui}/native-print-no-runtime.rs (100%) rename src/test/{run-pass => ui}/negative.rs (100%) rename src/test/{run-pass => ui}/nested-block-comment.rs (100%) rename src/test/{run-pass => ui}/nested-class.rs (100%) rename src/test/{run-pass => ui}/nested-function-names-issue-8587.rs (100%) rename src/test/{run-pass => ui}/nested_item_main.rs (100%) rename src/test/{run-pass => ui}/never-result.rs (100%) rename src/test/{run-pass => ui}/never-type-rvalues.rs (100%) rename src/test/{run-pass => ui}/never_coercions.rs (100%) rename src/test/{run-pass => ui}/new-box-syntax.rs (100%) rename src/test/{run-pass => ui}/new-box.rs (100%) rename src/test/{run-pass => ui}/new-impl-syntax.rs (100%) rename src/test/{run-pass => ui}/new-import-syntax.rs (100%) rename src/test/{run-pass => ui}/new-style-constants.rs (100%) rename src/test/{run-pass => ui}/new-unicode-escapes.rs (100%) rename src/test/{run-pass => ui}/new-unsafe-pointers.rs (100%) rename src/test/{run-pass => ui}/newlambdas-ret-infer.rs (100%) rename src/test/{run-pass => ui}/newlambdas-ret-infer2.rs (100%) rename src/test/{run-pass => ui}/newlambdas.rs (100%) rename src/test/{run-pass => ui}/newtype-polymorphic.rs (100%) rename src/test/{run-pass => ui}/newtype-temporary.rs (100%) rename src/test/{run-pass => ui}/newtype.rs (100%) rename src/test/{run-pass => ui}/nil-decl-in-foreign.rs (100%) rename src/test/{run-pass => ui}/nll/issue-47153-generic-const.rs (100%) rename src/test/{run-pass => ui}/nll/issue-47589.rs (100%) rename src/test/{run-pass => ui}/nll/issue-48623-closure.rs (100%) rename src/test/{run-pass => ui}/nll/issue-48623-generator.rs (100%) rename src/test/{run-pass => ui}/nll/issue-50343.rs (100%) rename src/test/{run-pass => ui}/nll/issue-50461-used-mut-from-moves.rs (100%) rename src/test/{run-pass => ui}/nll/issue-53123-raw-pointer-cast.rs (100%) rename src/test/{run-pass => ui}/nll/mutating_references.rs (100%) rename src/test/{run-pass => ui}/nll/process_or_insert_default.rs (100%) rename src/test/{run-pass => ui}/nll/rc-loop.rs (100%) rename src/test/{run-pass => ui}/no-core-1.rs (100%) rename src/test/{run-pass => ui}/no-core-2.rs (100%) rename src/test/{run-pass => ui}/no-landing-pads.rs (100%) rename src/test/{run-pass => ui}/no-std-1.rs (100%) rename src/test/{run-pass => ui}/no-std-2.rs (100%) rename src/test/{run-pass => ui}/no-std-3.rs (100%) rename src/test/{run-pass => ui}/no-stdio.rs (100%) rename src/test/{run-pass => ui}/non-built-in-quote.rs (100%) rename src/test/{run-pass => ui}/non-legacy-modes.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod/inline/somename.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod/inner_foors_mod.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod/inner_foors_mod/innest.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod/inner_modrs_mod/innest.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/foors_mod/inner_modrs_mod/mod.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/inline/somename.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/inner_foors_mod.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/inner_foors_mod/innest.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/inner_modrs_mod/innest.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/inner_modrs_mod/mod.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/modrs_mod/mod.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/non_modrs_mods.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/some_crazy_attr_mod_dir/arbitrary_name.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/some_crazy_attr_mod_dir/compiletest-ignore-dir (100%) rename src/test/{run-pass => ui}/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/innest.rs (100%) rename src/test/{run-pass => ui}/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs (100%) rename src/test/{run-pass => ui}/nul-characters.rs (100%) rename src/test/{run-pass => ui}/nullable-pointer-ffi-compat.rs (100%) rename src/test/{run-pass => ui}/nullable-pointer-iotareduction.rs (100%) rename src/test/{run-pass => ui}/nullable-pointer-size.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/arith-0.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/arith-1.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/arith-2.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/arith-unsigned.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/div-mod.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float-int-invalid-const-cast.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float-literal-inference.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float-nan.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float-signature.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float2.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/float_math.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/floatlits.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/i128-ffi.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/i128.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/i32-sub.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/i8-incr.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/int-abs-overflow.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/int.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/integer-literal-radix.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/integer-literal-suffix-inference-2.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/integer-literal-suffix-inference-3.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/integer-literal-suffix-inference.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/next-power-of-two-overflow-debug.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/num-wrapping.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/numeric-method-autoexport.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/promoted_overflow_opt.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/saturating-float-casts.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/shift-near-oflo.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/shift-various-types.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/shift.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/signed-shift-const-eval.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/u128-as-f32.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/u128.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/u32-decr.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/u8-incr-decr.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/u8-incr.rs (100%) rename src/test/{run-pass => ui}/numbers-arithmetic/uint.rs (100%) rename src/test/{run-pass => ui}/object-lifetime-default-default-to-static.rs (100%) rename src/test/{run-pass => ui}/object-lifetime-default-from-rptr-box.rs (100%) rename src/test/{run-pass => ui}/object-lifetime-default-from-rptr-mut.rs (100%) rename src/test/{run-pass => ui}/object-lifetime-default-from-rptr.rs (100%) rename src/test/{run-pass => ui}/object-method-numbering.rs (100%) rename src/test/{run-pass => ui}/objects-coerce-freeze-borrored.rs (100%) rename src/test/{run-pass => ui}/objects-owned-object-borrowed-method-headerless.rs (100%) rename src/test/{run-pass => ui}/objects-owned-object-owned-method.rs (100%) rename src/test/{run-pass => ui}/once-move-out-on-heap.rs (100%) rename src/test/{run-pass => ui}/one-tuple.rs (100%) rename src/test/{run-pass => ui}/op-assign-builtins-by-ref.rs (100%) rename src/test/{run-pass => ui}/opeq.rs (100%) rename src/test/{run-pass => ui}/operator-associativity.rs (100%) rename src/test/{run-pass => ui}/operator-multidispatch.rs (100%) rename src/test/{run-pass => ui}/operator-overloading.rs (100%) rename src/test/{run-pass => ui}/optimization-fuel-0.rs (100%) rename src/test/{run-pass => ui}/optimization-fuel-0.stderr (100%) rename src/test/{run-pass => ui}/optimization-fuel-1.rs (100%) rename src/test/{run-pass => ui}/optimization-fuel-1.stderr (100%) rename src/test/{run-pass => ui}/option-ext.rs (100%) rename src/test/{run-pass => ui}/option-unwrap.rs (100%) rename src/test/{run-pass => ui}/out-of-stack.rs (100%) rename src/test/{run-pass => ui}/out-pointer-aliasing.rs (100%) rename src/test/{run-pass => ui}/output-slot-variants.rs (100%) rename src/test/{run-pass => ui}/over-constrained-vregs.rs (100%) rename src/test/{run-pass => ui}/overlap-doesnt-conflict-with-specialization.rs (100%) rename src/test/{run-pass => ui}/overlap-permitted-for-annotated-marker-traits.rs (100%) rename src/test/{run-pass => ui}/overloaded/auxiliary/overloaded_autoderef_xc.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-autoderef-count.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-autoderef-indexing.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-autoderef-order.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-autoderef-vtable.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-autoderef-xcrate.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-autoderef.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-calls-object-one-arg.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-calls-object-two-args.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-calls-object-zero-args.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-calls-param-vtables.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-calls-simple.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-calls-zero-args.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-deref-count.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-deref.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-index-assoc-list.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-index-autoderef.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-index-in-field.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded-index.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded_deref_with_ref_pattern.rs (100%) rename src/test/{run-pass => ui}/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs (100%) rename src/test/{run-pass => ui}/owned-implies-static.rs (100%) rename src/test/{run-pass => ui}/packed/auxiliary/packed.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-borrow-element.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-drop-aligned.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-generic-layout.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-generic-size.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-layout.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-match.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-optimized-enum.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-size-xc.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-size.rs (100%) rename src/test/{run-pass => ui}/packed/packed-struct-vec.rs (100%) rename src/test/{run-pass => ui}/packed/packed-tuple-struct-layout.rs (100%) rename src/test/{run-pass => ui}/packed/packed-tuple-struct-size.rs (100%) rename src/test/{run-pass => ui}/packed/packed-with-inference-vars-issue-61402.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/abort-link-to-unwinding-crates.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/abort.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/auxiliary/exit-success-if-unwind.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/link-to-abort.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/link-to-unwind.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/lto-abort.rs (100%) rename src/test/{run-pass => ui}/panic-runtime/lto-unwind.rs (100%) rename src/test/{run-pass => ui}/panic-uninitialized-zeroed.rs (100%) rename src/test/{run-pass => ui}/panics/panic-handler-chain.rs (100%) rename src/test/{run-pass => ui}/panics/panic-handler-flail-wildly.rs (100%) rename src/test/{run-pass => ui}/panics/panic-handler-set-twice.rs (100%) rename src/test/{run-pass => ui}/panics/panic-in-dtor-drops-fields.rs (100%) rename src/test/{run-pass => ui}/panics/panic-recover-propagate.rs (100%) rename src/test/{run-pass => ui}/panics/panic-safe.rs (100%) rename src/test/{run-pass => ui}/paren-free.rs (100%) rename src/test/{run-pass => ui}/parse-assoc-type-lt.rs (100%) rename src/test/{run-pass => ui}/parse-panic.rs (100%) rename src/test/{run-pass => ui}/parser-unicode-whitespace.rs (100%) rename src/test/{run-pass => ui}/path.rs (100%) rename src/test/{run-pass => ui}/paths-containing-nul.rs (100%) rename src/test/{run-pass => ui}/print-stdout-eprint-stderr.rs (100%) rename src/test/{run-pass => ui}/privacy/auxiliary/priv-impl-prim-ty.rs (100%) rename src/test/{run-pass => ui}/privacy/auxiliary/privacy_reexport.rs (100%) rename src/test/{run-pass => ui}/privacy/auxiliary/pub_use_mods_xcrate.rs (100%) rename src/test/{run-pass => ui}/privacy/auxiliary/pub_use_xcrate1.rs (100%) rename src/test/{run-pass => ui}/privacy/auxiliary/pub_use_xcrate2.rs (100%) rename src/test/{run-pass => ui}/privacy/priv-impl-prim-ty.rs (100%) rename src/test/{run-pass => ui}/privacy/privacy-ns.rs (100%) rename src/test/{run-pass => ui}/privacy/privacy-reexport.rs (100%) rename src/test/{run-pass => ui}/privacy/private-class-field.rs (100%) rename src/test/{run-pass => ui}/privacy/pub-extern-privacy.rs (100%) rename src/test/{run-pass => ui}/privacy/pub-use-xcrate.rs (100%) rename src/test/{run-pass => ui}/privacy/pub_use_mods_xcrate_exe.rs (100%) rename src/test/{run-pass => ui}/proc-macro/add-impl.rs (100%) rename src/test/{run-pass => ui}/proc-macro/append-impl.rs (100%) rename src/test/{run-pass => ui}/proc-macro/attr-args.rs (100%) rename src/test/{run-pass => ui}/proc-macro/attr-cfg.rs (100%) rename src/test/{run-pass => ui}/proc-macro/attr-on-trait.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/add-impl.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/append-impl.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/attr-args.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/attr-cfg.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/attr-on-trait.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/bang-macro.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/call-site.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/count_compound_ops.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/custom-attr-only-one-derive.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-a.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-atob.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-attr-cfg.rs (100%) rename src/test/{run-pass/proc-macro/auxiliary/derive-b.rs => ui/proc-macro/auxiliary/derive-b-rpass.rs} (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-ctod.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-nothing.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-same-struct.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-two-attrs.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/derive-union.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/double.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/empty-crate.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/expand-with-a-macro.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/external-crate-var.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/gen-lifetime-token.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/hygiene_example.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/hygiene_example_codegen.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/issue-39889.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/issue-42708.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/issue-50061.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/modify-ast.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/negative-token.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/not-joint.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/span-api-tests.rs (100%) rename src/test/{run-pass => ui}/proc-macro/auxiliary/span-test-macros.rs (100%) rename src/test/{run-pass => ui}/proc-macro/bang-macro.rs (100%) rename src/test/{run-pass => ui}/proc-macro/call-site.rs (100%) rename src/test/{run-pass => ui}/proc-macro/count_compound_ops.rs (100%) rename src/test/{run-pass => ui}/proc-macro/crate-var.rs (100%) rename src/test/{run-pass => ui}/proc-macro/custom-attr-only-one-derive.rs (100%) rename src/test/{run-pass => ui}/proc-macro/derive-attr-cfg.rs (100%) rename src/test/{run-pass => ui}/proc-macro/derive-b.rs (79%) rename src/test/{run-pass => ui}/proc-macro/derive-same-struct.rs (100%) rename src/test/{run-pass => ui}/proc-macro/derive-same-struct.stdout (100%) rename src/test/{run-pass => ui}/proc-macro/derive-test.rs (100%) rename src/test/{run-pass => ui}/proc-macro/derive-two-attrs.rs (100%) rename src/test/{run-pass => ui}/proc-macro/derive-union.rs (100%) rename src/test/{run-pass => ui}/proc-macro/empty-crate.rs (100%) rename src/test/{run-pass => ui}/proc-macro/expand-with-a-macro.rs (100%) rename src/test/{run-pass => ui}/proc-macro/gen-lifetime-token.rs (100%) rename src/test/{run-pass => ui}/proc-macro/hygiene_example.rs (100%) rename src/test/{run-pass => ui}/proc-macro/issue-39889.rs (100%) rename src/test/{run-pass => ui}/proc-macro/issue-42708.rs (100%) rename src/test/{run-pass => ui}/proc-macro/issue-50061.rs (100%) rename src/test/{run-pass => ui}/proc-macro/load-two.rs (100%) rename src/test/{run-pass => ui}/proc-macro/modify-ast.rs (100%) rename src/test/{run-pass => ui}/proc-macro/negative-token.rs (100%) rename src/test/{run-pass => ui}/proc-macro/not-joint.rs (100%) rename src/test/{run-pass => ui}/proc-macro/smoke.rs (100%) rename src/test/{run-pass => ui}/proc-macro/span-api-tests.rs (100%) rename src/test/{run-pass => ui}/proc-macro/struct-field-macro.rs (100%) rename src/test/{run-pass => ui}/proc_macro.rs (100%) rename src/test/{run-pass => ui}/process/process-envs.rs (100%) rename src/test/{run-pass => ui}/process/process-exit.rs (100%) rename src/test/{run-pass => ui}/process/process-remove-from-env.rs (100%) rename src/test/{run-pass => ui}/process/process-sigpipe.rs (100%) rename src/test/{run-pass => ui}/process/process-spawn-nonexistent.rs (100%) rename src/test/{run-pass => ui}/process/process-spawn-with-unicode-params.rs (100%) rename src/test/{run-pass => ui}/process/process-status-inherits-stdin.rs (100%) rename src/test/{run-pass => ui}/project-cache-issue-31849.rs (100%) rename src/test/{run-pass => ui}/project-cache-issue-37154.rs (100%) rename src/test/{run-pass => ui}/project-defer-unification.rs (100%) rename src/test/{run-pass => ui}/pure-sum.rs (100%) rename src/test/{run-pass => ui}/purity-infer.rs (100%) rename src/test/{run-pass => ui}/range-type-infer.rs (100%) rename src/test/{run-pass => ui}/range.rs (100%) rename src/test/{run-pass => ui}/range_inclusive.rs (100%) rename src/test/{run-pass => ui}/range_inclusive_gate.rs (100%) rename src/test/{run-pass => ui}/ranges-precedence.rs (100%) rename src/test/{run-pass => ui}/raw-fat-ptr.rs (100%) rename src/test/{run-pass => ui}/raw-str.rs (100%) rename src/test/{run-pass => ui}/rcvr-borrowed-to-region.rs (100%) rename src/test/{run-pass => ui}/reachable-unnameable-items.rs (100%) rename src/test/{run-pass => ui}/reachable-unnameable-type-alias.rs (100%) rename src/test/{run-pass => ui}/readalias.rs (100%) rename src/test/{run-pass => ui}/realloc-16687.rs (100%) rename src/test/{run-pass => ui}/reexport-should-still-link.rs (100%) rename src/test/{run-pass => ui}/reexport-star.rs (100%) rename src/test/{run-pass => ui}/reexport-test-harness-main.rs (100%) rename src/test/{run-pass => ui}/refer-to-other-statics-by-value.rs (100%) rename src/test/{run-pass => ui}/regions/regions-addr-of-interior-of-unique-box.rs (100%) rename src/test/{run-pass => ui}/regions/regions-addr-of-ret.rs (100%) rename src/test/{run-pass => ui}/regions/regions-assoc-type-region-bound.rs (100%) rename src/test/{run-pass => ui}/regions/regions-assoc-type-static-bound.rs (100%) rename src/test/{run-pass => ui}/regions/regions-borrow-at.rs (100%) rename src/test/{run-pass => ui}/regions/regions-borrow-evec-fixed.rs (100%) rename src/test/{run-pass => ui}/regions/regions-borrow-evec-uniq.rs (100%) rename src/test/{run-pass => ui}/regions/regions-borrow-uniq.rs (100%) rename src/test/{run-pass => ui}/regions/regions-bot.rs (100%) rename src/test/{run-pass => ui}/regions/regions-bound-lists-feature-gate-2.rs (100%) rename src/test/{run-pass => ui}/regions/regions-bound-lists-feature-gate.rs (100%) rename src/test/{run-pass => ui}/regions/regions-close-over-type-parameter-successfully.rs (100%) rename src/test/{run-pass => ui}/regions/regions-copy-closure.rs (100%) rename src/test/{run-pass => ui}/regions/regions-creating-enums2.rs (100%) rename src/test/{run-pass => ui}/regions/regions-creating-enums5.rs (100%) rename src/test/{run-pass => ui}/regions/regions-debruijn-of-object.rs (100%) rename src/test/{run-pass => ui}/regions/regions-dependent-addr-of.rs (100%) rename src/test/{run-pass => ui}/regions/regions-dependent-autofn.rs (100%) rename src/test/{run-pass => ui}/regions/regions-dependent-autoslice.rs (100%) rename src/test/{run-pass => ui}/regions/regions-dependent-let-ref.rs (100%) rename src/test/{run-pass => ui}/regions/regions-early-bound-lifetime-in-assoc-fn.rs (100%) rename src/test/{run-pass => ui}/regions/regions-early-bound-trait-param.rs (100%) rename src/test/{run-pass => ui}/regions/regions-early-bound-used-in-bound-method.rs (100%) rename src/test/{run-pass => ui}/regions/regions-early-bound-used-in-bound.rs (100%) rename src/test/{run-pass => ui}/regions/regions-early-bound-used-in-type-param.rs (100%) rename src/test/{run-pass => ui}/regions/regions-escape-into-other-fn.rs (100%) rename src/test/{run-pass => ui}/regions/regions-expl-self.rs (100%) rename src/test/{run-pass => ui}/regions/regions-fn-subtyping-2.rs (100%) rename src/test/{run-pass => ui}/regions/regions-fn-subtyping.rs (100%) rename src/test/{run-pass => ui}/regions/regions-free-region-outlives-static-outlives-free-region.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-borrow-scope-addr-of.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-borrow-scope-view.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-borrow-scope-within-loop-ok.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-borrow-scope.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-call-2.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-call.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-contravariance-due-to-ret.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-reborrow-ref-mut-recurse.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-region-in-fn-but-not-type.rs (100%) rename src/test/{run-pass => ui}/regions/regions-infer-static-from-proc.rs (100%) rename src/test/{run-pass => ui}/regions/regions-issue-21422.rs (100%) rename src/test/{run-pass => ui}/regions/regions-issue-22246.rs (100%) rename src/test/{run-pass => ui}/regions/regions-lifetime-nonfree-late-bound.rs (100%) rename src/test/{run-pass => ui}/regions/regions-lifetime-static-items-enclosing-scopes.rs (100%) rename src/test/{run-pass => ui}/regions/regions-link-fn-args.rs (100%) rename src/test/{run-pass => ui}/regions/regions-lub-ref-ref-rc.rs (100%) rename src/test/{run-pass => ui}/regions/regions-mock-codegen.rs (100%) rename src/test/{run-pass => ui}/regions/regions-no-bound-in-argument-cleanup.rs (100%) rename src/test/{run-pass => ui}/regions/regions-no-variance-from-fn-generics.rs (100%) rename src/test/{run-pass => ui}/regions/regions-nullary-variant.rs (100%) rename src/test/{run-pass => ui}/regions/regions-params.rs (100%) rename src/test/{run-pass => ui}/regions/regions-reassign-let-bound-pointer.rs (100%) rename src/test/{run-pass => ui}/regions/regions-reassign-match-bound-pointer.rs (100%) rename src/test/{run-pass => ui}/regions/regions-refcell.rs (100%) rename src/test/{run-pass => ui}/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs (100%) rename src/test/{run-pass => ui}/regions/regions-return-interior-of-option.rs (100%) rename src/test/{run-pass => ui}/regions/regions-scope-chain-example.rs (100%) rename src/test/{run-pass => ui}/regions/regions-self-impls.rs (100%) rename src/test/{run-pass => ui}/regions/regions-self-in-enums.rs (100%) rename src/test/{run-pass => ui}/regions/regions-simple.rs (100%) rename src/test/{run-pass => ui}/regions/regions-static-closure.rs (100%) rename src/test/{run-pass => ui}/regions/regions-trait-object-1.rs (100%) rename src/test/{run-pass => ui}/regions/regions-variance-contravariant-use-contravariant.rs (100%) rename src/test/{run-pass => ui}/regions/regions-variance-covariant-use-covariant.rs (100%) rename src/test/{run-pass => ui}/repeat-expr-in-static.rs (100%) rename src/test/{run-pass => ui}/repr_c_int_align.rs (100%) rename src/test/{run-pass => ui}/resolve-issue-2428.rs (100%) rename src/test/{run-pass => ui}/resolve-pseudo-shadowing.rs (100%) rename src/test/{run-pass => ui}/resource-assign-is-not-copy.rs (100%) rename src/test/{run-pass => ui}/resource-destruct.rs (100%) rename src/test/{run-pass => ui}/result-opt-conversions.rs (100%) rename src/test/{run-pass => ui}/ret-bang.rs (100%) rename src/test/{run-pass => ui}/ret-none.rs (100%) rename src/test/{run-pass => ui}/return-nil.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1014-2.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1014.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1789-as-cell/from-mut.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/box.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/constref.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/enum.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/for.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/general.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/lit.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/range.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/ref-region.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/reset-mode.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/slice.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/struct.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2005-default-binding-mode/tuple.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2151-raw-identifiers/attr.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2151-raw-identifiers/basic.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2151-raw-identifiers/items.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2151-raw-identifiers/macros.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2175-or-if-while-let/basic.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2302-self-struct-ctor.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc1445/eq-allows-match.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc1623.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc1717/auxiliary/clibrary.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc1717/library-override.rs (100%) rename src/test/{run-pass => ui}/rfcs/rfc1857-drop-order.rs (100%) rename src/test/{run-pass => ui}/running-with-no-runtime.rs (100%) rename src/test/{run-pass => ui}/rustc-rust-log.rs (100%) rename src/test/{run-pass => ui}/rvalue-static-promotion.rs (100%) rename src/test/{run-pass => ui}/segfault-no-out-of-stack.rs (100%) rename src/test/{run-pass => ui}/semistatement-in-lambda.rs (100%) rename src/test/{run-pass => ui}/sepcomp/auxiliary/sepcomp-extern-lib.rs (100%) rename src/test/{run-pass => ui}/sepcomp/auxiliary/sepcomp_cci_lib.rs (100%) rename src/test/{run-pass => ui}/sepcomp/auxiliary/sepcomp_lib.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-cci.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-extern.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-fns-backwards.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-fns.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-lib-lto.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-lib.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-statics.rs (100%) rename src/test/{run-pass => ui}/sepcomp/sepcomp-unwind.rs (100%) rename src/test/{run-pass => ui}/seq-compare.rs (100%) rename src/test/{run-pass => ui}/shadow.rs (100%) rename src/test/{run-pass => ui}/shadowed-use-visibility.rs (100%) rename src/test/{run-pass => ui}/shebang.rs (100%) rename src/test/{run-pass => ui}/signal-alternate-stack-cleanup.rs (100%) rename src/test/{run-pass => ui}/signal-exit-status.rs (100%) rename src/test/{run-pass => ui}/sigpipe-should-be-ignored.rs (100%) rename src/test/{run-pass => ui}/simd/simd-generics.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-float-math.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-float-minmax.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-arithmetic-saturating.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-arithmetic.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-bitmask.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-cast.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-comparison.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-elements.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-gather.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-reduction.rs (100%) rename src/test/{run-pass => ui}/simd/simd-intrinsic-generic-select.rs (100%) rename src/test/{run-pass => ui}/simd/simd-size-align.rs (100%) rename src/test/{run-pass => ui}/simd/simd-target-feature-mixup.rs (100%) rename src/test/{run-pass => ui}/simd/simd-type.rs (100%) rename src/test/{run-pass => ui}/simple-infer.rs (100%) rename src/test/{run-pass => ui}/simple_global_asm.rs (100%) rename src/test/{run-pass => ui}/size-and-align.rs (100%) rename src/test/{run-pass => ui}/sized-borrowed-pointer.rs (100%) rename src/test/{run-pass => ui}/sized-owned-pointer.rs (100%) rename src/test/{run-pass => ui}/sleep.rs (100%) rename src/test/{run-pass => ui}/slowparse-bstring.rs (100%) rename src/test/{run-pass => ui}/slowparse-string.rs (100%) rename src/test/{run-pass => ui}/specialization/assoc-ty-graph-cycle.rs (100%) rename src/test/{run-pass => ui}/specialization/auxiliary/cross_crates_defaults.rs (100%) rename src/test/{run-pass => ui}/specialization/auxiliary/go_trait.rs (100%) rename src/test/{run-pass => ui}/specialization/auxiliary/specialization_cross_crate.rs (100%) rename src/test/{run-pass => ui}/specialization/cross-crate-defaults.rs (100%) rename src/test/{run-pass => ui}/specialization/defaultimpl/allowed-cross-crate.rs (100%) rename src/test/{run-pass => ui}/specialization/defaultimpl/auxiliary/go_trait.rs (100%) rename src/test/{run-pass => ui}/specialization/defaultimpl/out-of-order.rs (100%) rename src/test/{run-pass => ui}/specialization/defaultimpl/overlap-projection.rs (100%) rename src/test/{run-pass => ui}/specialization/defaultimpl/projection.rs (100%) rename src/test/{run-pass => ui}/specialization/issue-50452.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-allowed-cross-crate.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-assoc-fns.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-basics.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-cross-crate-no-gate.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-cross-crate.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-default-methods.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-on-projection.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-out-of-order.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-overlap-projection.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-projection-alias.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-projection.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-super-traits.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-translate-projections-with-lifetimes.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-translate-projections-with-params.rs (100%) rename src/test/{run-pass => ui}/specialization/specialization-translate-projections.rs (100%) rename src/test/{run-pass => ui}/sse2.rs (100%) rename src/test/{run-pass => ui}/stable-addr-of.rs (100%) rename src/test/{run-pass => ui}/stack-probes-lto.rs (100%) rename src/test/{run-pass => ui}/stack-probes.rs (100%) rename src/test/{run-pass => ui}/statics/auxiliary/static-function-pointer-aux.rs (100%) rename src/test/{run-pass => ui}/statics/auxiliary/static-methods-crate.rs (100%) rename src/test/{run-pass => ui}/statics/auxiliary/static_fn_inline_xc_aux.rs (100%) rename src/test/{run-pass => ui}/statics/auxiliary/static_fn_trait_xc_aux.rs (100%) rename src/test/{run-pass => ui}/statics/auxiliary/static_mut_xc.rs (100%) rename src/test/{run-pass => ui}/statics/static-fn-inline-xc.rs (100%) rename src/test/{run-pass => ui}/statics/static-fn-trait-xc.rs (100%) rename src/test/{run-pass => ui}/statics/static-function-pointer-xc.rs (100%) rename src/test/{run-pass => ui}/statics/static-function-pointer.rs (100%) rename src/test/{run-pass => ui}/statics/static-impl.rs (100%) rename src/test/{run-pass => ui}/statics/static-method-in-trait-with-tps-intracrate.rs (100%) rename src/test/{run-pass => ui}/statics/static-method-xcrate.rs (100%) rename src/test/{run-pass => ui}/statics/static-methods-in-traits.rs (100%) rename src/test/{run-pass => ui}/statics/static-methods-in-traits2.rs (100%) rename src/test/{run-pass => ui}/statics/static-mut-foreign.rs (100%) rename src/test/{run-pass => ui}/statics/static-mut-xc.rs (100%) rename src/test/{run-pass => ui}/statics/static-recursive.rs (100%) rename src/test/{run-pass => ui}/stdio-is-blocking.rs (100%) rename src/test/{run-pass => ui}/str-concat.rs (100%) rename src/test/{run-pass => ui}/str-multiline.rs (100%) rename src/test/{run-pass => ui}/string-box-error.rs (100%) rename src/test/{run-pass => ui}/string-escapes.rs (100%) rename src/test/{run-pass => ui}/struct-ctor-mangling.rs (100%) rename src/test/{run-pass => ui}/structs-enums/align-enum.rs (100%) rename src/test/{run-pass => ui}/structs-enums/align-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class_2.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class_3.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class_4.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class_6.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class_cast.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/cci_class_trait.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/empty-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/namespaced_enum_emulate_flat.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/namespaced_enums.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/newtype_struct_xc.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/struct_destructuring_cross_crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/struct_variant_xc_aux.rs (100%) rename src/test/{run-pass => ui}/structs-enums/auxiliary/xcrate_struct_aliases.rs (100%) rename src/test/{run-pass => ui}/structs-enums/borrow-tuple-fields.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-cast-to-trait-cross-crate-2.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-cast-to-trait-multiple-types.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-cast-to-trait.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-dtor.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-exports.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-impl-very-parameterized-trait.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-implement-trait-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-implement-traits.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-method-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-methods-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-methods.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-poly-methods-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-poly-methods.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-separate-impl.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-str-field.rs (100%) rename src/test/{run-pass => ui}/structs-enums/class-typarams.rs (100%) rename src/test/{run-pass => ui}/structs-enums/classes-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/classes-self-referential.rs (100%) rename src/test/{run-pass => ui}/structs-enums/classes-simple-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/classes-simple-method.rs (100%) rename src/test/{run-pass => ui}/structs-enums/classes-simple.rs (100%) rename src/test/{run-pass => ui}/structs-enums/classes.rs (100%) rename src/test/{run-pass => ui}/structs-enums/codegen-tag-static-padding.rs (100%) rename src/test/{run-pass => ui}/structs-enums/compare-generic-enums.rs (100%) rename src/test/{run-pass => ui}/structs-enums/discrim-explicit-23030.rs (100%) rename src/test/{run-pass => ui}/structs-enums/empty-struct-braces.rs (100%) rename src/test/{run-pass => ui}/structs-enums/empty-tag.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-alignment.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-clike-ffi-as-int.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-discr.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-discrim-autosizing.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-discrim-manual-sizing.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-discrim-range-overflow.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-discrim-width-stuff.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-disr-val-pretty.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-export-inheritance.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-layout-optimization.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-non-c-like-repr-c-and-int.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-non-c-like-repr-c.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-non-c-like-repr-int.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-null-pointer-opt.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-nullable-const-null-with-fields.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-nullable-simplifycfg-misopt.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-univariant-repr.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-variants.rs (100%) rename src/test/{run-pass => ui}/structs-enums/enum-vec-initializer.rs (100%) rename src/test/{run-pass => ui}/structs-enums/export-abstract-tag.rs (100%) rename src/test/{run-pass => ui}/structs-enums/export-tag-variant.rs (100%) rename src/test/{run-pass => ui}/structs-enums/expr-if-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/expr-match-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/field-destruction-order.rs (100%) rename src/test/{run-pass => ui}/structs-enums/foreign-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/functional-struct-upd.rs (100%) rename src/test/{run-pass => ui}/structs-enums/ivec-tag.rs (100%) rename src/test/{run-pass => ui}/structs-enums/module-qualified-struct-destructure.rs (100%) rename src/test/{run-pass => ui}/structs-enums/namespaced-enum-emulate-flat-xc.rs (100%) rename src/test/{run-pass => ui}/structs-enums/namespaced-enum-emulate-flat.rs (100%) rename src/test/{run-pass => ui}/structs-enums/namespaced-enum-glob-import-xcrate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/namespaced-enum-glob-import.rs (100%) rename src/test/{run-pass => ui}/structs-enums/namespaced-enums-xcrate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/namespaced-enums.rs (100%) rename src/test/{run-pass => ui}/structs-enums/nested-enum-same-names.rs (100%) rename src/test/{run-pass => ui}/structs-enums/newtype-struct-drop-run.rs (100%) rename src/test/{run-pass => ui}/structs-enums/newtype-struct-with-dtor.rs (100%) rename src/test/{run-pass => ui}/structs-enums/newtype-struct-xc-2.rs (100%) rename src/test/{run-pass => ui}/structs-enums/newtype-struct-xc.rs (100%) rename src/test/{run-pass => ui}/structs-enums/nonzero-enum.rs (100%) rename src/test/{run-pass => ui}/structs-enums/numeric-fields.rs (100%) rename src/test/{run-pass => ui}/structs-enums/object-lifetime-default-from-ref-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/object-lifetime-default-from-rptr-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/rec-align-u32.rs (100%) rename src/test/{run-pass => ui}/structs-enums/rec-align-u64.rs (100%) rename src/test/{run-pass => ui}/structs-enums/rec-auto.rs (100%) rename src/test/{run-pass => ui}/structs-enums/rec-extend.rs (100%) rename src/test/{run-pass => ui}/structs-enums/rec-tup.rs (100%) rename src/test/{run-pass => ui}/structs-enums/rec.rs (100%) rename src/test/{run-pass => ui}/structs-enums/record-pat.rs (100%) rename src/test/{run-pass => ui}/structs-enums/resource-in-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/simple-generic-tag.rs (100%) rename src/test/{run-pass => ui}/structs-enums/simple-match-generic-tag.rs (100%) rename src/test/{run-pass => ui}/structs-enums/small-enum-range-edge.rs (100%) rename src/test/{run-pass => ui}/structs-enums/small-enums-with-fields.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-aliases-xcrate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-aliases.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-destructuring-cross-crate.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-field-shorthand.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-like-variant-construct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-like-variant-match.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-lit-functional-no-fields.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-literal-dtor.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-new-as-field-name.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-order-of-eval-1.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-order-of-eval-2.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-order-of-eval-3.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-order-of-eval-4.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-partial-move-1.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-partial-move-2.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-path-associated-type.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-path-self.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-pattern-matching.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-return.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct-variant-field-visibility.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct_variant_xc.rs (100%) rename src/test/{run-pass => ui}/structs-enums/struct_variant_xc_match.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-align-dyn-u64.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-align-dyn-variants.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-align-shape.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-align-u64.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-disr-val-shape.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-exports.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-in-block.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-variant-disr-type-mismatch.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag-variant-disr-val.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tag.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tuple-struct-construct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tuple-struct-constructor-pointer.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tuple-struct-destructuring.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tuple-struct-matching.rs (100%) rename src/test/{run-pass => ui}/structs-enums/tuple-struct-trivial.rs (100%) rename src/test/{run-pass => ui}/structs-enums/uninstantiable-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/unit-like-struct-drop-run.rs (100%) rename src/test/{run-pass => ui}/structs-enums/unit-like-struct.rs (100%) rename src/test/{run-pass => ui}/structs-enums/variant-structs-trivial.rs (100%) rename src/test/{run-pass => ui}/structured-compare.rs (100%) rename src/test/{run-pass => ui}/super-fast-paren-parsing.rs (100%) rename src/test/{run-pass => ui}/super.rs (100%) rename src/test/{run-pass => ui}/supported-cast.rs (100%) rename src/test/{run-pass => ui}/svh-add-nothing.rs (100%) rename src/test/{run-pass => ui}/swap-1.rs (100%) rename src/test/{run-pass => ui}/swap-2.rs (100%) rename src/test/{run-pass => ui}/swap-overlapping.rs (100%) rename src/test/{run-pass => ui}/tail-call-arg-leak.rs (100%) rename src/test/{run-pass => ui}/tail-cps.rs (100%) rename src/test/{run-pass => ui}/tail-direct.rs (100%) rename src/test/{run-pass => ui}/tcp-stress.rs (100%) rename src/test/{run-pass => ui}/terminate-in-initializer.rs (100%) rename src/test/{run-pass => ui}/test-allow-dead-extern-static-no-warning.rs (100%) rename src/test/{run-pass => ui}/test-allow-fail-attr.rs (100%) rename src/test/{run-pass => ui}/test-fn-signature-verification-for-explicit-return-type.rs (100%) rename src/test/{run-pass => ui}/test-main-not-dead-attr.rs (100%) rename src/test/{run-pass => ui}/test-main-not-dead.rs (100%) rename src/test/{run-pass => ui}/test-runner-hides-buried-main.rs (100%) rename src/test/{run-pass => ui}/test-runner-hides-main.rs (100%) rename src/test/{run-pass => ui}/test-runner-hides-start.rs (100%) rename src/test/{run-pass => ui}/test-should-fail-good-message.rs (100%) rename src/test/{run-pass => ui}/test-vs-cfg-test.rs (100%) rename src/test/{run-pass => ui}/thin-lto-global-allocator.rs (100%) rename src/test/{run-pass => ui}/thinlto/all-crates.rs (100%) rename src/test/{run-pass => ui}/thinlto/auxiliary/dylib.rs (100%) rename src/test/{run-pass => ui}/thinlto/auxiliary/msvc-imp-present.rs (100%) rename src/test/{run-pass => ui}/thinlto/auxiliary/thin-lto-inlines-aux.rs (100%) rename src/test/{run-pass => ui}/thinlto/dylib-works.rs (100%) rename src/test/{run-pass => ui}/thinlto/msvc-imp-present.rs (100%) rename src/test/{run-pass => ui}/thinlto/thin-lto-inlines.rs (100%) rename src/test/{run-pass => ui}/thinlto/thin-lto-inlines2.rs (100%) rename src/test/{run-pass => ui}/thinlto/weak-works.rs (100%) rename src/test/{run-pass => ui}/thread-local-not-in-prelude.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/auxiliary/thread-local-extern-static.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/comm.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/send-is-not-static-par-for.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/send-resource.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/send-type-inference.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/send_str_hashmap.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/send_str_treemap.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sendable-class.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sendfn-is-a-block.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sendfn-spawn-with-fn-arg.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/spawn-fn.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/spawn-types.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/spawn.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/spawn2.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/spawning-with-debug.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/std-sync-right-kind-impls.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sync-send-atomics.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sync-send-in-std.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sync-send-iterators-in-libcollections.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/sync-send-iterators-in-libcore.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-0.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-1.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-10.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-11.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-12.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-13.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-14.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-15.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-16.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-17.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-3.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-4.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-5.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-6.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-7.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-9.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-comm-chan-nil.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-life-0.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-spawn-move-and-copy.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/task-stderr.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/thread-local-extern-static.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/thread-local-syntax.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/threads.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/tls-init-on-init.rs (100%) rename src/test/{run-pass => ui}/threads-sendsync/tls-try-with.rs (100%) rename src/test/{run-pass => ui}/tool_attributes.rs (100%) rename src/test/{run-pass => ui}/tool_lints_2018_preview.rs (100%) rename src/test/{run-pass => ui}/trailing-comma.rs (100%) rename src/test/{run-pass => ui}/traits/anon-trait-static-method.rs (100%) rename src/test/{run-pass => ui}/traits/anon_trait_static_method_exe.rs (100%) rename src/test/{run-pass => ui}/traits/assignability-trait.rs (100%) rename src/test/{run-pass => ui}/traits/astconv-cycle-between-trait-and-type.rs (100%) rename src/test/{run-pass => ui}/traits/augmented-assignments-trait.rs (100%) rename src/test/{run-pass => ui}/traits/auto-traits.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/anon_trait_static_method_lib.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/go_trait.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_alias.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_default_method_xc_aux.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_default_method_xc_aux_2.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_inheritance_auto_xc_2_aux.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_inheritance_auto_xc_aux.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_inheritance_overloading_xc.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/trait_xc_call_aux.rs (100%) rename src/test/{run-pass => ui}/traits/auxiliary/traitimpl.rs (100%) rename src/test/{run-pass => ui}/traits/cycle-trait-type-trait.rs (100%) rename src/test/{run-pass => ui}/traits/default-method-supertrait-vtable.rs (100%) rename src/test/{run-pass => ui}/traits/dyn-trait.rs (100%) rename src/test/{run-pass => ui}/traits/fmt-pointer-trait.rs (100%) rename src/test/{run-pass => ui}/traits/impl-implicit-trait.rs (100%) rename src/test/{run-pass => ui}/traits/impl-inherent-prefer-over-trait.rs (100%) rename src/test/{run-pass => ui}/traits/infer-from-object-trait-issue-26952.rs (100%) rename src/test/{run-pass => ui}/traits/inherent-trait-method-order.rs (100%) rename src/test/{run-pass => ui}/traits/kindck-owned-trait-contains-1.rs (100%) rename src/test/{run-pass => ui}/traits/multiple-trait-bounds.rs (100%) rename src/test/{run-pass => ui}/traits/object-one-type-two-traits.rs (100%) rename src/test/{run-pass => ui}/traits/overlap-permitted-for-marker-traits-neg.rs (100%) rename src/test/{run-pass => ui}/traits/overlap-permitted-for-marker-traits.rs (100%) rename src/test/{run-pass => ui}/traits/parameterized-trait-with-bounds.rs (100%) rename src/test/{run-pass => ui}/traits/principal-less-trait-objects.rs (100%) rename src/test/{run-pass => ui}/traits/supertrait-default-generics.rs (100%) rename src/test/{run-pass => ui}/traits/syntax-trait-polarity.rs (100%) rename src/test/{run-pass => ui}/traits/trait-alias-import-cross-crate.rs (100%) rename src/test/{run-pass => ui}/traits/trait-alias-import.rs (100%) rename src/test/{run-pass => ui}/traits/trait-bounds-basic.rs (100%) rename src/test/{run-pass => ui}/traits/trait-bounds-impl-comparison-duplicates.rs (100%) rename src/test/{run-pass => ui}/traits/trait-bounds-in-arc.rs (100%) rename src/test/{run-pass => ui}/traits/trait-bounds-recursion.rs (100%) rename src/test/{run-pass => ui}/traits/trait-bounds.rs (100%) rename src/test/{run-pass => ui}/traits/trait-cache-issue-18209.rs (100%) rename src/test/{run-pass => ui}/traits/trait-coercion-generic.rs (100%) rename src/test/{run-pass => ui}/traits/trait-coercion.rs (100%) rename src/test/{run-pass => ui}/traits/trait-composition-trivial.rs (100%) rename src/test/{run-pass => ui}/traits/trait-copy-guessing.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-bound-subst.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-bound-subst2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-bound-subst3.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-bound-subst4.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-bound.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-xc-2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-default-method-xc.rs (100%) rename src/test/{run-pass => ui}/traits/trait-false-ambiguity-where-clause-builtin-bound.rs (100%) rename src/test/{run-pass => ui}/traits/trait-generic.rs (100%) rename src/test/{run-pass => ui}/traits/trait-impl-2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-impl.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-auto-xc-2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-auto-xc.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-auto.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-call-bound-inherited.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-call-bound-inherited2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-cast-without-call-to-supertrait.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-cast.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-cross-trait-call-xc.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-cross-trait-call.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-diamond.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-multiple-inheritors.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-multiple-params.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-num.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-num0.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-num1.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-num2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-num3.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-num5.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-overloading-simple.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-overloading-xc-exe.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-overloading.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-self-in-supertype.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-self.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-simple.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-static.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-static2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-subst.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-subst2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance-visibility.rs (100%) rename src/test/{run-pass => ui}/traits/trait-inheritance2.rs (100%) rename src/test/{run-pass => ui}/traits/trait-item-inside-macro.rs (100%) rename src/test/{run-pass => ui}/traits/trait-object-auto-dedup.rs (100%) rename src/test/{run-pass => ui}/traits/trait-object-exclusion.rs (100%) rename src/test/{run-pass => ui}/traits/trait-object-generics.rs (100%) rename src/test/{run-pass => ui}/traits/trait-object-lifetime-first.rs (100%) rename src/test/{run-pass => ui}/traits/trait-object-with-lifetime-bound.rs (100%) rename src/test/{run-pass => ui}/traits/trait-region-pointer-simple.rs (100%) rename src/test/{run-pass => ui}/traits/trait-safety-ok-cc.rs (100%) rename src/test/{run-pass => ui}/traits/trait-safety-ok.rs (100%) rename src/test/{run-pass => ui}/traits/trait-static-method-overwriting.rs (100%) rename src/test/{run-pass => ui}/traits/trait-to-str.rs (100%) rename src/test/{run-pass => ui}/traits/trait-where-clause-vs-impl.rs (100%) rename src/test/{run-pass => ui}/traits/trait-with-bounds-default.rs (100%) rename src/test/{run-pass => ui}/traits/traits-assoc-type-in-supertrait.rs (100%) rename src/test/{run-pass => ui}/traits/traits-conditional-dispatch.rs (100%) rename src/test/{run-pass => ui}/traits/traits-conditional-model-fn.rs (100%) rename src/test/{run-pass => ui}/traits/traits-default-method-macro.rs (100%) rename src/test/{run-pass => ui}/traits/traits-default-method-mut.rs (100%) rename src/test/{run-pass => ui}/traits/traits-default-method-self.rs (100%) rename src/test/{run-pass => ui}/traits/traits-default-method-trivial.rs (100%) rename src/test/{run-pass => ui}/traits/traits-elaborate-type-region.rs (100%) rename src/test/{run-pass => ui}/traits/traits-impl-object-overlap-issue-23853.rs (100%) rename src/test/{run-pass => ui}/traits/traits-issue-22019.rs (100%) rename src/test/{run-pass => ui}/traits/traits-issue-22110.rs (100%) rename src/test/{run-pass => ui}/traits/traits-issue-22655.rs (100%) rename src/test/{run-pass => ui}/traits/traits-issue-23003.rs (100%) rename src/test/{run-pass => ui}/traits/traits-issue-26339.rs (100%) rename src/test/{run-pass => ui}/traits/traits-multidispatch-infer-convert-target.rs (100%) rename src/test/{run-pass => ui}/traits/traits-repeated-supertrait.rs (100%) rename src/test/{run-pass => ui}/traits/ufcs-trait-object.rs (100%) rename src/test/{run-pass => ui}/traits/use-trait-before-def.rs (100%) rename src/test/{run-pass => ui}/transmute-non-immediate-to-immediate.rs (100%) rename src/test/{run-pass => ui}/transmute-specialization.rs (100%) rename src/test/{run-pass => ui}/trivial-message.rs (100%) rename src/test/{run-pass => ui}/try-block.rs (100%) rename src/test/{run-pass => ui}/try-from-int-error-partial-eq.rs (100%) rename src/test/{run-pass => ui}/try-is-identifier-edition2015.rs (100%) rename src/test/{run-pass => ui}/try-operator-custom.rs (100%) rename src/test/{run-pass => ui}/try-operator-hygiene.rs (100%) rename src/test/{run-pass => ui}/try-operator.rs (100%) rename src/test/{run-pass => ui}/try-wait.rs (100%) rename src/test/{run-pass => ui}/try_from.rs (100%) rename src/test/{run-pass => ui}/tup.rs (100%) rename src/test/{run-pass => ui}/tuple-index-fat-types.rs (100%) rename src/test/{run-pass => ui}/tuple-index.rs (100%) rename src/test/{run-pass => ui}/tydesc-name.rs (100%) rename src/test/{run-pass => ui}/type-ascription.rs (100%) rename src/test/{run-pass => ui}/type-id-higher-rank-2.rs (100%) rename src/test/{run-pass => ui}/type-id-higher-rank.rs (100%) rename src/test/{run-pass => ui}/type-in-nested-module.rs (100%) rename src/test/{run-pass => ui}/type-infer-generalize-ty-var.rs (100%) rename src/test/{run-pass => ui}/type-namespace.rs (100%) rename src/test/{run-pass => ui}/type-param-constraints.rs (100%) rename src/test/{run-pass => ui}/type-param.rs (100%) rename src/test/{run-pass => ui}/type-params-in-for-each.rs (100%) rename src/test/{run-pass => ui}/type-ptr.rs (100%) rename src/test/{run-pass => ui}/type-sizes.rs (100%) rename src/test/{run-pass => ui}/type-use-i1-versus-i8.rs (100%) rename src/test/{run-pass => ui}/typeck-closure-to-unsafe-fn-ptr.rs (100%) rename src/test/{run-pass => ui}/typeck-fn-to-unsafe-fn-ptr.rs (100%) rename src/test/{run-pass => ui}/typeck_type_placeholder_1.rs (100%) rename src/test/{run-pass => ui}/typeclasses-eq-example-static.rs (100%) rename src/test/{run-pass => ui}/typeclasses-eq-example.rs (100%) rename src/test/{run-pass => ui}/typeid-intrinsic.rs (100%) rename src/test/{run-pass => ui}/typestate-cfg-nesting.rs (100%) rename src/test/{run-pass => ui}/typestate-multi-decl.rs (100%) rename src/test/{run-pass => ui}/ufcs-polymorphic-paths.rs (100%) rename src/test/{run-pass => ui}/ufcs-type-params.rs (100%) rename src/test/{run-pass => ui}/unary-minus-suffix-inference.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/auxiliary/unboxed-closures-cross-crate.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-all-traits.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-blanket-fn-mut.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-blanket-fn.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-boxed.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-by-ref.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-call-fn-autoderef.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-call-sugar-object.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-counter-not-moved.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-cross-crate.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-direct-sugary-call.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-drop.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-extern-fn-hr.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-extern-fn.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-generic.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-fnmut-move.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-fnmut.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-fnonce-move.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-fnonce.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-kind.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-recursive-fn.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-infer-upvar.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-manual-impl.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-monomorphization.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-move-mutable.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-prelude.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-simple.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-single-word-env.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-static-call-fn-once.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-sugar-object.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-unique-type-id.rs (100%) rename src/test/{run-pass => ui}/unboxed-closures/unboxed-closures-zero-args.rs (100%) rename src/test/{run-pass => ui}/underscore-lifetimes.rs (100%) rename src/test/{run-pass => ui}/underscore-method-after-integer.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/auxiliary/issue-53691.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/basic-nested.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/basic.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/issue-53691.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/macros-nested.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/macros.rs (100%) rename src/test/{run-pass => ui}/uniform-paths/same-crate.rs (100%) rename src/test/{run-pass => ui}/unify-return-ty.rs (100%) rename src/test/{run-pass => ui}/uninit-empty-types.rs (100%) rename src/test/{run-pass => ui}/union/auxiliary/union.rs (100%) rename src/test/{run-pass => ui}/union/union-align.rs (100%) rename src/test/{run-pass => ui}/union/union-backcomp.rs (100%) rename src/test/{run-pass => ui}/union/union-basic.rs (100%) rename src/test/{run-pass => ui}/union/union-c-interop.rs (100%) rename src/test/{run-pass => ui}/union/union-const-codegen.rs (100%) rename src/test/{run-pass => ui}/union/union-const-eval-field.rs (100%) rename src/test/{run-pass => ui}/union/union-drop-assign.rs (100%) rename src/test/{run-pass => ui}/union/union-drop.rs (100%) rename src/test/{run-pass => ui}/union/union-inherent-method.rs (100%) rename src/test/{run-pass => ui}/union/union-macro.rs (100%) rename src/test/{run-pass => ui}/union/union-nodrop.rs (100%) rename src/test/{run-pass => ui}/union/union-nonzero.rs (100%) rename src/test/{run-pass => ui}/union/union-overwrite.rs (100%) rename src/test/{run-pass => ui}/union/union-packed.rs (100%) rename src/test/{run-pass => ui}/union/union-pat-refutability.rs (100%) rename src/test/{run-pass => ui}/union/union-trait-impl.rs (100%) rename src/test/{run-pass => ui}/union/union-transmute.rs (100%) rename src/test/{run-pass => ui}/unique/unique-assign-copy.rs (100%) rename src/test/{run-pass => ui}/unique/unique-assign-drop.rs (100%) rename src/test/{run-pass => ui}/unique/unique-assign-generic.rs (100%) rename src/test/{run-pass => ui}/unique/unique-assign.rs (100%) rename src/test/{run-pass => ui}/unique/unique-autoderef-field.rs (100%) rename src/test/{run-pass => ui}/unique/unique-autoderef-index.rs (100%) rename src/test/{run-pass => ui}/unique/unique-cmp.rs (100%) rename src/test/{run-pass => ui}/unique/unique-containing-tag.rs (100%) rename src/test/{run-pass => ui}/unique/unique-create.rs (100%) rename src/test/{run-pass => ui}/unique/unique-decl-init-copy.rs (100%) rename src/test/{run-pass => ui}/unique/unique-decl-init.rs (100%) rename src/test/{run-pass => ui}/unique/unique-decl-move.rs (100%) rename src/test/{run-pass => ui}/unique/unique-decl.rs (100%) rename src/test/{run-pass => ui}/unique/unique-deref.rs (100%) rename src/test/{run-pass => ui}/unique/unique-destructure.rs (100%) rename src/test/{run-pass => ui}/unique/unique-drop-complex.rs (100%) rename src/test/{run-pass => ui}/unique/unique-ffi-symbols.rs (100%) rename src/test/{run-pass => ui}/unique/unique-fn-arg-move.rs (100%) rename src/test/{run-pass => ui}/unique/unique-fn-arg-mut.rs (100%) rename src/test/{run-pass => ui}/unique/unique-fn-arg.rs (100%) rename src/test/{run-pass => ui}/unique/unique-fn-ret.rs (100%) rename src/test/{run-pass => ui}/unique/unique-generic-assign.rs (100%) rename src/test/{run-pass => ui}/unique/unique-in-tag.rs (100%) rename src/test/{run-pass => ui}/unique/unique-in-vec-copy.rs (100%) rename src/test/{run-pass => ui}/unique/unique-in-vec.rs (100%) rename src/test/{run-pass => ui}/unique/unique-init.rs (100%) rename src/test/{run-pass => ui}/unique/unique-kinds.rs (100%) rename src/test/{run-pass => ui}/unique/unique-log.rs (100%) rename src/test/{run-pass => ui}/unique/unique-match-discrim.rs (100%) rename src/test/{run-pass => ui}/unique/unique-move-drop.rs (100%) rename src/test/{run-pass => ui}/unique/unique-move-temp.rs (100%) rename src/test/{run-pass => ui}/unique/unique-move.rs (100%) rename src/test/{run-pass => ui}/unique/unique-mutable.rs (100%) rename src/test/{run-pass => ui}/unique/unique-object-move.rs (100%) rename src/test/{run-pass => ui}/unique/unique-pat-2.rs (100%) rename src/test/{run-pass => ui}/unique/unique-pat-3.rs (100%) rename src/test/{run-pass => ui}/unique/unique-pat.rs (100%) rename src/test/{run-pass => ui}/unique/unique-rec.rs (100%) rename src/test/{run-pass => ui}/unique/unique-send-2.rs (100%) rename src/test/{run-pass => ui}/unique/unique-send.rs (100%) rename src/test/{run-pass => ui}/unique/unique-swap.rs (100%) rename src/test/{run-pass => ui}/unit.rs (100%) rename src/test/{run-pass => ui}/unnamed_argument_mode.rs (100%) rename src/test/{run-pass => ui}/unreachable-code-1.rs (100%) rename src/test/{run-pass => ui}/unreachable-code.rs (100%) rename src/test/{run-pass => ui}/unsafe-coercion.rs (100%) rename src/test/{run-pass => ui}/unsafe-fn-called-from-unsafe-blk.rs (100%) rename src/test/{run-pass => ui}/unsafe-fn-called-from-unsafe-fn.rs (100%) rename src/test/{run-pass => ui}/unsafe-pointer-assignability.rs (100%) rename src/test/{run-pass => ui}/unsized-locals/autoderef.rs (100%) rename src/test/{run-pass => ui}/unsized-locals/box-fnonce.rs (100%) rename src/test/{run-pass => ui}/unsized-locals/by-value-trait-object-safety-withdefault.rs (100%) rename src/test/{run-pass => ui}/unsized-locals/reference-unsized-locals.rs (100%) rename src/test/{run-pass => ui}/unsized-locals/simple-unsized-locals.rs (100%) rename src/test/{run-pass => ui}/unsized-locals/unsized-parameters.rs (100%) rename src/test/{run-pass => ui}/unsized-tuple-impls.rs (100%) rename src/test/{run-pass => ui}/unsized.rs (100%) rename src/test/{run-pass => ui}/unsized2.rs (100%) rename src/test/{run-pass => ui}/unused-move-capture.rs (100%) rename src/test/{run-pass => ui}/unused-move.rs (100%) rename src/test/{run-pass => ui}/unwind-resource.rs (100%) rename src/test/{run-pass => ui}/unwind-unique.rs (100%) rename src/test/{run-pass => ui}/use-crate-name-alias.rs (100%) rename src/test/{run-pass => ui}/use-import-export.rs (100%) rename src/test/{run-pass => ui}/use-keyword-2.rs (100%) rename src/test/{run-pass => ui}/use-mod.rs (100%) rename src/test/{run-pass => ui}/use-nested-groups.rs (100%) rename src/test/{run-pass => ui}/use.rs (100%) rename src/test/{run-pass => ui}/use_inline_dtor.rs (100%) rename src/test/{run-pass => ui}/using-target-feature-unstable.rs (100%) rename src/test/{run-pass => ui}/utf8-bom.rs (100%) rename src/test/{run-pass => ui}/utf8.rs (100%) rename src/test/{run-pass => ui}/utf8_chars.rs (100%) rename src/test/{run-pass => ui}/variadic-ffi.rs (100%) rename src/test/{run-pass => ui}/variance-intersection-of-ref-and-opt-ref.rs (100%) rename src/test/{run-pass => ui}/variance-iterators-in-libcore.rs (100%) rename src/test/{run-pass => ui}/volatile-fat-ptr.rs (100%) rename src/test/{run-pass => ui}/wait-forked-but-failed-child.rs (100%) rename src/test/{run-pass => ui}/warn-ctypes-inhibit.rs (100%) rename src/test/{run-pass => ui}/weak-lang-item.rs (100%) rename src/test/{run-pass => ui}/weak-new-uninhabited-issue-48493.rs (100%) rename src/test/{run-pass => ui}/weird-exit-code.rs (100%) rename src/test/{run-pass => ui}/weird-exprs.rs (100%) rename src/test/{run-pass => ui}/wf-bound-region-in-object-type.rs (100%) rename src/test/{run-pass => ui}/where-clauses/auxiliary/where_clauses_xc.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clause-bounds-inconsistency.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clause-early-bound-lifetimes.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clause-region-outlives.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clauses-cross-crate.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clauses-lifetimes.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clauses-method.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clauses-unboxed-closures.rs (100%) rename src/test/{run-pass => ui}/where-clauses/where-clauses.rs (100%) rename src/test/{run-pass => ui}/wrapping-int-api.rs (100%) rename src/test/{run-pass => ui}/write-fmt-errors.rs (100%) rename src/test/{run-pass => ui}/writealias.rs (100%) rename src/test/{run-pass => ui}/wrong-hashset-issue-42918.rs (100%) rename src/test/{run-pass => ui}/x86stdcall.rs (100%) rename src/test/{run-pass => ui}/x86stdcall2.rs (100%) rename src/test/{run-pass => ui}/yield.rs (100%) rename src/test/{run-pass => ui}/yield1.rs (100%) rename src/test/{run-pass => ui}/yield2.rs (100%) rename src/test/{run-pass => ui}/z-crate-attr.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-size-type-destructors.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-sized-binary-heap-push.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-sized-btreemap-insert.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-sized-linkedlist-push.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-sized-tuple-struct.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-sized-vec-deque-push.rs (100%) rename src/test/{run-pass => ui}/zero-sized/zero-sized-vec-push.rs (100%) diff --git a/src/test/run-pass/.gitattributes b/src/test/run-pass/.gitattributes deleted file mode 100644 index c6a6f23074d..00000000000 --- a/src/test/run-pass/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -lexer-crlf-line-endings-string-literal-doc-comment.rs -text diff --git a/src/test/run-pass/if-ret.stderr b/src/test/run-pass/if-ret.stderr deleted file mode 100644 index 73402e55a4f..00000000000 --- a/src/test/run-pass/if-ret.stderr +++ /dev/null @@ -1,8 +0,0 @@ -warning: unreachable block in `if` expression - --> $DIR/if-ret.rs:6:24 - | -LL | fn foo() { if (return) { } } - | ^^^ - | - = note: `#[warn(unreachable_code)]` on by default - diff --git a/src/test/run-pass/macros/macro-use-all-and-none.stderr b/src/test/run-pass/macros/macro-use-all-and-none.stderr deleted file mode 100644 index ce12a539541..00000000000 --- a/src/test/run-pass/macros/macro-use-all-and-none.stderr +++ /dev/null @@ -1,8 +0,0 @@ -warning: unused attribute - --> $DIR/macro-use-all-and-none.rs:5:1 - | -LL | #[macro_use()] - | ^^^^^^^^^^^^^^ - | - = note: `#[warn(unused_attributes)]` on by default - diff --git a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs b/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs deleted file mode 100644 index 02d4851ab2a..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.rs +++ /dev/null @@ -1,42 +0,0 @@ -// run-pass -#![feature(crate_in_paths)] -#![allow(dead_code)] -use crate::m::f; -use crate as root; - -mod m { - pub fn f() -> u8 { 1 } - pub fn g() -> u8 { 2 } - pub fn h() -> u8 { 3 } - - // OK, visibilities are implicitly absolute like imports - pub(in crate::m) struct S; -} - -mod n { - use crate::m::f; - use crate as root; - pub fn check() { - assert_eq!(f(), 1); - assert_eq!(crate::m::g(), 2); - assert_eq!(root::m::h(), 3); - } -} - -mod p { - use {super::f, crate::m::g, self::root::m::h}; - use crate as root; - pub fn check() { - assert_eq!(f(), 1); - assert_eq!(g(), 2); - assert_eq!(h(), 3); - } -} - -fn main() { - assert_eq!(f(), 1); - assert_eq!(crate::m::g(), 2); - assert_eq!(root::m::h(), 3); - n::check(); - p::check(); -} diff --git a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.stderr b/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.stderr deleted file mode 100644 index 12f799f6e47..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-absolute.stderr +++ /dev/null @@ -1,8 +0,0 @@ -warning: the feature `crate_in_paths` has been stable since 1.30.0 and no longer requires an attribute to enable - --> $DIR/crate-path-absolute.rs:2:12 - | -LL | #![feature(crate_in_paths)] - | ^^^^^^^^^^^^^^ - | - = note: `#[warn(stable_features)]` on by default - diff --git a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs b/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs deleted file mode 100644 index 5fa8d7b2a49..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.rs +++ /dev/null @@ -1,15 +0,0 @@ -// run-pass -#![feature(crate_in_paths)] -#![feature(crate_visibility_modifier)] -#![allow(dead_code)] -mod m { - pub struct Z; - pub struct S1(crate (::m::Z)); // OK - pub struct S2((crate ::m::Z)); // OK - pub struct S3(crate ::m::Z); // OK - pub struct S4(crate crate::m::Z); // OK -} - -fn main() { - crate struct S; // OK (item in statement position) -} diff --git a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.stderr b/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.stderr deleted file mode 100644 index 23a0e544554..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-crate-paths/crate-path-visibility-ambiguity.stderr +++ /dev/null @@ -1,8 +0,0 @@ -warning: the feature `crate_in_paths` has been stable since 1.30.0 and no longer requires an attribute to enable - --> $DIR/crate-path-visibility-ambiguity.rs:2:12 - | -LL | #![feature(crate_in_paths)] - | ^^^^^^^^^^^^^^ - | - = note: `#[warn(stable_features)]` on by default - diff --git a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/auxiliary/xcrate.rs b/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/auxiliary/xcrate.rs deleted file mode 100644 index 07e70648452..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/auxiliary/xcrate.rs +++ /dev/null @@ -1,7 +0,0 @@ -#[derive(Debug, PartialEq)] -pub struct S; - -#[derive(Debug)] -pub struct Z; - -pub trait Tr<'a> {} diff --git a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs b/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs deleted file mode 100644 index 566b3581046..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/basic.rs +++ /dev/null @@ -1,25 +0,0 @@ -// run-pass -#![allow(dead_code)] -// aux-build:xcrate.rs -// compile-flags:--extern xcrate -// edition:2018 - -#![allow(unused_imports)] - -use xcrate::Z; - -fn f() { - use xcrate; - use xcrate as ycrate; - let s = xcrate::S; - assert_eq!(format!("{:?}", s), "S"); - let z = ycrate::Z; - assert_eq!(format!("{:?}", z), "Z"); -} - -fn main() { - let s = ::xcrate::S; - assert_eq!(format!("{:?}", s), "S"); - let z = Z; - assert_eq!(format!("{:?}", z), "Z"); -} diff --git a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs b/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs deleted file mode 100644 index 7ed82e32a0a..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/test.rs +++ /dev/null @@ -1,10 +0,0 @@ -// run-pass -// Check that `#[test]` works with extern-absolute-paths enabled. -// -// Regression test for #47075. - -// edition:2018 -// compile-flags: --test - -#[test] -fn test() {} diff --git a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/whitelisted.rs b/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/whitelisted.rs deleted file mode 100644 index 251406e7604..00000000000 --- a/src/test/run-pass/rfcs/rfc-2126-extern-absolute-paths/whitelisted.rs +++ /dev/null @@ -1,14 +0,0 @@ -// run-pass -// edition:2018 - -// Tests that `core` and `std` are always available. -use core::iter; -use std::io; -// FIXME(eddyb) Add a `meta` crate to the distribution. -// use meta; - -fn main() { - for _ in iter::once(()) { - io::stdout(); - } -} diff --git a/src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs b/src/test/ui-fulldeps/ast_stmt_expr_attr.rs similarity index 100% rename from src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs rename to src/test/ui-fulldeps/ast_stmt_expr_attr.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-13560-1.rs b/src/test/ui-fulldeps/auxiliary/issue-13560-1.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-13560-1.rs rename to src/test/ui-fulldeps/auxiliary/issue-13560-1.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-13560-2.rs b/src/test/ui-fulldeps/auxiliary/issue-13560-2.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-13560-2.rs rename to src/test/ui-fulldeps/auxiliary/issue-13560-2.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-13560-3.rs b/src/test/ui-fulldeps/auxiliary/issue-13560-3.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-13560-3.rs rename to src/test/ui-fulldeps/auxiliary/issue-13560-3.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-16822.rs b/src/test/ui-fulldeps/auxiliary/issue-16822.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-16822.rs rename to src/test/ui-fulldeps/auxiliary/issue-16822.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-18502.rs b/src/test/ui-fulldeps/auxiliary/issue-18502.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-18502.rs rename to src/test/ui-fulldeps/auxiliary/issue-18502.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-24106.rs b/src/test/ui-fulldeps/auxiliary/issue-24106.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-24106.rs rename to src/test/ui-fulldeps/auxiliary/issue-24106.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/issue-40001-plugin.rs b/src/test/ui-fulldeps/auxiliary/issue-40001-plugin.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/issue-40001-plugin.rs rename to src/test/ui-fulldeps/auxiliary/issue-40001-plugin.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs b/src/test/ui-fulldeps/auxiliary/linkage-visibility.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs rename to src/test/ui-fulldeps/auxiliary/linkage-visibility.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/lint-for-crate.rs b/src/test/ui-fulldeps/auxiliary/lint-for-crate-rpass.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/lint-for-crate.rs rename to src/test/ui-fulldeps/auxiliary/lint-for-crate-rpass.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/llvm-pass-plugin.rs b/src/test/ui-fulldeps/auxiliary/llvm-pass-plugin.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/llvm-pass-plugin.rs rename to src/test/ui-fulldeps/auxiliary/llvm-pass-plugin.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/lto-syntax-extension-lib.rs b/src/test/ui-fulldeps/auxiliary/lto-syntax-extension-lib.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/lto-syntax-extension-lib.rs rename to src/test/ui-fulldeps/auxiliary/lto-syntax-extension-lib.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/lto-syntax-extension-plugin.rs b/src/test/ui-fulldeps/auxiliary/lto-syntax-extension-plugin.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/lto-syntax-extension-plugin.rs rename to src/test/ui-fulldeps/auxiliary/lto-syntax-extension-plugin.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/macro-crate-test.rs b/src/test/ui-fulldeps/auxiliary/macro-crate-test.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/macro-crate-test.rs rename to src/test/ui-fulldeps/auxiliary/macro-crate-test.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/outlive-expansion-phase.rs b/src/test/ui-fulldeps/auxiliary/outlive-expansion-phase.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/outlive-expansion-phase.rs rename to src/test/ui-fulldeps/auxiliary/outlive-expansion-phase.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/plugin-args.rs b/src/test/ui-fulldeps/auxiliary/plugin-args.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/plugin-args.rs rename to src/test/ui-fulldeps/auxiliary/plugin-args.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/roman-numerals.rs b/src/test/ui-fulldeps/auxiliary/roman-numerals.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/roman-numerals.rs rename to src/test/ui-fulldeps/auxiliary/roman-numerals.rs diff --git a/src/test/run-pass-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs b/src/test/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs similarity index 100% rename from src/test/run-pass-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs rename to src/test/ui-fulldeps/auxiliary/syntax-extension-with-dll-deps-1.rs diff --git a/src/test/run-pass-fulldeps/compiler-calls.rs b/src/test/ui-fulldeps/compiler-calls.rs similarity index 100% rename from src/test/run-pass-fulldeps/compiler-calls.rs rename to src/test/ui-fulldeps/compiler-calls.rs diff --git a/src/test/run-pass-fulldeps/create-dir-all-bare.rs b/src/test/ui-fulldeps/create-dir-all-bare.rs similarity index 100% rename from src/test/run-pass-fulldeps/create-dir-all-bare.rs rename to src/test/ui-fulldeps/create-dir-all-bare.rs diff --git a/src/test/run-pass-fulldeps/derive-no-std-not-supported.rs b/src/test/ui-fulldeps/derive-no-std-not-supported.rs similarity index 100% rename from src/test/run-pass-fulldeps/derive-no-std-not-supported.rs rename to src/test/ui-fulldeps/derive-no-std-not-supported.rs diff --git a/src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs b/src/test/ui-fulldeps/deriving-encodable-decodable-box.rs similarity index 100% rename from src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs rename to src/test/ui-fulldeps/deriving-encodable-decodable-box.rs diff --git a/src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs b/src/test/ui-fulldeps/deriving-encodable-decodable-cell-refcell.rs similarity index 100% rename from src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs rename to src/test/ui-fulldeps/deriving-encodable-decodable-cell-refcell.rs diff --git a/src/test/run-pass-fulldeps/deriving-global.rs b/src/test/ui-fulldeps/deriving-global.rs similarity index 100% rename from src/test/run-pass-fulldeps/deriving-global.rs rename to src/test/ui-fulldeps/deriving-global.rs diff --git a/src/test/run-pass-fulldeps/deriving-hygiene.rs b/src/test/ui-fulldeps/deriving-hygiene.rs similarity index 100% rename from src/test/run-pass-fulldeps/deriving-hygiene.rs rename to src/test/ui-fulldeps/deriving-hygiene.rs diff --git a/src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs b/src/test/ui-fulldeps/dropck_tarena_sound_drop.rs similarity index 100% rename from src/test/run-pass-fulldeps/dropck_tarena_sound_drop.rs rename to src/test/ui-fulldeps/dropck_tarena_sound_drop.rs diff --git a/src/test/run-pass-fulldeps/empty-struct-braces-derive.rs b/src/test/ui-fulldeps/empty-struct-braces-derive.rs similarity index 100% rename from src/test/run-pass-fulldeps/empty-struct-braces-derive.rs rename to src/test/ui-fulldeps/empty-struct-braces-derive.rs diff --git a/src/test/run-pass-fulldeps/extern-mod-syntax.rs b/src/test/ui-fulldeps/extern-mod-syntax.rs similarity index 100% rename from src/test/run-pass-fulldeps/extern-mod-syntax.rs rename to src/test/ui-fulldeps/extern-mod-syntax.rs diff --git a/src/test/run-pass-fulldeps/issue-11881.rs b/src/test/ui-fulldeps/issue-11881.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-11881.rs rename to src/test/ui-fulldeps/issue-11881.rs diff --git a/src/test/run-pass-fulldeps/issue-13560.rs b/src/test/ui-fulldeps/issue-13560.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-13560.rs rename to src/test/ui-fulldeps/issue-13560.rs diff --git a/src/test/run-pass-fulldeps/issue-14021.rs b/src/test/ui-fulldeps/issue-14021.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-14021.rs rename to src/test/ui-fulldeps/issue-14021.rs diff --git a/src/test/run-pass-fulldeps/issue-15149.rs b/src/test/ui-fulldeps/issue-15149.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-15149.rs rename to src/test/ui-fulldeps/issue-15149.rs diff --git a/src/test/run-pass-fulldeps/issue-15778-pass.rs b/src/test/ui-fulldeps/issue-15778-pass.rs similarity index 78% rename from src/test/run-pass-fulldeps/issue-15778-pass.rs rename to src/test/ui-fulldeps/issue-15778-pass.rs index 91cf5dde0fb..b93630d56b0 100644 --- a/src/test/run-pass-fulldeps/issue-15778-pass.rs +++ b/src/test/ui-fulldeps/issue-15778-pass.rs @@ -1,11 +1,11 @@ // run-pass -// aux-build:lint-for-crate.rs +// aux-build:lint-for-crate-rpass.rs // ignore-stage1 // compile-flags: -D crate-not-okay #![feature(plugin, custom_attribute, custom_inner_attributes, rustc_attrs)] -#![plugin(lint_for_crate)] +#![plugin(lint_for_crate_rpass)] #![rustc_crate_okay] #![rustc_crate_blue] #![rustc_crate_red] diff --git a/src/test/run-pass-fulldeps/issue-15924.rs b/src/test/ui-fulldeps/issue-15924.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-15924.rs rename to src/test/ui-fulldeps/issue-15924.rs diff --git a/src/test/run-pass-fulldeps/issue-16822.rs b/src/test/ui-fulldeps/issue-16822.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-16822.rs rename to src/test/ui-fulldeps/issue-16822.rs diff --git a/src/test/run-pass-fulldeps/issue-18502.rs b/src/test/ui-fulldeps/issue-18502.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-18502.rs rename to src/test/ui-fulldeps/issue-18502.rs diff --git a/src/test/run-pass-fulldeps/issue-24106.rs b/src/test/ui-fulldeps/issue-24106.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-24106.rs rename to src/test/ui-fulldeps/issue-24106.rs diff --git a/src/test/run-pass-fulldeps/issue-24972.rs b/src/test/ui-fulldeps/issue-24972.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-24972.rs rename to src/test/ui-fulldeps/issue-24972.rs diff --git a/src/test/run-pass-fulldeps/issue-2804.rs b/src/test/ui-fulldeps/issue-2804.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-2804.rs rename to src/test/ui-fulldeps/issue-2804.rs diff --git a/src/test/run-pass-fulldeps/issue-40001.rs b/src/test/ui-fulldeps/issue-40001.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-40001.rs rename to src/test/ui-fulldeps/issue-40001.rs diff --git a/src/test/run-pass-fulldeps/issue-4016.rs b/src/test/ui-fulldeps/issue-4016.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-4016.rs rename to src/test/ui-fulldeps/issue-4016.rs diff --git a/src/test/run-pass-fulldeps/issue-4036.rs b/src/test/ui-fulldeps/issue-4036.rs similarity index 100% rename from src/test/run-pass-fulldeps/issue-4036.rs rename to src/test/ui-fulldeps/issue-4036.rs diff --git a/src/test/run-pass-fulldeps/linkage-visibility.rs b/src/test/ui-fulldeps/linkage-visibility.rs similarity index 100% rename from src/test/run-pass-fulldeps/linkage-visibility.rs rename to src/test/ui-fulldeps/linkage-visibility.rs diff --git a/src/test/run-pass-fulldeps/llvm-pass-plugin.rs b/src/test/ui-fulldeps/llvm-pass-plugin.rs similarity index 100% rename from src/test/run-pass-fulldeps/llvm-pass-plugin.rs rename to src/test/ui-fulldeps/llvm-pass-plugin.rs diff --git a/src/test/run-pass-fulldeps/lto-syntax-extension.rs b/src/test/ui-fulldeps/lto-syntax-extension.rs similarity index 100% rename from src/test/run-pass-fulldeps/lto-syntax-extension.rs rename to src/test/ui-fulldeps/lto-syntax-extension.rs diff --git a/src/test/run-pass-fulldeps/macro-crate-multi-decorator.rs b/src/test/ui-fulldeps/macro-crate-multi-decorator.rs similarity index 100% rename from src/test/run-pass-fulldeps/macro-crate-multi-decorator.rs rename to src/test/ui-fulldeps/macro-crate-multi-decorator.rs diff --git a/src/test/run-pass-fulldeps/mod_dir_path_canonicalized.rs b/src/test/ui-fulldeps/mod_dir_path_canonicalized.rs similarity index 100% rename from src/test/run-pass-fulldeps/mod_dir_path_canonicalized.rs rename to src/test/ui-fulldeps/mod_dir_path_canonicalized.rs diff --git a/src/test/run-pass-fulldeps/mod_dir_simple/compiletest-ignore-dir b/src/test/ui-fulldeps/mod_dir_simple/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass-fulldeps/mod_dir_simple/compiletest-ignore-dir rename to src/test/ui-fulldeps/mod_dir_simple/compiletest-ignore-dir diff --git a/src/test/run-pass-fulldeps/mod_dir_simple/test.rs b/src/test/ui-fulldeps/mod_dir_simple/test.rs similarity index 100% rename from src/test/run-pass-fulldeps/mod_dir_simple/test.rs rename to src/test/ui-fulldeps/mod_dir_simple/test.rs diff --git a/src/test/run-pass-fulldeps/myriad-closures.rs b/src/test/ui-fulldeps/myriad-closures.rs similarity index 100% rename from src/test/run-pass-fulldeps/myriad-closures.rs rename to src/test/ui-fulldeps/myriad-closures.rs diff --git a/src/test/run-pass-fulldeps/newtype_index.rs b/src/test/ui-fulldeps/newtype_index.rs similarity index 100% rename from src/test/run-pass-fulldeps/newtype_index.rs rename to src/test/ui-fulldeps/newtype_index.rs diff --git a/src/test/run-pass-fulldeps/outlive-expansion-phase.rs b/src/test/ui-fulldeps/outlive-expansion-phase.rs similarity index 100% rename from src/test/run-pass-fulldeps/outlive-expansion-phase.rs rename to src/test/ui-fulldeps/outlive-expansion-phase.rs diff --git a/src/test/run-pass-fulldeps/plugin-args-1.rs b/src/test/ui-fulldeps/plugin-args-1.rs similarity index 100% rename from src/test/run-pass-fulldeps/plugin-args-1.rs rename to src/test/ui-fulldeps/plugin-args-1.rs diff --git a/src/test/run-pass-fulldeps/plugin-args-2.rs b/src/test/ui-fulldeps/plugin-args-2.rs similarity index 100% rename from src/test/run-pass-fulldeps/plugin-args-2.rs rename to src/test/ui-fulldeps/plugin-args-2.rs diff --git a/src/test/run-pass-fulldeps/plugin-args-3.rs b/src/test/ui-fulldeps/plugin-args-3.rs similarity index 100% rename from src/test/run-pass-fulldeps/plugin-args-3.rs rename to src/test/ui-fulldeps/plugin-args-3.rs diff --git a/src/test/run-pass-fulldeps/pprust-expr-roundtrip.rs b/src/test/ui-fulldeps/pprust-expr-roundtrip.rs similarity index 100% rename from src/test/run-pass-fulldeps/pprust-expr-roundtrip.rs rename to src/test/ui-fulldeps/pprust-expr-roundtrip.rs diff --git a/src/test/run-pass-fulldeps/regions-mock-tcx.rs b/src/test/ui-fulldeps/regions-mock-tcx.rs similarity index 100% rename from src/test/run-pass-fulldeps/regions-mock-tcx.rs rename to src/test/ui-fulldeps/regions-mock-tcx.rs diff --git a/src/test/run-pass-fulldeps/rename-directory.rs b/src/test/ui-fulldeps/rename-directory.rs similarity index 100% rename from src/test/run-pass-fulldeps/rename-directory.rs rename to src/test/ui-fulldeps/rename-directory.rs diff --git a/src/test/run-pass-fulldeps/roman-numerals-macro.rs b/src/test/ui-fulldeps/roman-numerals-macro.rs similarity index 100% rename from src/test/run-pass-fulldeps/roman-numerals-macro.rs rename to src/test/ui-fulldeps/roman-numerals-macro.rs diff --git a/src/test/run-pass-fulldeps/rustc_encodable_hygiene.rs b/src/test/ui-fulldeps/rustc_encodable_hygiene.rs similarity index 100% rename from src/test/run-pass-fulldeps/rustc_encodable_hygiene.rs rename to src/test/ui-fulldeps/rustc_encodable_hygiene.rs diff --git a/src/test/run-pass-fulldeps/stdio-from.rs b/src/test/ui-fulldeps/stdio-from.rs similarity index 100% rename from src/test/run-pass-fulldeps/stdio-from.rs rename to src/test/ui-fulldeps/stdio-from.rs diff --git a/src/test/run-pass-fulldeps/switch-stdout.rs b/src/test/ui-fulldeps/switch-stdout.rs similarity index 100% rename from src/test/run-pass-fulldeps/switch-stdout.rs rename to src/test/ui-fulldeps/switch-stdout.rs diff --git a/src/test/run-pass-fulldeps/undef_mask.rs b/src/test/ui-fulldeps/undef_mask.rs similarity index 100% rename from src/test/run-pass-fulldeps/undef_mask.rs rename to src/test/ui-fulldeps/undef_mask.rs diff --git a/src/test/run-pass/abi-sysv64-arg-passing.rs b/src/test/ui/abi-sysv64-arg-passing.rs similarity index 100% rename from src/test/run-pass/abi-sysv64-arg-passing.rs rename to src/test/ui/abi-sysv64-arg-passing.rs diff --git a/src/test/run-pass/abi-sysv64-register-usage.rs b/src/test/ui/abi-sysv64-register-usage.rs similarity index 100% rename from src/test/run-pass/abi-sysv64-register-usage.rs rename to src/test/ui/abi-sysv64-register-usage.rs diff --git a/src/test/run-pass/abi/issues/issue-62350-sysv-neg-reg-counts.rs b/src/test/ui/abi/issues/issue-62350-sysv-neg-reg-counts.rs similarity index 100% rename from src/test/run-pass/abi/issues/issue-62350-sysv-neg-reg-counts.rs rename to src/test/ui/abi/issues/issue-62350-sysv-neg-reg-counts.rs diff --git a/src/test/run-pass/abort-on-c-abi.rs b/src/test/ui/abort-on-c-abi.rs similarity index 100% rename from src/test/run-pass/abort-on-c-abi.rs rename to src/test/ui/abort-on-c-abi.rs diff --git a/src/test/run-pass/alias-uninit-value.rs b/src/test/ui/alias-uninit-value.rs similarity index 100% rename from src/test/run-pass/alias-uninit-value.rs rename to src/test/ui/alias-uninit-value.rs diff --git a/src/test/run-pass/align-with-extern-c-fn.rs b/src/test/ui/align-with-extern-c-fn.rs similarity index 100% rename from src/test/run-pass/align-with-extern-c-fn.rs rename to src/test/ui/align-with-extern-c-fn.rs diff --git a/src/test/run-pass/alignment-gep-tup-like-1.rs b/src/test/ui/alignment-gep-tup-like-1.rs similarity index 100% rename from src/test/run-pass/alignment-gep-tup-like-1.rs rename to src/test/ui/alignment-gep-tup-like-1.rs diff --git a/src/test/run-pass/alloca-from-derived-tydesc.rs b/src/test/ui/alloca-from-derived-tydesc.rs similarity index 100% rename from src/test/run-pass/alloca-from-derived-tydesc.rs rename to src/test/ui/alloca-from-derived-tydesc.rs diff --git a/src/test/run-pass/allocator-alloc-one.rs b/src/test/ui/allocator-alloc-one.rs similarity index 100% rename from src/test/run-pass/allocator-alloc-one.rs rename to src/test/ui/allocator-alloc-one.rs diff --git a/src/test/run-pass/allocator/auxiliary/custom-as-global.rs b/src/test/ui/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/allocator/auxiliary/custom-as-global.rs diff --git a/src/test/run-pass/allocator/auxiliary/custom.rs b/src/test/ui/allocator/auxiliary/custom.rs similarity index 100% rename from src/test/run-pass/allocator/auxiliary/custom.rs rename to src/test/ui/allocator/auxiliary/custom.rs diff --git a/src/test/run-pass/allocator/auxiliary/helper.rs b/src/test/ui/allocator/auxiliary/helper.rs similarity index 100% rename from src/test/run-pass/allocator/auxiliary/helper.rs rename to src/test/ui/allocator/auxiliary/helper.rs diff --git a/src/test/run-pass/allocator/custom-in-block.rs b/src/test/ui/allocator/custom-in-block.rs similarity index 100% rename from src/test/run-pass/allocator/custom-in-block.rs rename to src/test/ui/allocator/custom-in-block.rs diff --git a/src/test/run-pass/allocator/custom-in-submodule.rs b/src/test/ui/allocator/custom-in-submodule.rs similarity index 100% rename from src/test/run-pass/allocator/custom-in-submodule.rs rename to src/test/ui/allocator/custom-in-submodule.rs diff --git a/src/test/run-pass/allocator/custom.rs b/src/test/ui/allocator/custom.rs similarity index 100% rename from src/test/run-pass/allocator/custom.rs rename to src/test/ui/allocator/custom.rs diff --git a/src/test/run-pass/allocator/xcrate-use.rs b/src/test/ui/allocator/xcrate-use.rs similarity index 100% rename from src/test/run-pass/allocator/xcrate-use.rs rename to src/test/ui/allocator/xcrate-use.rs diff --git a/src/test/run-pass/allocator/xcrate-use2.rs b/src/test/ui/allocator/xcrate-use2.rs similarity index 100% rename from src/test/run-pass/allocator/xcrate-use2.rs rename to src/test/ui/allocator/xcrate-use2.rs diff --git a/src/test/run-pass/anon-extern-mod.rs b/src/test/ui/anon-extern-mod.rs similarity index 100% rename from src/test/run-pass/anon-extern-mod.rs rename to src/test/ui/anon-extern-mod.rs diff --git a/src/test/run-pass/argument-passing.rs b/src/test/ui/argument-passing.rs similarity index 100% rename from src/test/run-pass/argument-passing.rs rename to src/test/ui/argument-passing.rs diff --git a/src/test/run-pass/array-slice-vec/arr_cycle.rs b/src/test/ui/array-slice-vec/arr_cycle.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/arr_cycle.rs rename to src/test/ui/array-slice-vec/arr_cycle.rs diff --git a/src/test/run-pass/array-slice-vec/array_const_index-1.rs b/src/test/ui/array-slice-vec/array_const_index-1.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/array_const_index-1.rs rename to src/test/ui/array-slice-vec/array_const_index-1.rs diff --git a/src/test/run-pass/array-slice-vec/box-of-array-of-drop-1.rs b/src/test/ui/array-slice-vec/box-of-array-of-drop-1.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/box-of-array-of-drop-1.rs rename to src/test/ui/array-slice-vec/box-of-array-of-drop-1.rs diff --git a/src/test/run-pass/array-slice-vec/box-of-array-of-drop-2.rs b/src/test/ui/array-slice-vec/box-of-array-of-drop-2.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/box-of-array-of-drop-2.rs rename to src/test/ui/array-slice-vec/box-of-array-of-drop-2.rs diff --git a/src/test/run-pass/array-slice-vec/cast-in-array-size.rs b/src/test/ui/array-slice-vec/cast-in-array-size.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/cast-in-array-size.rs rename to src/test/ui/array-slice-vec/cast-in-array-size.rs diff --git a/src/test/run-pass/array-slice-vec/check-static-mut-slices.rs b/src/test/ui/array-slice-vec/check-static-mut-slices.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/check-static-mut-slices.rs rename to src/test/ui/array-slice-vec/check-static-mut-slices.rs diff --git a/src/test/run-pass/array-slice-vec/check-static-slice.rs b/src/test/ui/array-slice-vec/check-static-slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/check-static-slice.rs rename to src/test/ui/array-slice-vec/check-static-slice.rs diff --git a/src/test/run-pass/array-slice-vec/copy-out-of-array-1.rs b/src/test/ui/array-slice-vec/copy-out-of-array-1.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/copy-out-of-array-1.rs rename to src/test/ui/array-slice-vec/copy-out-of-array-1.rs diff --git a/src/test/run-pass/array-slice-vec/destructure-array-1.rs b/src/test/ui/array-slice-vec/destructure-array-1.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/destructure-array-1.rs rename to src/test/ui/array-slice-vec/destructure-array-1.rs diff --git a/src/test/run-pass/array-slice-vec/empty-mutable-vec.rs b/src/test/ui/array-slice-vec/empty-mutable-vec.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/empty-mutable-vec.rs rename to src/test/ui/array-slice-vec/empty-mutable-vec.rs diff --git a/src/test/run-pass/array-slice-vec/estr-slice.rs b/src/test/ui/array-slice-vec/estr-slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/estr-slice.rs rename to src/test/ui/array-slice-vec/estr-slice.rs diff --git a/src/test/run-pass/array-slice-vec/evec-slice.rs b/src/test/ui/array-slice-vec/evec-slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/evec-slice.rs rename to src/test/ui/array-slice-vec/evec-slice.rs diff --git a/src/test/run-pass/array-slice-vec/fixed_length_copy.rs b/src/test/ui/array-slice-vec/fixed_length_copy.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/fixed_length_copy.rs rename to src/test/ui/array-slice-vec/fixed_length_copy.rs diff --git a/src/test/run-pass/array-slice-vec/huge-largest-array.rs b/src/test/ui/array-slice-vec/huge-largest-array.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/huge-largest-array.rs rename to src/test/ui/array-slice-vec/huge-largest-array.rs diff --git a/src/test/run-pass/array-slice-vec/ivec-pass-by-value.rs b/src/test/ui/array-slice-vec/ivec-pass-by-value.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/ivec-pass-by-value.rs rename to src/test/ui/array-slice-vec/ivec-pass-by-value.rs diff --git a/src/test/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs b/src/test/ui/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs rename to src/test/ui/array-slice-vec/mutability-inherits-through-fixed-length-vec.rs diff --git a/src/test/run-pass/array-slice-vec/mutable-alias-vec.rs b/src/test/ui/array-slice-vec/mutable-alias-vec.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/mutable-alias-vec.rs rename to src/test/ui/array-slice-vec/mutable-alias-vec.rs diff --git a/src/test/run-pass/array-slice-vec/nested-vec-1.rs b/src/test/ui/array-slice-vec/nested-vec-1.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/nested-vec-1.rs rename to src/test/ui/array-slice-vec/nested-vec-1.rs diff --git a/src/test/run-pass/array-slice-vec/nested-vec-2.rs b/src/test/ui/array-slice-vec/nested-vec-2.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/nested-vec-2.rs rename to src/test/ui/array-slice-vec/nested-vec-2.rs diff --git a/src/test/run-pass/array-slice-vec/nested-vec-3.rs b/src/test/ui/array-slice-vec/nested-vec-3.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/nested-vec-3.rs rename to src/test/ui/array-slice-vec/nested-vec-3.rs diff --git a/src/test/run-pass/array-slice-vec/new-style-fixed-length-vec.rs b/src/test/ui/array-slice-vec/new-style-fixed-length-vec.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/new-style-fixed-length-vec.rs rename to src/test/ui/array-slice-vec/new-style-fixed-length-vec.rs diff --git a/src/test/run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs b/src/test/ui/array-slice-vec/rcvr-borrowed-to-slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/rcvr-borrowed-to-slice.rs rename to src/test/ui/array-slice-vec/rcvr-borrowed-to-slice.rs diff --git a/src/test/run-pass/array-slice-vec/repeated-vector-syntax.rs b/src/test/ui/array-slice-vec/repeated-vector-syntax.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/repeated-vector-syntax.rs rename to src/test/ui/array-slice-vec/repeated-vector-syntax.rs diff --git a/src/test/run-pass/array-slice-vec/show-boxed-slice.rs b/src/test/ui/array-slice-vec/show-boxed-slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/show-boxed-slice.rs rename to src/test/ui/array-slice-vec/show-boxed-slice.rs diff --git a/src/test/run-pass/array-slice-vec/slice-2.rs b/src/test/ui/array-slice-vec/slice-2.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/slice-2.rs rename to src/test/ui/array-slice-vec/slice-2.rs diff --git a/src/test/run-pass/array-slice-vec/slice-of-zero-size-elements.rs b/src/test/ui/array-slice-vec/slice-of-zero-size-elements.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/slice-of-zero-size-elements.rs rename to src/test/ui/array-slice-vec/slice-of-zero-size-elements.rs diff --git a/src/test/run-pass/array-slice-vec/slice-panic-1.rs b/src/test/ui/array-slice-vec/slice-panic-1.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/slice-panic-1.rs rename to src/test/ui/array-slice-vec/slice-panic-1.rs diff --git a/src/test/run-pass/array-slice-vec/slice-panic-2.rs b/src/test/ui/array-slice-vec/slice-panic-2.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/slice-panic-2.rs rename to src/test/ui/array-slice-vec/slice-panic-2.rs diff --git a/src/test/run-pass/array-slice-vec/slice.rs b/src/test/ui/array-slice-vec/slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/slice.rs rename to src/test/ui/array-slice-vec/slice.rs diff --git a/src/test/run-pass/array-slice-vec/slice_binary_search.rs b/src/test/ui/array-slice-vec/slice_binary_search.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/slice_binary_search.rs rename to src/test/ui/array-slice-vec/slice_binary_search.rs diff --git a/src/test/run-pass/array-slice-vec/variance-vec-covariant.rs b/src/test/ui/array-slice-vec/variance-vec-covariant.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/variance-vec-covariant.rs rename to src/test/ui/array-slice-vec/variance-vec-covariant.rs diff --git a/src/test/run-pass/array-slice-vec/vec-concat.rs b/src/test/ui/array-slice-vec/vec-concat.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-concat.rs rename to src/test/ui/array-slice-vec/vec-concat.rs diff --git a/src/test/run-pass/array-slice-vec/vec-dst.rs b/src/test/ui/array-slice-vec/vec-dst.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-dst.rs rename to src/test/ui/array-slice-vec/vec-dst.rs diff --git a/src/test/run-pass/array-slice-vec/vec-fixed-length.rs b/src/test/ui/array-slice-vec/vec-fixed-length.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-fixed-length.rs rename to src/test/ui/array-slice-vec/vec-fixed-length.rs diff --git a/src/test/run-pass/array-slice-vec/vec-growth.rs b/src/test/ui/array-slice-vec/vec-growth.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-growth.rs rename to src/test/ui/array-slice-vec/vec-growth.rs diff --git a/src/test/run-pass/array-slice-vec/vec-late-init.rs b/src/test/ui/array-slice-vec/vec-late-init.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-late-init.rs rename to src/test/ui/array-slice-vec/vec-late-init.rs diff --git a/src/test/run-pass/array-slice-vec/vec-macro-no-std.rs b/src/test/ui/array-slice-vec/vec-macro-no-std.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-macro-no-std.rs rename to src/test/ui/array-slice-vec/vec-macro-no-std.rs diff --git a/src/test/run-pass/array-slice-vec/vec-macro-repeat.rs b/src/test/ui/array-slice-vec/vec-macro-repeat.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-macro-repeat.rs rename to src/test/ui/array-slice-vec/vec-macro-repeat.rs diff --git a/src/test/run-pass/array-slice-vec/vec-macro-rvalue-scope.rs b/src/test/ui/array-slice-vec/vec-macro-rvalue-scope.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-macro-rvalue-scope.rs rename to src/test/ui/array-slice-vec/vec-macro-rvalue-scope.rs diff --git a/src/test/run-pass/array-slice-vec/vec-macro-with-brackets.rs b/src/test/ui/array-slice-vec/vec-macro-with-brackets.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-macro-with-brackets.rs rename to src/test/ui/array-slice-vec/vec-macro-with-brackets.rs diff --git a/src/test/run-pass/array-slice-vec/vec-macro-with-trailing-comma.rs b/src/test/ui/array-slice-vec/vec-macro-with-trailing-comma.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-macro-with-trailing-comma.rs rename to src/test/ui/array-slice-vec/vec-macro-with-trailing-comma.rs diff --git a/src/test/run-pass/array-slice-vec/vec-matching-autoslice.rs b/src/test/ui/array-slice-vec/vec-matching-autoslice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-matching-autoslice.rs rename to src/test/ui/array-slice-vec/vec-matching-autoslice.rs diff --git a/src/test/run-pass/array-slice-vec/vec-matching-fixed.rs b/src/test/ui/array-slice-vec/vec-matching-fixed.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-matching-fixed.rs rename to src/test/ui/array-slice-vec/vec-matching-fixed.rs diff --git a/src/test/run-pass/array-slice-vec/vec-matching-fold.rs b/src/test/ui/array-slice-vec/vec-matching-fold.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-matching-fold.rs rename to src/test/ui/array-slice-vec/vec-matching-fold.rs diff --git a/src/test/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs b/src/test/ui/array-slice-vec/vec-matching-legal-tail-element-borrow.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-matching-legal-tail-element-borrow.rs rename to src/test/ui/array-slice-vec/vec-matching-legal-tail-element-borrow.rs diff --git a/src/test/run-pass/array-slice-vec/vec-matching.rs b/src/test/ui/array-slice-vec/vec-matching.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-matching.rs rename to src/test/ui/array-slice-vec/vec-matching.rs diff --git a/src/test/run-pass/array-slice-vec/vec-push.rs b/src/test/ui/array-slice-vec/vec-push.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-push.rs rename to src/test/ui/array-slice-vec/vec-push.rs diff --git a/src/test/run-pass/array-slice-vec/vec-repeat-with-cast.rs b/src/test/ui/array-slice-vec/vec-repeat-with-cast.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-repeat-with-cast.rs rename to src/test/ui/array-slice-vec/vec-repeat-with-cast.rs diff --git a/src/test/run-pass/array-slice-vec/vec-slice-drop.rs b/src/test/ui/array-slice-vec/vec-slice-drop.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-slice-drop.rs rename to src/test/ui/array-slice-vec/vec-slice-drop.rs diff --git a/src/test/run-pass/array-slice-vec/vec-slice.rs b/src/test/ui/array-slice-vec/vec-slice.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-slice.rs rename to src/test/ui/array-slice-vec/vec-slice.rs diff --git a/src/test/run-pass/array-slice-vec/vec-tail-matching.rs b/src/test/ui/array-slice-vec/vec-tail-matching.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-tail-matching.rs rename to src/test/ui/array-slice-vec/vec-tail-matching.rs diff --git a/src/test/run-pass/array-slice-vec/vec-to_str.rs b/src/test/ui/array-slice-vec/vec-to_str.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec-to_str.rs rename to src/test/ui/array-slice-vec/vec-to_str.rs diff --git a/src/test/run-pass/array-slice-vec/vec.rs b/src/test/ui/array-slice-vec/vec.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec.rs rename to src/test/ui/array-slice-vec/vec.rs diff --git a/src/test/run-pass/array-slice-vec/vec_cycle.rs b/src/test/ui/array-slice-vec/vec_cycle.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec_cycle.rs rename to src/test/ui/array-slice-vec/vec_cycle.rs diff --git a/src/test/run-pass/array-slice-vec/vec_cycle_wrapped.rs b/src/test/ui/array-slice-vec/vec_cycle_wrapped.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vec_cycle_wrapped.rs rename to src/test/ui/array-slice-vec/vec_cycle_wrapped.rs diff --git a/src/test/run-pass/array-slice-vec/vector-no-ann-2.rs b/src/test/ui/array-slice-vec/vector-no-ann-2.rs similarity index 100% rename from src/test/run-pass/array-slice-vec/vector-no-ann-2.rs rename to src/test/ui/array-slice-vec/vector-no-ann-2.rs diff --git a/src/test/run-pass/artificial-block.rs b/src/test/ui/artificial-block.rs similarity index 100% rename from src/test/run-pass/artificial-block.rs rename to src/test/ui/artificial-block.rs diff --git a/src/test/run-pass/as-precedence.rs b/src/test/ui/as-precedence.rs similarity index 100% rename from src/test/run-pass/as-precedence.rs rename to src/test/ui/as-precedence.rs diff --git a/src/test/run-pass/asm-concat-src.rs b/src/test/ui/asm-concat-src.rs similarity index 100% rename from src/test/run-pass/asm-concat-src.rs rename to src/test/ui/asm-concat-src.rs diff --git a/src/test/run-pass/asm-in-moved.rs b/src/test/ui/asm-in-moved.rs similarity index 100% rename from src/test/run-pass/asm-in-moved.rs rename to src/test/ui/asm-in-moved.rs diff --git a/src/test/run-pass/asm-in-out-operand.rs b/src/test/ui/asm-in-out-operand.rs similarity index 100% rename from src/test/run-pass/asm-in-out-operand.rs rename to src/test/ui/asm-in-out-operand.rs diff --git a/src/test/run-pass/asm-indirect-memory.rs b/src/test/ui/asm-indirect-memory.rs similarity index 100% rename from src/test/run-pass/asm-indirect-memory.rs rename to src/test/ui/asm-indirect-memory.rs diff --git a/src/test/run-pass/asm-out-assign.rs b/src/test/ui/asm-out-assign.rs similarity index 100% rename from src/test/run-pass/asm-out-assign.rs rename to src/test/ui/asm-out-assign.rs diff --git a/src/test/run-pass/assert-eq-trailing-comma.rs b/src/test/ui/assert-eq-trailing-comma.rs similarity index 100% rename from src/test/run-pass/assert-eq-trailing-comma.rs rename to src/test/ui/assert-eq-trailing-comma.rs diff --git a/src/test/run-pass/assert-escape.rs b/src/test/ui/assert-escape.rs similarity index 100% rename from src/test/run-pass/assert-escape.rs rename to src/test/ui/assert-escape.rs diff --git a/src/test/run-pass/assert-ne-trailing-comma.rs b/src/test/ui/assert-ne-trailing-comma.rs similarity index 100% rename from src/test/run-pass/assert-ne-trailing-comma.rs rename to src/test/ui/assert-ne-trailing-comma.rs diff --git a/src/test/run-pass/assign-assign.rs b/src/test/ui/assign-assign.rs similarity index 100% rename from src/test/run-pass/assign-assign.rs rename to src/test/ui/assign-assign.rs diff --git a/src/test/run-pass/assoc-oddities-3.rs b/src/test/ui/assoc-oddities-3.rs similarity index 100% rename from src/test/run-pass/assoc-oddities-3.rs rename to src/test/ui/assoc-oddities-3.rs diff --git a/src/test/run-pass/associated-consts/associated-const-const-eval.rs b/src/test/ui/associated-consts/associated-const-const-eval.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-const-eval.rs rename to src/test/ui/associated-consts/associated-const-const-eval.rs diff --git a/src/test/run-pass/associated-consts/associated-const-cross-crate-const-eval.rs b/src/test/ui/associated-consts/associated-const-cross-crate-const-eval.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-cross-crate-const-eval.rs rename to src/test/ui/associated-consts/associated-const-cross-crate-const-eval.rs diff --git a/src/test/run-pass/associated-consts/associated-const-cross-crate-defaults.rs b/src/test/ui/associated-consts/associated-const-cross-crate-defaults.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-cross-crate-defaults.rs rename to src/test/ui/associated-consts/associated-const-cross-crate-defaults.rs diff --git a/src/test/run-pass/associated-consts/associated-const-cross-crate.rs b/src/test/ui/associated-consts/associated-const-cross-crate.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-cross-crate.rs rename to src/test/ui/associated-consts/associated-const-cross-crate.rs diff --git a/src/test/run-pass/associated-consts/associated-const-in-global-const.rs b/src/test/ui/associated-consts/associated-const-in-global-const.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-in-global-const.rs rename to src/test/ui/associated-consts/associated-const-in-global-const.rs diff --git a/src/test/run-pass/associated-consts/associated-const-inherent-impl.rs b/src/test/ui/associated-consts/associated-const-inherent-impl.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-inherent-impl.rs rename to src/test/ui/associated-consts/associated-const-inherent-impl.rs diff --git a/src/test/run-pass/associated-consts/associated-const-marks-live-code.rs b/src/test/ui/associated-consts/associated-const-marks-live-code.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-marks-live-code.rs rename to src/test/ui/associated-consts/associated-const-marks-live-code.rs diff --git a/src/test/run-pass/associated-consts/associated-const-match-patterns.rs b/src/test/ui/associated-consts/associated-const-match-patterns.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-match-patterns.rs rename to src/test/ui/associated-consts/associated-const-match-patterns.rs diff --git a/src/test/run-pass/associated-consts/associated-const-outer-ty-refs.rs b/src/test/ui/associated-consts/associated-const-outer-ty-refs.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-outer-ty-refs.rs rename to src/test/ui/associated-consts/associated-const-outer-ty-refs.rs diff --git a/src/test/run-pass/associated-consts/associated-const-overwrite-default.rs b/src/test/ui/associated-consts/associated-const-overwrite-default.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-overwrite-default.rs rename to src/test/ui/associated-consts/associated-const-overwrite-default.rs diff --git a/src/test/run-pass/associated-consts/associated-const-public-impl.rs b/src/test/ui/associated-consts/associated-const-public-impl.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-public-impl.rs rename to src/test/ui/associated-consts/associated-const-public-impl.rs diff --git a/src/test/run-pass/associated-consts/associated-const-range-match-patterns.rs b/src/test/ui/associated-consts/associated-const-range-match-patterns.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-range-match-patterns.rs rename to src/test/ui/associated-consts/associated-const-range-match-patterns.rs diff --git a/src/test/run-pass/associated-consts/associated-const-resolution-order.rs b/src/test/ui/associated-consts/associated-const-resolution-order.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-resolution-order.rs rename to src/test/ui/associated-consts/associated-const-resolution-order.rs diff --git a/src/test/run-pass/associated-consts/associated-const-self-type.rs b/src/test/ui/associated-consts/associated-const-self-type.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-self-type.rs rename to src/test/ui/associated-consts/associated-const-self-type.rs diff --git a/src/test/run-pass/associated-consts/associated-const-type-parameters.rs b/src/test/ui/associated-consts/associated-const-type-parameters.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-type-parameters.rs rename to src/test/ui/associated-consts/associated-const-type-parameters.rs diff --git a/src/test/run-pass/associated-consts/associated-const-ufcs-infer-trait.rs b/src/test/ui/associated-consts/associated-const-ufcs-infer-trait.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-ufcs-infer-trait.rs rename to src/test/ui/associated-consts/associated-const-ufcs-infer-trait.rs diff --git a/src/test/run-pass/associated-consts/associated-const-use-default.rs b/src/test/ui/associated-consts/associated-const-use-default.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-use-default.rs rename to src/test/ui/associated-consts/associated-const-use-default.rs diff --git a/src/test/run-pass/associated-consts/associated-const-use-impl-of-same-trait.rs b/src/test/ui/associated-consts/associated-const-use-impl-of-same-trait.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const-use-impl-of-same-trait.rs rename to src/test/ui/associated-consts/associated-const-use-impl-of-same-trait.rs diff --git a/src/test/run-pass/associated-consts/associated-const.rs b/src/test/ui/associated-consts/associated-const.rs similarity index 100% rename from src/test/run-pass/associated-consts/associated-const.rs rename to src/test/ui/associated-consts/associated-const.rs diff --git a/src/test/run-pass/associated-consts/auxiliary/associated-const-cc-lib.rs b/src/test/ui/associated-consts/auxiliary/associated-const-cc-lib.rs similarity index 100% rename from src/test/run-pass/associated-consts/auxiliary/associated-const-cc-lib.rs rename to src/test/ui/associated-consts/auxiliary/associated-const-cc-lib.rs diff --git a/src/test/run-pass/associated-consts/auxiliary/empty-struct.rs b/src/test/ui/associated-consts/auxiliary/empty-struct.rs similarity index 100% rename from src/test/run-pass/associated-consts/auxiliary/empty-struct.rs rename to src/test/ui/associated-consts/auxiliary/empty-struct.rs diff --git a/src/test/run-pass/associated-item-long-paths.rs b/src/test/ui/associated-item-long-paths.rs similarity index 100% rename from src/test/run-pass/associated-item-long-paths.rs rename to src/test/ui/associated-item-long-paths.rs diff --git a/src/test/run-pass/associated-types/associated-types-basic.rs b/src/test/ui/associated-types/associated-types-basic.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-basic.rs rename to src/test/ui/associated-types/associated-types-basic.rs diff --git a/src/test/run-pass/associated-types/associated-types-binding-in-trait.rs b/src/test/ui/associated-types/associated-types-binding-in-trait.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-binding-in-trait.rs rename to src/test/ui/associated-types/associated-types-binding-in-trait.rs diff --git a/src/test/run-pass/associated-types/associated-types-binding-in-where-clause.rs b/src/test/ui/associated-types/associated-types-binding-in-where-clause.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-binding-in-where-clause.rs rename to src/test/ui/associated-types/associated-types-binding-in-where-clause.rs diff --git a/src/test/run-pass/associated-types/associated-types-bound.rs b/src/test/ui/associated-types/associated-types-bound.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-bound.rs rename to src/test/ui/associated-types/associated-types-bound.rs diff --git a/src/test/run-pass/associated-types/associated-types-cc.rs b/src/test/ui/associated-types/associated-types-cc.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-cc.rs rename to src/test/ui/associated-types/associated-types-cc.rs diff --git a/src/test/run-pass/associated-types/associated-types-conditional-dispatch.rs b/src/test/ui/associated-types/associated-types-conditional-dispatch.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-conditional-dispatch.rs rename to src/test/ui/associated-types/associated-types-conditional-dispatch.rs diff --git a/src/test/run-pass/associated-types/associated-types-constant-type.rs b/src/test/ui/associated-types/associated-types-constant-type.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-constant-type.rs rename to src/test/ui/associated-types/associated-types-constant-type.rs diff --git a/src/test/run-pass/associated-types/associated-types-doubleendediterator-object.rs b/src/test/ui/associated-types/associated-types-doubleendediterator-object.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-doubleendediterator-object.rs rename to src/test/ui/associated-types/associated-types-doubleendediterator-object.rs diff --git a/src/test/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs b/src/test/ui/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs rename to src/test/ui/associated-types/associated-types-duplicate-binding-in-env-hrtb.rs diff --git a/src/test/run-pass/associated-types/associated-types-duplicate-binding-in-env.rs b/src/test/ui/associated-types/associated-types-duplicate-binding-in-env.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-duplicate-binding-in-env.rs rename to src/test/ui/associated-types/associated-types-duplicate-binding-in-env.rs diff --git a/src/test/run-pass/associated-types/associated-types-enum-field-named.rs b/src/test/ui/associated-types/associated-types-enum-field-named.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-enum-field-named.rs rename to src/test/ui/associated-types/associated-types-enum-field-named.rs diff --git a/src/test/run-pass/associated-types/associated-types-enum-field-numbered.rs b/src/test/ui/associated-types/associated-types-enum-field-numbered.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-enum-field-numbered.rs rename to src/test/ui/associated-types/associated-types-enum-field-numbered.rs diff --git a/src/test/run-pass/associated-types/associated-types-eq-obj.rs b/src/test/ui/associated-types/associated-types-eq-obj.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-eq-obj.rs rename to src/test/ui/associated-types/associated-types-eq-obj.rs diff --git a/src/test/run-pass/associated-types/associated-types-from-supertrait.rs b/src/test/ui/associated-types/associated-types-from-supertrait.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-from-supertrait.rs rename to src/test/ui/associated-types/associated-types-from-supertrait.rs diff --git a/src/test/run-pass/associated-types/associated-types-impl-redirect.rs b/src/test/ui/associated-types/associated-types-impl-redirect.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-impl-redirect.rs rename to src/test/ui/associated-types/associated-types-impl-redirect.rs diff --git a/src/test/run-pass/associated-types/associated-types-in-bound-type-arg.rs b/src/test/ui/associated-types/associated-types-in-bound-type-arg.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-in-bound-type-arg.rs rename to src/test/ui/associated-types/associated-types-in-bound-type-arg.rs diff --git a/src/test/run-pass/associated-types/associated-types-in-default-method.rs b/src/test/ui/associated-types/associated-types-in-default-method.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-in-default-method.rs rename to src/test/ui/associated-types/associated-types-in-default-method.rs diff --git a/src/test/run-pass/associated-types/associated-types-in-fn.rs b/src/test/ui/associated-types/associated-types-in-fn.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-in-fn.rs rename to src/test/ui/associated-types/associated-types-in-fn.rs diff --git a/src/test/run-pass/associated-types/associated-types-in-impl-generics.rs b/src/test/ui/associated-types/associated-types-in-impl-generics.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-in-impl-generics.rs rename to src/test/ui/associated-types/associated-types-in-impl-generics.rs diff --git a/src/test/run-pass/associated-types/associated-types-in-inherent-method.rs b/src/test/ui/associated-types/associated-types-in-inherent-method.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-in-inherent-method.rs rename to src/test/ui/associated-types/associated-types-in-inherent-method.rs diff --git a/src/test/run-pass/associated-types/associated-types-issue-20220.rs b/src/test/ui/associated-types/associated-types-issue-20220.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-issue-20220.rs rename to src/test/ui/associated-types/associated-types-issue-20220.rs diff --git a/src/test/run-pass/associated-types/associated-types-issue-20371.rs b/src/test/ui/associated-types/associated-types-issue-20371.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-issue-20371.rs rename to src/test/ui/associated-types/associated-types-issue-20371.rs diff --git a/src/test/run-pass/associated-types/associated-types-issue-21212.rs b/src/test/ui/associated-types/associated-types-issue-21212.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-issue-21212.rs rename to src/test/ui/associated-types/associated-types-issue-21212.rs diff --git a/src/test/run-pass/associated-types/associated-types-iterator-binding.rs b/src/test/ui/associated-types/associated-types-iterator-binding.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-iterator-binding.rs rename to src/test/ui/associated-types/associated-types-iterator-binding.rs diff --git a/src/test/run-pass/associated-types/associated-types-method.rs b/src/test/ui/associated-types/associated-types-method.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-method.rs rename to src/test/ui/associated-types/associated-types-method.rs diff --git a/src/test/run-pass/associated-types/associated-types-nested-projections.rs b/src/test/ui/associated-types/associated-types-nested-projections.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-nested-projections.rs rename to src/test/ui/associated-types/associated-types-nested-projections.rs diff --git a/src/test/run-pass/associated-types/associated-types-normalize-in-bounds-binding.rs b/src/test/ui/associated-types/associated-types-normalize-in-bounds-binding.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-normalize-in-bounds-binding.rs rename to src/test/ui/associated-types/associated-types-normalize-in-bounds-binding.rs diff --git a/src/test/run-pass/associated-types/associated-types-normalize-in-bounds-ufcs.rs b/src/test/ui/associated-types/associated-types-normalize-in-bounds-ufcs.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-normalize-in-bounds-ufcs.rs rename to src/test/ui/associated-types/associated-types-normalize-in-bounds-ufcs.rs diff --git a/src/test/run-pass/associated-types/associated-types-normalize-in-bounds.rs b/src/test/ui/associated-types/associated-types-normalize-in-bounds.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-normalize-in-bounds.rs rename to src/test/ui/associated-types/associated-types-normalize-in-bounds.rs diff --git a/src/test/run-pass/associated-types/associated-types-normalize-unifield-struct.rs b/src/test/ui/associated-types/associated-types-normalize-unifield-struct.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-normalize-unifield-struct.rs rename to src/test/ui/associated-types/associated-types-normalize-unifield-struct.rs diff --git a/src/test/run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs b/src/test/ui/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs rename to src/test/ui/associated-types/associated-types-project-from-type-param-via-bound-in-where.rs diff --git a/src/test/run-pass/associated-types/associated-types-projection-bound-in-supertraits.rs b/src/test/ui/associated-types/associated-types-projection-bound-in-supertraits.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-projection-bound-in-supertraits.rs rename to src/test/ui/associated-types/associated-types-projection-bound-in-supertraits.rs diff --git a/src/test/run-pass/associated-types/associated-types-projection-from-known-type-in-impl.rs b/src/test/ui/associated-types/associated-types-projection-from-known-type-in-impl.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-projection-from-known-type-in-impl.rs rename to src/test/ui/associated-types/associated-types-projection-from-known-type-in-impl.rs diff --git a/src/test/run-pass/associated-types/associated-types-projection-in-object-type.rs b/src/test/ui/associated-types/associated-types-projection-in-object-type.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-projection-in-object-type.rs rename to src/test/ui/associated-types/associated-types-projection-in-object-type.rs diff --git a/src/test/run-pass/associated-types/associated-types-projection-in-supertrait.rs b/src/test/ui/associated-types/associated-types-projection-in-supertrait.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-projection-in-supertrait.rs rename to src/test/ui/associated-types/associated-types-projection-in-supertrait.rs diff --git a/src/test/run-pass/associated-types/associated-types-projection-in-where-clause.rs b/src/test/ui/associated-types/associated-types-projection-in-where-clause.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-projection-in-where-clause.rs rename to src/test/ui/associated-types/associated-types-projection-in-where-clause.rs diff --git a/src/test/run-pass/associated-types/associated-types-projection-to-unrelated-trait.rs b/src/test/ui/associated-types/associated-types-projection-to-unrelated-trait.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-projection-to-unrelated-trait.rs rename to src/test/ui/associated-types/associated-types-projection-to-unrelated-trait.rs diff --git a/src/test/run-pass/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs b/src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs rename to src/test/ui/associated-types/associated-types-qualified-path-with-trait-with-type-parameters.rs diff --git a/src/test/run-pass/associated-types/associated-types-ref-from-struct.rs b/src/test/ui/associated-types/associated-types-ref-from-struct.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-ref-from-struct.rs rename to src/test/ui/associated-types/associated-types-ref-from-struct.rs diff --git a/src/test/run-pass/associated-types/associated-types-ref-in-struct-literal.rs b/src/test/ui/associated-types/associated-types-ref-in-struct-literal.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-ref-in-struct-literal.rs rename to src/test/ui/associated-types/associated-types-ref-in-struct-literal.rs diff --git a/src/test/run-pass/associated-types/associated-types-region-erasure-issue-20582.rs b/src/test/ui/associated-types/associated-types-region-erasure-issue-20582.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-region-erasure-issue-20582.rs rename to src/test/ui/associated-types/associated-types-region-erasure-issue-20582.rs diff --git a/src/test/run-pass/associated-types/associated-types-resolve-lifetime.rs b/src/test/ui/associated-types/associated-types-resolve-lifetime.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-resolve-lifetime.rs rename to src/test/ui/associated-types/associated-types-resolve-lifetime.rs diff --git a/src/test/run-pass/associated-types/associated-types-return.rs b/src/test/ui/associated-types/associated-types-return.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-return.rs rename to src/test/ui/associated-types/associated-types-return.rs diff --git a/src/test/run-pass/associated-types/associated-types-simple.rs b/src/test/ui/associated-types/associated-types-simple.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-simple.rs rename to src/test/ui/associated-types/associated-types-simple.rs diff --git a/src/test/run-pass/associated-types/associated-types-stream.rs b/src/test/ui/associated-types/associated-types-stream.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-stream.rs rename to src/test/ui/associated-types/associated-types-stream.rs diff --git a/src/test/run-pass/associated-types/associated-types-struct-field-named.rs b/src/test/ui/associated-types/associated-types-struct-field-named.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-struct-field-named.rs rename to src/test/ui/associated-types/associated-types-struct-field-named.rs diff --git a/src/test/run-pass/associated-types/associated-types-struct-field-numbered.rs b/src/test/ui/associated-types/associated-types-struct-field-numbered.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-struct-field-numbered.rs rename to src/test/ui/associated-types/associated-types-struct-field-numbered.rs diff --git a/src/test/run-pass/associated-types/associated-types-sugar-path.rs b/src/test/ui/associated-types/associated-types-sugar-path.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-sugar-path.rs rename to src/test/ui/associated-types/associated-types-sugar-path.rs diff --git a/src/test/run-pass/associated-types/associated-types-where-clause-impl-ambiguity.rs b/src/test/ui/associated-types/associated-types-where-clause-impl-ambiguity.rs similarity index 100% rename from src/test/run-pass/associated-types/associated-types-where-clause-impl-ambiguity.rs rename to src/test/ui/associated-types/associated-types-where-clause-impl-ambiguity.rs diff --git a/src/test/run-pass/associated-types/auxiliary/associated-types-cc-lib.rs b/src/test/ui/associated-types/auxiliary/associated-types-cc-lib.rs similarity index 100% rename from src/test/run-pass/associated-types/auxiliary/associated-types-cc-lib.rs rename to src/test/ui/associated-types/auxiliary/associated-types-cc-lib.rs diff --git a/src/test/run-pass/atomic-access-bool.rs b/src/test/ui/atomic-access-bool.rs similarity index 100% rename from src/test/run-pass/atomic-access-bool.rs rename to src/test/ui/atomic-access-bool.rs diff --git a/src/test/run-pass/atomic-alignment.rs b/src/test/ui/atomic-alignment.rs similarity index 100% rename from src/test/run-pass/atomic-alignment.rs rename to src/test/ui/atomic-alignment.rs diff --git a/src/test/run-pass/atomic-compare_exchange.rs b/src/test/ui/atomic-compare_exchange.rs similarity index 100% rename from src/test/run-pass/atomic-compare_exchange.rs rename to src/test/ui/atomic-compare_exchange.rs diff --git a/src/test/run-pass/atomic-print.rs b/src/test/ui/atomic-print.rs similarity index 100% rename from src/test/run-pass/atomic-print.rs rename to src/test/ui/atomic-print.rs diff --git a/src/test/run-pass/attr-main-2.rs b/src/test/ui/attr-main-2.rs similarity index 100% rename from src/test/run-pass/attr-main-2.rs rename to src/test/ui/attr-main-2.rs diff --git a/src/test/run-pass/attr-main.rs b/src/test/ui/attr-main.rs similarity index 100% rename from src/test/run-pass/attr-main.rs rename to src/test/ui/attr-main.rs diff --git a/src/test/run-pass/attr-shebang.rs b/src/test/ui/attr-shebang.rs similarity index 100% rename from src/test/run-pass/attr-shebang.rs rename to src/test/ui/attr-shebang.rs diff --git a/src/test/run-pass/attr-start.rs b/src/test/ui/attr-start.rs similarity index 100% rename from src/test/run-pass/attr-start.rs rename to src/test/ui/attr-start.rs diff --git a/src/test/run-pass/attr.rs b/src/test/ui/attr.rs similarity index 100% rename from src/test/run-pass/attr.rs rename to src/test/ui/attr.rs diff --git a/src/test/run-pass/augmented-assignments-feature-gate-cross.rs b/src/test/ui/augmented-assignments-feature-gate-cross.rs similarity index 100% rename from src/test/run-pass/augmented-assignments-feature-gate-cross.rs rename to src/test/ui/augmented-assignments-feature-gate-cross.rs diff --git a/src/test/run-pass/augmented-assignments-feature-gate.rs b/src/test/ui/augmented-assignments-feature-gate.rs similarity index 100% rename from src/test/run-pass/augmented-assignments-feature-gate.rs rename to src/test/ui/augmented-assignments-feature-gate.rs diff --git a/src/test/run-pass/auto-instantiate.rs b/src/test/ui/auto-instantiate.rs similarity index 100% rename from src/test/run-pass/auto-instantiate.rs rename to src/test/ui/auto-instantiate.rs diff --git a/src/test/run-pass/auto-is-contextual.rs b/src/test/ui/auto-is-contextual.rs similarity index 100% rename from src/test/run-pass/auto-is-contextual.rs rename to src/test/ui/auto-is-contextual.rs diff --git a/src/test/run-pass/autobind.rs b/src/test/ui/autobind.rs similarity index 100% rename from src/test/run-pass/autobind.rs rename to src/test/ui/autobind.rs diff --git a/src/test/run-pass/autoref-autoderef/auto-ref-bounded-ty-param.rs b/src/test/ui/autoref-autoderef/auto-ref-bounded-ty-param.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/auto-ref-bounded-ty-param.rs rename to src/test/ui/autoref-autoderef/auto-ref-bounded-ty-param.rs diff --git a/src/test/run-pass/autoref-autoderef/auto-ref-sliceable.rs b/src/test/ui/autoref-autoderef/auto-ref-sliceable.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/auto-ref-sliceable.rs rename to src/test/ui/autoref-autoderef/auto-ref-sliceable.rs diff --git a/src/test/run-pass/autoref-autoderef/auto-ref.rs b/src/test/ui/autoref-autoderef/auto-ref.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/auto-ref.rs rename to src/test/ui/autoref-autoderef/auto-ref.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-and-borrow-method-receiver.rs b/src/test/ui/autoref-autoderef/autoderef-and-borrow-method-receiver.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-and-borrow-method-receiver.rs rename to src/test/ui/autoref-autoderef/autoderef-and-borrow-method-receiver.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-method-on-trait.rs b/src/test/ui/autoref-autoderef/autoderef-method-on-trait.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-method-on-trait.rs rename to src/test/ui/autoref-autoderef/autoderef-method-on-trait.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-method-priority.rs b/src/test/ui/autoref-autoderef/autoderef-method-priority.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-method-priority.rs rename to src/test/ui/autoref-autoderef/autoderef-method-priority.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs b/src/test/ui/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs rename to src/test/ui/autoref-autoderef/autoderef-method-twice-but-not-thrice.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-method-twice.rs b/src/test/ui/autoref-autoderef/autoderef-method-twice.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-method-twice.rs rename to src/test/ui/autoref-autoderef/autoderef-method-twice.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-method.rs b/src/test/ui/autoref-autoderef/autoderef-method.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-method.rs rename to src/test/ui/autoref-autoderef/autoderef-method.rs diff --git a/src/test/run-pass/autoref-autoderef/autoderef-privacy.rs b/src/test/ui/autoref-autoderef/autoderef-privacy.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoderef-privacy.rs rename to src/test/ui/autoref-autoderef/autoderef-privacy.rs diff --git a/src/test/run-pass/autoref-autoderef/autoref-intermediate-types-issue-3585.rs b/src/test/ui/autoref-autoderef/autoref-intermediate-types-issue-3585.rs similarity index 100% rename from src/test/run-pass/autoref-autoderef/autoref-intermediate-types-issue-3585.rs rename to src/test/ui/autoref-autoderef/autoref-intermediate-types-issue-3585.rs diff --git a/src/test/run-pass/auxiliary/anon-extern-mod-cross-crate-1.rs b/src/test/ui/auxiliary/anon-extern-mod-cross-crate-1.rs similarity index 100% rename from src/test/run-pass/auxiliary/anon-extern-mod-cross-crate-1.rs rename to src/test/ui/auxiliary/anon-extern-mod-cross-crate-1.rs diff --git a/src/test/run-pass/auxiliary/augmented_assignments.rs b/src/test/ui/auxiliary/augmented_assignments.rs similarity index 100% rename from src/test/run-pass/auxiliary/augmented_assignments.rs rename to src/test/ui/auxiliary/augmented_assignments.rs diff --git a/src/test/run-pass/auxiliary/blind-item-mixed-crate-use-item-foo.rs b/src/test/ui/auxiliary/blind-item-mixed-crate-use-item-foo.rs similarity index 100% rename from src/test/run-pass/auxiliary/blind-item-mixed-crate-use-item-foo.rs rename to src/test/ui/auxiliary/blind-item-mixed-crate-use-item-foo.rs diff --git a/src/test/run-pass/auxiliary/blind-item-mixed-crate-use-item-foo2.rs b/src/test/ui/auxiliary/blind-item-mixed-crate-use-item-foo2.rs similarity index 100% rename from src/test/run-pass/auxiliary/blind-item-mixed-crate-use-item-foo2.rs rename to src/test/ui/auxiliary/blind-item-mixed-crate-use-item-foo2.rs diff --git a/src/test/run-pass/auxiliary/check_static_recursion_foreign_helper.rs b/src/test/ui/auxiliary/check_static_recursion_foreign_helper.rs similarity index 100% rename from src/test/run-pass/auxiliary/check_static_recursion_foreign_helper.rs rename to src/test/ui/auxiliary/check_static_recursion_foreign_helper.rs diff --git a/src/test/run-pass/auxiliary/cond_plugin.rs b/src/test/ui/auxiliary/cond_plugin.rs similarity index 100% rename from src/test/run-pass/auxiliary/cond_plugin.rs rename to src/test/ui/auxiliary/cond_plugin.rs diff --git a/src/test/run-pass/auxiliary/crate-method-reexport-grrrrrrr2.rs b/src/test/ui/auxiliary/crate-method-reexport-grrrrrrr2.rs similarity index 100% rename from src/test/run-pass/auxiliary/crate-method-reexport-grrrrrrr2.rs rename to src/test/ui/auxiliary/crate-method-reexport-grrrrrrr2.rs diff --git a/src/test/run-pass/auxiliary/debuginfo-lto-aux.rs b/src/test/ui/auxiliary/debuginfo-lto-aux.rs similarity index 100% rename from src/test/run-pass/auxiliary/debuginfo-lto-aux.rs rename to src/test/ui/auxiliary/debuginfo-lto-aux.rs diff --git a/src/test/run-pass/auxiliary/edition-kw-macro-2015.rs b/src/test/ui/auxiliary/edition-kw-macro-2015.rs similarity index 100% rename from src/test/run-pass/auxiliary/edition-kw-macro-2015.rs rename to src/test/ui/auxiliary/edition-kw-macro-2015.rs diff --git a/src/test/run-pass/auxiliary/edition-kw-macro-2018.rs b/src/test/ui/auxiliary/edition-kw-macro-2018.rs similarity index 100% rename from src/test/run-pass/auxiliary/edition-kw-macro-2018.rs rename to src/test/ui/auxiliary/edition-kw-macro-2018.rs diff --git a/src/test/run-pass/auxiliary/foreign_lib.rs b/src/test/ui/auxiliary/foreign_lib.rs similarity index 100% rename from src/test/run-pass/auxiliary/foreign_lib.rs rename to src/test/ui/auxiliary/foreign_lib.rs diff --git a/src/test/run-pass/auxiliary/hello_macro.rs b/src/test/ui/auxiliary/hello_macro.rs similarity index 100% rename from src/test/run-pass/auxiliary/hello_macro.rs rename to src/test/ui/auxiliary/hello_macro.rs diff --git a/src/test/run-pass/auxiliary/impl_privacy_xc_1.rs b/src/test/ui/auxiliary/impl_privacy_xc_1.rs similarity index 100% rename from src/test/run-pass/auxiliary/impl_privacy_xc_1.rs rename to src/test/ui/auxiliary/impl_privacy_xc_1.rs diff --git a/src/test/run-pass/auxiliary/impl_privacy_xc_2.rs b/src/test/ui/auxiliary/impl_privacy_xc_2.rs similarity index 100% rename from src/test/run-pass/auxiliary/impl_privacy_xc_2.rs rename to src/test/ui/auxiliary/impl_privacy_xc_2.rs diff --git a/src/test/run-pass/auxiliary/inline_dtor.rs b/src/test/ui/auxiliary/inline_dtor.rs similarity index 100% rename from src/test/run-pass/auxiliary/inline_dtor.rs rename to src/test/ui/auxiliary/inline_dtor.rs diff --git a/src/test/run-pass/auxiliary/inner_static.rs b/src/test/ui/auxiliary/inner_static.rs similarity index 100% rename from src/test/run-pass/auxiliary/inner_static.rs rename to src/test/ui/auxiliary/inner_static.rs diff --git a/src/test/run-pass/auxiliary/kinds_in_metadata.rs b/src/test/ui/auxiliary/kinds_in_metadata.rs similarity index 100% rename from src/test/run-pass/auxiliary/kinds_in_metadata.rs rename to src/test/ui/auxiliary/kinds_in_metadata.rs diff --git a/src/test/run-pass/auxiliary/link-cfg-works-transitive-dylib.rs b/src/test/ui/auxiliary/link-cfg-works-transitive-dylib.rs similarity index 100% rename from src/test/run-pass/auxiliary/link-cfg-works-transitive-dylib.rs rename to src/test/ui/auxiliary/link-cfg-works-transitive-dylib.rs diff --git a/src/test/run-pass/auxiliary/link-cfg-works-transitive-rlib.rs b/src/test/ui/auxiliary/link-cfg-works-transitive-rlib.rs similarity index 100% rename from src/test/run-pass/auxiliary/link-cfg-works-transitive-rlib.rs rename to src/test/ui/auxiliary/link-cfg-works-transitive-rlib.rs diff --git a/src/test/run-pass/auxiliary/linkage1.rs b/src/test/ui/auxiliary/linkage1.rs similarity index 100% rename from src/test/run-pass/auxiliary/linkage1.rs rename to src/test/ui/auxiliary/linkage1.rs diff --git a/src/test/run-pass/auxiliary/llvm_pr32379.rs b/src/test/ui/auxiliary/llvm_pr32379.rs similarity index 100% rename from src/test/run-pass/auxiliary/llvm_pr32379.rs rename to src/test/ui/auxiliary/llvm_pr32379.rs diff --git a/src/test/run-pass/auxiliary/msvc-data-only-lib.rs b/src/test/ui/auxiliary/msvc-data-only-lib.rs similarity index 100% rename from src/test/run-pass/auxiliary/msvc-data-only-lib.rs rename to src/test/ui/auxiliary/msvc-data-only-lib.rs diff --git a/src/test/run-pass/auxiliary/nested_item.rs b/src/test/ui/auxiliary/nested_item.rs similarity index 100% rename from src/test/run-pass/auxiliary/nested_item.rs rename to src/test/ui/auxiliary/nested_item.rs diff --git a/src/test/run-pass/auxiliary/proc_macro_def.rs b/src/test/ui/auxiliary/proc_macro_def.rs similarity index 100% rename from src/test/run-pass/auxiliary/proc_macro_def.rs rename to src/test/ui/auxiliary/proc_macro_def.rs diff --git a/src/test/run-pass/auxiliary/reachable-unnameable-items.rs b/src/test/ui/auxiliary/reachable-unnameable-items.rs similarity index 100% rename from src/test/run-pass/auxiliary/reachable-unnameable-items.rs rename to src/test/ui/auxiliary/reachable-unnameable-items.rs diff --git a/src/test/run-pass/auxiliary/reexport-should-still-link.rs b/src/test/ui/auxiliary/reexport-should-still-link.rs similarity index 100% rename from src/test/run-pass/auxiliary/reexport-should-still-link.rs rename to src/test/ui/auxiliary/reexport-should-still-link.rs diff --git a/src/test/run-pass/auxiliary/rmeta-rmeta.rs b/src/test/ui/auxiliary/rmeta-rmeta.rs similarity index 100% rename from src/test/run-pass/auxiliary/rmeta-rmeta.rs rename to src/test/ui/auxiliary/rmeta-rmeta.rs diff --git a/src/test/run-pass/auxiliary/svh-a-base.rs b/src/test/ui/auxiliary/svh-a-base.rs similarity index 100% rename from src/test/run-pass/auxiliary/svh-a-base.rs rename to src/test/ui/auxiliary/svh-a-base.rs diff --git a/src/test/run-pass/auxiliary/svh-b.rs b/src/test/ui/auxiliary/svh-b.rs similarity index 100% rename from src/test/run-pass/auxiliary/svh-b.rs rename to src/test/ui/auxiliary/svh-b.rs diff --git a/src/test/run-pass/auxiliary/trait_superkinds_in_metadata.rs b/src/test/ui/auxiliary/trait_superkinds_in_metadata.rs similarity index 100% rename from src/test/run-pass/auxiliary/trait_superkinds_in_metadata.rs rename to src/test/ui/auxiliary/trait_superkinds_in_metadata.rs diff --git a/src/test/run-pass/auxiliary/typeid-intrinsic-aux1.rs b/src/test/ui/auxiliary/typeid-intrinsic-aux1.rs similarity index 100% rename from src/test/run-pass/auxiliary/typeid-intrinsic-aux1.rs rename to src/test/ui/auxiliary/typeid-intrinsic-aux1.rs diff --git a/src/test/run-pass/auxiliary/typeid-intrinsic-aux2.rs b/src/test/ui/auxiliary/typeid-intrinsic-aux2.rs similarity index 100% rename from src/test/run-pass/auxiliary/typeid-intrinsic-aux2.rs rename to src/test/ui/auxiliary/typeid-intrinsic-aux2.rs diff --git a/src/test/run-pass/auxiliary/using-target-feature-unstable.rs b/src/test/ui/auxiliary/using-target-feature-unstable.rs similarity index 100% rename from src/test/run-pass/auxiliary/using-target-feature-unstable.rs rename to src/test/ui/auxiliary/using-target-feature-unstable.rs diff --git a/src/test/run-pass/backtrace-debuginfo-aux.rs b/src/test/ui/backtrace-debuginfo-aux.rs similarity index 100% rename from src/test/run-pass/backtrace-debuginfo-aux.rs rename to src/test/ui/backtrace-debuginfo-aux.rs diff --git a/src/test/run-pass/backtrace-debuginfo.rs b/src/test/ui/backtrace-debuginfo.rs similarity index 100% rename from src/test/run-pass/backtrace-debuginfo.rs rename to src/test/ui/backtrace-debuginfo.rs diff --git a/src/test/run-pass/backtrace.rs b/src/test/ui/backtrace.rs similarity index 100% rename from src/test/run-pass/backtrace.rs rename to src/test/ui/backtrace.rs diff --git a/src/test/run-pass/bare-fn-implements-fn-mut.rs b/src/test/ui/bare-fn-implements-fn-mut.rs similarity index 100% rename from src/test/run-pass/bare-fn-implements-fn-mut.rs rename to src/test/ui/bare-fn-implements-fn-mut.rs diff --git a/src/test/run-pass/bare-static-string.rs b/src/test/ui/bare-static-string.rs similarity index 100% rename from src/test/run-pass/bare-static-string.rs rename to src/test/ui/bare-static-string.rs diff --git a/src/test/run-pass/bench/issue-32062.rs b/src/test/ui/bench/issue-32062.rs similarity index 100% rename from src/test/run-pass/bench/issue-32062.rs rename to src/test/ui/bench/issue-32062.rs diff --git a/src/test/run-pass/big-literals.rs b/src/test/ui/big-literals.rs similarity index 100% rename from src/test/run-pass/big-literals.rs rename to src/test/ui/big-literals.rs diff --git a/src/test/run-pass/binary-minus-without-space.rs b/src/test/ui/binary-minus-without-space.rs similarity index 100% rename from src/test/run-pass/binary-minus-without-space.rs rename to src/test/ui/binary-minus-without-space.rs diff --git a/src/test/run-pass/bind-by-move.rs b/src/test/ui/bind-by-move.rs similarity index 100% rename from src/test/run-pass/bind-by-move.rs rename to src/test/ui/bind-by-move.rs diff --git a/src/test/run-pass/binding/bind-field-short-with-modifiers.rs b/src/test/ui/binding/bind-field-short-with-modifiers.rs similarity index 100% rename from src/test/run-pass/binding/bind-field-short-with-modifiers.rs rename to src/test/ui/binding/bind-field-short-with-modifiers.rs diff --git a/src/test/run-pass/binding/borrowed-ptr-pattern-2.rs b/src/test/ui/binding/borrowed-ptr-pattern-2.rs similarity index 100% rename from src/test/run-pass/binding/borrowed-ptr-pattern-2.rs rename to src/test/ui/binding/borrowed-ptr-pattern-2.rs diff --git a/src/test/run-pass/binding/borrowed-ptr-pattern-3.rs b/src/test/ui/binding/borrowed-ptr-pattern-3.rs similarity index 100% rename from src/test/run-pass/binding/borrowed-ptr-pattern-3.rs rename to src/test/ui/binding/borrowed-ptr-pattern-3.rs diff --git a/src/test/run-pass/binding/borrowed-ptr-pattern-infallible.rs b/src/test/ui/binding/borrowed-ptr-pattern-infallible.rs similarity index 100% rename from src/test/run-pass/binding/borrowed-ptr-pattern-infallible.rs rename to src/test/ui/binding/borrowed-ptr-pattern-infallible.rs diff --git a/src/test/run-pass/binding/borrowed-ptr-pattern-option.rs b/src/test/ui/binding/borrowed-ptr-pattern-option.rs similarity index 100% rename from src/test/run-pass/binding/borrowed-ptr-pattern-option.rs rename to src/test/ui/binding/borrowed-ptr-pattern-option.rs diff --git a/src/test/run-pass/binding/borrowed-ptr-pattern.rs b/src/test/ui/binding/borrowed-ptr-pattern.rs similarity index 100% rename from src/test/run-pass/binding/borrowed-ptr-pattern.rs rename to src/test/ui/binding/borrowed-ptr-pattern.rs diff --git a/src/test/run-pass/binding/empty-types-in-patterns.rs b/src/test/ui/binding/empty-types-in-patterns.rs similarity index 100% rename from src/test/run-pass/binding/empty-types-in-patterns.rs rename to src/test/ui/binding/empty-types-in-patterns.rs diff --git a/src/test/run-pass/binding/exhaustive-bool-match-sanity.rs b/src/test/ui/binding/exhaustive-bool-match-sanity.rs similarity index 100% rename from src/test/run-pass/binding/exhaustive-bool-match-sanity.rs rename to src/test/ui/binding/exhaustive-bool-match-sanity.rs diff --git a/src/test/run-pass/binding/expr-match-generic-unique1.rs b/src/test/ui/binding/expr-match-generic-unique1.rs similarity index 100% rename from src/test/run-pass/binding/expr-match-generic-unique1.rs rename to src/test/ui/binding/expr-match-generic-unique1.rs diff --git a/src/test/run-pass/binding/expr-match-generic-unique2.rs b/src/test/ui/binding/expr-match-generic-unique2.rs similarity index 100% rename from src/test/run-pass/binding/expr-match-generic-unique2.rs rename to src/test/ui/binding/expr-match-generic-unique2.rs diff --git a/src/test/run-pass/binding/expr-match-generic.rs b/src/test/ui/binding/expr-match-generic.rs similarity index 100% rename from src/test/run-pass/binding/expr-match-generic.rs rename to src/test/ui/binding/expr-match-generic.rs diff --git a/src/test/run-pass/binding/expr-match-panic-all.rs b/src/test/ui/binding/expr-match-panic-all.rs similarity index 100% rename from src/test/run-pass/binding/expr-match-panic-all.rs rename to src/test/ui/binding/expr-match-panic-all.rs diff --git a/src/test/run-pass/binding/expr-match-panic.rs b/src/test/ui/binding/expr-match-panic.rs similarity index 100% rename from src/test/run-pass/binding/expr-match-panic.rs rename to src/test/ui/binding/expr-match-panic.rs diff --git a/src/test/run-pass/binding/expr-match-unique.rs b/src/test/ui/binding/expr-match-unique.rs similarity index 100% rename from src/test/run-pass/binding/expr-match-unique.rs rename to src/test/ui/binding/expr-match-unique.rs diff --git a/src/test/run-pass/binding/expr-match.rs b/src/test/ui/binding/expr-match.rs similarity index 100% rename from src/test/run-pass/binding/expr-match.rs rename to src/test/ui/binding/expr-match.rs diff --git a/src/test/run-pass/binding/fat-arrow-match.rs b/src/test/ui/binding/fat-arrow-match.rs similarity index 100% rename from src/test/run-pass/binding/fat-arrow-match.rs rename to src/test/ui/binding/fat-arrow-match.rs diff --git a/src/test/run-pass/binding/fn-arg-incomplete-pattern-drop-order.rs b/src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs similarity index 100% rename from src/test/run-pass/binding/fn-arg-incomplete-pattern-drop-order.rs rename to src/test/ui/binding/fn-arg-incomplete-pattern-drop-order.rs diff --git a/src/test/run-pass/binding/fn-pattern-expected-type-2.rs b/src/test/ui/binding/fn-pattern-expected-type-2.rs similarity index 100% rename from src/test/run-pass/binding/fn-pattern-expected-type-2.rs rename to src/test/ui/binding/fn-pattern-expected-type-2.rs diff --git a/src/test/run-pass/binding/fn-pattern-expected-type.rs b/src/test/ui/binding/fn-pattern-expected-type.rs similarity index 100% rename from src/test/run-pass/binding/fn-pattern-expected-type.rs rename to src/test/ui/binding/fn-pattern-expected-type.rs diff --git a/src/test/run-pass/binding/func-arg-incomplete-pattern.rs b/src/test/ui/binding/func-arg-incomplete-pattern.rs similarity index 100% rename from src/test/run-pass/binding/func-arg-incomplete-pattern.rs rename to src/test/ui/binding/func-arg-incomplete-pattern.rs diff --git a/src/test/run-pass/binding/func-arg-ref-pattern.rs b/src/test/ui/binding/func-arg-ref-pattern.rs similarity index 100% rename from src/test/run-pass/binding/func-arg-ref-pattern.rs rename to src/test/ui/binding/func-arg-ref-pattern.rs diff --git a/src/test/run-pass/binding/func-arg-wild-pattern.rs b/src/test/ui/binding/func-arg-wild-pattern.rs similarity index 100% rename from src/test/run-pass/binding/func-arg-wild-pattern.rs rename to src/test/ui/binding/func-arg-wild-pattern.rs diff --git a/src/test/run-pass/binding/if-let.rs b/src/test/ui/binding/if-let.rs similarity index 100% rename from src/test/run-pass/binding/if-let.rs rename to src/test/ui/binding/if-let.rs diff --git a/src/test/run-pass/binding/inconsistent-lifetime-mismatch.rs b/src/test/ui/binding/inconsistent-lifetime-mismatch.rs similarity index 100% rename from src/test/run-pass/binding/inconsistent-lifetime-mismatch.rs rename to src/test/ui/binding/inconsistent-lifetime-mismatch.rs diff --git a/src/test/run-pass/binding/inferred-suffix-in-pattern-range.rs b/src/test/ui/binding/inferred-suffix-in-pattern-range.rs similarity index 100% rename from src/test/run-pass/binding/inferred-suffix-in-pattern-range.rs rename to src/test/ui/binding/inferred-suffix-in-pattern-range.rs diff --git a/src/test/run-pass/binding/irrefutable-slice-patterns.rs b/src/test/ui/binding/irrefutable-slice-patterns.rs similarity index 100% rename from src/test/run-pass/binding/irrefutable-slice-patterns.rs rename to src/test/ui/binding/irrefutable-slice-patterns.rs diff --git a/src/test/run-pass/binding/let-assignability.rs b/src/test/ui/binding/let-assignability.rs similarity index 100% rename from src/test/run-pass/binding/let-assignability.rs rename to src/test/ui/binding/let-assignability.rs diff --git a/src/test/run-pass/binding/let-destruct-ref.rs b/src/test/ui/binding/let-destruct-ref.rs similarity index 100% rename from src/test/run-pass/binding/let-destruct-ref.rs rename to src/test/ui/binding/let-destruct-ref.rs diff --git a/src/test/run-pass/binding/let-var-hygiene.rs b/src/test/ui/binding/let-var-hygiene.rs similarity index 100% rename from src/test/run-pass/binding/let-var-hygiene.rs rename to src/test/ui/binding/let-var-hygiene.rs diff --git a/src/test/run-pass/binding/match-arm-statics.rs b/src/test/ui/binding/match-arm-statics.rs similarity index 100% rename from src/test/run-pass/binding/match-arm-statics.rs rename to src/test/ui/binding/match-arm-statics.rs diff --git a/src/test/run-pass/binding/match-beginning-vert.rs b/src/test/ui/binding/match-beginning-vert.rs similarity index 100% rename from src/test/run-pass/binding/match-beginning-vert.rs rename to src/test/ui/binding/match-beginning-vert.rs diff --git a/src/test/run-pass/binding/match-borrowed_str.rs b/src/test/ui/binding/match-borrowed_str.rs similarity index 100% rename from src/test/run-pass/binding/match-borrowed_str.rs rename to src/test/ui/binding/match-borrowed_str.rs diff --git a/src/test/run-pass/binding/match-bot-2.rs b/src/test/ui/binding/match-bot-2.rs similarity index 100% rename from src/test/run-pass/binding/match-bot-2.rs rename to src/test/ui/binding/match-bot-2.rs diff --git a/src/test/run-pass/binding/match-bot.rs b/src/test/ui/binding/match-bot.rs similarity index 100% rename from src/test/run-pass/binding/match-bot.rs rename to src/test/ui/binding/match-bot.rs diff --git a/src/test/run-pass/binding/match-byte-array-patterns.rs b/src/test/ui/binding/match-byte-array-patterns.rs similarity index 100% rename from src/test/run-pass/binding/match-byte-array-patterns.rs rename to src/test/ui/binding/match-byte-array-patterns.rs diff --git a/src/test/run-pass/binding/match-enum-struct-0.rs b/src/test/ui/binding/match-enum-struct-0.rs similarity index 100% rename from src/test/run-pass/binding/match-enum-struct-0.rs rename to src/test/ui/binding/match-enum-struct-0.rs diff --git a/src/test/run-pass/binding/match-enum-struct-1.rs b/src/test/ui/binding/match-enum-struct-1.rs similarity index 100% rename from src/test/run-pass/binding/match-enum-struct-1.rs rename to src/test/ui/binding/match-enum-struct-1.rs diff --git a/src/test/run-pass/binding/match-implicit-copy-unique.rs b/src/test/ui/binding/match-implicit-copy-unique.rs similarity index 100% rename from src/test/run-pass/binding/match-implicit-copy-unique.rs rename to src/test/ui/binding/match-implicit-copy-unique.rs diff --git a/src/test/run-pass/binding/match-in-macro.rs b/src/test/ui/binding/match-in-macro.rs similarity index 100% rename from src/test/run-pass/binding/match-in-macro.rs rename to src/test/ui/binding/match-in-macro.rs diff --git a/src/test/run-pass/binding/match-join.rs b/src/test/ui/binding/match-join.rs similarity index 100% rename from src/test/run-pass/binding/match-join.rs rename to src/test/ui/binding/match-join.rs diff --git a/src/test/run-pass/binding/match-larger-const.rs b/src/test/ui/binding/match-larger-const.rs similarity index 100% rename from src/test/run-pass/binding/match-larger-const.rs rename to src/test/ui/binding/match-larger-const.rs diff --git a/src/test/run-pass/binding/match-naked-record-expr.rs b/src/test/ui/binding/match-naked-record-expr.rs similarity index 100% rename from src/test/run-pass/binding/match-naked-record-expr.rs rename to src/test/ui/binding/match-naked-record-expr.rs diff --git a/src/test/run-pass/binding/match-naked-record.rs b/src/test/ui/binding/match-naked-record.rs similarity index 100% rename from src/test/run-pass/binding/match-naked-record.rs rename to src/test/ui/binding/match-naked-record.rs diff --git a/src/test/run-pass/binding/match-path.rs b/src/test/ui/binding/match-path.rs similarity index 100% rename from src/test/run-pass/binding/match-path.rs rename to src/test/ui/binding/match-path.rs diff --git a/src/test/run-pass/binding/match-pattern-bindings.rs b/src/test/ui/binding/match-pattern-bindings.rs similarity index 100% rename from src/test/run-pass/binding/match-pattern-bindings.rs rename to src/test/ui/binding/match-pattern-bindings.rs diff --git a/src/test/run-pass/binding/match-pattern-lit.rs b/src/test/ui/binding/match-pattern-lit.rs similarity index 100% rename from src/test/run-pass/binding/match-pattern-lit.rs rename to src/test/ui/binding/match-pattern-lit.rs diff --git a/src/test/run-pass/binding/match-pattern-no-type-params.rs b/src/test/ui/binding/match-pattern-no-type-params.rs similarity index 100% rename from src/test/run-pass/binding/match-pattern-no-type-params.rs rename to src/test/ui/binding/match-pattern-no-type-params.rs diff --git a/src/test/run-pass/binding/match-pattern-simple.rs b/src/test/ui/binding/match-pattern-simple.rs similarity index 100% rename from src/test/run-pass/binding/match-pattern-simple.rs rename to src/test/ui/binding/match-pattern-simple.rs diff --git a/src/test/run-pass/binding/match-phi.rs b/src/test/ui/binding/match-phi.rs similarity index 100% rename from src/test/run-pass/binding/match-phi.rs rename to src/test/ui/binding/match-phi.rs diff --git a/src/test/run-pass/binding/match-pipe-binding.rs b/src/test/ui/binding/match-pipe-binding.rs similarity index 100% rename from src/test/run-pass/binding/match-pipe-binding.rs rename to src/test/ui/binding/match-pipe-binding.rs diff --git a/src/test/run-pass/binding/match-range-infer.rs b/src/test/ui/binding/match-range-infer.rs similarity index 100% rename from src/test/run-pass/binding/match-range-infer.rs rename to src/test/ui/binding/match-range-infer.rs diff --git a/src/test/run-pass/binding/match-range-static.rs b/src/test/ui/binding/match-range-static.rs similarity index 100% rename from src/test/run-pass/binding/match-range-static.rs rename to src/test/ui/binding/match-range-static.rs diff --git a/src/test/run-pass/binding/match-range.rs b/src/test/ui/binding/match-range.rs similarity index 100% rename from src/test/run-pass/binding/match-range.rs rename to src/test/ui/binding/match-range.rs diff --git a/src/test/run-pass/binding/match-reassign.rs b/src/test/ui/binding/match-reassign.rs similarity index 100% rename from src/test/run-pass/binding/match-reassign.rs rename to src/test/ui/binding/match-reassign.rs diff --git a/src/test/run-pass/binding/match-ref-binding-in-guard-3256.rs b/src/test/ui/binding/match-ref-binding-in-guard-3256.rs similarity index 100% rename from src/test/run-pass/binding/match-ref-binding-in-guard-3256.rs rename to src/test/ui/binding/match-ref-binding-in-guard-3256.rs diff --git a/src/test/run-pass/binding/match-ref-binding-mut-option.rs b/src/test/ui/binding/match-ref-binding-mut-option.rs similarity index 100% rename from src/test/run-pass/binding/match-ref-binding-mut-option.rs rename to src/test/ui/binding/match-ref-binding-mut-option.rs diff --git a/src/test/run-pass/binding/match-ref-binding-mut.rs b/src/test/ui/binding/match-ref-binding-mut.rs similarity index 100% rename from src/test/run-pass/binding/match-ref-binding-mut.rs rename to src/test/ui/binding/match-ref-binding-mut.rs diff --git a/src/test/run-pass/binding/match-ref-binding.rs b/src/test/ui/binding/match-ref-binding.rs similarity index 100% rename from src/test/run-pass/binding/match-ref-binding.rs rename to src/test/ui/binding/match-ref-binding.rs diff --git a/src/test/run-pass/binding/match-ref-unsized.rs b/src/test/ui/binding/match-ref-unsized.rs similarity index 100% rename from src/test/run-pass/binding/match-ref-unsized.rs rename to src/test/ui/binding/match-ref-unsized.rs diff --git a/src/test/run-pass/binding/match-str.rs b/src/test/ui/binding/match-str.rs similarity index 100% rename from src/test/run-pass/binding/match-str.rs rename to src/test/ui/binding/match-str.rs diff --git a/src/test/run-pass/binding/match-struct-0.rs b/src/test/ui/binding/match-struct-0.rs similarity index 100% rename from src/test/run-pass/binding/match-struct-0.rs rename to src/test/ui/binding/match-struct-0.rs diff --git a/src/test/run-pass/binding/match-tag.rs b/src/test/ui/binding/match-tag.rs similarity index 100% rename from src/test/run-pass/binding/match-tag.rs rename to src/test/ui/binding/match-tag.rs diff --git a/src/test/run-pass/binding/match-unique-bind.rs b/src/test/ui/binding/match-unique-bind.rs similarity index 100% rename from src/test/run-pass/binding/match-unique-bind.rs rename to src/test/ui/binding/match-unique-bind.rs diff --git a/src/test/run-pass/binding/match-unsized.rs b/src/test/ui/binding/match-unsized.rs similarity index 100% rename from src/test/run-pass/binding/match-unsized.rs rename to src/test/ui/binding/match-unsized.rs diff --git a/src/test/run-pass/binding/match-value-binding-in-guard-3291.rs b/src/test/ui/binding/match-value-binding-in-guard-3291.rs similarity index 100% rename from src/test/run-pass/binding/match-value-binding-in-guard-3291.rs rename to src/test/ui/binding/match-value-binding-in-guard-3291.rs diff --git a/src/test/run-pass/binding/match-var-hygiene.rs b/src/test/ui/binding/match-var-hygiene.rs similarity index 100% rename from src/test/run-pass/binding/match-var-hygiene.rs rename to src/test/ui/binding/match-var-hygiene.rs diff --git a/src/test/run-pass/binding/match-vec-alternatives.rs b/src/test/ui/binding/match-vec-alternatives.rs similarity index 100% rename from src/test/run-pass/binding/match-vec-alternatives.rs rename to src/test/ui/binding/match-vec-alternatives.rs diff --git a/src/test/run-pass/binding/match-vec-rvalue.rs b/src/test/ui/binding/match-vec-rvalue.rs similarity index 100% rename from src/test/run-pass/binding/match-vec-rvalue.rs rename to src/test/ui/binding/match-vec-rvalue.rs diff --git a/src/test/run-pass/binding/match-with-ret-arm.rs b/src/test/ui/binding/match-with-ret-arm.rs similarity index 100% rename from src/test/run-pass/binding/match-with-ret-arm.rs rename to src/test/ui/binding/match-with-ret-arm.rs diff --git a/src/test/run-pass/binding/multi-let.rs b/src/test/ui/binding/multi-let.rs similarity index 100% rename from src/test/run-pass/binding/multi-let.rs rename to src/test/ui/binding/multi-let.rs diff --git a/src/test/run-pass/binding/mut-in-ident-patterns.rs b/src/test/ui/binding/mut-in-ident-patterns.rs similarity index 100% rename from src/test/run-pass/binding/mut-in-ident-patterns.rs rename to src/test/ui/binding/mut-in-ident-patterns.rs diff --git a/src/test/run-pass/binding/nested-exhaustive-match.rs b/src/test/ui/binding/nested-exhaustive-match.rs similarity index 100% rename from src/test/run-pass/binding/nested-exhaustive-match.rs rename to src/test/ui/binding/nested-exhaustive-match.rs diff --git a/src/test/run-pass/binding/nested-matchs.rs b/src/test/ui/binding/nested-matchs.rs similarity index 100% rename from src/test/run-pass/binding/nested-matchs.rs rename to src/test/ui/binding/nested-matchs.rs diff --git a/src/test/run-pass/binding/nested-pattern.rs b/src/test/ui/binding/nested-pattern.rs similarity index 100% rename from src/test/run-pass/binding/nested-pattern.rs rename to src/test/ui/binding/nested-pattern.rs diff --git a/src/test/run-pass/binding/nil-pattern.rs b/src/test/ui/binding/nil-pattern.rs similarity index 100% rename from src/test/run-pass/binding/nil-pattern.rs rename to src/test/ui/binding/nil-pattern.rs diff --git a/src/test/run-pass/binding/nullary-or-pattern.rs b/src/test/ui/binding/nullary-or-pattern.rs similarity index 100% rename from src/test/run-pass/binding/nullary-or-pattern.rs rename to src/test/ui/binding/nullary-or-pattern.rs diff --git a/src/test/run-pass/binding/optional_comma_in_match_arm.rs b/src/test/ui/binding/optional_comma_in_match_arm.rs similarity index 100% rename from src/test/run-pass/binding/optional_comma_in_match_arm.rs rename to src/test/ui/binding/optional_comma_in_match_arm.rs diff --git a/src/test/run-pass/binding/or-pattern.rs b/src/test/ui/binding/or-pattern.rs similarity index 100% rename from src/test/run-pass/binding/or-pattern.rs rename to src/test/ui/binding/or-pattern.rs diff --git a/src/test/run-pass/binding/order-drop-with-match.rs b/src/test/ui/binding/order-drop-with-match.rs similarity index 100% rename from src/test/run-pass/binding/order-drop-with-match.rs rename to src/test/ui/binding/order-drop-with-match.rs diff --git a/src/test/run-pass/binding/pat-ranges.rs b/src/test/ui/binding/pat-ranges.rs similarity index 100% rename from src/test/run-pass/binding/pat-ranges.rs rename to src/test/ui/binding/pat-ranges.rs diff --git a/src/test/run-pass/binding/pat-tuple-1.rs b/src/test/ui/binding/pat-tuple-1.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-1.rs rename to src/test/ui/binding/pat-tuple-1.rs diff --git a/src/test/run-pass/binding/pat-tuple-2.rs b/src/test/ui/binding/pat-tuple-2.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-2.rs rename to src/test/ui/binding/pat-tuple-2.rs diff --git a/src/test/run-pass/binding/pat-tuple-3.rs b/src/test/ui/binding/pat-tuple-3.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-3.rs rename to src/test/ui/binding/pat-tuple-3.rs diff --git a/src/test/run-pass/binding/pat-tuple-4.rs b/src/test/ui/binding/pat-tuple-4.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-4.rs rename to src/test/ui/binding/pat-tuple-4.rs diff --git a/src/test/run-pass/binding/pat-tuple-5.rs b/src/test/ui/binding/pat-tuple-5.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-5.rs rename to src/test/ui/binding/pat-tuple-5.rs diff --git a/src/test/run-pass/binding/pat-tuple-6.rs b/src/test/ui/binding/pat-tuple-6.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-6.rs rename to src/test/ui/binding/pat-tuple-6.rs diff --git a/src/test/run-pass/binding/pat-tuple-7.rs b/src/test/ui/binding/pat-tuple-7.rs similarity index 100% rename from src/test/run-pass/binding/pat-tuple-7.rs rename to src/test/ui/binding/pat-tuple-7.rs diff --git a/src/test/run-pass/binding/pattern-bound-var-in-for-each.rs b/src/test/ui/binding/pattern-bound-var-in-for-each.rs similarity index 100% rename from src/test/run-pass/binding/pattern-bound-var-in-for-each.rs rename to src/test/ui/binding/pattern-bound-var-in-for-each.rs diff --git a/src/test/run-pass/binding/pattern-in-closure.rs b/src/test/ui/binding/pattern-in-closure.rs similarity index 100% rename from src/test/run-pass/binding/pattern-in-closure.rs rename to src/test/ui/binding/pattern-in-closure.rs diff --git a/src/test/run-pass/binding/range-inclusive-pattern-precedence.rs b/src/test/ui/binding/range-inclusive-pattern-precedence.rs similarity index 100% rename from src/test/run-pass/binding/range-inclusive-pattern-precedence.rs rename to src/test/ui/binding/range-inclusive-pattern-precedence.rs diff --git a/src/test/run-pass/binding/simple-generic-match.rs b/src/test/ui/binding/simple-generic-match.rs similarity index 100% rename from src/test/run-pass/binding/simple-generic-match.rs rename to src/test/ui/binding/simple-generic-match.rs diff --git a/src/test/run-pass/binding/use-uninit-match.rs b/src/test/ui/binding/use-uninit-match.rs similarity index 100% rename from src/test/run-pass/binding/use-uninit-match.rs rename to src/test/ui/binding/use-uninit-match.rs diff --git a/src/test/run-pass/binding/use-uninit-match2.rs b/src/test/ui/binding/use-uninit-match2.rs similarity index 100% rename from src/test/run-pass/binding/use-uninit-match2.rs rename to src/test/ui/binding/use-uninit-match2.rs diff --git a/src/test/run-pass/binding/zero_sized_subslice_match.rs b/src/test/ui/binding/zero_sized_subslice_match.rs similarity index 100% rename from src/test/run-pass/binding/zero_sized_subslice_match.rs rename to src/test/ui/binding/zero_sized_subslice_match.rs diff --git a/src/test/run-pass/binops-issue-22743.rs b/src/test/ui/binops-issue-22743.rs similarity index 100% rename from src/test/run-pass/binops-issue-22743.rs rename to src/test/ui/binops-issue-22743.rs diff --git a/src/test/run-pass/binops.rs b/src/test/ui/binops.rs similarity index 100% rename from src/test/run-pass/binops.rs rename to src/test/ui/binops.rs diff --git a/src/test/run-pass/bitwise.rs b/src/test/ui/bitwise.rs similarity index 100% rename from src/test/run-pass/bitwise.rs rename to src/test/ui/bitwise.rs diff --git a/src/test/run-pass/blind-item-local-shadow.rs b/src/test/ui/blind-item-local-shadow.rs similarity index 100% rename from src/test/run-pass/blind-item-local-shadow.rs rename to src/test/ui/blind-item-local-shadow.rs diff --git a/src/test/run-pass/blind-item-mixed-crate-use-item.rs b/src/test/ui/blind-item-mixed-crate-use-item.rs similarity index 100% rename from src/test/run-pass/blind-item-mixed-crate-use-item.rs rename to src/test/ui/blind-item-mixed-crate-use-item.rs diff --git a/src/test/run-pass/blind-item-mixed-use-item.rs b/src/test/ui/blind-item-mixed-use-item.rs similarity index 100% rename from src/test/run-pass/blind-item-mixed-use-item.rs rename to src/test/ui/blind-item-mixed-use-item.rs diff --git a/src/test/run-pass/block-arg-call-as.rs b/src/test/ui/block-arg-call-as.rs similarity index 100% rename from src/test/run-pass/block-arg-call-as.rs rename to src/test/ui/block-arg-call-as.rs diff --git a/src/test/run-pass/block-arg.rs b/src/test/ui/block-arg.rs similarity index 100% rename from src/test/run-pass/block-arg.rs rename to src/test/ui/block-arg.rs diff --git a/src/test/run-pass/block-explicit-types.rs b/src/test/ui/block-explicit-types.rs similarity index 100% rename from src/test/run-pass/block-explicit-types.rs rename to src/test/ui/block-explicit-types.rs diff --git a/src/test/run-pass/block-expr-precedence.rs b/src/test/ui/block-expr-precedence.rs similarity index 100% rename from src/test/run-pass/block-expr-precedence.rs rename to src/test/ui/block-expr-precedence.rs diff --git a/src/test/run-pass/block-fn-coerce.rs b/src/test/ui/block-fn-coerce.rs similarity index 100% rename from src/test/run-pass/block-fn-coerce.rs rename to src/test/ui/block-fn-coerce.rs diff --git a/src/test/run-pass/block-iter-1.rs b/src/test/ui/block-iter-1.rs similarity index 100% rename from src/test/run-pass/block-iter-1.rs rename to src/test/ui/block-iter-1.rs diff --git a/src/test/run-pass/block-iter-2.rs b/src/test/ui/block-iter-2.rs similarity index 100% rename from src/test/run-pass/block-iter-2.rs rename to src/test/ui/block-iter-2.rs diff --git a/src/test/run-pass/bool-not.rs b/src/test/ui/bool-not.rs similarity index 100% rename from src/test/run-pass/bool-not.rs rename to src/test/ui/bool-not.rs diff --git a/src/test/run-pass/bool.rs b/src/test/ui/bool.rs similarity index 100% rename from src/test/run-pass/bool.rs rename to src/test/ui/bool.rs diff --git a/src/test/run-pass/borrow-by-val-method-receiver.rs b/src/test/ui/borrow-by-val-method-receiver.rs similarity index 100% rename from src/test/run-pass/borrow-by-val-method-receiver.rs rename to src/test/ui/borrow-by-val-method-receiver.rs diff --git a/src/test/run-pass/borrowck/borrowck-assign-to-subfield.rs b/src/test/ui/borrowck/borrowck-assign-to-subfield.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-assign-to-subfield.rs rename to src/test/ui/borrowck/borrowck-assign-to-subfield.rs diff --git a/src/test/run-pass/borrowck/borrowck-assignment-to-static-mut.rs b/src/test/ui/borrowck/borrowck-assignment-to-static-mut.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-assignment-to-static-mut.rs rename to src/test/ui/borrowck/borrowck-assignment-to-static-mut.rs diff --git a/src/test/run-pass/borrowck/borrowck-binding-mutbl.rs b/src/test/ui/borrowck/borrowck-binding-mutbl.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-binding-mutbl.rs rename to src/test/ui/borrowck/borrowck-binding-mutbl.rs diff --git a/src/test/run-pass/borrowck/borrowck-borrow-from-expr-block.rs b/src/test/ui/borrowck/borrowck-borrow-from-expr-block.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-borrow-from-expr-block.rs rename to src/test/ui/borrowck/borrowck-borrow-from-expr-block.rs diff --git a/src/test/run-pass/borrowck/borrowck-borrow-of-mut-base-ptr-safe.rs b/src/test/ui/borrowck/borrowck-borrow-of-mut-base-ptr-safe.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-borrow-of-mut-base-ptr-safe.rs rename to src/test/ui/borrowck/borrowck-borrow-of-mut-base-ptr-safe.rs diff --git a/src/test/run-pass/borrowck/borrowck-closures-two-imm.rs b/src/test/ui/borrowck/borrowck-closures-two-imm.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-closures-two-imm.rs rename to src/test/ui/borrowck/borrowck-closures-two-imm.rs diff --git a/src/test/run-pass/borrowck/borrowck-fixed-length-vecs.rs b/src/test/ui/borrowck/borrowck-fixed-length-vecs.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-fixed-length-vecs.rs rename to src/test/ui/borrowck/borrowck-fixed-length-vecs.rs diff --git a/src/test/run-pass/borrowck/borrowck-freeze-frozen-mut.rs b/src/test/ui/borrowck/borrowck-freeze-frozen-mut.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-freeze-frozen-mut.rs rename to src/test/ui/borrowck/borrowck-freeze-frozen-mut.rs diff --git a/src/test/run-pass/borrowck/borrowck-lend-args.rs b/src/test/ui/borrowck/borrowck-lend-args.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-lend-args.rs rename to src/test/ui/borrowck/borrowck-lend-args.rs diff --git a/src/test/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs b/src/test/ui/borrowck/borrowck-macro-interaction-issue-6304.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-macro-interaction-issue-6304.rs rename to src/test/ui/borrowck/borrowck-macro-interaction-issue-6304.rs diff --git a/src/test/run-pass/borrowck/borrowck-move-by-capture-ok.rs b/src/test/ui/borrowck/borrowck-move-by-capture-ok.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-move-by-capture-ok.rs rename to src/test/ui/borrowck/borrowck-move-by-capture-ok.rs diff --git a/src/test/run-pass/borrowck/borrowck-multiple-borrows-interior-boxes.rs b/src/test/ui/borrowck/borrowck-multiple-borrows-interior-boxes.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-multiple-borrows-interior-boxes.rs rename to src/test/ui/borrowck/borrowck-multiple-borrows-interior-boxes.rs diff --git a/src/test/run-pass/borrowck/borrowck-mut-uniq.rs b/src/test/ui/borrowck/borrowck-mut-uniq.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-mut-uniq.rs rename to src/test/ui/borrowck/borrowck-mut-uniq.rs diff --git a/src/test/run-pass/borrowck/borrowck-mut-vec-as-imm-slice.rs b/src/test/ui/borrowck/borrowck-mut-vec-as-imm-slice.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-mut-vec-as-imm-slice.rs rename to src/test/ui/borrowck/borrowck-mut-vec-as-imm-slice.rs diff --git a/src/test/run-pass/borrowck/borrowck-pat-enum.rs b/src/test/ui/borrowck/borrowck-pat-enum.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-pat-enum.rs rename to src/test/ui/borrowck/borrowck-pat-enum.rs diff --git a/src/test/run-pass/borrowck/borrowck-pat-reassign-no-binding.rs b/src/test/ui/borrowck/borrowck-pat-reassign-no-binding.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-pat-reassign-no-binding.rs rename to src/test/ui/borrowck/borrowck-pat-reassign-no-binding.rs diff --git a/src/test/run-pass/borrowck/borrowck-rvalues-mutable.rs b/src/test/ui/borrowck/borrowck-rvalues-mutable.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-rvalues-mutable.rs rename to src/test/ui/borrowck/borrowck-rvalues-mutable.rs diff --git a/src/test/run-pass/borrowck/borrowck-scope-of-deref-issue-4666.rs b/src/test/ui/borrowck/borrowck-scope-of-deref-issue-4666.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-scope-of-deref-issue-4666.rs rename to src/test/ui/borrowck/borrowck-scope-of-deref-issue-4666.rs diff --git a/src/test/run-pass/borrowck/borrowck-static-item-in-fn.rs b/src/test/ui/borrowck/borrowck-static-item-in-fn.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-static-item-in-fn.rs rename to src/test/ui/borrowck/borrowck-static-item-in-fn.rs diff --git a/src/test/run-pass/borrowck/borrowck-trait-lifetime.rs b/src/test/ui/borrowck/borrowck-trait-lifetime.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-trait-lifetime.rs rename to src/test/ui/borrowck/borrowck-trait-lifetime.rs diff --git a/src/test/run-pass/borrowck/borrowck-uniq-via-ref.rs b/src/test/ui/borrowck/borrowck-uniq-via-ref.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-uniq-via-ref.rs rename to src/test/ui/borrowck/borrowck-uniq-via-ref.rs diff --git a/src/test/run-pass/borrowck/borrowck-univariant-enum.rs b/src/test/ui/borrowck/borrowck-univariant-enum.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-univariant-enum.rs rename to src/test/ui/borrowck/borrowck-univariant-enum.rs diff --git a/src/test/run-pass/borrowck/borrowck-unsafe-static-mutable-borrows.rs b/src/test/ui/borrowck/borrowck-unsafe-static-mutable-borrows.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-unsafe-static-mutable-borrows.rs rename to src/test/ui/borrowck/borrowck-unsafe-static-mutable-borrows.rs diff --git a/src/test/run-pass/borrowck/borrowck-unused-mut-locals.rs b/src/test/ui/borrowck/borrowck-unused-mut-locals.rs similarity index 100% rename from src/test/run-pass/borrowck/borrowck-unused-mut-locals.rs rename to src/test/ui/borrowck/borrowck-unused-mut-locals.rs diff --git a/src/test/run-pass/borrowck/issue-62007-assign-box.rs b/src/test/ui/borrowck/issue-62007-assign-box.rs similarity index 100% rename from src/test/run-pass/borrowck/issue-62007-assign-box.rs rename to src/test/ui/borrowck/issue-62007-assign-box.rs diff --git a/src/test/run-pass/borrowck/issue-62007-assign-field.rs b/src/test/ui/borrowck/issue-62007-assign-field.rs similarity index 100% rename from src/test/run-pass/borrowck/issue-62007-assign-field.rs rename to src/test/ui/borrowck/issue-62007-assign-field.rs diff --git a/src/test/run-pass/borrowck/two-phase-baseline.rs b/src/test/ui/borrowck/two-phase-baseline.rs similarity index 100% rename from src/test/run-pass/borrowck/two-phase-baseline.rs rename to src/test/ui/borrowck/two-phase-baseline.rs diff --git a/src/test/run-pass/borrowck/two-phase-bin-ops.rs b/src/test/ui/borrowck/two-phase-bin-ops.rs similarity index 100% rename from src/test/run-pass/borrowck/two-phase-bin-ops.rs rename to src/test/ui/borrowck/two-phase-bin-ops.rs diff --git a/src/test/run-pass/borrowck/two-phase-control-flow-split-before-activation.rs b/src/test/ui/borrowck/two-phase-control-flow-split-before-activation.rs similarity index 100% rename from src/test/run-pass/borrowck/two-phase-control-flow-split-before-activation.rs rename to src/test/ui/borrowck/two-phase-control-flow-split-before-activation.rs diff --git a/src/test/run-pass/box-new.rs b/src/test/ui/box-new.rs similarity index 100% rename from src/test/run-pass/box-new.rs rename to src/test/ui/box-new.rs diff --git a/src/test/run-pass/bug-7183-generics.rs b/src/test/ui/bug-7183-generics.rs similarity index 100% rename from src/test/run-pass/bug-7183-generics.rs rename to src/test/ui/bug-7183-generics.rs diff --git a/src/test/run-pass/bug-7295.rs b/src/test/ui/bug-7295.rs similarity index 100% rename from src/test/run-pass/bug-7295.rs rename to src/test/ui/bug-7295.rs diff --git a/src/test/run-pass/builtin-clone-unwind.rs b/src/test/ui/builtin-clone-unwind.rs similarity index 100% rename from src/test/run-pass/builtin-clone-unwind.rs rename to src/test/ui/builtin-clone-unwind.rs diff --git a/src/test/run-pass/builtin-clone.rs b/src/test/ui/builtin-clone.rs similarity index 100% rename from src/test/run-pass/builtin-clone.rs rename to src/test/ui/builtin-clone.rs diff --git a/src/test/run-pass/builtin-superkinds-capabilities-transitive.rs b/src/test/ui/builtin-superkinds-capabilities-transitive.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-capabilities-transitive.rs rename to src/test/ui/builtin-superkinds-capabilities-transitive.rs diff --git a/src/test/run-pass/builtin-superkinds-capabilities-xc.rs b/src/test/ui/builtin-superkinds-capabilities-xc.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-capabilities-xc.rs rename to src/test/ui/builtin-superkinds-capabilities-xc.rs diff --git a/src/test/run-pass/builtin-superkinds-capabilities.rs b/src/test/ui/builtin-superkinds-capabilities.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-capabilities.rs rename to src/test/ui/builtin-superkinds-capabilities.rs diff --git a/src/test/run-pass/builtin-superkinds-in-metadata.rs b/src/test/ui/builtin-superkinds-in-metadata.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-in-metadata.rs rename to src/test/ui/builtin-superkinds-in-metadata.rs diff --git a/src/test/run-pass/builtin-superkinds-phantom-typaram.rs b/src/test/ui/builtin-superkinds-phantom-typaram.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-phantom-typaram.rs rename to src/test/ui/builtin-superkinds-phantom-typaram.rs diff --git a/src/test/run-pass/builtin-superkinds-simple.rs b/src/test/ui/builtin-superkinds-simple.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-simple.rs rename to src/test/ui/builtin-superkinds-simple.rs diff --git a/src/test/run-pass/builtin-superkinds-typaram.rs b/src/test/ui/builtin-superkinds-typaram.rs similarity index 100% rename from src/test/run-pass/builtin-superkinds-typaram.rs rename to src/test/ui/builtin-superkinds-typaram.rs diff --git a/src/test/run-pass/byte-literals.rs b/src/test/ui/byte-literals.rs similarity index 100% rename from src/test/run-pass/byte-literals.rs rename to src/test/ui/byte-literals.rs diff --git a/src/test/run-pass/c-stack-as-value.rs b/src/test/ui/c-stack-as-value.rs similarity index 100% rename from src/test/run-pass/c-stack-as-value.rs rename to src/test/ui/c-stack-as-value.rs diff --git a/src/test/run-pass/c-stack-returning-int64.rs b/src/test/ui/c-stack-returning-int64.rs similarity index 100% rename from src/test/run-pass/c-stack-returning-int64.rs rename to src/test/ui/c-stack-returning-int64.rs diff --git a/src/test/run-pass/cabi-int-widening.rs b/src/test/ui/cabi-int-widening.rs similarity index 100% rename from src/test/run-pass/cabi-int-widening.rs rename to src/test/ui/cabi-int-widening.rs diff --git a/src/test/run-pass/can-copy-pod.rs b/src/test/ui/can-copy-pod.rs similarity index 100% rename from src/test/run-pass/can-copy-pod.rs rename to src/test/ui/can-copy-pod.rs diff --git a/src/test/run-pass/cancel-clean-via-immediate-rvalue-ref.rs b/src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs similarity index 100% rename from src/test/run-pass/cancel-clean-via-immediate-rvalue-ref.rs rename to src/test/ui/cancel-clean-via-immediate-rvalue-ref.rs diff --git a/src/test/run-pass/cast-does-fallback.rs b/src/test/ui/cast-does-fallback.rs similarity index 100% rename from src/test/run-pass/cast-does-fallback.rs rename to src/test/ui/cast-does-fallback.rs diff --git a/src/test/run-pass/cast-region-to-uint.rs b/src/test/ui/cast-region-to-uint.rs similarity index 100% rename from src/test/run-pass/cast-region-to-uint.rs rename to src/test/ui/cast-region-to-uint.rs diff --git a/src/test/run-pass/cast-rfc0401-vtable-kinds.rs b/src/test/ui/cast-rfc0401-vtable-kinds.rs similarity index 100% rename from src/test/run-pass/cast-rfc0401-vtable-kinds.rs rename to src/test/ui/cast-rfc0401-vtable-kinds.rs diff --git a/src/test/run-pass/cast-rfc0401.rs b/src/test/ui/cast-rfc0401.rs similarity index 100% rename from src/test/run-pass/cast-rfc0401.rs rename to src/test/ui/cast-rfc0401.rs diff --git a/src/test/run-pass/cast-to-infer-ty.rs b/src/test/ui/cast-to-infer-ty.rs similarity index 100% rename from src/test/run-pass/cast-to-infer-ty.rs rename to src/test/ui/cast-to-infer-ty.rs diff --git a/src/test/run-pass/cast.rs b/src/test/ui/cast.rs similarity index 100% rename from src/test/run-pass/cast.rs rename to src/test/ui/cast.rs diff --git a/src/test/run-pass/catch-unwind-bang.rs b/src/test/ui/catch-unwind-bang.rs similarity index 100% rename from src/test/run-pass/catch-unwind-bang.rs rename to src/test/ui/catch-unwind-bang.rs diff --git a/src/test/run-pass/cell-does-not-clone.rs b/src/test/ui/cell-does-not-clone.rs similarity index 100% rename from src/test/run-pass/cell-does-not-clone.rs rename to src/test/ui/cell-does-not-clone.rs diff --git a/src/test/run-pass/cfg/auxiliary/cfg_inner_static.rs b/src/test/ui/cfg/auxiliary/cfg_inner_static.rs similarity index 100% rename from src/test/run-pass/cfg/auxiliary/cfg_inner_static.rs rename to src/test/ui/cfg/auxiliary/cfg_inner_static.rs diff --git a/src/test/run-pass/cfg/auxiliary/crate-attributes-using-cfg_attr.rs b/src/test/ui/cfg/auxiliary/crate-attributes-using-cfg_attr.rs similarity index 100% rename from src/test/run-pass/cfg/auxiliary/crate-attributes-using-cfg_attr.rs rename to src/test/ui/cfg/auxiliary/crate-attributes-using-cfg_attr.rs diff --git a/src/test/run-pass/cfg/cfg-attr-cfg.rs b/src/test/ui/cfg/cfg-attr-cfg.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-attr-cfg.rs rename to src/test/ui/cfg/cfg-attr-cfg.rs diff --git a/src/test/run-pass/cfg/cfg-attr-crate.rs b/src/test/ui/cfg/cfg-attr-crate.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-attr-crate.rs rename to src/test/ui/cfg/cfg-attr-crate.rs diff --git a/src/test/run-pass/cfg/cfg-family.rs b/src/test/ui/cfg/cfg-family.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-family.rs rename to src/test/ui/cfg/cfg-family.rs diff --git a/src/test/run-pass/cfg/cfg-in-crate-1.rs b/src/test/ui/cfg/cfg-in-crate-1.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-in-crate-1.rs rename to src/test/ui/cfg/cfg-in-crate-1.rs diff --git a/src/test/run-pass/cfg/cfg-macros-foo.rs b/src/test/ui/cfg/cfg-macros-foo.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-macros-foo.rs rename to src/test/ui/cfg/cfg-macros-foo.rs diff --git a/src/test/run-pass/cfg/cfg-macros-notfoo.rs b/src/test/ui/cfg/cfg-macros-notfoo.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-macros-notfoo.rs rename to src/test/ui/cfg/cfg-macros-notfoo.rs diff --git a/src/test/run-pass/cfg/cfg-match-arm.rs b/src/test/ui/cfg/cfg-match-arm.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-match-arm.rs rename to src/test/ui/cfg/cfg-match-arm.rs diff --git a/src/test/run-pass/cfg/cfg-target-family.rs b/src/test/ui/cfg/cfg-target-family.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-target-family.rs rename to src/test/ui/cfg/cfg-target-family.rs diff --git a/src/test/run-pass/cfg/cfg-target-vendor.rs b/src/test/ui/cfg/cfg-target-vendor.rs similarity index 100% rename from src/test/run-pass/cfg/cfg-target-vendor.rs rename to src/test/ui/cfg/cfg-target-vendor.rs diff --git a/src/test/run-pass/cfg/cfg_attr.rs b/src/test/ui/cfg/cfg_attr.rs similarity index 100% rename from src/test/run-pass/cfg/cfg_attr.rs rename to src/test/ui/cfg/cfg_attr.rs diff --git a/src/test/run-pass/cfg/cfg_inner_static.rs b/src/test/ui/cfg/cfg_inner_static.rs similarity index 100% rename from src/test/run-pass/cfg/cfg_inner_static.rs rename to src/test/ui/cfg/cfg_inner_static.rs diff --git a/src/test/run-pass/cfg/cfg_stmt_expr.rs b/src/test/ui/cfg/cfg_stmt_expr.rs similarity index 100% rename from src/test/run-pass/cfg/cfg_stmt_expr.rs rename to src/test/ui/cfg/cfg_stmt_expr.rs diff --git a/src/test/run-pass/cfg/cfgs-on-items.rs b/src/test/ui/cfg/cfgs-on-items.rs similarity index 100% rename from src/test/run-pass/cfg/cfgs-on-items.rs rename to src/test/ui/cfg/cfgs-on-items.rs diff --git a/src/test/run-pass/cfg/conditional-compile-arch.rs b/src/test/ui/cfg/conditional-compile-arch.rs similarity index 100% rename from src/test/run-pass/cfg/conditional-compile-arch.rs rename to src/test/ui/cfg/conditional-compile-arch.rs diff --git a/src/test/run-pass/cfg/conditional-compile.rs b/src/test/ui/cfg/conditional-compile.rs similarity index 100% rename from src/test/run-pass/cfg/conditional-compile.rs rename to src/test/ui/cfg/conditional-compile.rs diff --git a/src/test/run-pass/cfg/crate-attributes-using-cfg_attr.rs b/src/test/ui/cfg/crate-attributes-using-cfg_attr.rs similarity index 100% rename from src/test/run-pass/cfg/crate-attributes-using-cfg_attr.rs rename to src/test/ui/cfg/crate-attributes-using-cfg_attr.rs diff --git a/src/test/run-pass/chalkify/builtin-copy-clone.rs b/src/test/ui/chalkify/builtin-copy-clone.rs similarity index 100% rename from src/test/run-pass/chalkify/builtin-copy-clone.rs rename to src/test/ui/chalkify/builtin-copy-clone.rs diff --git a/src/test/run-pass/chalkify/inherent_impl.rs b/src/test/ui/chalkify/inherent_impl.rs similarity index 100% rename from src/test/run-pass/chalkify/inherent_impl.rs rename to src/test/ui/chalkify/inherent_impl.rs diff --git a/src/test/run-pass/chalkify/projection.rs b/src/test/ui/chalkify/projection.rs similarity index 100% rename from src/test/run-pass/chalkify/projection.rs rename to src/test/ui/chalkify/projection.rs diff --git a/src/test/run-pass/chalkify/super_trait.rs b/src/test/ui/chalkify/super_trait.rs similarity index 100% rename from src/test/run-pass/chalkify/super_trait.rs rename to src/test/ui/chalkify/super_trait.rs diff --git a/src/test/run-pass/chalkify/trait_implied_bound.rs b/src/test/ui/chalkify/trait_implied_bound.rs similarity index 100% rename from src/test/run-pass/chalkify/trait_implied_bound.rs rename to src/test/ui/chalkify/trait_implied_bound.rs diff --git a/src/test/run-pass/chalkify/type_implied_bound.rs b/src/test/ui/chalkify/type_implied_bound.rs similarity index 100% rename from src/test/run-pass/chalkify/type_implied_bound.rs rename to src/test/ui/chalkify/type_implied_bound.rs diff --git a/src/test/run-pass/char.rs b/src/test/ui/char.rs similarity index 100% rename from src/test/run-pass/char.rs rename to src/test/ui/char.rs diff --git a/src/test/run-pass/char_unicode.rs b/src/test/ui/char_unicode.rs similarity index 100% rename from src/test/run-pass/char_unicode.rs rename to src/test/ui/char_unicode.rs diff --git a/src/test/run-pass/check-static-recursion-foreign.rs b/src/test/ui/check-static-recursion-foreign.rs similarity index 100% rename from src/test/run-pass/check-static-recursion-foreign.rs rename to src/test/ui/check-static-recursion-foreign.rs diff --git a/src/test/run-pass/check_const-feature-gated.rs b/src/test/ui/check_const-feature-gated.rs similarity index 100% rename from src/test/run-pass/check_const-feature-gated.rs rename to src/test/ui/check_const-feature-gated.rs diff --git a/src/test/run-pass/child-outlives-parent.rs b/src/test/ui/child-outlives-parent.rs similarity index 100% rename from src/test/run-pass/child-outlives-parent.rs rename to src/test/ui/child-outlives-parent.rs diff --git a/src/test/run-pass/cleanup-arm-conditional.rs b/src/test/ui/cleanup-arm-conditional.rs similarity index 100% rename from src/test/run-pass/cleanup-arm-conditional.rs rename to src/test/ui/cleanup-arm-conditional.rs diff --git a/src/test/run-pass/cleanup-rvalue-during-if-and-while.rs b/src/test/ui/cleanup-rvalue-during-if-and-while.rs similarity index 100% rename from src/test/run-pass/cleanup-rvalue-during-if-and-while.rs rename to src/test/ui/cleanup-rvalue-during-if-and-while.rs diff --git a/src/test/run-pass/cleanup-rvalue-for-scope.rs b/src/test/ui/cleanup-rvalue-for-scope.rs similarity index 100% rename from src/test/run-pass/cleanup-rvalue-for-scope.rs rename to src/test/ui/cleanup-rvalue-for-scope.rs diff --git a/src/test/run-pass/cleanup-rvalue-scopes.rs b/src/test/ui/cleanup-rvalue-scopes.rs similarity index 100% rename from src/test/run-pass/cleanup-rvalue-scopes.rs rename to src/test/ui/cleanup-rvalue-scopes.rs diff --git a/src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs b/src/test/ui/cleanup-rvalue-temp-during-incomplete-alloc.rs similarity index 100% rename from src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs rename to src/test/ui/cleanup-rvalue-temp-during-incomplete-alloc.rs diff --git a/src/test/run-pass/cleanup-shortcircuit.rs b/src/test/ui/cleanup-shortcircuit.rs similarity index 100% rename from src/test/run-pass/cleanup-shortcircuit.rs rename to src/test/ui/cleanup-shortcircuit.rs diff --git a/src/test/run-pass/clone-with-exterior.rs b/src/test/ui/clone-with-exterior.rs similarity index 100% rename from src/test/run-pass/clone-with-exterior.rs rename to src/test/ui/clone-with-exterior.rs diff --git a/src/test/run-pass/close-over-big-then-small-data.rs b/src/test/ui/close-over-big-then-small-data.rs similarity index 100% rename from src/test/run-pass/close-over-big-then-small-data.rs rename to src/test/ui/close-over-big-then-small-data.rs diff --git a/src/test/run-pass/cmp-default.rs b/src/test/ui/cmp-default.rs similarity index 100% rename from src/test/run-pass/cmp-default.rs rename to src/test/ui/cmp-default.rs diff --git a/src/test/run-pass/codegen-object-shim.rs b/src/test/ui/codegen-object-shim.rs similarity index 100% rename from src/test/run-pass/codegen-object-shim.rs rename to src/test/ui/codegen-object-shim.rs diff --git a/src/test/run-pass/coerce/coerce-expect-unsized.rs b/src/test/ui/coerce/coerce-expect-unsized.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-expect-unsized.rs rename to src/test/ui/coerce/coerce-expect-unsized.rs diff --git a/src/test/run-pass/coerce/coerce-overloaded-autoderef.rs b/src/test/ui/coerce/coerce-overloaded-autoderef.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-overloaded-autoderef.rs rename to src/test/ui/coerce/coerce-overloaded-autoderef.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-imm-ptr-arg.rs b/src/test/ui/coerce/coerce-reborrow-imm-ptr-arg.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-imm-ptr-arg.rs rename to src/test/ui/coerce/coerce-reborrow-imm-ptr-arg.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-imm-ptr-rcvr.rs b/src/test/ui/coerce/coerce-reborrow-imm-ptr-rcvr.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-imm-ptr-rcvr.rs rename to src/test/ui/coerce/coerce-reborrow-imm-ptr-rcvr.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-imm-vec-arg.rs b/src/test/ui/coerce/coerce-reborrow-imm-vec-arg.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-imm-vec-arg.rs rename to src/test/ui/coerce/coerce-reborrow-imm-vec-arg.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-imm-vec-rcvr.rs b/src/test/ui/coerce/coerce-reborrow-imm-vec-rcvr.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-imm-vec-rcvr.rs rename to src/test/ui/coerce/coerce-reborrow-imm-vec-rcvr.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-mut-ptr-arg.rs b/src/test/ui/coerce/coerce-reborrow-mut-ptr-arg.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-mut-ptr-arg.rs rename to src/test/ui/coerce/coerce-reborrow-mut-ptr-arg.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-mut-ptr-rcvr.rs b/src/test/ui/coerce/coerce-reborrow-mut-ptr-rcvr.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-mut-ptr-rcvr.rs rename to src/test/ui/coerce/coerce-reborrow-mut-ptr-rcvr.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-mut-vec-arg.rs b/src/test/ui/coerce/coerce-reborrow-mut-vec-arg.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-mut-vec-arg.rs rename to src/test/ui/coerce/coerce-reborrow-mut-vec-arg.rs diff --git a/src/test/run-pass/coerce/coerce-reborrow-mut-vec-rcvr.rs b/src/test/ui/coerce/coerce-reborrow-mut-vec-rcvr.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-reborrow-mut-vec-rcvr.rs rename to src/test/ui/coerce/coerce-reborrow-mut-vec-rcvr.rs diff --git a/src/test/run-pass/coerce/coerce-unify-return.rs b/src/test/ui/coerce/coerce-unify-return.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-unify-return.rs rename to src/test/ui/coerce/coerce-unify-return.rs diff --git a/src/test/run-pass/coerce/coerce-unify.rs b/src/test/ui/coerce/coerce-unify.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-unify.rs rename to src/test/ui/coerce/coerce-unify.rs diff --git a/src/test/run-pass/coerce/coerce-unsize-subtype.rs b/src/test/ui/coerce/coerce-unsize-subtype.rs similarity index 100% rename from src/test/run-pass/coerce/coerce-unsize-subtype.rs rename to src/test/ui/coerce/coerce-unsize-subtype.rs diff --git a/src/test/run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs b/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs similarity index 100% rename from src/test/run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs rename to src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib-rpass.rs diff --git a/src/test/run-pass/coherence/coherence-bigint-int.rs b/src/test/ui/coherence/coherence-bigint-int.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-bigint-int.rs rename to src/test/ui/coherence/coherence-bigint-int.rs diff --git a/src/test/run-pass/coherence/coherence-bigint-vecint.rs b/src/test/ui/coherence/coherence-bigint-vecint.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-bigint-vecint.rs rename to src/test/ui/coherence/coherence-bigint-vecint.rs diff --git a/src/test/run-pass/coherence/coherence-blanket.rs b/src/test/ui/coherence/coherence-blanket.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-blanket.rs rename to src/test/ui/coherence/coherence-blanket.rs diff --git a/src/test/run-pass/coherence/coherence-covered-type-parameter.rs b/src/test/ui/coherence/coherence-covered-type-parameter.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-covered-type-parameter.rs rename to src/test/ui/coherence/coherence-covered-type-parameter.rs diff --git a/src/test/run-pass/coherence/coherence-impl-in-fn.rs b/src/test/ui/coherence/coherence-impl-in-fn.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-impl-in-fn.rs rename to src/test/ui/coherence/coherence-impl-in-fn.rs diff --git a/src/test/run-pass/coherence/coherence-iterator-vec-any-elem.rs b/src/test/ui/coherence/coherence-iterator-vec-any-elem.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-iterator-vec-any-elem.rs rename to src/test/ui/coherence/coherence-iterator-vec-any-elem.rs diff --git a/src/test/run-pass/coherence/coherence-iterator-vec.rs b/src/test/ui/coherence/coherence-iterator-vec.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-iterator-vec.rs rename to src/test/ui/coherence/coherence-iterator-vec.rs diff --git a/src/test/run-pass/coherence/coherence-multidispatch-tuple.rs b/src/test/ui/coherence/coherence-multidispatch-tuple.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-multidispatch-tuple.rs rename to src/test/ui/coherence/coherence-multidispatch-tuple.rs diff --git a/src/test/run-pass/coherence/coherence-rfc447-constrained.rs b/src/test/ui/coherence/coherence-rfc447-constrained.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-rfc447-constrained.rs rename to src/test/ui/coherence/coherence-rfc447-constrained.rs diff --git a/src/test/run-pass/coherence/coherence-where-clause.rs b/src/test/ui/coherence/coherence-where-clause.rs similarity index 100% rename from src/test/run-pass/coherence/coherence-where-clause.rs rename to src/test/ui/coherence/coherence-where-clause.rs diff --git a/src/test/run-pass/coherence/coherence_copy_like.rs b/src/test/ui/coherence/coherence_copy_like.rs similarity index 100% rename from src/test/run-pass/coherence/coherence_copy_like.rs rename to src/test/ui/coherence/coherence_copy_like.rs diff --git a/src/test/run-pass/coherence/re-rebalance-coherence-default-generic-associated-type.rs b/src/test/ui/coherence/re-rebalance-coherence-default-generic-associated-type.rs similarity index 83% rename from src/test/run-pass/coherence/re-rebalance-coherence-default-generic-associated-type.rs rename to src/test/ui/coherence/re-rebalance-coherence-default-generic-associated-type.rs index 4168b7a6146..3df6114f62a 100644 --- a/src/test/run-pass/coherence/re-rebalance-coherence-default-generic-associated-type.rs +++ b/src/test/ui/coherence/re-rebalance-coherence-default-generic-associated-type.rs @@ -1,12 +1,12 @@ // run-pass -// aux-build:re_rebalance_coherence_lib.rs +// aux-build:re_rebalance_coherence_lib-rpass.rs #![allow(dead_code)] #![feature(re_rebalance_coherence)] // check that a generic type with a default value from an associated type can be used without // specifying the value, and without invoking coherence errors. -extern crate re_rebalance_coherence_lib as lib; +extern crate re_rebalance_coherence_lib_rpass as lib; use lib::*; struct MyString {} diff --git a/src/test/run-pass/collections-const-new.rs b/src/test/ui/collections-const-new.rs similarity index 100% rename from src/test/run-pass/collections-const-new.rs rename to src/test/ui/collections-const-new.rs diff --git a/src/test/run-pass/command-exec.rs b/src/test/ui/command-exec.rs similarity index 100% rename from src/test/run-pass/command-exec.rs rename to src/test/ui/command-exec.rs diff --git a/src/test/run-pass/command-pre-exec.rs b/src/test/ui/command-pre-exec.rs similarity index 100% rename from src/test/run-pass/command-pre-exec.rs rename to src/test/ui/command-pre-exec.rs diff --git a/src/test/run-pass/command-uid-gid.rs b/src/test/ui/command-uid-gid.rs similarity index 100% rename from src/test/run-pass/command-uid-gid.rs rename to src/test/ui/command-uid-gid.rs diff --git a/src/test/run-pass/complex.rs b/src/test/ui/complex.rs similarity index 100% rename from src/test/run-pass/complex.rs rename to src/test/ui/complex.rs diff --git a/src/test/run-pass/consts/assoc-const.rs b/src/test/ui/consts/assoc-const.rs similarity index 100% rename from src/test/run-pass/consts/assoc-const.rs rename to src/test/ui/consts/assoc-const.rs diff --git a/src/test/run-pass/consts/auxiliary/anon-extern-mod-cross-crate-1.rs b/src/test/ui/consts/auxiliary/anon-extern-mod-cross-crate-1.rs similarity index 100% rename from src/test/run-pass/consts/auxiliary/anon-extern-mod-cross-crate-1.rs rename to src/test/ui/consts/auxiliary/anon-extern-mod-cross-crate-1.rs diff --git a/src/test/run-pass/consts/auxiliary/cci_borrow_lib.rs b/src/test/ui/consts/auxiliary/cci_borrow_lib.rs similarity index 100% rename from src/test/run-pass/consts/auxiliary/cci_borrow_lib.rs rename to src/test/ui/consts/auxiliary/cci_borrow_lib.rs diff --git a/src/test/run-pass/consts/auxiliary/cci_const.rs b/src/test/ui/consts/auxiliary/cci_const.rs similarity index 100% rename from src/test/run-pass/consts/auxiliary/cci_const.rs rename to src/test/ui/consts/auxiliary/cci_const.rs diff --git a/src/test/run-pass/consts/auxiliary/cci_const_block.rs b/src/test/ui/consts/auxiliary/cci_const_block.rs similarity index 100% rename from src/test/run-pass/consts/auxiliary/cci_const_block.rs rename to src/test/ui/consts/auxiliary/cci_const_block.rs diff --git a/src/test/run-pass/consts/bswap-const.rs b/src/test/ui/consts/bswap-const.rs similarity index 100% rename from src/test/run-pass/consts/bswap-const.rs rename to src/test/ui/consts/bswap-const.rs diff --git a/src/test/run-pass/consts/chained-constants-stackoverflow.rs b/src/test/ui/consts/chained-constants-stackoverflow.rs similarity index 100% rename from src/test/run-pass/consts/chained-constants-stackoverflow.rs rename to src/test/ui/consts/chained-constants-stackoverflow.rs diff --git a/src/test/run-pass/consts/const-adt-align-mismatch.rs b/src/test/ui/consts/const-adt-align-mismatch.rs similarity index 100% rename from src/test/run-pass/consts/const-adt-align-mismatch.rs rename to src/test/ui/consts/const-adt-align-mismatch.rs diff --git a/src/test/run-pass/consts/const-autoderef.rs b/src/test/ui/consts/const-autoderef.rs similarity index 100% rename from src/test/run-pass/consts/const-autoderef.rs rename to src/test/ui/consts/const-autoderef.rs diff --git a/src/test/run-pass/consts/const-big-enum.rs b/src/test/ui/consts/const-big-enum.rs similarity index 100% rename from src/test/run-pass/consts/const-big-enum.rs rename to src/test/ui/consts/const-big-enum.rs diff --git a/src/test/run-pass/consts/const-binops.rs b/src/test/ui/consts/const-binops.rs similarity index 100% rename from src/test/run-pass/consts/const-binops.rs rename to src/test/ui/consts/const-binops.rs diff --git a/src/test/run-pass/consts/const-bitshift-rhs-inference.rs b/src/test/ui/consts/const-bitshift-rhs-inference.rs similarity index 100% rename from src/test/run-pass/consts/const-bitshift-rhs-inference.rs rename to src/test/ui/consts/const-bitshift-rhs-inference.rs diff --git a/src/test/run-pass/consts/const-block-cross-crate-fn.rs b/src/test/ui/consts/const-block-cross-crate-fn.rs similarity index 100% rename from src/test/run-pass/consts/const-block-cross-crate-fn.rs rename to src/test/ui/consts/const-block-cross-crate-fn.rs diff --git a/src/test/run-pass/consts/const-block-item-macro-codegen.rs b/src/test/ui/consts/const-block-item-macro-codegen.rs similarity index 100% rename from src/test/run-pass/consts/const-block-item-macro-codegen.rs rename to src/test/ui/consts/const-block-item-macro-codegen.rs diff --git a/src/test/run-pass/consts/const-block-item.rs b/src/test/ui/consts/const-block-item.rs similarity index 100% rename from src/test/run-pass/consts/const-block-item.rs rename to src/test/ui/consts/const-block-item.rs diff --git a/src/test/run-pass/consts/const-block-non-item-statement-3.rs b/src/test/ui/consts/const-block-non-item-statement-3.rs similarity index 100% rename from src/test/run-pass/consts/const-block-non-item-statement-3.rs rename to src/test/ui/consts/const-block-non-item-statement-3.rs diff --git a/src/test/run-pass/consts/const-block.rs b/src/test/ui/consts/const-block.rs similarity index 100% rename from src/test/run-pass/consts/const-block.rs rename to src/test/ui/consts/const-block.rs diff --git a/src/test/run-pass/consts/const-bound.rs b/src/test/ui/consts/const-bound.rs similarity index 100% rename from src/test/run-pass/consts/const-bound.rs rename to src/test/ui/consts/const-bound.rs diff --git a/src/test/run-pass/consts/const-byte-str-cast.rs b/src/test/ui/consts/const-byte-str-cast.rs similarity index 100% rename from src/test/run-pass/consts/const-byte-str-cast.rs rename to src/test/ui/consts/const-byte-str-cast.rs diff --git a/src/test/run-pass/consts/const-cast-ptr-int.rs b/src/test/ui/consts/const-cast-ptr-int.rs similarity index 100% rename from src/test/run-pass/consts/const-cast-ptr-int.rs rename to src/test/ui/consts/const-cast-ptr-int.rs diff --git a/src/test/run-pass/consts/const-cast.rs b/src/test/ui/consts/const-cast.rs similarity index 100% rename from src/test/run-pass/consts/const-cast.rs rename to src/test/ui/consts/const-cast.rs diff --git a/src/test/run-pass/consts/const-const.rs b/src/test/ui/consts/const-const.rs similarity index 100% rename from src/test/run-pass/consts/const-const.rs rename to src/test/ui/consts/const-const.rs diff --git a/src/test/run-pass/consts/const-contents.rs b/src/test/ui/consts/const-contents.rs similarity index 100% rename from src/test/run-pass/consts/const-contents.rs rename to src/test/ui/consts/const-contents.rs diff --git a/src/test/run-pass/consts/const-cross-crate-const.rs b/src/test/ui/consts/const-cross-crate-const.rs similarity index 100% rename from src/test/run-pass/consts/const-cross-crate-const.rs rename to src/test/ui/consts/const-cross-crate-const.rs diff --git a/src/test/run-pass/consts/const-cross-crate-extern.rs b/src/test/ui/consts/const-cross-crate-extern.rs similarity index 100% rename from src/test/run-pass/consts/const-cross-crate-extern.rs rename to src/test/ui/consts/const-cross-crate-extern.rs diff --git a/src/test/run-pass/consts/const-deref.rs b/src/test/ui/consts/const-deref.rs similarity index 100% rename from src/test/run-pass/consts/const-deref.rs rename to src/test/ui/consts/const-deref.rs diff --git a/src/test/run-pass/consts/const-endianess.rs b/src/test/ui/consts/const-endianess.rs similarity index 100% rename from src/test/run-pass/consts/const-endianess.rs rename to src/test/ui/consts/const-endianess.rs diff --git a/src/test/run-pass/consts/const-enum-byref-self.rs b/src/test/ui/consts/const-enum-byref-self.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-byref-self.rs rename to src/test/ui/consts/const-enum-byref-self.rs diff --git a/src/test/run-pass/consts/const-enum-byref.rs b/src/test/ui/consts/const-enum-byref.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-byref.rs rename to src/test/ui/consts/const-enum-byref.rs diff --git a/src/test/run-pass/consts/const-enum-cast.rs b/src/test/ui/consts/const-enum-cast.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-cast.rs rename to src/test/ui/consts/const-enum-cast.rs diff --git a/src/test/run-pass/consts/const-enum-ptr.rs b/src/test/ui/consts/const-enum-ptr.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-ptr.rs rename to src/test/ui/consts/const-enum-ptr.rs diff --git a/src/test/run-pass/consts/const-enum-struct.rs b/src/test/ui/consts/const-enum-struct.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-struct.rs rename to src/test/ui/consts/const-enum-struct.rs diff --git a/src/test/run-pass/consts/const-enum-struct2.rs b/src/test/ui/consts/const-enum-struct2.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-struct2.rs rename to src/test/ui/consts/const-enum-struct2.rs diff --git a/src/test/run-pass/consts/const-enum-structlike.rs b/src/test/ui/consts/const-enum-structlike.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-structlike.rs rename to src/test/ui/consts/const-enum-structlike.rs diff --git a/src/test/run-pass/consts/const-enum-tuple.rs b/src/test/ui/consts/const-enum-tuple.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-tuple.rs rename to src/test/ui/consts/const-enum-tuple.rs diff --git a/src/test/run-pass/consts/const-enum-tuple2.rs b/src/test/ui/consts/const-enum-tuple2.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-tuple2.rs rename to src/test/ui/consts/const-enum-tuple2.rs diff --git a/src/test/run-pass/consts/const-enum-tuplestruct.rs b/src/test/ui/consts/const-enum-tuplestruct.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-tuplestruct.rs rename to src/test/ui/consts/const-enum-tuplestruct.rs diff --git a/src/test/run-pass/consts/const-enum-tuplestruct2.rs b/src/test/ui/consts/const-enum-tuplestruct2.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-tuplestruct2.rs rename to src/test/ui/consts/const-enum-tuplestruct2.rs diff --git a/src/test/run-pass/consts/const-enum-vec-index.rs b/src/test/ui/consts/const-enum-vec-index.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-vec-index.rs rename to src/test/ui/consts/const-enum-vec-index.rs diff --git a/src/test/run-pass/consts/const-enum-vec-ptr.rs b/src/test/ui/consts/const-enum-vec-ptr.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-vec-ptr.rs rename to src/test/ui/consts/const-enum-vec-ptr.rs diff --git a/src/test/run-pass/consts/const-enum-vector.rs b/src/test/ui/consts/const-enum-vector.rs similarity index 100% rename from src/test/run-pass/consts/const-enum-vector.rs rename to src/test/ui/consts/const-enum-vector.rs diff --git a/src/test/run-pass/consts/const-expr-in-fixed-length-vec.rs b/src/test/ui/consts/const-expr-in-fixed-length-vec.rs similarity index 100% rename from src/test/run-pass/consts/const-expr-in-fixed-length-vec.rs rename to src/test/ui/consts/const-expr-in-fixed-length-vec.rs diff --git a/src/test/run-pass/consts/const-expr-in-vec-repeat.rs b/src/test/ui/consts/const-expr-in-vec-repeat.rs similarity index 100% rename from src/test/run-pass/consts/const-expr-in-vec-repeat.rs rename to src/test/ui/consts/const-expr-in-vec-repeat.rs diff --git a/src/test/run-pass/consts/const-extern-function.rs b/src/test/ui/consts/const-extern-function.rs similarity index 100% rename from src/test/run-pass/consts/const-extern-function.rs rename to src/test/ui/consts/const-extern-function.rs diff --git a/src/test/run-pass/consts/const-fields-and-indexing.rs b/src/test/ui/consts/const-fields-and-indexing.rs similarity index 100% rename from src/test/run-pass/consts/const-fields-and-indexing.rs rename to src/test/ui/consts/const-fields-and-indexing.rs diff --git a/src/test/run-pass/consts/const-fn-const-eval.rs b/src/test/ui/consts/const-fn-const-eval.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-const-eval.rs rename to src/test/ui/consts/const-fn-const-eval.rs diff --git a/src/test/run-pass/consts/const-fn-feature-flags.rs b/src/test/ui/consts/const-fn-feature-flags.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-feature-flags.rs rename to src/test/ui/consts/const-fn-feature-flags.rs diff --git a/src/test/run-pass/consts/const-fn-method.rs b/src/test/ui/consts/const-fn-method.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-method.rs rename to src/test/ui/consts/const-fn-method.rs diff --git a/src/test/run-pass/consts/const-fn-nested.rs b/src/test/ui/consts/const-fn-nested.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-nested.rs rename to src/test/ui/consts/const-fn-nested.rs diff --git a/src/test/run-pass/consts/const-fn-stability-calls.rs b/src/test/ui/consts/const-fn-stability-calls.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-stability-calls.rs rename to src/test/ui/consts/const-fn-stability-calls.rs diff --git a/src/test/run-pass/consts/const-fn-type-name.rs b/src/test/ui/consts/const-fn-type-name.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-type-name.rs rename to src/test/ui/consts/const-fn-type-name.rs diff --git a/src/test/run-pass/consts/const-fn-val.rs b/src/test/ui/consts/const-fn-val.rs similarity index 100% rename from src/test/run-pass/consts/const-fn-val.rs rename to src/test/ui/consts/const-fn-val.rs diff --git a/src/test/run-pass/consts/const-fn.rs b/src/test/ui/consts/const-fn.rs similarity index 100% rename from src/test/run-pass/consts/const-fn.rs rename to src/test/ui/consts/const-fn.rs diff --git a/src/test/run-pass/consts/const-index-feature-gate.rs b/src/test/ui/consts/const-index-feature-gate.rs similarity index 100% rename from src/test/run-pass/consts/const-index-feature-gate.rs rename to src/test/ui/consts/const-index-feature-gate.rs diff --git a/src/test/run-pass/consts/const-int-saturating-arith.rs b/src/test/ui/consts/const-int-saturating-arith.rs similarity index 100% rename from src/test/run-pass/consts/const-int-saturating-arith.rs rename to src/test/ui/consts/const-int-saturating-arith.rs diff --git a/src/test/run-pass/consts/const-meth-pattern.rs b/src/test/ui/consts/const-meth-pattern.rs similarity index 100% rename from src/test/run-pass/consts/const-meth-pattern.rs rename to src/test/ui/consts/const-meth-pattern.rs diff --git a/src/test/run-pass/consts/const-needs_drop.rs b/src/test/ui/consts/const-needs_drop.rs similarity index 100% rename from src/test/run-pass/consts/const-needs_drop.rs rename to src/test/ui/consts/const-needs_drop.rs diff --git a/src/test/run-pass/consts/const-negation.rs b/src/test/ui/consts/const-negation.rs similarity index 100% rename from src/test/run-pass/consts/const-negation.rs rename to src/test/ui/consts/const-negation.rs diff --git a/src/test/run-pass/consts/const-negative.rs b/src/test/ui/consts/const-negative.rs similarity index 100% rename from src/test/run-pass/consts/const-negative.rs rename to src/test/ui/consts/const-negative.rs diff --git a/src/test/run-pass/consts/const-nullary-enum.rs b/src/test/ui/consts/const-nullary-enum.rs similarity index 100% rename from src/test/run-pass/consts/const-nullary-enum.rs rename to src/test/ui/consts/const-nullary-enum.rs diff --git a/src/test/run-pass/consts/const-nullary-univariant-enum.rs b/src/test/ui/consts/const-nullary-univariant-enum.rs similarity index 100% rename from src/test/run-pass/consts/const-nullary-univariant-enum.rs rename to src/test/ui/consts/const-nullary-univariant-enum.rs diff --git a/src/test/run-pass/consts/const-pattern-variant.rs b/src/test/ui/consts/const-pattern-variant.rs similarity index 100% rename from src/test/run-pass/consts/const-pattern-variant.rs rename to src/test/ui/consts/const-pattern-variant.rs diff --git a/src/test/run-pass/consts/const-rec-and-tup.rs b/src/test/ui/consts/const-rec-and-tup.rs similarity index 100% rename from src/test/run-pass/consts/const-rec-and-tup.rs rename to src/test/ui/consts/const-rec-and-tup.rs diff --git a/src/test/run-pass/consts/const-region-ptrs-noncopy.rs b/src/test/ui/consts/const-region-ptrs-noncopy.rs similarity index 100% rename from src/test/run-pass/consts/const-region-ptrs-noncopy.rs rename to src/test/ui/consts/const-region-ptrs-noncopy.rs diff --git a/src/test/run-pass/consts/const-region-ptrs.rs b/src/test/ui/consts/const-region-ptrs.rs similarity index 100% rename from src/test/run-pass/consts/const-region-ptrs.rs rename to src/test/ui/consts/const-region-ptrs.rs diff --git a/src/test/run-pass/consts/const-repeated-values.rs b/src/test/ui/consts/const-repeated-values.rs similarity index 100% rename from src/test/run-pass/consts/const-repeated-values.rs rename to src/test/ui/consts/const-repeated-values.rs diff --git a/src/test/run-pass/consts/const-size_of-align_of.rs b/src/test/ui/consts/const-size_of-align_of.rs similarity index 100% rename from src/test/run-pass/consts/const-size_of-align_of.rs rename to src/test/ui/consts/const-size_of-align_of.rs diff --git a/src/test/run-pass/consts/const-str-ptr.rs b/src/test/ui/consts/const-str-ptr.rs similarity index 100% rename from src/test/run-pass/consts/const-str-ptr.rs rename to src/test/ui/consts/const-str-ptr.rs diff --git a/src/test/run-pass/consts/const-struct-offsets.rs b/src/test/ui/consts/const-struct-offsets.rs similarity index 100% rename from src/test/run-pass/consts/const-struct-offsets.rs rename to src/test/ui/consts/const-struct-offsets.rs diff --git a/src/test/run-pass/consts/const-struct.rs b/src/test/ui/consts/const-struct.rs similarity index 100% rename from src/test/run-pass/consts/const-struct.rs rename to src/test/ui/consts/const-struct.rs diff --git a/src/test/run-pass/consts/const-trait-to-trait.rs b/src/test/ui/consts/const-trait-to-trait.rs similarity index 100% rename from src/test/run-pass/consts/const-trait-to-trait.rs rename to src/test/ui/consts/const-trait-to-trait.rs diff --git a/src/test/run-pass/consts/const-tuple-struct.rs b/src/test/ui/consts/const-tuple-struct.rs similarity index 100% rename from src/test/run-pass/consts/const-tuple-struct.rs rename to src/test/ui/consts/const-tuple-struct.rs diff --git a/src/test/run-pass/consts/const-unit-struct.rs b/src/test/ui/consts/const-unit-struct.rs similarity index 100% rename from src/test/run-pass/consts/const-unit-struct.rs rename to src/test/ui/consts/const-unit-struct.rs diff --git a/src/test/run-pass/consts/const-unsafe-fn.rs b/src/test/ui/consts/const-unsafe-fn.rs similarity index 100% rename from src/test/run-pass/consts/const-unsafe-fn.rs rename to src/test/ui/consts/const-unsafe-fn.rs diff --git a/src/test/run-pass/consts/const-vec-of-fns.rs b/src/test/ui/consts/const-vec-of-fns.rs similarity index 100% rename from src/test/run-pass/consts/const-vec-of-fns.rs rename to src/test/ui/consts/const-vec-of-fns.rs diff --git a/src/test/run-pass/consts/const-vec-syntax.rs b/src/test/ui/consts/const-vec-syntax.rs similarity index 100% rename from src/test/run-pass/consts/const-vec-syntax.rs rename to src/test/ui/consts/const-vec-syntax.rs diff --git a/src/test/run-pass/consts/const-vecs-and-slices.rs b/src/test/ui/consts/const-vecs-and-slices.rs similarity index 100% rename from src/test/run-pass/consts/const-vecs-and-slices.rs rename to src/test/ui/consts/const-vecs-and-slices.rs diff --git a/src/test/run-pass/consts/const.rs b/src/test/ui/consts/const.rs similarity index 100% rename from src/test/run-pass/consts/const.rs rename to src/test/ui/consts/const.rs diff --git a/src/test/run-pass/consts/consts-in-patterns.rs b/src/test/ui/consts/consts-in-patterns.rs similarity index 100% rename from src/test/run-pass/consts/consts-in-patterns.rs rename to src/test/ui/consts/consts-in-patterns.rs diff --git a/src/test/run-pass/consts/deref_in_pattern.rs b/src/test/ui/consts/deref_in_pattern.rs similarity index 100% rename from src/test/run-pass/consts/deref_in_pattern.rs rename to src/test/ui/consts/deref_in_pattern.rs diff --git a/src/test/run-pass/consts/ice-48279.rs b/src/test/ui/consts/ice-48279.rs similarity index 100% rename from src/test/run-pass/consts/ice-48279.rs rename to src/test/ui/consts/ice-48279.rs diff --git a/src/test/run-pass/consts/issue-37550.rs b/src/test/ui/consts/issue-37550.rs similarity index 100% rename from src/test/run-pass/consts/issue-37550.rs rename to src/test/ui/consts/issue-37550.rs diff --git a/src/test/run-pass/consts/issue-broken-mir.rs b/src/test/ui/consts/issue-broken-mir.rs similarity index 100% rename from src/test/run-pass/consts/issue-broken-mir.rs rename to src/test/ui/consts/issue-broken-mir.rs diff --git a/src/test/run-pass/consts/locals-in-const-fn.rs b/src/test/ui/consts/locals-in-const-fn.rs similarity index 100% rename from src/test/run-pass/consts/locals-in-const-fn.rs rename to src/test/ui/consts/locals-in-const-fn.rs diff --git a/src/test/run-pass/consts/match-const-fn-structs.rs b/src/test/ui/consts/match-const-fn-structs.rs similarity index 100% rename from src/test/run-pass/consts/match-const-fn-structs.rs rename to src/test/ui/consts/match-const-fn-structs.rs diff --git a/src/test/run-pass/consts/mozjs-error.rs b/src/test/ui/consts/mozjs-error.rs similarity index 100% rename from src/test/run-pass/consts/mozjs-error.rs rename to src/test/ui/consts/mozjs-error.rs diff --git a/src/test/run-pass/consts/non-scalar-cast.rs b/src/test/ui/consts/non-scalar-cast.rs similarity index 100% rename from src/test/run-pass/consts/non-scalar-cast.rs rename to src/test/ui/consts/non-scalar-cast.rs diff --git a/src/test/run-pass/consts/promotion.rs b/src/test/ui/consts/promotion.rs similarity index 100% rename from src/test/run-pass/consts/promotion.rs rename to src/test/ui/consts/promotion.rs diff --git a/src/test/run-pass/consts/references.rs b/src/test/ui/consts/references.rs similarity index 100% rename from src/test/run-pass/consts/references.rs rename to src/test/ui/consts/references.rs diff --git a/src/test/run-pass/consts/repeat_match.rs b/src/test/ui/consts/repeat_match.rs similarity index 100% rename from src/test/run-pass/consts/repeat_match.rs rename to src/test/ui/consts/repeat_match.rs diff --git a/src/test/run-pass/consts/return-in-const-fn.rs b/src/test/ui/consts/return-in-const-fn.rs similarity index 100% rename from src/test/run-pass/consts/return-in-const-fn.rs rename to src/test/ui/consts/return-in-const-fn.rs diff --git a/src/test/run-pass/consts/signed_enum_discr.rs b/src/test/ui/consts/signed_enum_discr.rs similarity index 100% rename from src/test/run-pass/consts/signed_enum_discr.rs rename to src/test/ui/consts/signed_enum_discr.rs diff --git a/src/test/run-pass/consts/transmute-const.rs b/src/test/ui/consts/transmute-const.rs similarity index 100% rename from src/test/run-pass/consts/transmute-const.rs rename to src/test/ui/consts/transmute-const.rs diff --git a/src/test/run-pass/consts/tuple-struct-constructors.rs b/src/test/ui/consts/tuple-struct-constructors.rs similarity index 100% rename from src/test/run-pass/consts/tuple-struct-constructors.rs rename to src/test/ui/consts/tuple-struct-constructors.rs diff --git a/src/test/run-pass/core-run-destroy.rs b/src/test/ui/core-run-destroy.rs similarity index 100% rename from src/test/run-pass/core-run-destroy.rs rename to src/test/ui/core-run-destroy.rs diff --git a/src/test/run-pass/crate-leading-sep.rs b/src/test/ui/crate-leading-sep.rs similarity index 100% rename from src/test/run-pass/crate-leading-sep.rs rename to src/test/ui/crate-leading-sep.rs diff --git a/src/test/run-pass/crate-method-reexport-grrrrrrr.rs b/src/test/ui/crate-method-reexport-grrrrrrr.rs similarity index 100% rename from src/test/run-pass/crate-method-reexport-grrrrrrr.rs rename to src/test/ui/crate-method-reexport-grrrrrrr.rs diff --git a/src/test/run-pass/crate-name-attr-used.rs b/src/test/ui/crate-name-attr-used.rs similarity index 100% rename from src/test/run-pass/crate-name-attr-used.rs rename to src/test/ui/crate-name-attr-used.rs diff --git a/src/test/run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs b/src/test/ui/cross-crate/anon-extern-mod-cross-crate-2.rs similarity index 100% rename from src/test/run-pass/cross-crate/anon-extern-mod-cross-crate-2.rs rename to src/test/ui/cross-crate/anon-extern-mod-cross-crate-2.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/anon-extern-mod-cross-crate-1.rs b/src/test/ui/cross-crate/auxiliary/anon-extern-mod-cross-crate-1.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/anon-extern-mod-cross-crate-1.rs rename to src/test/ui/cross-crate/auxiliary/anon-extern-mod-cross-crate-1.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/anon_trait_static_method_lib.rs b/src/test/ui/cross-crate/auxiliary/anon_trait_static_method_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/anon_trait_static_method_lib.rs rename to src/test/ui/cross-crate/auxiliary/anon_trait_static_method_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_borrow_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_borrow_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_borrow_lib.rs rename to src/test/ui/cross-crate/auxiliary/cci_borrow_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_capture_clause.rs b/src/test/ui/cross-crate/auxiliary/cci_capture_clause.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_capture_clause.rs rename to src/test/ui/cross-crate/auxiliary/cci_capture_clause.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_const.rs b/src/test/ui/cross-crate/auxiliary/cci_const.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_const.rs rename to src/test/ui/cross-crate/auxiliary/cci_const.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_impl_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_impl_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_impl_lib.rs rename to src/test/ui/cross-crate/auxiliary/cci_impl_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_iter_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_iter_lib.rs rename to src/test/ui/cross-crate/auxiliary/cci_iter_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_nested_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_nested_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_nested_lib.rs rename to src/test/ui/cross-crate/auxiliary/cci_nested_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/cci_no_inline_lib.rs b/src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/cci_no_inline_lib.rs rename to src/test/ui/cross-crate/auxiliary/cci_no_inline_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/moves_based_on_type_lib.rs b/src/test/ui/cross-crate/auxiliary/moves_based_on_type_lib.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/moves_based_on_type_lib.rs rename to src/test/ui/cross-crate/auxiliary/moves_based_on_type_lib.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/newtype_struct_xc.rs b/src/test/ui/cross-crate/auxiliary/newtype_struct_xc.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/newtype_struct_xc.rs rename to src/test/ui/cross-crate/auxiliary/newtype_struct_xc.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/pub_static_array.rs b/src/test/ui/cross-crate/auxiliary/pub_static_array.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/pub_static_array.rs rename to src/test/ui/cross-crate/auxiliary/pub_static_array.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/reexported_static_methods.rs b/src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/reexported_static_methods.rs rename to src/test/ui/cross-crate/auxiliary/reexported_static_methods.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs b/src/test/ui/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs rename to src/test/ui/cross-crate/auxiliary/xcrate-trait-lifetime-param.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/xcrate_address_insignificant.rs b/src/test/ui/cross-crate/auxiliary/xcrate_address_insignificant.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/xcrate_address_insignificant.rs rename to src/test/ui/cross-crate/auxiliary/xcrate_address_insignificant.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/xcrate_associated_type_defaults.rs b/src/test/ui/cross-crate/auxiliary/xcrate_associated_type_defaults.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/xcrate_associated_type_defaults.rs rename to src/test/ui/cross-crate/auxiliary/xcrate_associated_type_defaults.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/xcrate_generic_fn_nested_return.rs b/src/test/ui/cross-crate/auxiliary/xcrate_generic_fn_nested_return.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/xcrate_generic_fn_nested_return.rs rename to src/test/ui/cross-crate/auxiliary/xcrate_generic_fn_nested_return.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/xcrate_static_addresses.rs b/src/test/ui/cross-crate/auxiliary/xcrate_static_addresses.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/xcrate_static_addresses.rs rename to src/test/ui/cross-crate/auxiliary/xcrate_static_addresses.rs diff --git a/src/test/run-pass/cross-crate/auxiliary/xcrate_unit_struct.rs b/src/test/ui/cross-crate/auxiliary/xcrate_unit_struct.rs similarity index 100% rename from src/test/run-pass/cross-crate/auxiliary/xcrate_unit_struct.rs rename to src/test/ui/cross-crate/auxiliary/xcrate_unit_struct.rs diff --git a/src/test/run-pass/cross-crate/cci_borrow.rs b/src/test/ui/cross-crate/cci_borrow.rs similarity index 100% rename from src/test/run-pass/cross-crate/cci_borrow.rs rename to src/test/ui/cross-crate/cci_borrow.rs diff --git a/src/test/run-pass/cross-crate/cci_capture_clause.rs b/src/test/ui/cross-crate/cci_capture_clause.rs similarity index 100% rename from src/test/run-pass/cross-crate/cci_capture_clause.rs rename to src/test/ui/cross-crate/cci_capture_clause.rs diff --git a/src/test/run-pass/cross-crate/cci_impl_exe.rs b/src/test/ui/cross-crate/cci_impl_exe.rs similarity index 100% rename from src/test/run-pass/cross-crate/cci_impl_exe.rs rename to src/test/ui/cross-crate/cci_impl_exe.rs diff --git a/src/test/run-pass/cross-crate/cci_iter_exe.rs b/src/test/ui/cross-crate/cci_iter_exe.rs similarity index 100% rename from src/test/run-pass/cross-crate/cci_iter_exe.rs rename to src/test/ui/cross-crate/cci_iter_exe.rs diff --git a/src/test/run-pass/cross-crate/cci_nested_exe.rs b/src/test/ui/cross-crate/cci_nested_exe.rs similarity index 100% rename from src/test/run-pass/cross-crate/cci_nested_exe.rs rename to src/test/ui/cross-crate/cci_nested_exe.rs diff --git a/src/test/run-pass/cross-crate/cci_no_inline_exe.rs b/src/test/ui/cross-crate/cci_no_inline_exe.rs similarity index 100% rename from src/test/run-pass/cross-crate/cci_no_inline_exe.rs rename to src/test/ui/cross-crate/cci_no_inline_exe.rs diff --git a/src/test/run-pass/cross-crate/cross-crate-const-pat.rs b/src/test/ui/cross-crate/cross-crate-const-pat.rs similarity index 100% rename from src/test/run-pass/cross-crate/cross-crate-const-pat.rs rename to src/test/ui/cross-crate/cross-crate-const-pat.rs diff --git a/src/test/run-pass/cross-crate/cross-crate-newtype-struct-pat.rs b/src/test/ui/cross-crate/cross-crate-newtype-struct-pat.rs similarity index 100% rename from src/test/run-pass/cross-crate/cross-crate-newtype-struct-pat.rs rename to src/test/ui/cross-crate/cross-crate-newtype-struct-pat.rs diff --git a/src/test/run-pass/cross-crate/moves-based-on-type-cross-crate.rs b/src/test/ui/cross-crate/moves-based-on-type-cross-crate.rs similarity index 100% rename from src/test/run-pass/cross-crate/moves-based-on-type-cross-crate.rs rename to src/test/ui/cross-crate/moves-based-on-type-cross-crate.rs diff --git a/src/test/run-pass/cross-crate/reexported-static-methods-cross-crate.rs b/src/test/ui/cross-crate/reexported-static-methods-cross-crate.rs similarity index 100% rename from src/test/run-pass/cross-crate/reexported-static-methods-cross-crate.rs rename to src/test/ui/cross-crate/reexported-static-methods-cross-crate.rs diff --git a/src/test/run-pass/cross-crate/static-array-across-crate.rs b/src/test/ui/cross-crate/static-array-across-crate.rs similarity index 100% rename from src/test/run-pass/cross-crate/static-array-across-crate.rs rename to src/test/ui/cross-crate/static-array-across-crate.rs diff --git a/src/test/run-pass/cross-crate/xcrate-address-insignificant.rs b/src/test/ui/cross-crate/xcrate-address-insignificant.rs similarity index 100% rename from src/test/run-pass/cross-crate/xcrate-address-insignificant.rs rename to src/test/ui/cross-crate/xcrate-address-insignificant.rs diff --git a/src/test/run-pass/cross-crate/xcrate-associated-type-defaults.rs b/src/test/ui/cross-crate/xcrate-associated-type-defaults.rs similarity index 100% rename from src/test/run-pass/cross-crate/xcrate-associated-type-defaults.rs rename to src/test/ui/cross-crate/xcrate-associated-type-defaults.rs diff --git a/src/test/run-pass/cross-crate/xcrate-static-addresses.rs b/src/test/ui/cross-crate/xcrate-static-addresses.rs similarity index 100% rename from src/test/run-pass/cross-crate/xcrate-static-addresses.rs rename to src/test/ui/cross-crate/xcrate-static-addresses.rs diff --git a/src/test/run-pass/cross-crate/xcrate-trait-lifetime-param.rs b/src/test/ui/cross-crate/xcrate-trait-lifetime-param.rs similarity index 100% rename from src/test/run-pass/cross-crate/xcrate-trait-lifetime-param.rs rename to src/test/ui/cross-crate/xcrate-trait-lifetime-param.rs diff --git a/src/test/run-pass/cross-crate/xcrate-unit-struct.rs b/src/test/ui/cross-crate/xcrate-unit-struct.rs similarity index 100% rename from src/test/run-pass/cross-crate/xcrate-unit-struct.rs rename to src/test/ui/cross-crate/xcrate-unit-struct.rs diff --git a/src/test/run-pass/cross-crate/xcrate_generic_fn_nested_return.rs b/src/test/ui/cross-crate/xcrate_generic_fn_nested_return.rs similarity index 100% rename from src/test/run-pass/cross-crate/xcrate_generic_fn_nested_return.rs rename to src/test/ui/cross-crate/xcrate_generic_fn_nested_return.rs diff --git a/src/test/run-pass/crt-static-off-works.rs b/src/test/ui/crt-static-off-works.rs similarity index 100% rename from src/test/run-pass/crt-static-off-works.rs rename to src/test/ui/crt-static-off-works.rs diff --git a/src/test/run-pass/crt-static-on-works.rs b/src/test/ui/crt-static-on-works.rs similarity index 100% rename from src/test/run-pass/crt-static-on-works.rs rename to src/test/ui/crt-static-on-works.rs diff --git a/src/test/run-pass/cycle-generic-bound.rs b/src/test/ui/cycle-generic-bound.rs similarity index 100% rename from src/test/run-pass/cycle-generic-bound.rs rename to src/test/ui/cycle-generic-bound.rs diff --git a/src/test/run-pass/dead-code-alias-in-pat.rs b/src/test/ui/dead-code-alias-in-pat.rs similarity index 100% rename from src/test/run-pass/dead-code-alias-in-pat.rs rename to src/test/ui/dead-code-alias-in-pat.rs diff --git a/src/test/run-pass/dead-code-leading-underscore.rs b/src/test/ui/dead-code-leading-underscore.rs similarity index 100% rename from src/test/run-pass/dead-code-leading-underscore.rs rename to src/test/ui/dead-code-leading-underscore.rs diff --git a/src/test/run-pass/debuginfo-lto.rs b/src/test/ui/debuginfo-lto.rs similarity index 100% rename from src/test/run-pass/debuginfo-lto.rs rename to src/test/ui/debuginfo-lto.rs diff --git a/src/test/run-pass/deep.rs b/src/test/ui/deep.rs similarity index 100% rename from src/test/run-pass/deep.rs rename to src/test/ui/deep.rs diff --git a/src/test/run-pass/default-alloc-error-hook.rs b/src/test/ui/default-alloc-error-hook.rs similarity index 100% rename from src/test/run-pass/default-alloc-error-hook.rs rename to src/test/ui/default-alloc-error-hook.rs diff --git a/src/test/run-pass/default-associated-types.rs b/src/test/ui/default-associated-types.rs similarity index 100% rename from src/test/run-pass/default-associated-types.rs rename to src/test/ui/default-associated-types.rs diff --git a/src/test/run-pass/default-method-parsing.rs b/src/test/ui/default-method-parsing.rs similarity index 100% rename from src/test/run-pass/default-method-parsing.rs rename to src/test/ui/default-method-parsing.rs diff --git a/src/test/run-pass/default-method-simple.rs b/src/test/ui/default-method-simple.rs similarity index 100% rename from src/test/run-pass/default-method-simple.rs rename to src/test/ui/default-method-simple.rs diff --git a/src/test/run-pass/defaults-well-formedness.rs b/src/test/ui/defaults-well-formedness.rs similarity index 100% rename from src/test/run-pass/defaults-well-formedness.rs rename to src/test/ui/defaults-well-formedness.rs diff --git a/src/test/run-pass/deprecation-in-force-unstable.rs b/src/test/ui/deprecation-in-force-unstable.rs similarity index 100% rename from src/test/run-pass/deprecation-in-force-unstable.rs rename to src/test/ui/deprecation-in-force-unstable.rs diff --git a/src/test/run-pass/deref-lval.rs b/src/test/ui/deref-lval.rs similarity index 100% rename from src/test/run-pass/deref-lval.rs rename to src/test/ui/deref-lval.rs diff --git a/src/test/run-pass/deref-mut-on-ref.rs b/src/test/ui/deref-mut-on-ref.rs similarity index 100% rename from src/test/run-pass/deref-mut-on-ref.rs rename to src/test/ui/deref-mut-on-ref.rs diff --git a/src/test/run-pass/deref-on-ref.rs b/src/test/ui/deref-on-ref.rs similarity index 100% rename from src/test/run-pass/deref-on-ref.rs rename to src/test/ui/deref-on-ref.rs diff --git a/src/test/run-pass/deref-rc.rs b/src/test/ui/deref-rc.rs similarity index 100% rename from src/test/run-pass/deref-rc.rs rename to src/test/ui/deref-rc.rs diff --git a/src/test/run-pass/deref.rs b/src/test/ui/deref.rs similarity index 100% rename from src/test/run-pass/deref.rs rename to src/test/ui/deref.rs diff --git a/src/test/run-pass/deriving/auxiliary/derive-no-std.rs b/src/test/ui/deriving/auxiliary/derive-no-std.rs similarity index 100% rename from src/test/run-pass/deriving/auxiliary/derive-no-std.rs rename to src/test/ui/deriving/auxiliary/derive-no-std.rs diff --git a/src/test/run-pass/deriving/derive-no-std.rs b/src/test/ui/deriving/derive-no-std.rs similarity index 100% rename from src/test/run-pass/deriving/derive-no-std.rs rename to src/test/ui/deriving/derive-no-std.rs diff --git a/src/test/run-pass/deriving/derive-partialord-correctness.rs b/src/test/ui/deriving/derive-partialord-correctness.rs similarity index 100% rename from src/test/run-pass/deriving/derive-partialord-correctness.rs rename to src/test/ui/deriving/derive-partialord-correctness.rs diff --git a/src/test/run-pass/deriving/deriving-associated-types.rs b/src/test/ui/deriving/deriving-associated-types.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-associated-types.rs rename to src/test/ui/deriving/deriving-associated-types.rs diff --git a/src/test/run-pass/deriving/deriving-bounds.rs b/src/test/ui/deriving/deriving-bounds.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-bounds.rs rename to src/test/ui/deriving/deriving-bounds.rs diff --git a/src/test/run-pass/deriving/deriving-clone-array.rs b/src/test/ui/deriving/deriving-clone-array.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-array.rs rename to src/test/ui/deriving/deriving-clone-array.rs diff --git a/src/test/run-pass/deriving/deriving-clone-enum.rs b/src/test/ui/deriving/deriving-clone-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-enum.rs rename to src/test/ui/deriving/deriving-clone-enum.rs diff --git a/src/test/run-pass/deriving/deriving-clone-generic-enum.rs b/src/test/ui/deriving/deriving-clone-generic-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-generic-enum.rs rename to src/test/ui/deriving/deriving-clone-generic-enum.rs diff --git a/src/test/run-pass/deriving/deriving-clone-generic-struct.rs b/src/test/ui/deriving/deriving-clone-generic-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-generic-struct.rs rename to src/test/ui/deriving/deriving-clone-generic-struct.rs diff --git a/src/test/run-pass/deriving/deriving-clone-generic-tuple-struct.rs b/src/test/ui/deriving/deriving-clone-generic-tuple-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-generic-tuple-struct.rs rename to src/test/ui/deriving/deriving-clone-generic-tuple-struct.rs diff --git a/src/test/run-pass/deriving/deriving-clone-struct.rs b/src/test/ui/deriving/deriving-clone-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-struct.rs rename to src/test/ui/deriving/deriving-clone-struct.rs diff --git a/src/test/run-pass/deriving/deriving-clone-tuple-struct.rs b/src/test/ui/deriving/deriving-clone-tuple-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-clone-tuple-struct.rs rename to src/test/ui/deriving/deriving-clone-tuple-struct.rs diff --git a/src/test/run-pass/deriving/deriving-cmp-generic-enum.rs b/src/test/ui/deriving/deriving-cmp-generic-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-cmp-generic-enum.rs rename to src/test/ui/deriving/deriving-cmp-generic-enum.rs diff --git a/src/test/run-pass/deriving/deriving-cmp-generic-struct-enum.rs b/src/test/ui/deriving/deriving-cmp-generic-struct-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-cmp-generic-struct-enum.rs rename to src/test/ui/deriving/deriving-cmp-generic-struct-enum.rs diff --git a/src/test/run-pass/deriving/deriving-cmp-generic-struct.rs b/src/test/ui/deriving/deriving-cmp-generic-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-cmp-generic-struct.rs rename to src/test/ui/deriving/deriving-cmp-generic-struct.rs diff --git a/src/test/run-pass/deriving/deriving-cmp-generic-tuple-struct.rs b/src/test/ui/deriving/deriving-cmp-generic-tuple-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-cmp-generic-tuple-struct.rs rename to src/test/ui/deriving/deriving-cmp-generic-tuple-struct.rs diff --git a/src/test/run-pass/deriving/deriving-cmp-shortcircuit.rs b/src/test/ui/deriving/deriving-cmp-shortcircuit.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-cmp-shortcircuit.rs rename to src/test/ui/deriving/deriving-cmp-shortcircuit.rs diff --git a/src/test/run-pass/deriving/deriving-copyclone.rs b/src/test/ui/deriving/deriving-copyclone.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-copyclone.rs rename to src/test/ui/deriving/deriving-copyclone.rs diff --git a/src/test/run-pass/deriving/deriving-default-box.rs b/src/test/ui/deriving/deriving-default-box.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-default-box.rs rename to src/test/ui/deriving/deriving-default-box.rs diff --git a/src/test/run-pass/deriving/deriving-enum-single-variant.rs b/src/test/ui/deriving/deriving-enum-single-variant.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-enum-single-variant.rs rename to src/test/ui/deriving/deriving-enum-single-variant.rs diff --git a/src/test/run-pass/deriving/deriving-eq-ord-boxed-slice.rs b/src/test/ui/deriving/deriving-eq-ord-boxed-slice.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-eq-ord-boxed-slice.rs rename to src/test/ui/deriving/deriving-eq-ord-boxed-slice.rs diff --git a/src/test/run-pass/deriving/deriving-hash.rs b/src/test/ui/deriving/deriving-hash.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-hash.rs rename to src/test/ui/deriving/deriving-hash.rs diff --git a/src/test/run-pass/deriving/deriving-in-fn.rs b/src/test/ui/deriving/deriving-in-fn.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-in-fn.rs rename to src/test/ui/deriving/deriving-in-fn.rs diff --git a/src/test/run-pass/deriving/deriving-in-macro.rs b/src/test/ui/deriving/deriving-in-macro.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-in-macro.rs rename to src/test/ui/deriving/deriving-in-macro.rs diff --git a/src/test/run-pass/deriving/deriving-meta-multiple.rs b/src/test/ui/deriving/deriving-meta-multiple.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-meta-multiple.rs rename to src/test/ui/deriving/deriving-meta-multiple.rs diff --git a/src/test/run-pass/deriving/deriving-meta.rs b/src/test/ui/deriving/deriving-meta.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-meta.rs rename to src/test/ui/deriving/deriving-meta.rs diff --git a/src/test/run-pass/deriving/deriving-self-lifetime-totalord-totaleq.rs b/src/test/ui/deriving/deriving-self-lifetime-totalord-totaleq.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-self-lifetime-totalord-totaleq.rs rename to src/test/ui/deriving/deriving-self-lifetime-totalord-totaleq.rs diff --git a/src/test/run-pass/deriving/deriving-show-2.rs b/src/test/ui/deriving/deriving-show-2.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-show-2.rs rename to src/test/ui/deriving/deriving-show-2.rs diff --git a/src/test/run-pass/deriving/deriving-show.rs b/src/test/ui/deriving/deriving-show.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-show.rs rename to src/test/ui/deriving/deriving-show.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-c-enum.rs b/src/test/ui/deriving/deriving-via-extension-c-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-c-enum.rs rename to src/test/ui/deriving/deriving-via-extension-c-enum.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-enum.rs b/src/test/ui/deriving/deriving-via-extension-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-enum.rs rename to src/test/ui/deriving/deriving-via-extension-enum.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-hash-enum.rs b/src/test/ui/deriving/deriving-via-extension-hash-enum.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-hash-enum.rs rename to src/test/ui/deriving/deriving-via-extension-hash-enum.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-hash-struct.rs b/src/test/ui/deriving/deriving-via-extension-hash-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-hash-struct.rs rename to src/test/ui/deriving/deriving-via-extension-hash-struct.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-struct-empty.rs b/src/test/ui/deriving/deriving-via-extension-struct-empty.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-struct-empty.rs rename to src/test/ui/deriving/deriving-via-extension-struct-empty.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-struct-like-enum-variant.rs b/src/test/ui/deriving/deriving-via-extension-struct-like-enum-variant.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-struct-like-enum-variant.rs rename to src/test/ui/deriving/deriving-via-extension-struct-like-enum-variant.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-struct-tuple.rs b/src/test/ui/deriving/deriving-via-extension-struct-tuple.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-struct-tuple.rs rename to src/test/ui/deriving/deriving-via-extension-struct-tuple.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-struct.rs b/src/test/ui/deriving/deriving-via-extension-struct.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-struct.rs rename to src/test/ui/deriving/deriving-via-extension-struct.rs diff --git a/src/test/run-pass/deriving/deriving-via-extension-type-params.rs b/src/test/ui/deriving/deriving-via-extension-type-params.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-via-extension-type-params.rs rename to src/test/ui/deriving/deriving-via-extension-type-params.rs diff --git a/src/test/run-pass/deriving/deriving-with-repr-packed.rs b/src/test/ui/deriving/deriving-with-repr-packed.rs similarity index 100% rename from src/test/run-pass/deriving/deriving-with-repr-packed.rs rename to src/test/ui/deriving/deriving-with-repr-packed.rs diff --git a/src/test/run-pass/dispatch_from_dyn_zst.rs b/src/test/ui/dispatch_from_dyn_zst.rs similarity index 100% rename from src/test/run-pass/dispatch_from_dyn_zst.rs rename to src/test/ui/dispatch_from_dyn_zst.rs diff --git a/src/test/run-pass/diverging-fallback-control-flow.rs b/src/test/ui/diverging-fallback-control-flow.rs similarity index 100% rename from src/test/run-pass/diverging-fallback-control-flow.rs rename to src/test/ui/diverging-fallback-control-flow.rs diff --git a/src/test/run-pass/diverging-fallback-method-chain.rs b/src/test/ui/diverging-fallback-method-chain.rs similarity index 100% rename from src/test/run-pass/diverging-fallback-method-chain.rs rename to src/test/ui/diverging-fallback-method-chain.rs diff --git a/src/test/run-pass/diverging-fallback-option.rs b/src/test/ui/diverging-fallback-option.rs similarity index 100% rename from src/test/run-pass/diverging-fallback-option.rs rename to src/test/ui/diverging-fallback-option.rs diff --git a/src/test/run-pass/double-ref.rs b/src/test/ui/double-ref.rs similarity index 100% rename from src/test/run-pass/double-ref.rs rename to src/test/ui/double-ref.rs diff --git a/src/test/run-pass/drop/auxiliary/dropck_eyepatch_extern_crate.rs b/src/test/ui/drop/auxiliary/dropck_eyepatch_extern_crate.rs similarity index 100% rename from src/test/run-pass/drop/auxiliary/dropck_eyepatch_extern_crate.rs rename to src/test/ui/drop/auxiliary/dropck_eyepatch_extern_crate.rs diff --git a/src/test/run-pass/drop/drop-on-empty-block-exit.rs b/src/test/ui/drop/drop-on-empty-block-exit.rs similarity index 100% rename from src/test/run-pass/drop/drop-on-empty-block-exit.rs rename to src/test/ui/drop/drop-on-empty-block-exit.rs diff --git a/src/test/run-pass/drop/drop-on-ret.rs b/src/test/ui/drop/drop-on-ret.rs similarity index 100% rename from src/test/run-pass/drop/drop-on-ret.rs rename to src/test/ui/drop/drop-on-ret.rs diff --git a/src/test/run-pass/drop/drop-struct-as-object.rs b/src/test/ui/drop/drop-struct-as-object.rs similarity index 100% rename from src/test/run-pass/drop/drop-struct-as-object.rs rename to src/test/ui/drop/drop-struct-as-object.rs diff --git a/src/test/run-pass/drop/drop-trait-enum.rs b/src/test/ui/drop/drop-trait-enum.rs similarity index 100% rename from src/test/run-pass/drop/drop-trait-enum.rs rename to src/test/ui/drop/drop-trait-enum.rs diff --git a/src/test/run-pass/drop/drop-trait-generic.rs b/src/test/ui/drop/drop-trait-generic.rs similarity index 100% rename from src/test/run-pass/drop/drop-trait-generic.rs rename to src/test/ui/drop/drop-trait-generic.rs diff --git a/src/test/run-pass/drop/drop-trait.rs b/src/test/ui/drop/drop-trait.rs similarity index 100% rename from src/test/run-pass/drop/drop-trait.rs rename to src/test/ui/drop/drop-trait.rs diff --git a/src/test/run-pass/drop/drop-uninhabited-enum.rs b/src/test/ui/drop/drop-uninhabited-enum.rs similarity index 100% rename from src/test/run-pass/drop/drop-uninhabited-enum.rs rename to src/test/ui/drop/drop-uninhabited-enum.rs diff --git a/src/test/run-pass/drop/drop-with-type-ascription-1.rs b/src/test/ui/drop/drop-with-type-ascription-1.rs similarity index 100% rename from src/test/run-pass/drop/drop-with-type-ascription-1.rs rename to src/test/ui/drop/drop-with-type-ascription-1.rs diff --git a/src/test/run-pass/drop/drop-with-type-ascription-2.rs b/src/test/ui/drop/drop-with-type-ascription-2.rs similarity index 100% rename from src/test/run-pass/drop/drop-with-type-ascription-2.rs rename to src/test/ui/drop/drop-with-type-ascription-2.rs diff --git a/src/test/run-pass/drop/dropck-eyepatch-extern-crate.rs b/src/test/ui/drop/dropck-eyepatch-extern-crate.rs similarity index 100% rename from src/test/run-pass/drop/dropck-eyepatch-extern-crate.rs rename to src/test/ui/drop/dropck-eyepatch-extern-crate.rs diff --git a/src/test/run-pass/drop/dropck-eyepatch-reorder.rs b/src/test/ui/drop/dropck-eyepatch-reorder.rs similarity index 100% rename from src/test/run-pass/drop/dropck-eyepatch-reorder.rs rename to src/test/ui/drop/dropck-eyepatch-reorder.rs diff --git a/src/test/run-pass/drop/dropck-eyepatch.rs b/src/test/ui/drop/dropck-eyepatch.rs similarity index 100% rename from src/test/run-pass/drop/dropck-eyepatch.rs rename to src/test/ui/drop/dropck-eyepatch.rs diff --git a/src/test/run-pass/drop/dropck_legal_cycles.rs b/src/test/ui/drop/dropck_legal_cycles.rs similarity index 100% rename from src/test/run-pass/drop/dropck_legal_cycles.rs rename to src/test/ui/drop/dropck_legal_cycles.rs diff --git a/src/test/run-pass/drop/dynamic-drop-async.rs b/src/test/ui/drop/dynamic-drop-async.rs similarity index 100% rename from src/test/run-pass/drop/dynamic-drop-async.rs rename to src/test/ui/drop/dynamic-drop-async.rs diff --git a/src/test/run-pass/drop/dynamic-drop.rs b/src/test/ui/drop/dynamic-drop.rs similarity index 100% rename from src/test/run-pass/drop/dynamic-drop.rs rename to src/test/ui/drop/dynamic-drop.rs diff --git a/src/test/run-pass/drop/no-drop-flag-size.rs b/src/test/ui/drop/no-drop-flag-size.rs similarity index 100% rename from src/test/run-pass/drop/no-drop-flag-size.rs rename to src/test/ui/drop/no-drop-flag-size.rs diff --git a/src/test/run-pass/drop/nondrop-cycle.rs b/src/test/ui/drop/nondrop-cycle.rs similarity index 100% rename from src/test/run-pass/drop/nondrop-cycle.rs rename to src/test/ui/drop/nondrop-cycle.rs diff --git a/src/test/run-pass/dupe-first-attr.rc b/src/test/ui/dupe-first-attr.rc similarity index 100% rename from src/test/run-pass/dupe-first-attr.rc rename to src/test/ui/dupe-first-attr.rc diff --git a/src/test/run-pass/duplicated-external-mods.rs b/src/test/ui/duplicated-external-mods.rs similarity index 100% rename from src/test/run-pass/duplicated-external-mods.rs rename to src/test/ui/duplicated-external-mods.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-coerce-custom.rs b/src/test/ui/dynamically-sized-types/dst-coerce-custom.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-coerce-custom.rs rename to src/test/ui/dynamically-sized-types/dst-coerce-custom.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-coerce-rc.rs b/src/test/ui/dynamically-sized-types/dst-coerce-rc.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-coerce-rc.rs rename to src/test/ui/dynamically-sized-types/dst-coerce-rc.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-coercions.rs b/src/test/ui/dynamically-sized-types/dst-coercions.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-coercions.rs rename to src/test/ui/dynamically-sized-types/dst-coercions.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-deref-mut.rs b/src/test/ui/dynamically-sized-types/dst-deref-mut.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-deref-mut.rs rename to src/test/ui/dynamically-sized-types/dst-deref-mut.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-deref.rs b/src/test/ui/dynamically-sized-types/dst-deref.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-deref.rs rename to src/test/ui/dynamically-sized-types/dst-deref.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-field-align.rs b/src/test/ui/dynamically-sized-types/dst-field-align.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-field-align.rs rename to src/test/ui/dynamically-sized-types/dst-field-align.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-index.rs b/src/test/ui/dynamically-sized-types/dst-index.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-index.rs rename to src/test/ui/dynamically-sized-types/dst-index.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-irrefutable-bind.rs b/src/test/ui/dynamically-sized-types/dst-irrefutable-bind.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-irrefutable-bind.rs rename to src/test/ui/dynamically-sized-types/dst-irrefutable-bind.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-raw.rs b/src/test/ui/dynamically-sized-types/dst-raw.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-raw.rs rename to src/test/ui/dynamically-sized-types/dst-raw.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-struct-sole.rs b/src/test/ui/dynamically-sized-types/dst-struct-sole.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-struct-sole.rs rename to src/test/ui/dynamically-sized-types/dst-struct-sole.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-struct.rs b/src/test/ui/dynamically-sized-types/dst-struct.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-struct.rs rename to src/test/ui/dynamically-sized-types/dst-struct.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-trait-tuple.rs b/src/test/ui/dynamically-sized-types/dst-trait-tuple.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-trait-tuple.rs rename to src/test/ui/dynamically-sized-types/dst-trait-tuple.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-trait.rs b/src/test/ui/dynamically-sized-types/dst-trait.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-trait.rs rename to src/test/ui/dynamically-sized-types/dst-trait.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-tuple-sole.rs b/src/test/ui/dynamically-sized-types/dst-tuple-sole.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-tuple-sole.rs rename to src/test/ui/dynamically-sized-types/dst-tuple-sole.rs diff --git a/src/test/run-pass/dynamically-sized-types/dst-tuple.rs b/src/test/ui/dynamically-sized-types/dst-tuple.rs similarity index 100% rename from src/test/run-pass/dynamically-sized-types/dst-tuple.rs rename to src/test/ui/dynamically-sized-types/dst-tuple.rs diff --git a/src/test/run-pass/early-ret-binop-add.rs b/src/test/ui/early-ret-binop-add.rs similarity index 100% rename from src/test/run-pass/early-ret-binop-add.rs rename to src/test/ui/early-ret-binop-add.rs diff --git a/src/test/run-pass/early-vtbl-resolution.rs b/src/test/ui/early-vtbl-resolution.rs similarity index 100% rename from src/test/run-pass/early-vtbl-resolution.rs rename to src/test/ui/early-vtbl-resolution.rs diff --git a/src/test/run-pass/edition-keywords-2015-2015.rs b/src/test/ui/edition-keywords-2015-2015.rs similarity index 100% rename from src/test/run-pass/edition-keywords-2015-2015.rs rename to src/test/ui/edition-keywords-2015-2015.rs diff --git a/src/test/run-pass/edition-keywords-2015-2018.rs b/src/test/ui/edition-keywords-2015-2018.rs similarity index 100% rename from src/test/run-pass/edition-keywords-2015-2018.rs rename to src/test/ui/edition-keywords-2015-2018.rs diff --git a/src/test/run-pass/edition-keywords-2018-2015.rs b/src/test/ui/edition-keywords-2018-2015.rs similarity index 100% rename from src/test/run-pass/edition-keywords-2018-2015.rs rename to src/test/ui/edition-keywords-2018-2015.rs diff --git a/src/test/run-pass/edition-keywords-2018-2018.rs b/src/test/ui/edition-keywords-2018-2018.rs similarity index 100% rename from src/test/run-pass/edition-keywords-2018-2018.rs rename to src/test/ui/edition-keywords-2018-2018.rs diff --git a/src/test/run-pass/else-if.rs b/src/test/ui/else-if.rs similarity index 100% rename from src/test/run-pass/else-if.rs rename to src/test/ui/else-if.rs diff --git a/src/test/run-pass/empty-allocation-non-null.rs b/src/test/ui/empty-allocation-non-null.rs similarity index 100% rename from src/test/run-pass/empty-allocation-non-null.rs rename to src/test/ui/empty-allocation-non-null.rs diff --git a/src/test/run-pass/empty-allocation-rvalue-non-null.rs b/src/test/ui/empty-allocation-rvalue-non-null.rs similarity index 100% rename from src/test/run-pass/empty-allocation-rvalue-non-null.rs rename to src/test/ui/empty-allocation-rvalue-non-null.rs diff --git a/src/test/run-pass/empty-type-parameter-list.rs b/src/test/ui/empty-type-parameter-list.rs similarity index 100% rename from src/test/run-pass/empty-type-parameter-list.rs rename to src/test/ui/empty-type-parameter-list.rs diff --git a/src/test/run-pass/empty_global_asm.rs b/src/test/ui/empty_global_asm.rs similarity index 100% rename from src/test/run-pass/empty_global_asm.rs rename to src/test/ui/empty_global_asm.rs diff --git a/src/test/run-pass/env-args-reverse-iterator.rs b/src/test/ui/env-args-reverse-iterator.rs similarity index 100% rename from src/test/run-pass/env-args-reverse-iterator.rs rename to src/test/ui/env-args-reverse-iterator.rs diff --git a/src/test/run-pass/env-funky-keys.rs b/src/test/ui/env-funky-keys.rs similarity index 100% rename from src/test/run-pass/env-funky-keys.rs rename to src/test/ui/env-funky-keys.rs diff --git a/src/test/run-pass/env-home-dir.rs b/src/test/ui/env-home-dir.rs similarity index 100% rename from src/test/run-pass/env-home-dir.rs rename to src/test/ui/env-home-dir.rs diff --git a/src/test/run-pass/env-null-vars.rs b/src/test/ui/env-null-vars.rs similarity index 100% rename from src/test/run-pass/env-null-vars.rs rename to src/test/ui/env-null-vars.rs diff --git a/src/test/run-pass/env-vars.rs b/src/test/ui/env-vars.rs similarity index 100% rename from src/test/run-pass/env-vars.rs rename to src/test/ui/env-vars.rs diff --git a/src/test/run-pass/epoch-gate-feature.rs b/src/test/ui/epoch-gate-feature.rs similarity index 100% rename from src/test/run-pass/epoch-gate-feature.rs rename to src/test/ui/epoch-gate-feature.rs diff --git a/src/test/run-pass/eq-multidispatch.rs b/src/test/ui/eq-multidispatch.rs similarity index 100% rename from src/test/run-pass/eq-multidispatch.rs rename to src/test/ui/eq-multidispatch.rs diff --git a/src/test/run-pass/estr-uniq.rs b/src/test/ui/estr-uniq.rs similarity index 100% rename from src/test/run-pass/estr-uniq.rs rename to src/test/ui/estr-uniq.rs diff --git a/src/test/run-pass/exec-env.rs b/src/test/ui/exec-env.rs similarity index 100% rename from src/test/run-pass/exec-env.rs rename to src/test/ui/exec-env.rs diff --git a/src/test/run-pass/existential_type.rs b/src/test/ui/existential_type.rs similarity index 100% rename from src/test/run-pass/existential_type.rs rename to src/test/ui/existential_type.rs diff --git a/src/test/run-pass/explicit-i-suffix.rs b/src/test/ui/explicit-i-suffix.rs similarity index 100% rename from src/test/run-pass/explicit-i-suffix.rs rename to src/test/ui/explicit-i-suffix.rs diff --git a/src/test/run-pass/export-glob-imports-target.rs b/src/test/ui/export-glob-imports-target.rs similarity index 100% rename from src/test/run-pass/export-glob-imports-target.rs rename to src/test/ui/export-glob-imports-target.rs diff --git a/src/test/run-pass/export-multi.rs b/src/test/ui/export-multi.rs similarity index 100% rename from src/test/run-pass/export-multi.rs rename to src/test/ui/export-multi.rs diff --git a/src/test/run-pass/export-non-interference2.rs b/src/test/ui/export-non-interference2.rs similarity index 100% rename from src/test/run-pass/export-non-interference2.rs rename to src/test/ui/export-non-interference2.rs diff --git a/src/test/run-pass/export-non-interference3.rs b/src/test/ui/export-non-interference3.rs similarity index 100% rename from src/test/run-pass/export-non-interference3.rs rename to src/test/ui/export-non-interference3.rs diff --git a/src/test/run-pass/expr-block-fn.rs b/src/test/ui/expr-block-fn.rs similarity index 100% rename from src/test/run-pass/expr-block-fn.rs rename to src/test/ui/expr-block-fn.rs diff --git a/src/test/run-pass/expr-block-generic-unique1.rs b/src/test/ui/expr-block-generic-unique1.rs similarity index 100% rename from src/test/run-pass/expr-block-generic-unique1.rs rename to src/test/ui/expr-block-generic-unique1.rs diff --git a/src/test/run-pass/expr-block-generic-unique2.rs b/src/test/ui/expr-block-generic-unique2.rs similarity index 100% rename from src/test/run-pass/expr-block-generic-unique2.rs rename to src/test/ui/expr-block-generic-unique2.rs diff --git a/src/test/run-pass/expr-block-generic.rs b/src/test/ui/expr-block-generic.rs similarity index 100% rename from src/test/run-pass/expr-block-generic.rs rename to src/test/ui/expr-block-generic.rs diff --git a/src/test/run-pass/expr-block-slot.rs b/src/test/ui/expr-block-slot.rs similarity index 100% rename from src/test/run-pass/expr-block-slot.rs rename to src/test/ui/expr-block-slot.rs diff --git a/src/test/run-pass/expr-block-unique.rs b/src/test/ui/expr-block-unique.rs similarity index 100% rename from src/test/run-pass/expr-block-unique.rs rename to src/test/ui/expr-block-unique.rs diff --git a/src/test/run-pass/expr-block.rs b/src/test/ui/expr-block.rs similarity index 100% rename from src/test/run-pass/expr-block.rs rename to src/test/ui/expr-block.rs diff --git a/src/test/run-pass/expr-copy.rs b/src/test/ui/expr-copy.rs similarity index 100% rename from src/test/run-pass/expr-copy.rs rename to src/test/ui/expr-copy.rs diff --git a/src/test/run-pass/expr-empty-ret.rs b/src/test/ui/expr-empty-ret.rs similarity index 100% rename from src/test/run-pass/expr-empty-ret.rs rename to src/test/ui/expr-empty-ret.rs diff --git a/src/test/run-pass/expr-fn.rs b/src/test/ui/expr-fn.rs similarity index 100% rename from src/test/run-pass/expr-fn.rs rename to src/test/ui/expr-fn.rs diff --git a/src/test/run-pass/expr-if-generic.rs b/src/test/ui/expr-if-generic.rs similarity index 100% rename from src/test/run-pass/expr-if-generic.rs rename to src/test/ui/expr-if-generic.rs diff --git a/src/test/run-pass/expr-if-panic-all.rs b/src/test/ui/expr-if-panic-all.rs similarity index 100% rename from src/test/run-pass/expr-if-panic-all.rs rename to src/test/ui/expr-if-panic-all.rs diff --git a/src/test/run-pass/expr-if-panic.rs b/src/test/ui/expr-if-panic.rs similarity index 100% rename from src/test/run-pass/expr-if-panic.rs rename to src/test/ui/expr-if-panic.rs diff --git a/src/test/run-pass/expr-if-unique.rs b/src/test/ui/expr-if-unique.rs similarity index 100% rename from src/test/run-pass/expr-if-unique.rs rename to src/test/ui/expr-if-unique.rs diff --git a/src/test/run-pass/expr-if.rs b/src/test/ui/expr-if.rs similarity index 100% rename from src/test/run-pass/expr-if.rs rename to src/test/ui/expr-if.rs diff --git a/src/test/run-pass/expr-scope.rs b/src/test/ui/expr-scope.rs similarity index 100% rename from src/test/run-pass/expr-scope.rs rename to src/test/ui/expr-scope.rs diff --git a/src/test/run-pass/ext-expand-inner-exprs.rs b/src/test/ui/ext-expand-inner-exprs.rs similarity index 100% rename from src/test/run-pass/ext-expand-inner-exprs.rs rename to src/test/ui/ext-expand-inner-exprs.rs diff --git a/src/test/run-pass/extend-for-unit.rs b/src/test/ui/extend-for-unit.rs similarity index 100% rename from src/test/run-pass/extend-for-unit.rs rename to src/test/ui/extend-for-unit.rs diff --git a/src/test/run-pass/exterior.rs b/src/test/ui/exterior.rs similarity index 100% rename from src/test/run-pass/exterior.rs rename to src/test/ui/exterior.rs diff --git a/src/test/run-pass/extern/auxiliary/extern-crosscrate-source.rs b/src/test/ui/extern/auxiliary/extern-crosscrate-source.rs similarity index 100% rename from src/test/run-pass/extern/auxiliary/extern-crosscrate-source.rs rename to src/test/ui/extern/auxiliary/extern-crosscrate-source.rs diff --git a/src/test/run-pass/extern/auxiliary/extern-take-value.rs b/src/test/ui/extern/auxiliary/extern-take-value.rs similarity index 100% rename from src/test/run-pass/extern/auxiliary/extern-take-value.rs rename to src/test/ui/extern/auxiliary/extern-take-value.rs diff --git a/src/test/run-pass/extern/auxiliary/extern_calling_convention.rs b/src/test/ui/extern/auxiliary/extern_calling_convention.rs similarity index 100% rename from src/test/run-pass/extern/auxiliary/extern_calling_convention.rs rename to src/test/ui/extern/auxiliary/extern_calling_convention.rs diff --git a/src/test/run-pass/extern/auxiliary/extern_mod_ordering_lib.rs b/src/test/ui/extern/auxiliary/extern_mod_ordering_lib.rs similarity index 100% rename from src/test/run-pass/extern/auxiliary/extern_mod_ordering_lib.rs rename to src/test/ui/extern/auxiliary/extern_mod_ordering_lib.rs diff --git a/src/test/run-pass/extern/auxiliary/fat_drop.rs b/src/test/ui/extern/auxiliary/fat_drop.rs similarity index 100% rename from src/test/run-pass/extern/auxiliary/fat_drop.rs rename to src/test/ui/extern/auxiliary/fat_drop.rs diff --git a/src/test/run-pass/extern/extern-1.rs b/src/test/ui/extern/extern-1.rs similarity index 100% rename from src/test/run-pass/extern/extern-1.rs rename to src/test/ui/extern/extern-1.rs diff --git a/src/test/run-pass/extern/extern-call-deep.rs b/src/test/ui/extern/extern-call-deep.rs similarity index 100% rename from src/test/run-pass/extern/extern-call-deep.rs rename to src/test/ui/extern/extern-call-deep.rs diff --git a/src/test/run-pass/extern/extern-call-deep2.rs b/src/test/ui/extern/extern-call-deep2.rs similarity index 100% rename from src/test/run-pass/extern/extern-call-deep2.rs rename to src/test/ui/extern/extern-call-deep2.rs diff --git a/src/test/run-pass/extern/extern-call-direct.rs b/src/test/ui/extern/extern-call-direct.rs similarity index 100% rename from src/test/run-pass/extern/extern-call-direct.rs rename to src/test/ui/extern/extern-call-direct.rs diff --git a/src/test/run-pass/extern/extern-call-indirect.rs b/src/test/ui/extern/extern-call-indirect.rs similarity index 100% rename from src/test/run-pass/extern/extern-call-indirect.rs rename to src/test/ui/extern/extern-call-indirect.rs diff --git a/src/test/run-pass/extern/extern-call-scrub.rs b/src/test/ui/extern/extern-call-scrub.rs similarity index 100% rename from src/test/run-pass/extern/extern-call-scrub.rs rename to src/test/ui/extern/extern-call-scrub.rs diff --git a/src/test/run-pass/extern/extern-calling-convention-test.rs b/src/test/ui/extern/extern-calling-convention-test.rs similarity index 100% rename from src/test/run-pass/extern/extern-calling-convention-test.rs rename to src/test/ui/extern/extern-calling-convention-test.rs diff --git a/src/test/run-pass/extern/extern-compare-with-return-type.rs b/src/test/ui/extern/extern-compare-with-return-type.rs similarity index 100% rename from src/test/run-pass/extern/extern-compare-with-return-type.rs rename to src/test/ui/extern/extern-compare-with-return-type.rs diff --git a/src/test/run-pass/extern/extern-crosscrate.rs b/src/test/ui/extern/extern-crosscrate.rs similarity index 100% rename from src/test/run-pass/extern/extern-crosscrate.rs rename to src/test/ui/extern/extern-crosscrate.rs diff --git a/src/test/run-pass/extern/extern-foreign-crate.rs b/src/test/ui/extern/extern-foreign-crate.rs similarity index 100% rename from src/test/run-pass/extern/extern-foreign-crate.rs rename to src/test/ui/extern/extern-foreign-crate.rs diff --git a/src/test/run-pass/extern/extern-methods.rs b/src/test/ui/extern/extern-methods.rs similarity index 100% rename from src/test/run-pass/extern/extern-methods.rs rename to src/test/ui/extern/extern-methods.rs diff --git a/src/test/run-pass/extern/extern-mod-abi.rs b/src/test/ui/extern/extern-mod-abi.rs similarity index 100% rename from src/test/run-pass/extern/extern-mod-abi.rs rename to src/test/ui/extern/extern-mod-abi.rs diff --git a/src/test/run-pass/extern/extern-mod-ordering-exe.rs b/src/test/ui/extern/extern-mod-ordering-exe.rs similarity index 100% rename from src/test/run-pass/extern/extern-mod-ordering-exe.rs rename to src/test/ui/extern/extern-mod-ordering-exe.rs diff --git a/src/test/run-pass/extern/extern-pass-TwoU16s.rs b/src/test/ui/extern/extern-pass-TwoU16s.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-TwoU16s.rs rename to src/test/ui/extern/extern-pass-TwoU16s.rs diff --git a/src/test/run-pass/extern/extern-pass-TwoU32s.rs b/src/test/ui/extern/extern-pass-TwoU32s.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-TwoU32s.rs rename to src/test/ui/extern/extern-pass-TwoU32s.rs diff --git a/src/test/run-pass/extern/extern-pass-TwoU64s.rs b/src/test/ui/extern/extern-pass-TwoU64s.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-TwoU64s.rs rename to src/test/ui/extern/extern-pass-TwoU64s.rs diff --git a/src/test/run-pass/extern/extern-pass-TwoU8s.rs b/src/test/ui/extern/extern-pass-TwoU8s.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-TwoU8s.rs rename to src/test/ui/extern/extern-pass-TwoU8s.rs diff --git a/src/test/run-pass/extern/extern-pass-char.rs b/src/test/ui/extern/extern-pass-char.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-char.rs rename to src/test/ui/extern/extern-pass-char.rs diff --git a/src/test/run-pass/extern/extern-pass-double.rs b/src/test/ui/extern/extern-pass-double.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-double.rs rename to src/test/ui/extern/extern-pass-double.rs diff --git a/src/test/run-pass/extern/extern-pass-empty.rs b/src/test/ui/extern/extern-pass-empty.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-empty.rs rename to src/test/ui/extern/extern-pass-empty.rs diff --git a/src/test/run-pass/extern/extern-pass-u32.rs b/src/test/ui/extern/extern-pass-u32.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-u32.rs rename to src/test/ui/extern/extern-pass-u32.rs diff --git a/src/test/run-pass/extern/extern-pass-u64.rs b/src/test/ui/extern/extern-pass-u64.rs similarity index 100% rename from src/test/run-pass/extern/extern-pass-u64.rs rename to src/test/ui/extern/extern-pass-u64.rs diff --git a/src/test/run-pass/extern/extern-prelude-core.rs b/src/test/ui/extern/extern-prelude-core.rs similarity index 100% rename from src/test/run-pass/extern/extern-prelude-core.rs rename to src/test/ui/extern/extern-prelude-core.rs diff --git a/src/test/run-pass/extern/extern-prelude-core.stderr b/src/test/ui/extern/extern-prelude-core.stderr similarity index 100% rename from src/test/run-pass/extern/extern-prelude-core.stderr rename to src/test/ui/extern/extern-prelude-core.stderr diff --git a/src/test/run-pass/extern/extern-prelude-no-speculative.rs b/src/test/ui/extern/extern-prelude-no-speculative.rs similarity index 100% rename from src/test/run-pass/extern/extern-prelude-no-speculative.rs rename to src/test/ui/extern/extern-prelude-no-speculative.rs diff --git a/src/test/run-pass/extern/extern-prelude-std.rs b/src/test/ui/extern/extern-prelude-std.rs similarity index 100% rename from src/test/run-pass/extern/extern-prelude-std.rs rename to src/test/ui/extern/extern-prelude-std.rs diff --git a/src/test/run-pass/extern/extern-prelude-std.stderr b/src/test/ui/extern/extern-prelude-std.stderr similarity index 100% rename from src/test/run-pass/extern/extern-prelude-std.stderr rename to src/test/ui/extern/extern-prelude-std.stderr diff --git a/src/test/run-pass/extern/extern-pub.rs b/src/test/ui/extern/extern-pub.rs similarity index 100% rename from src/test/run-pass/extern/extern-pub.rs rename to src/test/ui/extern/extern-pub.rs diff --git a/src/test/run-pass/extern/extern-return-TwoU16s.rs b/src/test/ui/extern/extern-return-TwoU16s.rs similarity index 100% rename from src/test/run-pass/extern/extern-return-TwoU16s.rs rename to src/test/ui/extern/extern-return-TwoU16s.rs diff --git a/src/test/run-pass/extern/extern-return-TwoU32s.rs b/src/test/ui/extern/extern-return-TwoU32s.rs similarity index 100% rename from src/test/run-pass/extern/extern-return-TwoU32s.rs rename to src/test/ui/extern/extern-return-TwoU32s.rs diff --git a/src/test/run-pass/extern/extern-return-TwoU64s.rs b/src/test/ui/extern/extern-return-TwoU64s.rs similarity index 100% rename from src/test/run-pass/extern/extern-return-TwoU64s.rs rename to src/test/ui/extern/extern-return-TwoU64s.rs diff --git a/src/test/run-pass/extern/extern-return-TwoU8s.rs b/src/test/ui/extern/extern-return-TwoU8s.rs similarity index 100% rename from src/test/run-pass/extern/extern-return-TwoU8s.rs rename to src/test/ui/extern/extern-return-TwoU8s.rs diff --git a/src/test/run-pass/extern/extern-rust.rs b/src/test/ui/extern/extern-rust.rs similarity index 100% rename from src/test/run-pass/extern/extern-rust.rs rename to src/test/ui/extern/extern-rust.rs diff --git a/src/test/run-pass/extern/extern-take-value.rs b/src/test/ui/extern/extern-take-value.rs similarity index 100% rename from src/test/run-pass/extern/extern-take-value.rs rename to src/test/ui/extern/extern-take-value.rs diff --git a/src/test/run-pass/extern/extern-thiscall.rs b/src/test/ui/extern/extern-thiscall.rs similarity index 100% rename from src/test/run-pass/extern/extern-thiscall.rs rename to src/test/ui/extern/extern-thiscall.rs diff --git a/src/test/run-pass/extern/extern-types-inherent-impl.rs b/src/test/ui/extern/extern-types-inherent-impl.rs similarity index 100% rename from src/test/run-pass/extern/extern-types-inherent-impl.rs rename to src/test/ui/extern/extern-types-inherent-impl.rs diff --git a/src/test/run-pass/extern/extern-types-manual-sync-send.rs b/src/test/ui/extern/extern-types-manual-sync-send.rs similarity index 100% rename from src/test/run-pass/extern/extern-types-manual-sync-send.rs rename to src/test/ui/extern/extern-types-manual-sync-send.rs diff --git a/src/test/run-pass/extern/extern-types-pointer-cast.rs b/src/test/ui/extern/extern-types-pointer-cast.rs similarity index 100% rename from src/test/run-pass/extern/extern-types-pointer-cast.rs rename to src/test/ui/extern/extern-types-pointer-cast.rs diff --git a/src/test/run-pass/extern/extern-types-size_of_val.rs b/src/test/ui/extern/extern-types-size_of_val.rs similarity index 100% rename from src/test/run-pass/extern/extern-types-size_of_val.rs rename to src/test/ui/extern/extern-types-size_of_val.rs diff --git a/src/test/run-pass/extern/extern-types-thin-pointer.rs b/src/test/ui/extern/extern-types-thin-pointer.rs similarity index 100% rename from src/test/run-pass/extern/extern-types-thin-pointer.rs rename to src/test/ui/extern/extern-types-thin-pointer.rs diff --git a/src/test/run-pass/extern/extern-types-trait-impl.rs b/src/test/ui/extern/extern-types-trait-impl.rs similarity index 100% rename from src/test/run-pass/extern/extern-types-trait-impl.rs rename to src/test/ui/extern/extern-types-trait-impl.rs diff --git a/src/test/run-pass/extern/extern-vectorcall.rs b/src/test/ui/extern/extern-vectorcall.rs similarity index 100% rename from src/test/run-pass/extern/extern-vectorcall.rs rename to src/test/ui/extern/extern-vectorcall.rs diff --git a/src/test/run-pass/extern/extern_fat_drop.rs b/src/test/ui/extern/extern_fat_drop.rs similarity index 100% rename from src/test/run-pass/extern/extern_fat_drop.rs rename to src/test/ui/extern/extern_fat_drop.rs diff --git a/src/test/run-pass/extoption_env-not-defined.rs b/src/test/ui/extoption_env-not-defined.rs similarity index 100% rename from src/test/run-pass/extoption_env-not-defined.rs rename to src/test/ui/extoption_env-not-defined.rs diff --git a/src/test/run-pass/fact.rs b/src/test/ui/fact.rs similarity index 100% rename from src/test/run-pass/fact.rs rename to src/test/ui/fact.rs diff --git a/src/test/run-pass/fat-lto.rs b/src/test/ui/fat-lto.rs similarity index 100% rename from src/test/run-pass/fat-lto.rs rename to src/test/ui/fat-lto.rs diff --git a/src/test/run-pass/fds-are-cloexec.rs b/src/test/ui/fds-are-cloexec.rs similarity index 100% rename from src/test/run-pass/fds-are-cloexec.rs rename to src/test/ui/fds-are-cloexec.rs diff --git a/src/test/run-pass/filter-block-view-items.rs b/src/test/ui/filter-block-view-items.rs similarity index 100% rename from src/test/run-pass/filter-block-view-items.rs rename to src/test/ui/filter-block-view-items.rs diff --git a/src/test/run-pass/fixup-deref-mut.rs b/src/test/ui/fixup-deref-mut.rs similarity index 100% rename from src/test/run-pass/fixup-deref-mut.rs rename to src/test/ui/fixup-deref-mut.rs diff --git a/src/test/run-pass/for-loop-while/auto-loop.rs b/src/test/ui/for-loop-while/auto-loop.rs similarity index 100% rename from src/test/run-pass/for-loop-while/auto-loop.rs rename to src/test/ui/for-loop-while/auto-loop.rs diff --git a/src/test/run-pass/for-loop-while/break-value.rs b/src/test/ui/for-loop-while/break-value.rs similarity index 100% rename from src/test/run-pass/for-loop-while/break-value.rs rename to src/test/ui/for-loop-while/break-value.rs diff --git a/src/test/run-pass/for-loop-while/break.rs b/src/test/ui/for-loop-while/break.rs similarity index 100% rename from src/test/run-pass/for-loop-while/break.rs rename to src/test/ui/for-loop-while/break.rs diff --git a/src/test/run-pass/for-loop-while/for-destruct.rs b/src/test/ui/for-loop-while/for-destruct.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-destruct.rs rename to src/test/ui/for-loop-while/for-destruct.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-goofiness.rs b/src/test/ui/for-loop-while/for-loop-goofiness.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-goofiness.rs rename to src/test/ui/for-loop-while/for-loop-goofiness.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-has-unit-body.rs b/src/test/ui/for-loop-while/for-loop-has-unit-body.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-has-unit-body.rs rename to src/test/ui/for-loop-while/for-loop-has-unit-body.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-into-iterator.rs b/src/test/ui/for-loop-while/for-loop-into-iterator.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-into-iterator.rs rename to src/test/ui/for-loop-while/for-loop-into-iterator.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-lifetime-of-unbound-values.rs b/src/test/ui/for-loop-while/for-loop-lifetime-of-unbound-values.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-lifetime-of-unbound-values.rs rename to src/test/ui/for-loop-while/for-loop-lifetime-of-unbound-values.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-macro.rs b/src/test/ui/for-loop-while/for-loop-macro.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-macro.rs rename to src/test/ui/for-loop-while/for-loop-macro.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-mut-ref-element.rs b/src/test/ui/for-loop-while/for-loop-mut-ref-element.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-mut-ref-element.rs rename to src/test/ui/for-loop-while/for-loop-mut-ref-element.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-no-std.rs b/src/test/ui/for-loop-while/for-loop-no-std.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-no-std.rs rename to src/test/ui/for-loop-while/for-loop-no-std.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-panic.rs b/src/test/ui/for-loop-while/for-loop-panic.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-panic.rs rename to src/test/ui/for-loop-while/for-loop-panic.rs diff --git a/src/test/run-pass/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs b/src/test/ui/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs similarity index 100% rename from src/test/run-pass/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs rename to src/test/ui/for-loop-while/for-loop-unconstrained-element-type-i32-fallback.rs diff --git a/src/test/run-pass/for-loop-while/foreach-external-iterators-break.rs b/src/test/ui/for-loop-while/foreach-external-iterators-break.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-external-iterators-break.rs rename to src/test/ui/for-loop-while/foreach-external-iterators-break.rs diff --git a/src/test/run-pass/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs b/src/test/ui/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs rename to src/test/ui/for-loop-while/foreach-external-iterators-hashmap-break-restart.rs diff --git a/src/test/run-pass/for-loop-while/foreach-external-iterators-hashmap.rs b/src/test/ui/for-loop-while/foreach-external-iterators-hashmap.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-external-iterators-hashmap.rs rename to src/test/ui/for-loop-while/foreach-external-iterators-hashmap.rs diff --git a/src/test/run-pass/for-loop-while/foreach-external-iterators-loop.rs b/src/test/ui/for-loop-while/foreach-external-iterators-loop.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-external-iterators-loop.rs rename to src/test/ui/for-loop-while/foreach-external-iterators-loop.rs diff --git a/src/test/run-pass/for-loop-while/foreach-external-iterators-nested.rs b/src/test/ui/for-loop-while/foreach-external-iterators-nested.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-external-iterators-nested.rs rename to src/test/ui/for-loop-while/foreach-external-iterators-nested.rs diff --git a/src/test/run-pass/for-loop-while/foreach-external-iterators.rs b/src/test/ui/for-loop-while/foreach-external-iterators.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-external-iterators.rs rename to src/test/ui/for-loop-while/foreach-external-iterators.rs diff --git a/src/test/run-pass/for-loop-while/foreach-nested.rs b/src/test/ui/for-loop-while/foreach-nested.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-nested.rs rename to src/test/ui/for-loop-while/foreach-nested.rs diff --git a/src/test/run-pass/for-loop-while/foreach-put-structured.rs b/src/test/ui/for-loop-while/foreach-put-structured.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-put-structured.rs rename to src/test/ui/for-loop-while/foreach-put-structured.rs diff --git a/src/test/run-pass/for-loop-while/foreach-simple-outer-slot.rs b/src/test/ui/for-loop-while/foreach-simple-outer-slot.rs similarity index 100% rename from src/test/run-pass/for-loop-while/foreach-simple-outer-slot.rs rename to src/test/ui/for-loop-while/foreach-simple-outer-slot.rs diff --git a/src/test/run-pass/for-loop-while/label_break_value.rs b/src/test/ui/for-loop-while/label_break_value.rs similarity index 100% rename from src/test/run-pass/for-loop-while/label_break_value.rs rename to src/test/ui/for-loop-while/label_break_value.rs diff --git a/src/test/run-pass/for-loop-while/labeled-break.rs b/src/test/ui/for-loop-while/labeled-break.rs similarity index 100% rename from src/test/run-pass/for-loop-while/labeled-break.rs rename to src/test/ui/for-loop-while/labeled-break.rs diff --git a/src/test/run-pass/for-loop-while/linear-for-loop.rs b/src/test/ui/for-loop-while/linear-for-loop.rs similarity index 100% rename from src/test/run-pass/for-loop-while/linear-for-loop.rs rename to src/test/ui/for-loop-while/linear-for-loop.rs diff --git a/src/test/run-pass/for-loop-while/liveness-assign-imm-local-after-loop.rs b/src/test/ui/for-loop-while/liveness-assign-imm-local-after-loop.rs similarity index 100% rename from src/test/run-pass/for-loop-while/liveness-assign-imm-local-after-loop.rs rename to src/test/ui/for-loop-while/liveness-assign-imm-local-after-loop.rs diff --git a/src/test/run-pass/for-loop-while/liveness-loop-break.rs b/src/test/ui/for-loop-while/liveness-loop-break.rs similarity index 100% rename from src/test/run-pass/for-loop-while/liveness-loop-break.rs rename to src/test/ui/for-loop-while/liveness-loop-break.rs diff --git a/src/test/run-pass/for-loop-while/liveness-move-in-loop.rs b/src/test/ui/for-loop-while/liveness-move-in-loop.rs similarity index 100% rename from src/test/run-pass/for-loop-while/liveness-move-in-loop.rs rename to src/test/ui/for-loop-while/liveness-move-in-loop.rs diff --git a/src/test/run-pass/for-loop-while/loop-break-cont-1.rs b/src/test/ui/for-loop-while/loop-break-cont-1.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-break-cont-1.rs rename to src/test/ui/for-loop-while/loop-break-cont-1.rs diff --git a/src/test/run-pass/for-loop-while/loop-break-cont.rs b/src/test/ui/for-loop-while/loop-break-cont.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-break-cont.rs rename to src/test/ui/for-loop-while/loop-break-cont.rs diff --git a/src/test/run-pass/for-loop-while/loop-break-value.rs b/src/test/ui/for-loop-while/loop-break-value.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-break-value.rs rename to src/test/ui/for-loop-while/loop-break-value.rs diff --git a/src/test/run-pass/for-loop-while/loop-diverges.rs b/src/test/ui/for-loop-while/loop-diverges.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-diverges.rs rename to src/test/ui/for-loop-while/loop-diverges.rs diff --git a/src/test/run-pass/for-loop-while/loop-label-shadowing.rs b/src/test/ui/for-loop-while/loop-label-shadowing.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-label-shadowing.rs rename to src/test/ui/for-loop-while/loop-label-shadowing.rs diff --git a/src/test/run-pass/for-loop-while/loop-labeled-break-value.rs b/src/test/ui/for-loop-while/loop-labeled-break-value.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-labeled-break-value.rs rename to src/test/ui/for-loop-while/loop-labeled-break-value.rs diff --git a/src/test/run-pass/for-loop-while/loop-no-reinit-needed-post-bot.rs b/src/test/ui/for-loop-while/loop-no-reinit-needed-post-bot.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-no-reinit-needed-post-bot.rs rename to src/test/ui/for-loop-while/loop-no-reinit-needed-post-bot.rs diff --git a/src/test/run-pass/for-loop-while/loop-scope.rs b/src/test/ui/for-loop-while/loop-scope.rs similarity index 100% rename from src/test/run-pass/for-loop-while/loop-scope.rs rename to src/test/ui/for-loop-while/loop-scope.rs diff --git a/src/test/run-pass/for-loop-while/while-cont.rs b/src/test/ui/for-loop-while/while-cont.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-cont.rs rename to src/test/ui/for-loop-while/while-cont.rs diff --git a/src/test/run-pass/for-loop-while/while-flow-graph.rs b/src/test/ui/for-loop-while/while-flow-graph.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-flow-graph.rs rename to src/test/ui/for-loop-while/while-flow-graph.rs diff --git a/src/test/run-pass/for-loop-while/while-label.rs b/src/test/ui/for-loop-while/while-label.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-label.rs rename to src/test/ui/for-loop-while/while-label.rs diff --git a/src/test/run-pass/for-loop-while/while-let.rs b/src/test/ui/for-loop-while/while-let.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-let.rs rename to src/test/ui/for-loop-while/while-let.rs diff --git a/src/test/run-pass/for-loop-while/while-loop-constraints-2.rs b/src/test/ui/for-loop-while/while-loop-constraints-2.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-loop-constraints-2.rs rename to src/test/ui/for-loop-while/while-loop-constraints-2.rs diff --git a/src/test/run-pass/for-loop-while/while-prelude-drop.rs b/src/test/ui/for-loop-while/while-prelude-drop.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-prelude-drop.rs rename to src/test/ui/for-loop-while/while-prelude-drop.rs diff --git a/src/test/run-pass/for-loop-while/while-with-break.rs b/src/test/ui/for-loop-while/while-with-break.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while-with-break.rs rename to src/test/ui/for-loop-while/while-with-break.rs diff --git a/src/test/run-pass/for-loop-while/while.rs b/src/test/ui/for-loop-while/while.rs similarity index 100% rename from src/test/run-pass/for-loop-while/while.rs rename to src/test/ui/for-loop-while/while.rs diff --git a/src/test/run-pass/foreign/auxiliary/fn-abi.rs b/src/test/ui/foreign/auxiliary/fn-abi.rs similarity index 100% rename from src/test/run-pass/foreign/auxiliary/fn-abi.rs rename to src/test/ui/foreign/auxiliary/fn-abi.rs diff --git a/src/test/run-pass/foreign/auxiliary/foreign_lib.rs b/src/test/ui/foreign/auxiliary/foreign_lib.rs similarity index 100% rename from src/test/run-pass/foreign/auxiliary/foreign_lib.rs rename to src/test/ui/foreign/auxiliary/foreign_lib.rs diff --git a/src/test/run-pass/foreign/foreign-call-no-runtime.rs b/src/test/ui/foreign/foreign-call-no-runtime.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-call-no-runtime.rs rename to src/test/ui/foreign/foreign-call-no-runtime.rs diff --git a/src/test/run-pass/foreign/foreign-dupe.rs b/src/test/ui/foreign/foreign-dupe.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-dupe.rs rename to src/test/ui/foreign/foreign-dupe.rs diff --git a/src/test/run-pass/foreign/foreign-fn-linkname.rs b/src/test/ui/foreign/foreign-fn-linkname.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-fn-linkname.rs rename to src/test/ui/foreign/foreign-fn-linkname.rs diff --git a/src/test/run-pass/foreign/foreign-fn-with-byval.rs b/src/test/ui/foreign/foreign-fn-with-byval.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-fn-with-byval.rs rename to src/test/ui/foreign/foreign-fn-with-byval.rs diff --git a/src/test/run-pass/foreign/foreign-int-types.rs b/src/test/ui/foreign/foreign-int-types.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-int-types.rs rename to src/test/ui/foreign/foreign-int-types.rs diff --git a/src/test/run-pass/foreign/foreign-mod-src/compiletest-ignore-dir b/src/test/ui/foreign/foreign-mod-src/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/foreign/foreign-mod-src/compiletest-ignore-dir rename to src/test/ui/foreign/foreign-mod-src/compiletest-ignore-dir diff --git a/src/test/run-pass/foreign/foreign-mod-src/inner.rs b/src/test/ui/foreign/foreign-mod-src/inner.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-mod-src/inner.rs rename to src/test/ui/foreign/foreign-mod-src/inner.rs diff --git a/src/test/run-pass/foreign/foreign-mod-unused-const.rs b/src/test/ui/foreign/foreign-mod-unused-const.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-mod-unused-const.rs rename to src/test/ui/foreign/foreign-mod-unused-const.rs diff --git a/src/test/run-pass/foreign/foreign-no-abi.rs b/src/test/ui/foreign/foreign-no-abi.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-no-abi.rs rename to src/test/ui/foreign/foreign-no-abi.rs diff --git a/src/test/run-pass/foreign/foreign-src/compiletest-ignore-dir b/src/test/ui/foreign/foreign-src/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/foreign/foreign-src/compiletest-ignore-dir rename to src/test/ui/foreign/foreign-src/compiletest-ignore-dir diff --git a/src/test/run-pass/foreign/foreign-src/foreign.rs b/src/test/ui/foreign/foreign-src/foreign.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-src/foreign.rs rename to src/test/ui/foreign/foreign-src/foreign.rs diff --git a/src/test/run-pass/foreign/foreign-truncated-arguments.rs b/src/test/ui/foreign/foreign-truncated-arguments.rs similarity index 100% rename from src/test/run-pass/foreign/foreign-truncated-arguments.rs rename to src/test/ui/foreign/foreign-truncated-arguments.rs diff --git a/src/test/run-pass/foreign/foreign2.rs b/src/test/ui/foreign/foreign2.rs similarity index 100% rename from src/test/run-pass/foreign/foreign2.rs rename to src/test/ui/foreign/foreign2.rs diff --git a/src/test/run-pass/format-hygiene.rs b/src/test/ui/format-hygiene.rs similarity index 100% rename from src/test/run-pass/format-hygiene.rs rename to src/test/ui/format-hygiene.rs diff --git a/src/test/run-pass/format-nan.rs b/src/test/ui/format-nan.rs similarity index 100% rename from src/test/run-pass/format-nan.rs rename to src/test/ui/format-nan.rs diff --git a/src/test/run-pass/format-no-std.rs b/src/test/ui/format-no-std.rs similarity index 100% rename from src/test/run-pass/format-no-std.rs rename to src/test/ui/format-no-std.rs diff --git a/src/test/run-pass/format-ref-cell.rs b/src/test/ui/format-ref-cell.rs similarity index 100% rename from src/test/run-pass/format-ref-cell.rs rename to src/test/ui/format-ref-cell.rs diff --git a/src/test/run-pass/fsu-moves-and-copies.rs b/src/test/ui/fsu-moves-and-copies.rs similarity index 100% rename from src/test/run-pass/fsu-moves-and-copies.rs rename to src/test/ui/fsu-moves-and-copies.rs diff --git a/src/test/run-pass/fun-call-variants.rs b/src/test/ui/fun-call-variants.rs similarity index 100% rename from src/test/run-pass/fun-call-variants.rs rename to src/test/ui/fun-call-variants.rs diff --git a/src/test/run-pass/fun-indirect-call.rs b/src/test/ui/fun-indirect-call.rs similarity index 100% rename from src/test/run-pass/fun-indirect-call.rs rename to src/test/ui/fun-indirect-call.rs diff --git a/src/test/run-pass/functions-closures/auxiliary/fn-abi.rs b/src/test/ui/functions-closures/auxiliary/fn-abi.rs similarity index 100% rename from src/test/run-pass/functions-closures/auxiliary/fn-abi.rs rename to src/test/ui/functions-closures/auxiliary/fn-abi.rs diff --git a/src/test/run-pass/functions-closures/call-closure-from-overloaded-op.rs b/src/test/ui/functions-closures/call-closure-from-overloaded-op.rs similarity index 100% rename from src/test/run-pass/functions-closures/call-closure-from-overloaded-op.rs rename to src/test/ui/functions-closures/call-closure-from-overloaded-op.rs diff --git a/src/test/run-pass/functions-closures/capture-clauses-boxed-closures.rs b/src/test/ui/functions-closures/capture-clauses-boxed-closures.rs similarity index 100% rename from src/test/run-pass/functions-closures/capture-clauses-boxed-closures.rs rename to src/test/ui/functions-closures/capture-clauses-boxed-closures.rs diff --git a/src/test/run-pass/functions-closures/capture-clauses-unboxed-closures.rs b/src/test/ui/functions-closures/capture-clauses-unboxed-closures.rs similarity index 100% rename from src/test/run-pass/functions-closures/capture-clauses-unboxed-closures.rs rename to src/test/ui/functions-closures/capture-clauses-unboxed-closures.rs diff --git a/src/test/run-pass/functions-closures/clone-closure.rs b/src/test/ui/functions-closures/clone-closure.rs similarity index 100% rename from src/test/run-pass/functions-closures/clone-closure.rs rename to src/test/ui/functions-closures/clone-closure.rs diff --git a/src/test/run-pass/functions-closures/closure-bounds-can-capture-chan.rs b/src/test/ui/functions-closures/closure-bounds-can-capture-chan.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-bounds-can-capture-chan.rs rename to src/test/ui/functions-closures/closure-bounds-can-capture-chan.rs diff --git a/src/test/run-pass/functions-closures/closure-expected-type/README.md b/src/test/ui/functions-closures/closure-expected-type/README.md similarity index 100% rename from src/test/run-pass/functions-closures/closure-expected-type/README.md rename to src/test/ui/functions-closures/closure-expected-type/README.md diff --git a/src/test/run-pass/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs b/src/test/ui/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs rename to src/test/ui/functions-closures/closure-expected-type/expect-infer-supply-two-infers.rs diff --git a/src/test/run-pass/functions-closures/closure-expected-type/issue-38714.rs b/src/test/ui/functions-closures/closure-expected-type/issue-38714.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-expected-type/issue-38714.rs rename to src/test/ui/functions-closures/closure-expected-type/issue-38714.rs diff --git a/src/test/run-pass/functions-closures/closure-expected-type/supply-just-return-type.rs b/src/test/ui/functions-closures/closure-expected-type/supply-just-return-type.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-expected-type/supply-just-return-type.rs rename to src/test/ui/functions-closures/closure-expected-type/supply-just-return-type.rs diff --git a/src/test/run-pass/functions-closures/closure-expected-type/supply-nothing.rs b/src/test/ui/functions-closures/closure-expected-type/supply-nothing.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-expected-type/supply-nothing.rs rename to src/test/ui/functions-closures/closure-expected-type/supply-nothing.rs diff --git a/src/test/run-pass/functions-closures/closure-immediate.rs b/src/test/ui/functions-closures/closure-immediate.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-immediate.rs rename to src/test/ui/functions-closures/closure-immediate.rs diff --git a/src/test/run-pass/functions-closures/closure-inference.rs b/src/test/ui/functions-closures/closure-inference.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-inference.rs rename to src/test/ui/functions-closures/closure-inference.rs diff --git a/src/test/run-pass/functions-closures/closure-inference2.rs b/src/test/ui/functions-closures/closure-inference2.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-inference2.rs rename to src/test/ui/functions-closures/closure-inference2.rs diff --git a/src/test/run-pass/functions-closures/closure-reform.rs b/src/test/ui/functions-closures/closure-reform.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-reform.rs rename to src/test/ui/functions-closures/closure-reform.rs diff --git a/src/test/run-pass/functions-closures/closure-returning-closure.rs b/src/test/ui/functions-closures/closure-returning-closure.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-returning-closure.rs rename to src/test/ui/functions-closures/closure-returning-closure.rs diff --git a/src/test/run-pass/functions-closures/closure-to-fn-coercion.rs b/src/test/ui/functions-closures/closure-to-fn-coercion.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure-to-fn-coercion.rs rename to src/test/ui/functions-closures/closure-to-fn-coercion.rs diff --git a/src/test/run-pass/functions-closures/closure_to_fn_coercion-expected-types.rs b/src/test/ui/functions-closures/closure_to_fn_coercion-expected-types.rs similarity index 100% rename from src/test/run-pass/functions-closures/closure_to_fn_coercion-expected-types.rs rename to src/test/ui/functions-closures/closure_to_fn_coercion-expected-types.rs diff --git a/src/test/run-pass/functions-closures/copy-closure.rs b/src/test/ui/functions-closures/copy-closure.rs similarity index 100% rename from src/test/run-pass/functions-closures/copy-closure.rs rename to src/test/ui/functions-closures/copy-closure.rs diff --git a/src/test/run-pass/functions-closures/fn-abi.rs b/src/test/ui/functions-closures/fn-abi.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-abi.rs rename to src/test/ui/functions-closures/fn-abi.rs diff --git a/src/test/run-pass/functions-closures/fn-bare-assign.rs b/src/test/ui/functions-closures/fn-bare-assign.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-bare-assign.rs rename to src/test/ui/functions-closures/fn-bare-assign.rs diff --git a/src/test/run-pass/functions-closures/fn-bare-coerce-to-block.rs b/src/test/ui/functions-closures/fn-bare-coerce-to-block.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-bare-coerce-to-block.rs rename to src/test/ui/functions-closures/fn-bare-coerce-to-block.rs diff --git a/src/test/run-pass/functions-closures/fn-bare-item.rs b/src/test/ui/functions-closures/fn-bare-item.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-bare-item.rs rename to src/test/ui/functions-closures/fn-bare-item.rs diff --git a/src/test/run-pass/functions-closures/fn-bare-size.rs b/src/test/ui/functions-closures/fn-bare-size.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-bare-size.rs rename to src/test/ui/functions-closures/fn-bare-size.rs diff --git a/src/test/run-pass/functions-closures/fn-bare-spawn.rs b/src/test/ui/functions-closures/fn-bare-spawn.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-bare-spawn.rs rename to src/test/ui/functions-closures/fn-bare-spawn.rs diff --git a/src/test/run-pass/functions-closures/fn-coerce-field.rs b/src/test/ui/functions-closures/fn-coerce-field.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-coerce-field.rs rename to src/test/ui/functions-closures/fn-coerce-field.rs diff --git a/src/test/run-pass/functions-closures/fn-item-type-cast.rs b/src/test/ui/functions-closures/fn-item-type-cast.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-item-type-cast.rs rename to src/test/ui/functions-closures/fn-item-type-cast.rs diff --git a/src/test/run-pass/functions-closures/fn-item-type-coerce.rs b/src/test/ui/functions-closures/fn-item-type-coerce.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-item-type-coerce.rs rename to src/test/ui/functions-closures/fn-item-type-coerce.rs diff --git a/src/test/run-pass/functions-closures/fn-item-type-zero-sized.rs b/src/test/ui/functions-closures/fn-item-type-zero-sized.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-item-type-zero-sized.rs rename to src/test/ui/functions-closures/fn-item-type-zero-sized.rs diff --git a/src/test/run-pass/functions-closures/fn-lval.rs b/src/test/ui/functions-closures/fn-lval.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-lval.rs rename to src/test/ui/functions-closures/fn-lval.rs diff --git a/src/test/run-pass/functions-closures/fn-type-infer.rs b/src/test/ui/functions-closures/fn-type-infer.rs similarity index 100% rename from src/test/run-pass/functions-closures/fn-type-infer.rs rename to src/test/ui/functions-closures/fn-type-infer.rs diff --git a/src/test/run-pass/functions-closures/implied-bounds-closure-arg-outlives.rs b/src/test/ui/functions-closures/implied-bounds-closure-arg-outlives.rs similarity index 100% rename from src/test/run-pass/functions-closures/implied-bounds-closure-arg-outlives.rs rename to src/test/ui/functions-closures/implied-bounds-closure-arg-outlives.rs diff --git a/src/test/run-pass/functions-closures/nullable-pointer-opt-closures.rs b/src/test/ui/functions-closures/nullable-pointer-opt-closures.rs similarity index 100% rename from src/test/run-pass/functions-closures/nullable-pointer-opt-closures.rs rename to src/test/ui/functions-closures/nullable-pointer-opt-closures.rs diff --git a/src/test/run-pass/functions-closures/parallel-codegen-closures.rs b/src/test/ui/functions-closures/parallel-codegen-closures.rs similarity index 100% rename from src/test/run-pass/functions-closures/parallel-codegen-closures.rs rename to src/test/ui/functions-closures/parallel-codegen-closures.rs diff --git a/src/test/run-pass/functions-closures/return-from-closure.rs b/src/test/ui/functions-closures/return-from-closure.rs similarity index 100% rename from src/test/run-pass/functions-closures/return-from-closure.rs rename to src/test/ui/functions-closures/return-from-closure.rs diff --git a/src/test/run-pass/generator/addassign-yield.rs b/src/test/ui/generator/addassign-yield.rs similarity index 100% rename from src/test/run-pass/generator/addassign-yield.rs rename to src/test/ui/generator/addassign-yield.rs diff --git a/src/test/run-pass/generator/auxiliary/xcrate-reachable.rs b/src/test/ui/generator/auxiliary/xcrate-reachable.rs similarity index 100% rename from src/test/run-pass/generator/auxiliary/xcrate-reachable.rs rename to src/test/ui/generator/auxiliary/xcrate-reachable.rs diff --git a/src/test/run-pass/generator/auxiliary/xcrate.rs b/src/test/ui/generator/auxiliary/xcrate.rs similarity index 100% rename from src/test/run-pass/generator/auxiliary/xcrate.rs rename to src/test/ui/generator/auxiliary/xcrate.rs diff --git a/src/test/run-pass/generator/borrow-in-tail-expr.rs b/src/test/ui/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/generator/borrow-in-tail-expr.rs diff --git a/src/test/run-pass/generator/conditional-drop.rs b/src/test/ui/generator/conditional-drop.rs similarity index 100% rename from src/test/run-pass/generator/conditional-drop.rs rename to src/test/ui/generator/conditional-drop.rs diff --git a/src/test/run-pass/generator/control-flow.rs b/src/test/ui/generator/control-flow.rs similarity index 100% rename from src/test/run-pass/generator/control-flow.rs rename to src/test/ui/generator/control-flow.rs diff --git a/src/test/run-pass/generator/drop-and-replace.rs b/src/test/ui/generator/drop-and-replace.rs similarity index 100% rename from src/test/run-pass/generator/drop-and-replace.rs rename to src/test/ui/generator/drop-and-replace.rs diff --git a/src/test/run-pass/generator/drop-env.rs b/src/test/ui/generator/drop-env.rs similarity index 100% rename from src/test/run-pass/generator/drop-env.rs rename to src/test/ui/generator/drop-env.rs diff --git a/src/test/run-pass/generator/issue-44197.rs b/src/test/ui/generator/issue-44197.rs similarity index 100% rename from src/test/run-pass/generator/issue-44197.rs rename to src/test/ui/generator/issue-44197.rs diff --git a/src/test/run-pass/generator/issue-52398.rs b/src/test/ui/generator/issue-52398.rs similarity index 100% rename from src/test/run-pass/generator/issue-52398.rs rename to src/test/ui/generator/issue-52398.rs diff --git a/src/test/run-pass/generator/issue-57084.rs b/src/test/ui/generator/issue-57084.rs similarity index 100% rename from src/test/run-pass/generator/issue-57084.rs rename to src/test/ui/generator/issue-57084.rs diff --git a/src/test/run-pass/generator/issue-58888.rs b/src/test/ui/generator/issue-58888.rs similarity index 100% rename from src/test/run-pass/generator/issue-58888.rs rename to src/test/ui/generator/issue-58888.rs diff --git a/src/test/run-pass/generator/iterator-count.rs b/src/test/ui/generator/iterator-count.rs similarity index 100% rename from src/test/run-pass/generator/iterator-count.rs rename to src/test/ui/generator/iterator-count.rs diff --git a/src/test/run-pass/generator/live-upvar-across-yield.rs b/src/test/ui/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/generator/live-upvar-across-yield.rs diff --git a/src/test/run-pass/generator/match-bindings.rs b/src/test/ui/generator/match-bindings.rs similarity index 100% rename from src/test/run-pass/generator/match-bindings.rs rename to src/test/ui/generator/match-bindings.rs diff --git a/src/test/run-pass/generator/nested_generators.rs b/src/test/ui/generator/nested_generators.rs similarity index 100% rename from src/test/run-pass/generator/nested_generators.rs rename to src/test/ui/generator/nested_generators.rs diff --git a/src/test/run-pass/generator/non-static-is-unpin.rs b/src/test/ui/generator/non-static-is-unpin.rs similarity index 100% rename from src/test/run-pass/generator/non-static-is-unpin.rs rename to src/test/ui/generator/non-static-is-unpin.rs diff --git a/src/test/run-pass/generator/overlap-locals.rs b/src/test/ui/generator/overlap-locals.rs similarity index 100% rename from src/test/run-pass/generator/overlap-locals.rs rename to src/test/ui/generator/overlap-locals.rs diff --git a/src/test/run-pass/generator/panic-drops.rs b/src/test/ui/generator/panic-drops.rs similarity index 100% rename from src/test/run-pass/generator/panic-drops.rs rename to src/test/ui/generator/panic-drops.rs diff --git a/src/test/run-pass/generator/panic-safe.rs b/src/test/ui/generator/panic-safe.rs similarity index 100% rename from src/test/run-pass/generator/panic-safe.rs rename to src/test/ui/generator/panic-safe.rs diff --git a/src/test/run-pass/generator/pin-box-generator.rs b/src/test/ui/generator/pin-box-generator.rs similarity index 100% rename from src/test/run-pass/generator/pin-box-generator.rs rename to src/test/ui/generator/pin-box-generator.rs diff --git a/src/test/run-pass/generator/reborrow-mut-upvar.rs b/src/test/ui/generator/reborrow-mut-upvar.rs similarity index 100% rename from src/test/run-pass/generator/reborrow-mut-upvar.rs rename to src/test/ui/generator/reborrow-mut-upvar.rs diff --git a/src/test/run-pass/generator/resume-after-return.rs b/src/test/ui/generator/resume-after-return.rs similarity index 100% rename from src/test/run-pass/generator/resume-after-return.rs rename to src/test/ui/generator/resume-after-return.rs diff --git a/src/test/run-pass/generator/size-moved-locals.rs b/src/test/ui/generator/size-moved-locals.rs similarity index 100% rename from src/test/run-pass/generator/size-moved-locals.rs rename to src/test/ui/generator/size-moved-locals.rs diff --git a/src/test/run-pass/generator/smoke.rs b/src/test/ui/generator/smoke.rs similarity index 100% rename from src/test/run-pass/generator/smoke.rs rename to src/test/ui/generator/smoke.rs diff --git a/src/test/run-pass/generator/static-generators.rs b/src/test/ui/generator/static-generators.rs similarity index 100% rename from src/test/run-pass/generator/static-generators.rs rename to src/test/ui/generator/static-generators.rs diff --git a/src/test/run-pass/generator/too-live-local-in-immovable-gen.rs b/src/test/ui/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/generator/too-live-local-in-immovable-gen.rs diff --git a/src/test/run-pass/generator/xcrate-reachable.rs b/src/test/ui/generator/xcrate-reachable.rs similarity index 100% rename from src/test/run-pass/generator/xcrate-reachable.rs rename to src/test/ui/generator/xcrate-reachable.rs diff --git a/src/test/run-pass/generator/xcrate.rs b/src/test/ui/generator/xcrate.rs similarity index 100% rename from src/test/run-pass/generator/xcrate.rs rename to src/test/ui/generator/xcrate.rs diff --git a/src/test/run-pass/generator/yield-in-args-rev.rs b/src/test/ui/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/generator/yield-in-args-rev.rs diff --git a/src/test/run-pass/generator/yield-in-box.rs b/src/test/ui/generator/yield-in-box.rs similarity index 100% rename from src/test/run-pass/generator/yield-in-box.rs rename to src/test/ui/generator/yield-in-box.rs diff --git a/src/test/run-pass/generator/yield-in-initializer.rs b/src/test/ui/generator/yield-in-initializer.rs similarity index 100% rename from src/test/run-pass/generator/yield-in-initializer.rs rename to src/test/ui/generator/yield-in-initializer.rs diff --git a/src/test/run-pass/generator/yield-subtype.rs b/src/test/ui/generator/yield-subtype.rs similarity index 100% rename from src/test/run-pass/generator/yield-subtype.rs rename to src/test/ui/generator/yield-subtype.rs diff --git a/src/test/run-pass/generics/auxiliary/default_type_params_xc.rs b/src/test/ui/generics/auxiliary/default_type_params_xc.rs similarity index 100% rename from src/test/run-pass/generics/auxiliary/default_type_params_xc.rs rename to src/test/ui/generics/auxiliary/default_type_params_xc.rs diff --git a/src/test/run-pass/generics/generic-alias-unique.rs b/src/test/ui/generics/generic-alias-unique.rs similarity index 100% rename from src/test/run-pass/generics/generic-alias-unique.rs rename to src/test/ui/generics/generic-alias-unique.rs diff --git a/src/test/run-pass/generics/generic-default-type-params-cross-crate.rs b/src/test/ui/generics/generic-default-type-params-cross-crate.rs similarity index 100% rename from src/test/run-pass/generics/generic-default-type-params-cross-crate.rs rename to src/test/ui/generics/generic-default-type-params-cross-crate.rs diff --git a/src/test/run-pass/generics/generic-default-type-params.rs b/src/test/ui/generics/generic-default-type-params.rs similarity index 100% rename from src/test/run-pass/generics/generic-default-type-params.rs rename to src/test/ui/generics/generic-default-type-params.rs diff --git a/src/test/run-pass/generics/generic-derived-type.rs b/src/test/ui/generics/generic-derived-type.rs similarity index 100% rename from src/test/run-pass/generics/generic-derived-type.rs rename to src/test/ui/generics/generic-derived-type.rs diff --git a/src/test/run-pass/generics/generic-exterior-unique.rs b/src/test/ui/generics/generic-exterior-unique.rs similarity index 100% rename from src/test/run-pass/generics/generic-exterior-unique.rs rename to src/test/ui/generics/generic-exterior-unique.rs diff --git a/src/test/run-pass/generics/generic-extern-mangle.rs b/src/test/ui/generics/generic-extern-mangle.rs similarity index 100% rename from src/test/run-pass/generics/generic-extern-mangle.rs rename to src/test/ui/generics/generic-extern-mangle.rs diff --git a/src/test/run-pass/generics/generic-fn-infer.rs b/src/test/ui/generics/generic-fn-infer.rs similarity index 100% rename from src/test/run-pass/generics/generic-fn-infer.rs rename to src/test/ui/generics/generic-fn-infer.rs diff --git a/src/test/run-pass/generics/generic-fn-twice.rs b/src/test/ui/generics/generic-fn-twice.rs similarity index 100% rename from src/test/run-pass/generics/generic-fn-twice.rs rename to src/test/ui/generics/generic-fn-twice.rs diff --git a/src/test/run-pass/generics/generic-fn-unique.rs b/src/test/ui/generics/generic-fn-unique.rs similarity index 100% rename from src/test/run-pass/generics/generic-fn-unique.rs rename to src/test/ui/generics/generic-fn-unique.rs diff --git a/src/test/run-pass/generics/generic-fn.rs b/src/test/ui/generics/generic-fn.rs similarity index 100% rename from src/test/run-pass/generics/generic-fn.rs rename to src/test/ui/generics/generic-fn.rs diff --git a/src/test/run-pass/generics/generic-ivec-leak.rs b/src/test/ui/generics/generic-ivec-leak.rs similarity index 100% rename from src/test/run-pass/generics/generic-ivec-leak.rs rename to src/test/ui/generics/generic-ivec-leak.rs diff --git a/src/test/run-pass/generics/generic-newtype-struct.rs b/src/test/ui/generics/generic-newtype-struct.rs similarity index 100% rename from src/test/run-pass/generics/generic-newtype-struct.rs rename to src/test/ui/generics/generic-newtype-struct.rs diff --git a/src/test/run-pass/generics/generic-object.rs b/src/test/ui/generics/generic-object.rs similarity index 100% rename from src/test/run-pass/generics/generic-object.rs rename to src/test/ui/generics/generic-object.rs diff --git a/src/test/run-pass/generics/generic-recursive-tag.rs b/src/test/ui/generics/generic-recursive-tag.rs similarity index 100% rename from src/test/run-pass/generics/generic-recursive-tag.rs rename to src/test/ui/generics/generic-recursive-tag.rs diff --git a/src/test/run-pass/generics/generic-static-methods.rs b/src/test/ui/generics/generic-static-methods.rs similarity index 100% rename from src/test/run-pass/generics/generic-static-methods.rs rename to src/test/ui/generics/generic-static-methods.rs diff --git a/src/test/run-pass/generics/generic-tag-corruption.rs b/src/test/ui/generics/generic-tag-corruption.rs similarity index 100% rename from src/test/run-pass/generics/generic-tag-corruption.rs rename to src/test/ui/generics/generic-tag-corruption.rs diff --git a/src/test/run-pass/generics/generic-tag-local.rs b/src/test/ui/generics/generic-tag-local.rs similarity index 100% rename from src/test/run-pass/generics/generic-tag-local.rs rename to src/test/ui/generics/generic-tag-local.rs diff --git a/src/test/run-pass/generics/generic-tag-match.rs b/src/test/ui/generics/generic-tag-match.rs similarity index 100% rename from src/test/run-pass/generics/generic-tag-match.rs rename to src/test/ui/generics/generic-tag-match.rs diff --git a/src/test/run-pass/generics/generic-tag-values.rs b/src/test/ui/generics/generic-tag-values.rs similarity index 100% rename from src/test/run-pass/generics/generic-tag-values.rs rename to src/test/ui/generics/generic-tag-values.rs diff --git a/src/test/run-pass/generics/generic-tag.rs b/src/test/ui/generics/generic-tag.rs similarity index 100% rename from src/test/run-pass/generics/generic-tag.rs rename to src/test/ui/generics/generic-tag.rs diff --git a/src/test/run-pass/generics/generic-temporary.rs b/src/test/ui/generics/generic-temporary.rs similarity index 100% rename from src/test/run-pass/generics/generic-temporary.rs rename to src/test/ui/generics/generic-temporary.rs diff --git a/src/test/run-pass/generics/generic-tup.rs b/src/test/ui/generics/generic-tup.rs similarity index 100% rename from src/test/run-pass/generics/generic-tup.rs rename to src/test/ui/generics/generic-tup.rs diff --git a/src/test/run-pass/generics/generic-type-synonym.rs b/src/test/ui/generics/generic-type-synonym.rs similarity index 100% rename from src/test/run-pass/generics/generic-type-synonym.rs rename to src/test/ui/generics/generic-type-synonym.rs diff --git a/src/test/run-pass/generics/generic-type.rs b/src/test/ui/generics/generic-type.rs similarity index 100% rename from src/test/run-pass/generics/generic-type.rs rename to src/test/ui/generics/generic-type.rs diff --git a/src/test/run-pass/generics/generic-unique.rs b/src/test/ui/generics/generic-unique.rs similarity index 100% rename from src/test/run-pass/generics/generic-unique.rs rename to src/test/ui/generics/generic-unique.rs diff --git a/src/test/run-pass/global-scope.rs b/src/test/ui/global-scope.rs similarity index 100% rename from src/test/run-pass/global-scope.rs rename to src/test/ui/global-scope.rs diff --git a/src/test/run-pass/guards-not-exhaustive.rs b/src/test/ui/guards-not-exhaustive.rs similarity index 100% rename from src/test/run-pass/guards-not-exhaustive.rs rename to src/test/ui/guards-not-exhaustive.rs diff --git a/src/test/run-pass/guards.rs b/src/test/ui/guards.rs similarity index 100% rename from src/test/run-pass/guards.rs rename to src/test/ui/guards.rs diff --git a/src/test/run-pass/hashmap-memory.rs b/src/test/ui/hashmap-memory.rs similarity index 100% rename from src/test/run-pass/hashmap-memory.rs rename to src/test/ui/hashmap-memory.rs diff --git a/src/test/run-pass/hello.rs b/src/test/ui/hello.rs similarity index 100% rename from src/test/run-pass/hello.rs rename to src/test/ui/hello.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-binder-levels-in-object-types.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-debruijn-object-types-in-closures.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-fn-like-trait-object.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-fn-like-trait.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-fn-like-trait.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-fn-like-trait.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-opt-in-copy.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-opt-in-copy.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-opt-in-copy.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-opt-in-copy.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-parse.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-parse.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-parse.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-parse.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-precedence-of-plus-where-clause.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-precedence-of-plus.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-resolve-lifetime.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-trait-object-paren-notation.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-trait-object-passed-to-closure.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-type-outlives.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-type-outlives.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-type-outlives.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-type-outlives.rs diff --git a/src/test/run-pass/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs b/src/test/ui/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs similarity index 100% rename from src/test/run-pass/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs rename to src/test/ui/higher-rank-trait-bounds/hrtb-unboxed-closure-trait.rs diff --git a/src/test/run-pass/html-literals.rs b/src/test/ui/html-literals.rs similarity index 100% rename from src/test/run-pass/html-literals.rs rename to src/test/ui/html-literals.rs diff --git a/src/test/run-pass/if-bot.rs b/src/test/ui/if-bot.rs similarity index 100% rename from src/test/run-pass/if-bot.rs rename to src/test/ui/if-bot.rs diff --git a/src/test/run-pass/if-check.rs b/src/test/ui/if-check.rs similarity index 100% rename from src/test/run-pass/if-check.rs rename to src/test/ui/if-check.rs diff --git a/src/test/run-pass/if-ret.rs b/src/test/ui/if-ret.rs similarity index 100% rename from src/test/run-pass/if-ret.rs rename to src/test/ui/if-ret.rs diff --git a/src/test/run-pass/ifmt.rs b/src/test/ui/ifmt.rs similarity index 100% rename from src/test/run-pass/ifmt.rs rename to src/test/ui/ifmt.rs diff --git a/src/test/run-pass/ignore-all-the-things.rs b/src/test/ui/ignore-all-the-things.rs similarity index 100% rename from src/test/run-pass/ignore-all-the-things.rs rename to src/test/ui/ignore-all-the-things.rs diff --git a/src/test/run-pass/impl-for-never.rs b/src/test/ui/impl-for-never.rs similarity index 100% rename from src/test/run-pass/impl-for-never.rs rename to src/test/ui/impl-for-never.rs diff --git a/src/test/run-pass/impl-inherent-non-conflict.rs b/src/test/ui/impl-inherent-non-conflict.rs similarity index 100% rename from src/test/run-pass/impl-inherent-non-conflict.rs rename to src/test/ui/impl-inherent-non-conflict.rs diff --git a/src/test/run-pass/impl-not-adjacent-to-type.rs b/src/test/ui/impl-not-adjacent-to-type.rs similarity index 100% rename from src/test/run-pass/impl-not-adjacent-to-type.rs rename to src/test/ui/impl-not-adjacent-to-type.rs diff --git a/src/test/run-pass/impl-privacy-xc-1.rs b/src/test/ui/impl-privacy-xc-1.rs similarity index 100% rename from src/test/run-pass/impl-privacy-xc-1.rs rename to src/test/ui/impl-privacy-xc-1.rs diff --git a/src/test/run-pass/impl-privacy-xc-2.rs b/src/test/ui/impl-privacy-xc-2.rs similarity index 100% rename from src/test/run-pass/impl-privacy-xc-2.rs rename to src/test/ui/impl-privacy-xc-2.rs diff --git a/src/test/run-pass/impl-trait-in-bindings.rs b/src/test/ui/impl-trait-in-bindings.rs similarity index 100% rename from src/test/run-pass/impl-trait-in-bindings.rs rename to src/test/ui/impl-trait-in-bindings.rs diff --git a/src/test/run-pass/impl-trait-in-bindings.stderr b/src/test/ui/impl-trait-in-bindings.stderr similarity index 100% rename from src/test/run-pass/impl-trait-in-bindings.stderr rename to src/test/ui/impl-trait-in-bindings.stderr diff --git a/src/test/run-pass/impl-trait/auxiliary/xcrate.rs b/src/test/ui/impl-trait/auxiliary/xcrate.rs similarity index 100% rename from src/test/run-pass/impl-trait/auxiliary/xcrate.rs rename to src/test/ui/impl-trait/auxiliary/xcrate.rs diff --git a/src/test/run-pass/impl-trait/bounds_regression.rs b/src/test/ui/impl-trait/bounds_regression.rs similarity index 100% rename from src/test/run-pass/impl-trait/bounds_regression.rs rename to src/test/ui/impl-trait/bounds_regression.rs diff --git a/src/test/run-pass/impl-trait/example-calendar.rs b/src/test/ui/impl-trait/example-calendar.rs similarity index 100% rename from src/test/run-pass/impl-trait/example-calendar.rs rename to src/test/ui/impl-trait/example-calendar.rs diff --git a/src/test/run-pass/impl-trait/example-st.rs b/src/test/ui/impl-trait/example-st.rs similarity index 100% rename from src/test/run-pass/impl-trait/example-st.rs rename to src/test/ui/impl-trait/example-st.rs diff --git a/src/test/run-pass/impl-trait/lifetimes.rs b/src/test/ui/impl-trait/lifetimes.rs similarity index 100% rename from src/test/run-pass/impl-trait/lifetimes.rs rename to src/test/ui/impl-trait/lifetimes.rs diff --git a/src/test/run-pass/impl-trait/nesting.rs b/src/test/ui/impl-trait/nesting.rs similarity index 100% rename from src/test/run-pass/impl-trait/nesting.rs rename to src/test/ui/impl-trait/nesting.rs diff --git a/src/test/run-pass/impl-trait/universal_hrtb_anon.rs b/src/test/ui/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/impl-trait/universal_hrtb_anon.rs diff --git a/src/test/run-pass/impl-trait/universal_hrtb_named.rs b/src/test/ui/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/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/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/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/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/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/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/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/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/impl-trait/universal_multiple_bounds.rs diff --git a/src/test/run-pass/impl-trait/xcrate.rs b/src/test/ui/impl-trait/xcrate.rs similarity index 100% rename from src/test/run-pass/impl-trait/xcrate.rs rename to src/test/ui/impl-trait/xcrate.rs diff --git a/src/test/run-pass/impl-trait/xcrate_simple.rs b/src/test/ui/impl-trait/xcrate_simple.rs similarity index 100% rename from src/test/run-pass/impl-trait/xcrate_simple.rs rename to src/test/ui/impl-trait/xcrate_simple.rs diff --git a/src/test/run-pass/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans.rs b/src/test/ui/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans.rs similarity index 100% rename from src/test/run-pass/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans.rs rename to src/test/ui/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans.rs diff --git a/src/test/run-pass/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans_macros.rs b/src/test/ui/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans_macros.rs similarity index 100% rename from src/test/run-pass/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans_macros.rs rename to src/test/ui/imports/import-crate-with-invalid-spans/auxiliary/crate_with_invalid_spans_macros.rs diff --git a/src/test/run-pass/imports/import-crate-with-invalid-spans/main.rs b/src/test/ui/imports/import-crate-with-invalid-spans/main.rs similarity index 100% rename from src/test/run-pass/imports/import-crate-with-invalid-spans/main.rs rename to src/test/ui/imports/import-crate-with-invalid-spans/main.rs diff --git a/src/test/run-pass/imports/import-from.rs b/src/test/ui/imports/import-from.rs similarity index 100% rename from src/test/run-pass/imports/import-from.rs rename to src/test/ui/imports/import-from.rs diff --git a/src/test/run-pass/imports/import-glob-1.rs b/src/test/ui/imports/import-glob-1.rs similarity index 100% rename from src/test/run-pass/imports/import-glob-1.rs rename to src/test/ui/imports/import-glob-1.rs diff --git a/src/test/run-pass/imports/import-glob-crate.rs b/src/test/ui/imports/import-glob-crate.rs similarity index 100% rename from src/test/run-pass/imports/import-glob-crate.rs rename to src/test/ui/imports/import-glob-crate.rs diff --git a/src/test/run-pass/imports/import-in-block.rs b/src/test/ui/imports/import-in-block.rs similarity index 100% rename from src/test/run-pass/imports/import-in-block.rs rename to src/test/ui/imports/import-in-block.rs diff --git a/src/test/run-pass/imports/import-prefix-macro.rs b/src/test/ui/imports/import-prefix-macro.rs similarity index 100% rename from src/test/run-pass/imports/import-prefix-macro.rs rename to src/test/ui/imports/import-prefix-macro.rs diff --git a/src/test/run-pass/imports/import-rename.rs b/src/test/ui/imports/import-rename.rs similarity index 100% rename from src/test/run-pass/imports/import-rename.rs rename to src/test/ui/imports/import-rename.rs diff --git a/src/test/run-pass/imports/import-trailing-comma.rs b/src/test/ui/imports/import-trailing-comma.rs similarity index 100% rename from src/test/run-pass/imports/import-trailing-comma.rs rename to src/test/ui/imports/import-trailing-comma.rs diff --git a/src/test/run-pass/imports/import.rs b/src/test/ui/imports/import.rs similarity index 100% rename from src/test/run-pass/imports/import.rs rename to src/test/ui/imports/import.rs diff --git a/src/test/run-pass/imports/import2.rs b/src/test/ui/imports/import2.rs similarity index 100% rename from src/test/run-pass/imports/import2.rs rename to src/test/ui/imports/import2.rs diff --git a/src/test/run-pass/imports/import3.rs b/src/test/ui/imports/import3.rs similarity index 100% rename from src/test/run-pass/imports/import3.rs rename to src/test/ui/imports/import3.rs diff --git a/src/test/run-pass/imports/import4.rs b/src/test/ui/imports/import4.rs similarity index 100% rename from src/test/run-pass/imports/import4.rs rename to src/test/ui/imports/import4.rs diff --git a/src/test/run-pass/imports/import5.rs b/src/test/ui/imports/import5.rs similarity index 100% rename from src/test/run-pass/imports/import5.rs rename to src/test/ui/imports/import5.rs diff --git a/src/test/run-pass/imports/import6.rs b/src/test/ui/imports/import6.rs similarity index 100% rename from src/test/run-pass/imports/import6.rs rename to src/test/ui/imports/import6.rs diff --git a/src/test/run-pass/imports/import7.rs b/src/test/ui/imports/import7.rs similarity index 100% rename from src/test/run-pass/imports/import7.rs rename to src/test/ui/imports/import7.rs diff --git a/src/test/run-pass/imports/import8.rs b/src/test/ui/imports/import8.rs similarity index 100% rename from src/test/run-pass/imports/import8.rs rename to src/test/ui/imports/import8.rs diff --git a/src/test/run-pass/imports/imports.rs b/src/test/ui/imports/imports.rs similarity index 100% rename from src/test/run-pass/imports/imports.rs rename to src/test/ui/imports/imports.rs diff --git a/src/test/run-pass/in-band-lifetimes.rs b/src/test/ui/in-band-lifetimes.rs similarity index 100% rename from src/test/run-pass/in-band-lifetimes.rs rename to src/test/ui/in-band-lifetimes.rs diff --git a/src/test/run-pass/inc-range-pat.rs b/src/test/ui/inc-range-pat.rs similarity index 100% rename from src/test/run-pass/inc-range-pat.rs rename to src/test/ui/inc-range-pat.rs diff --git a/src/test/run-pass/infer-fn-tail-expr.rs b/src/test/ui/infer-fn-tail-expr.rs similarity index 100% rename from src/test/run-pass/infer-fn-tail-expr.rs rename to src/test/ui/infer-fn-tail-expr.rs diff --git a/src/test/run-pass/inherit-env.rs b/src/test/ui/inherit-env.rs similarity index 100% rename from src/test/run-pass/inherit-env.rs rename to src/test/ui/inherit-env.rs diff --git a/src/test/run-pass/init-large-type.rs b/src/test/ui/init-large-type.rs similarity index 100% rename from src/test/run-pass/init-large-type.rs rename to src/test/ui/init-large-type.rs diff --git a/src/test/run-pass/init-res-into-things.rs b/src/test/ui/init-res-into-things.rs similarity index 100% rename from src/test/run-pass/init-res-into-things.rs rename to src/test/ui/init-res-into-things.rs diff --git a/src/test/run-pass/inlined-main.rs b/src/test/ui/inlined-main.rs similarity index 100% rename from src/test/run-pass/inlined-main.rs rename to src/test/ui/inlined-main.rs diff --git a/src/test/run-pass/inner-attrs-on-impl.rs b/src/test/ui/inner-attrs-on-impl.rs similarity index 100% rename from src/test/run-pass/inner-attrs-on-impl.rs rename to src/test/ui/inner-attrs-on-impl.rs diff --git a/src/test/run-pass/inner-module.rs b/src/test/ui/inner-module.rs similarity index 100% rename from src/test/run-pass/inner-module.rs rename to src/test/ui/inner-module.rs diff --git a/src/test/run-pass/inner-static.rs b/src/test/ui/inner-static.rs similarity index 100% rename from src/test/run-pass/inner-static.rs rename to src/test/ui/inner-static.rs diff --git a/src/test/run-pass/instantiable.rs b/src/test/ui/instantiable.rs similarity index 100% rename from src/test/run-pass/instantiable.rs rename to src/test/ui/instantiable.rs diff --git a/src/test/run-pass/intrinsics/auxiliary/cci_intrinsic.rs b/src/test/ui/intrinsics/auxiliary/cci_intrinsic.rs similarity index 100% rename from src/test/run-pass/intrinsics/auxiliary/cci_intrinsic.rs rename to src/test/ui/intrinsics/auxiliary/cci_intrinsic.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-alignment.rs b/src/test/ui/intrinsics/intrinsic-alignment.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-alignment.rs rename to src/test/ui/intrinsics/intrinsic-alignment.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-assume.rs b/src/test/ui/intrinsics/intrinsic-assume.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-assume.rs rename to src/test/ui/intrinsics/intrinsic-assume.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-atomics-cc.rs b/src/test/ui/intrinsics/intrinsic-atomics-cc.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-atomics-cc.rs rename to src/test/ui/intrinsics/intrinsic-atomics-cc.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-atomics.rs b/src/test/ui/intrinsics/intrinsic-atomics.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-atomics.rs rename to src/test/ui/intrinsics/intrinsic-atomics.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-move-val-cleanups.rs b/src/test/ui/intrinsics/intrinsic-move-val-cleanups.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-move-val-cleanups.rs rename to src/test/ui/intrinsics/intrinsic-move-val-cleanups.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-move-val.rs b/src/test/ui/intrinsics/intrinsic-move-val.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-move-val.rs rename to src/test/ui/intrinsics/intrinsic-move-val.rs diff --git a/src/test/run-pass/intrinsics/intrinsic-unreachable.rs b/src/test/ui/intrinsics/intrinsic-unreachable.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsic-unreachable.rs rename to src/test/ui/intrinsics/intrinsic-unreachable.rs diff --git a/src/test/run-pass/intrinsics/intrinsics-integer.rs b/src/test/ui/intrinsics/intrinsics-integer.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsics-integer.rs rename to src/test/ui/intrinsics/intrinsics-integer.rs diff --git a/src/test/run-pass/intrinsics/intrinsics-math.rs b/src/test/ui/intrinsics/intrinsics-math.rs similarity index 100% rename from src/test/run-pass/intrinsics/intrinsics-math.rs rename to src/test/ui/intrinsics/intrinsics-math.rs diff --git a/src/test/run-pass/invalid_const_promotion.rs b/src/test/ui/invalid_const_promotion.rs similarity index 100% rename from src/test/run-pass/invalid_const_promotion.rs rename to src/test/ui/invalid_const_promotion.rs diff --git a/src/test/run-pass/invoke-external-foreign.rs b/src/test/ui/invoke-external-foreign.rs similarity index 100% rename from src/test/run-pass/invoke-external-foreign.rs rename to src/test/ui/invoke-external-foreign.rs diff --git a/src/test/run-pass/irrefutable-unit.rs b/src/test/ui/irrefutable-unit.rs similarity index 100% rename from src/test/run-pass/irrefutable-unit.rs rename to src/test/ui/irrefutable-unit.rs diff --git a/src/test/run-pass/issue-59020.rs b/src/test/ui/issue-59020.rs similarity index 100% rename from src/test/run-pass/issue-59020.rs rename to src/test/ui/issue-59020.rs diff --git a/src/test/run-pass/issues/.gitattributes b/src/test/ui/issues/.gitattributes similarity index 100% rename from src/test/run-pass/issues/.gitattributes rename to src/test/ui/issues/.gitattributes diff --git a/src/test/run-pass/issues/auxiliary/cgu_test.rs b/src/test/ui/issues/auxiliary/cgu_test.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/cgu_test.rs rename to src/test/ui/issues/auxiliary/cgu_test.rs diff --git a/src/test/run-pass/issues/auxiliary/cgu_test_a.rs b/src/test/ui/issues/auxiliary/cgu_test_a.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/cgu_test_a.rs rename to src/test/ui/issues/auxiliary/cgu_test_a.rs diff --git a/src/test/run-pass/issues/auxiliary/cgu_test_b.rs b/src/test/ui/issues/auxiliary/cgu_test_b.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/cgu_test_b.rs rename to src/test/ui/issues/auxiliary/cgu_test_b.rs diff --git a/src/test/run-pass/issues/auxiliary/i8.rs b/src/test/ui/issues/auxiliary/i8.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/i8.rs rename to src/test/ui/issues/auxiliary/i8.rs diff --git a/src/test/run-pass/issues/auxiliary/iss.rs b/src/test/ui/issues/auxiliary/iss.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/iss.rs rename to src/test/ui/issues/auxiliary/iss.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-10028.rs b/src/test/ui/issues/auxiliary/issue-10028.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-10028.rs rename to src/test/ui/issues/auxiliary/issue-10028.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-10031-aux.rs b/src/test/ui/issues/auxiliary/issue-10031-aux.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-10031-aux.rs rename to src/test/ui/issues/auxiliary/issue-10031-aux.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-11224.rs b/src/test/ui/issues/auxiliary/issue-11224.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-11224.rs rename to src/test/ui/issues/auxiliary/issue-11224.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-11225-1.rs b/src/test/ui/issues/auxiliary/issue-11225-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-11225-1.rs rename to src/test/ui/issues/auxiliary/issue-11225-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-11225-2.rs b/src/test/ui/issues/auxiliary/issue-11225-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-11225-2.rs rename to src/test/ui/issues/auxiliary/issue-11225-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-11225-3.rs b/src/test/ui/issues/auxiliary/issue-11225-3.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-11225-3.rs rename to src/test/ui/issues/auxiliary/issue-11225-3.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-11508.rs b/src/test/ui/issues/auxiliary/issue-11508.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-11508.rs rename to src/test/ui/issues/auxiliary/issue-11508.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-11529.rs b/src/test/ui/issues/auxiliary/issue-11529.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-11529.rs rename to src/test/ui/issues/auxiliary/issue-11529.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-12133-dylib.rs b/src/test/ui/issues/auxiliary/issue-12133-dylib.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-12133-dylib.rs rename to src/test/ui/issues/auxiliary/issue-12133-dylib.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-12133-dylib2.rs b/src/test/ui/issues/auxiliary/issue-12133-dylib2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-12133-dylib2.rs rename to src/test/ui/issues/auxiliary/issue-12133-dylib2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-12133-rlib.rs b/src/test/ui/issues/auxiliary/issue-12133-rlib.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-12133-rlib.rs rename to src/test/ui/issues/auxiliary/issue-12133-rlib.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-12612-1.rs b/src/test/ui/issues/auxiliary/issue-12612-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-12612-1.rs rename to src/test/ui/issues/auxiliary/issue-12612-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-12612-2.rs b/src/test/ui/issues/auxiliary/issue-12612-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-12612-2.rs rename to src/test/ui/issues/auxiliary/issue-12612-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-12660-aux.rs b/src/test/ui/issues/auxiliary/issue-12660-aux.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-12660-aux.rs rename to src/test/ui/issues/auxiliary/issue-12660-aux.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-13507.rs b/src/test/ui/issues/auxiliary/issue-13507.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-13507.rs rename to src/test/ui/issues/auxiliary/issue-13507.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-13620-1.rs b/src/test/ui/issues/auxiliary/issue-13620-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-13620-1.rs rename to src/test/ui/issues/auxiliary/issue-13620-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-13620-2.rs b/src/test/ui/issues/auxiliary/issue-13620-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-13620-2.rs rename to src/test/ui/issues/auxiliary/issue-13620-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-13872-1.rs b/src/test/ui/issues/auxiliary/issue-13872-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-13872-1.rs rename to src/test/ui/issues/auxiliary/issue-13872-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-13872-2.rs b/src/test/ui/issues/auxiliary/issue-13872-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-13872-2.rs rename to src/test/ui/issues/auxiliary/issue-13872-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-13872-3.rs b/src/test/ui/issues/auxiliary/issue-13872-3.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-13872-3.rs rename to src/test/ui/issues/auxiliary/issue-13872-3.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-14344-1.rs b/src/test/ui/issues/auxiliary/issue-14344-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-14344-1.rs rename to src/test/ui/issues/auxiliary/issue-14344-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-14344-2.rs b/src/test/ui/issues/auxiliary/issue-14344-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-14344-2.rs rename to src/test/ui/issues/auxiliary/issue-14344-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-14421.rs b/src/test/ui/issues/auxiliary/issue-14421.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-14421.rs rename to src/test/ui/issues/auxiliary/issue-14421.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-14422.rs b/src/test/ui/issues/auxiliary/issue-14422.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-14422.rs rename to src/test/ui/issues/auxiliary/issue-14422.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-15562.rs b/src/test/ui/issues/auxiliary/issue-15562.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-15562.rs rename to src/test/ui/issues/auxiliary/issue-15562.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-16643.rs b/src/test/ui/issues/auxiliary/issue-16643.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-16643.rs rename to src/test/ui/issues/auxiliary/issue-16643.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-17662.rs b/src/test/ui/issues/auxiliary/issue-17662.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-17662.rs rename to src/test/ui/issues/auxiliary/issue-17662.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-17718-aux.rs b/src/test/ui/issues/auxiliary/issue-17718-aux.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-17718-aux.rs rename to src/test/ui/issues/auxiliary/issue-17718-aux.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-18501.rs b/src/test/ui/issues/auxiliary/issue-18501.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-18501.rs rename to src/test/ui/issues/auxiliary/issue-18501.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-18514.rs b/src/test/ui/issues/auxiliary/issue-18514.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-18514.rs rename to src/test/ui/issues/auxiliary/issue-18514.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-18711.rs b/src/test/ui/issues/auxiliary/issue-18711.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-18711.rs rename to src/test/ui/issues/auxiliary/issue-18711.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-18913-1.rs b/src/test/ui/issues/auxiliary/issue-18913-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-18913-1.rs rename to src/test/ui/issues/auxiliary/issue-18913-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-18913-2.rs b/src/test/ui/issues/auxiliary/issue-18913-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-18913-2.rs rename to src/test/ui/issues/auxiliary/issue-18913-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-19293.rs b/src/test/ui/issues/auxiliary/issue-19293.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-19293.rs rename to src/test/ui/issues/auxiliary/issue-19293.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-19340-1.rs b/src/test/ui/issues/auxiliary/issue-19340-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-19340-1.rs rename to src/test/ui/issues/auxiliary/issue-19340-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-20389.rs b/src/test/ui/issues/auxiliary/issue-20389.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-20389.rs rename to src/test/ui/issues/auxiliary/issue-20389.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2170-lib.rs b/src/test/ui/issues/auxiliary/issue-2170-lib.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2170-lib.rs rename to src/test/ui/issues/auxiliary/issue-2170-lib.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2316-a.rs b/src/test/ui/issues/auxiliary/issue-2316-a.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2316-a.rs rename to src/test/ui/issues/auxiliary/issue-2316-a.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2316-b.rs b/src/test/ui/issues/auxiliary/issue-2316-b.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2316-b.rs rename to src/test/ui/issues/auxiliary/issue-2316-b.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2380.rs b/src/test/ui/issues/auxiliary/issue-2380.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2380.rs rename to src/test/ui/issues/auxiliary/issue-2380.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2414-a.rs b/src/test/ui/issues/auxiliary/issue-2414-a.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2414-a.rs rename to src/test/ui/issues/auxiliary/issue-2414-a.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2414-b.rs b/src/test/ui/issues/auxiliary/issue-2414-b.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2414-b.rs rename to src/test/ui/issues/auxiliary/issue-2414-b.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2472-b.rs b/src/test/ui/issues/auxiliary/issue-2472-b.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2472-b.rs rename to src/test/ui/issues/auxiliary/issue-2472-b.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-25185-1.rs b/src/test/ui/issues/auxiliary/issue-25185-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-25185-1.rs rename to src/test/ui/issues/auxiliary/issue-25185-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-25185-2.rs b/src/test/ui/issues/auxiliary/issue-25185-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-25185-2.rs rename to src/test/ui/issues/auxiliary/issue-25185-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2526.rs b/src/test/ui/issues/auxiliary/issue-2526.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2526.rs rename to src/test/ui/issues/auxiliary/issue-2526.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-25467.rs b/src/test/ui/issues/auxiliary/issue-25467.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-25467.rs rename to src/test/ui/issues/auxiliary/issue-25467.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2631-a.rs b/src/test/ui/issues/auxiliary/issue-2631-a.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2631-a.rs rename to src/test/ui/issues/auxiliary/issue-2631-a.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-2723-a.rs b/src/test/ui/issues/auxiliary/issue-2723-a.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-2723-a.rs rename to src/test/ui/issues/auxiliary/issue-2723-a.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-29485.rs b/src/test/ui/issues/auxiliary/issue-29485.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-29485.rs rename to src/test/ui/issues/auxiliary/issue-29485.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-3012-1.rs b/src/test/ui/issues/auxiliary/issue-3012-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-3012-1.rs rename to src/test/ui/issues/auxiliary/issue-3012-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-3136-a.rc b/src/test/ui/issues/auxiliary/issue-3136-a.rc similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-3136-a.rc rename to src/test/ui/issues/auxiliary/issue-3136-a.rc diff --git a/src/test/run-pass/issues/auxiliary/issue-3136-a.rs b/src/test/ui/issues/auxiliary/issue-3136-a.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-3136-a.rs rename to src/test/ui/issues/auxiliary/issue-3136-a.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-31702-1.rs b/src/test/ui/issues/auxiliary/issue-31702-1.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-31702-1.rs rename to src/test/ui/issues/auxiliary/issue-31702-1.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-31702-2.rs b/src/test/ui/issues/auxiliary/issue-31702-2.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-31702-2.rs rename to src/test/ui/issues/auxiliary/issue-31702-2.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-34796-aux.rs b/src/test/ui/issues/auxiliary/issue-34796-aux.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-34796-aux.rs rename to src/test/ui/issues/auxiliary/issue-34796-aux.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-36954.rs b/src/test/ui/issues/auxiliary/issue-36954.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-36954.rs rename to src/test/ui/issues/auxiliary/issue-36954.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-38190.rs b/src/test/ui/issues/auxiliary/issue-38190.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-38190.rs rename to src/test/ui/issues/auxiliary/issue-38190.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-38226-aux.rs b/src/test/ui/issues/auxiliary/issue-38226-aux.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-38226-aux.rs rename to src/test/ui/issues/auxiliary/issue-38226-aux.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-38715-modern.rs b/src/test/ui/issues/auxiliary/issue-38715-modern.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-38715-modern.rs rename to src/test/ui/issues/auxiliary/issue-38715-modern.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-38715.rs b/src/test/ui/issues/auxiliary/issue-38715.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-38715.rs rename to src/test/ui/issues/auxiliary/issue-38715.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-3979-traits.rs b/src/test/ui/issues/auxiliary/issue-3979-traits.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-3979-traits.rs rename to src/test/ui/issues/auxiliary/issue-3979-traits.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-39823.rs b/src/test/ui/issues/auxiliary/issue-39823.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-39823.rs rename to src/test/ui/issues/auxiliary/issue-39823.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-40469.rs b/src/test/ui/issues/auxiliary/issue-40469.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-40469.rs rename to src/test/ui/issues/auxiliary/issue-40469.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-41053.rs b/src/test/ui/issues/auxiliary/issue-41053.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-41053.rs rename to src/test/ui/issues/auxiliary/issue-41053.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-41394.rs b/src/test/ui/issues/auxiliary/issue-41394.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-41394.rs rename to src/test/ui/issues/auxiliary/issue-41394.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-42007-s.rs b/src/test/ui/issues/auxiliary/issue-42007-s.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-42007-s.rs rename to src/test/ui/issues/auxiliary/issue-42007-s.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-4208-cc.rs b/src/test/ui/issues/auxiliary/issue-4208-cc.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-4208-cc.rs rename to src/test/ui/issues/auxiliary/issue-4208-cc.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-4545.rs b/src/test/ui/issues/auxiliary/issue-4545.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-4545.rs rename to src/test/ui/issues/auxiliary/issue-4545.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-48984-aux.rs b/src/test/ui/issues/auxiliary/issue-48984-aux.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-48984-aux.rs rename to src/test/ui/issues/auxiliary/issue-48984-aux.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-5518.rs b/src/test/ui/issues/auxiliary/issue-5518.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-5518.rs rename to src/test/ui/issues/auxiliary/issue-5518.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-5521.rs b/src/test/ui/issues/auxiliary/issue-5521.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-5521.rs rename to src/test/ui/issues/auxiliary/issue-5521.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-7178.rs b/src/test/ui/issues/auxiliary/issue-7178.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-7178.rs rename to src/test/ui/issues/auxiliary/issue-7178.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-7899.rs b/src/test/ui/issues/auxiliary/issue-7899.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-7899.rs rename to src/test/ui/issues/auxiliary/issue-7899.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-8044.rs b/src/test/ui/issues/auxiliary/issue-8044.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-8044.rs rename to src/test/ui/issues/auxiliary/issue-8044.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-8259.rs b/src/test/ui/issues/auxiliary/issue-8259.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-8259.rs rename to src/test/ui/issues/auxiliary/issue-8259.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-8401.rs b/src/test/ui/issues/auxiliary/issue-8401.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-8401.rs rename to src/test/ui/issues/auxiliary/issue-8401.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-9123.rs b/src/test/ui/issues/auxiliary/issue-9123.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-9123.rs rename to src/test/ui/issues/auxiliary/issue-9123.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-9155.rs b/src/test/ui/issues/auxiliary/issue-9155.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-9155.rs rename to src/test/ui/issues/auxiliary/issue-9155.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-9188.rs b/src/test/ui/issues/auxiliary/issue-9188.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-9188.rs rename to src/test/ui/issues/auxiliary/issue-9188.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-9906.rs b/src/test/ui/issues/auxiliary/issue-9906.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-9906.rs rename to src/test/ui/issues/auxiliary/issue-9906.rs diff --git a/src/test/run-pass/issues/auxiliary/issue-9968.rs b/src/test/ui/issues/auxiliary/issue-9968.rs similarity index 100% rename from src/test/run-pass/issues/auxiliary/issue-9968.rs rename to src/test/ui/issues/auxiliary/issue-9968.rs diff --git a/src/test/run-pass/issues/issue-10025.rs b/src/test/ui/issues/issue-10025.rs similarity index 100% rename from src/test/run-pass/issues/issue-10025.rs rename to src/test/ui/issues/issue-10025.rs diff --git a/src/test/run-pass/issues/issue-10028.rs b/src/test/ui/issues/issue-10028.rs similarity index 100% rename from src/test/run-pass/issues/issue-10028.rs rename to src/test/ui/issues/issue-10028.rs diff --git a/src/test/run-pass/issues/issue-10031.rs b/src/test/ui/issues/issue-10031.rs similarity index 100% rename from src/test/run-pass/issues/issue-10031.rs rename to src/test/ui/issues/issue-10031.rs diff --git a/src/test/run-pass/issues/issue-10228.rs b/src/test/ui/issues/issue-10228.rs similarity index 100% rename from src/test/run-pass/issues/issue-10228.rs rename to src/test/ui/issues/issue-10228.rs diff --git a/src/test/run-pass/issues/issue-10392.rs b/src/test/ui/issues/issue-10392.rs similarity index 100% rename from src/test/run-pass/issues/issue-10392.rs rename to src/test/ui/issues/issue-10392.rs diff --git a/src/test/run-pass/issues/issue-10436.rs b/src/test/ui/issues/issue-10436.rs similarity index 100% rename from src/test/run-pass/issues/issue-10436.rs rename to src/test/ui/issues/issue-10436.rs diff --git a/src/test/run-pass/issues/issue-10626.rs b/src/test/ui/issues/issue-10626.rs similarity index 100% rename from src/test/run-pass/issues/issue-10626.rs rename to src/test/ui/issues/issue-10626.rs diff --git a/src/test/run-pass/issues/issue-10638.rs b/src/test/ui/issues/issue-10638.rs similarity index 100% rename from src/test/run-pass/issues/issue-10638.rs rename to src/test/ui/issues/issue-10638.rs diff --git a/src/test/run-pass/issues/issue-10682.rs b/src/test/ui/issues/issue-10682.rs similarity index 100% rename from src/test/run-pass/issues/issue-10682.rs rename to src/test/ui/issues/issue-10682.rs diff --git a/src/test/run-pass/issues/issue-10683.rs b/src/test/ui/issues/issue-10683.rs similarity index 100% rename from src/test/run-pass/issues/issue-10683.rs rename to src/test/ui/issues/issue-10683.rs diff --git a/src/test/run-pass/issues/issue-10718.rs b/src/test/ui/issues/issue-10718.rs similarity index 100% rename from src/test/run-pass/issues/issue-10718.rs rename to src/test/ui/issues/issue-10718.rs diff --git a/src/test/run-pass/issues/issue-10734.rs b/src/test/ui/issues/issue-10734.rs similarity index 100% rename from src/test/run-pass/issues/issue-10734.rs rename to src/test/ui/issues/issue-10734.rs diff --git a/src/test/run-pass/issues/issue-10767.rs b/src/test/ui/issues/issue-10767.rs similarity index 100% rename from src/test/run-pass/issues/issue-10767.rs rename to src/test/ui/issues/issue-10767.rs diff --git a/src/test/run-pass/issues/issue-10802.rs b/src/test/ui/issues/issue-10802.rs similarity index 100% rename from src/test/run-pass/issues/issue-10802.rs rename to src/test/ui/issues/issue-10802.rs diff --git a/src/test/run-pass/issues/issue-10806.rs b/src/test/ui/issues/issue-10806.rs similarity index 100% rename from src/test/run-pass/issues/issue-10806.rs rename to src/test/ui/issues/issue-10806.rs diff --git a/src/test/run-pass/issues/issue-11047.rs b/src/test/ui/issues/issue-11047.rs similarity index 100% rename from src/test/run-pass/issues/issue-11047.rs rename to src/test/ui/issues/issue-11047.rs diff --git a/src/test/run-pass/issues/issue-11085.rs b/src/test/ui/issues/issue-11085.rs similarity index 100% rename from src/test/run-pass/issues/issue-11085.rs rename to src/test/ui/issues/issue-11085.rs diff --git a/src/test/run-pass/issues/issue-1112.rs b/src/test/ui/issues/issue-1112.rs similarity index 100% rename from src/test/run-pass/issues/issue-1112.rs rename to src/test/ui/issues/issue-1112.rs diff --git a/src/test/run-pass/issues/issue-11205.rs b/src/test/ui/issues/issue-11205.rs similarity index 100% rename from src/test/run-pass/issues/issue-11205.rs rename to src/test/ui/issues/issue-11205.rs diff --git a/src/test/run-pass/issues/issue-11224.rs b/src/test/ui/issues/issue-11224.rs similarity index 100% rename from src/test/run-pass/issues/issue-11224.rs rename to src/test/ui/issues/issue-11224.rs diff --git a/src/test/run-pass/issues/issue-11225-1.rs b/src/test/ui/issues/issue-11225-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-11225-1.rs rename to src/test/ui/issues/issue-11225-1.rs diff --git a/src/test/run-pass/issues/issue-11225-2.rs b/src/test/ui/issues/issue-11225-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-11225-2.rs rename to src/test/ui/issues/issue-11225-2.rs diff --git a/src/test/run-pass/issues/issue-11225-3.rs b/src/test/ui/issues/issue-11225-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-11225-3.rs rename to src/test/ui/issues/issue-11225-3.rs diff --git a/src/test/run-pass/issues/issue-11267.rs b/src/test/ui/issues/issue-11267.rs similarity index 100% rename from src/test/run-pass/issues/issue-11267.rs rename to src/test/ui/issues/issue-11267.rs diff --git a/src/test/run-pass/issues/issue-11382.rs b/src/test/ui/issues/issue-11382.rs similarity index 100% rename from src/test/run-pass/issues/issue-11382.rs rename to src/test/ui/issues/issue-11382.rs diff --git a/src/test/run-pass/issues/issue-11508.rs b/src/test/ui/issues/issue-11508.rs similarity index 100% rename from src/test/run-pass/issues/issue-11508.rs rename to src/test/ui/issues/issue-11508.rs diff --git a/src/test/run-pass/issues/issue-11529.rs b/src/test/ui/issues/issue-11529.rs similarity index 100% rename from src/test/run-pass/issues/issue-11529.rs rename to src/test/ui/issues/issue-11529.rs diff --git a/src/test/run-pass/issues/issue-11552.rs b/src/test/ui/issues/issue-11552.rs similarity index 100% rename from src/test/run-pass/issues/issue-11552.rs rename to src/test/ui/issues/issue-11552.rs diff --git a/src/test/run-pass/issues/issue-11577.rs b/src/test/ui/issues/issue-11577.rs similarity index 100% rename from src/test/run-pass/issues/issue-11577.rs rename to src/test/ui/issues/issue-11577.rs diff --git a/src/test/run-pass/issues/issue-11677.rs b/src/test/ui/issues/issue-11677.rs similarity index 100% rename from src/test/run-pass/issues/issue-11677.rs rename to src/test/ui/issues/issue-11677.rs diff --git a/src/test/run-pass/issues/issue-11709.rs b/src/test/ui/issues/issue-11709.rs similarity index 100% rename from src/test/run-pass/issues/issue-11709.rs rename to src/test/ui/issues/issue-11709.rs diff --git a/src/test/run-pass/issues/issue-11820.rs b/src/test/ui/issues/issue-11820.rs similarity index 100% rename from src/test/run-pass/issues/issue-11820.rs rename to src/test/ui/issues/issue-11820.rs diff --git a/src/test/run-pass/issues/issue-11940.rs b/src/test/ui/issues/issue-11940.rs similarity index 100% rename from src/test/run-pass/issues/issue-11940.rs rename to src/test/ui/issues/issue-11940.rs diff --git a/src/test/run-pass/issues/issue-11958.rs b/src/test/ui/issues/issue-11958.rs similarity index 100% rename from src/test/run-pass/issues/issue-11958.rs rename to src/test/ui/issues/issue-11958.rs diff --git a/src/test/run-pass/issues/issue-12033.rs b/src/test/ui/issues/issue-12033.rs similarity index 100% rename from src/test/run-pass/issues/issue-12033.rs rename to src/test/ui/issues/issue-12033.rs diff --git a/src/test/run-pass/issues/issue-12133-1.rs b/src/test/ui/issues/issue-12133-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-12133-1.rs rename to src/test/ui/issues/issue-12133-1.rs diff --git a/src/test/run-pass/issues/issue-12133-2.rs b/src/test/ui/issues/issue-12133-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-12133-2.rs rename to src/test/ui/issues/issue-12133-2.rs diff --git a/src/test/run-pass/issues/issue-12133-3.rs b/src/test/ui/issues/issue-12133-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-12133-3.rs rename to src/test/ui/issues/issue-12133-3.rs diff --git a/src/test/run-pass/issues/issue-12285.rs b/src/test/ui/issues/issue-12285.rs similarity index 100% rename from src/test/run-pass/issues/issue-12285.rs rename to src/test/ui/issues/issue-12285.rs diff --git a/src/test/run-pass/issues/issue-1257.rs b/src/test/ui/issues/issue-1257.rs similarity index 100% rename from src/test/run-pass/issues/issue-1257.rs rename to src/test/ui/issues/issue-1257.rs diff --git a/src/test/run-pass/issues/issue-12582.rs b/src/test/ui/issues/issue-12582.rs similarity index 100% rename from src/test/run-pass/issues/issue-12582.rs rename to src/test/ui/issues/issue-12582.rs diff --git a/src/test/run-pass/issues/issue-12612.rs b/src/test/ui/issues/issue-12612.rs similarity index 100% rename from src/test/run-pass/issues/issue-12612.rs rename to src/test/ui/issues/issue-12612.rs diff --git a/src/test/run-pass/issues/issue-12660.rs b/src/test/ui/issues/issue-12660.rs similarity index 100% rename from src/test/run-pass/issues/issue-12660.rs rename to src/test/ui/issues/issue-12660.rs diff --git a/src/test/run-pass/issues/issue-12677.rs b/src/test/ui/issues/issue-12677.rs similarity index 100% rename from src/test/run-pass/issues/issue-12677.rs rename to src/test/ui/issues/issue-12677.rs diff --git a/src/test/run-pass/issues/issue-12699.rs b/src/test/ui/issues/issue-12699.rs similarity index 100% rename from src/test/run-pass/issues/issue-12699.rs rename to src/test/ui/issues/issue-12699.rs diff --git a/src/test/run-pass/issues/issue-12744.rs b/src/test/ui/issues/issue-12744.rs similarity index 100% rename from src/test/run-pass/issues/issue-12744.rs rename to src/test/ui/issues/issue-12744.rs diff --git a/src/test/run-pass/issues/issue-12860.rs b/src/test/ui/issues/issue-12860.rs similarity index 100% rename from src/test/run-pass/issues/issue-12860.rs rename to src/test/ui/issues/issue-12860.rs diff --git a/src/test/run-pass/issues/issue-12909.rs b/src/test/ui/issues/issue-12909.rs similarity index 100% rename from src/test/run-pass/issues/issue-12909.rs rename to src/test/ui/issues/issue-12909.rs diff --git a/src/test/run-pass/issues/issue-13027.rs b/src/test/ui/issues/issue-13027.rs similarity index 100% rename from src/test/run-pass/issues/issue-13027.rs rename to src/test/ui/issues/issue-13027.rs diff --git a/src/test/run-pass/issues/issue-13204.rs b/src/test/ui/issues/issue-13204.rs similarity index 100% rename from src/test/run-pass/issues/issue-13204.rs rename to src/test/ui/issues/issue-13204.rs diff --git a/src/test/run-pass/issues/issue-13259-windows-tcb-trash.rs b/src/test/ui/issues/issue-13259-windows-tcb-trash.rs similarity index 100% rename from src/test/run-pass/issues/issue-13259-windows-tcb-trash.rs rename to src/test/ui/issues/issue-13259-windows-tcb-trash.rs diff --git a/src/test/run-pass/issues/issue-13264.rs b/src/test/ui/issues/issue-13264.rs similarity index 100% rename from src/test/run-pass/issues/issue-13264.rs rename to src/test/ui/issues/issue-13264.rs diff --git a/src/test/run-pass/issues/issue-13304.rs b/src/test/ui/issues/issue-13304.rs similarity index 100% rename from src/test/run-pass/issues/issue-13304.rs rename to src/test/ui/issues/issue-13304.rs diff --git a/src/test/run-pass/issues/issue-13323.rs b/src/test/ui/issues/issue-13323.rs similarity index 100% rename from src/test/run-pass/issues/issue-13323.rs rename to src/test/ui/issues/issue-13323.rs diff --git a/src/test/run-pass/issues/issue-13434.rs b/src/test/ui/issues/issue-13434.rs similarity index 100% rename from src/test/run-pass/issues/issue-13434.rs rename to src/test/ui/issues/issue-13434.rs diff --git a/src/test/run-pass/issues/issue-13507-2.rs b/src/test/ui/issues/issue-13507-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-13507-2.rs rename to src/test/ui/issues/issue-13507-2.rs diff --git a/src/test/run-pass/issues/issue-13620.rs b/src/test/ui/issues/issue-13620.rs similarity index 100% rename from src/test/run-pass/issues/issue-13620.rs rename to src/test/ui/issues/issue-13620.rs diff --git a/src/test/run-pass/issues/issue-13655.rs b/src/test/ui/issues/issue-13655.rs similarity index 100% rename from src/test/run-pass/issues/issue-13655.rs rename to src/test/ui/issues/issue-13655.rs diff --git a/src/test/run-pass/issues/issue-13665.rs b/src/test/ui/issues/issue-13665.rs similarity index 100% rename from src/test/run-pass/issues/issue-13665.rs rename to src/test/ui/issues/issue-13665.rs diff --git a/src/test/run-pass/issues/issue-13763.rs b/src/test/ui/issues/issue-13763.rs similarity index 100% rename from src/test/run-pass/issues/issue-13763.rs rename to src/test/ui/issues/issue-13763.rs diff --git a/src/test/run-pass/issues/issue-13808.rs b/src/test/ui/issues/issue-13808.rs similarity index 100% rename from src/test/run-pass/issues/issue-13808.rs rename to src/test/ui/issues/issue-13808.rs diff --git a/src/test/run-pass/issues/issue-13867.rs b/src/test/ui/issues/issue-13867.rs similarity index 100% rename from src/test/run-pass/issues/issue-13867.rs rename to src/test/ui/issues/issue-13867.rs diff --git a/src/test/run-pass/issues/issue-13872.rs b/src/test/ui/issues/issue-13872.rs similarity index 100% rename from src/test/run-pass/issues/issue-13872.rs rename to src/test/ui/issues/issue-13872.rs diff --git a/src/test/run-pass/issues/issue-13902.rs b/src/test/ui/issues/issue-13902.rs similarity index 100% rename from src/test/run-pass/issues/issue-13902.rs rename to src/test/ui/issues/issue-13902.rs diff --git a/src/test/run-pass/issues/issue-14229.rs b/src/test/ui/issues/issue-14229.rs similarity index 100% rename from src/test/run-pass/issues/issue-14229.rs rename to src/test/ui/issues/issue-14229.rs diff --git a/src/test/run-pass/issues/issue-14308.rs b/src/test/ui/issues/issue-14308.rs similarity index 100% rename from src/test/run-pass/issues/issue-14308.rs rename to src/test/ui/issues/issue-14308.rs diff --git a/src/test/run-pass/issues/issue-14344.rs b/src/test/ui/issues/issue-14344.rs similarity index 100% rename from src/test/run-pass/issues/issue-14344.rs rename to src/test/ui/issues/issue-14344.rs diff --git a/src/test/run-pass/issues/issue-14382.rs b/src/test/ui/issues/issue-14382.rs similarity index 100% rename from src/test/run-pass/issues/issue-14382.rs rename to src/test/ui/issues/issue-14382.rs diff --git a/src/test/run-pass/issues/issue-14393.rs b/src/test/ui/issues/issue-14393.rs similarity index 100% rename from src/test/run-pass/issues/issue-14393.rs rename to src/test/ui/issues/issue-14393.rs diff --git a/src/test/run-pass/issues/issue-14399.rs b/src/test/ui/issues/issue-14399.rs similarity index 100% rename from src/test/run-pass/issues/issue-14399.rs rename to src/test/ui/issues/issue-14399.rs diff --git a/src/test/run-pass/issues/issue-14421.rs b/src/test/ui/issues/issue-14421.rs similarity index 100% rename from src/test/run-pass/issues/issue-14421.rs rename to src/test/ui/issues/issue-14421.rs diff --git a/src/test/run-pass/issues/issue-14422.rs b/src/test/ui/issues/issue-14422.rs similarity index 100% rename from src/test/run-pass/issues/issue-14422.rs rename to src/test/ui/issues/issue-14422.rs diff --git a/src/test/run-pass/issues/issue-14456.rs b/src/test/ui/issues/issue-14456.rs similarity index 100% rename from src/test/run-pass/issues/issue-14456.rs rename to src/test/ui/issues/issue-14456.rs diff --git a/src/test/run-pass/issues/issue-1451.rs b/src/test/ui/issues/issue-1451.rs similarity index 100% rename from src/test/run-pass/issues/issue-1451.rs rename to src/test/ui/issues/issue-1451.rs diff --git a/src/test/run-pass/issues/issue-14589.rs b/src/test/ui/issues/issue-14589.rs similarity index 100% rename from src/test/run-pass/issues/issue-14589.rs rename to src/test/ui/issues/issue-14589.rs diff --git a/src/test/run-pass/issues/issue-1460.rs b/src/test/ui/issues/issue-1460.rs similarity index 100% rename from src/test/run-pass/issues/issue-1460.rs rename to src/test/ui/issues/issue-1460.rs diff --git a/src/test/run-pass/issues/issue-14821.rs b/src/test/ui/issues/issue-14821.rs similarity index 100% rename from src/test/run-pass/issues/issue-14821.rs rename to src/test/ui/issues/issue-14821.rs diff --git a/src/test/run-pass/issues/issue-14865.rs b/src/test/ui/issues/issue-14865.rs similarity index 100% rename from src/test/run-pass/issues/issue-14865.rs rename to src/test/ui/issues/issue-14865.rs diff --git a/src/test/run-pass/issues/issue-14875.rs b/src/test/ui/issues/issue-14875.rs similarity index 100% rename from src/test/run-pass/issues/issue-14875.rs rename to src/test/ui/issues/issue-14875.rs diff --git a/src/test/run-pass/issues/issue-14919.rs b/src/test/ui/issues/issue-14919.rs similarity index 100% rename from src/test/run-pass/issues/issue-14919.rs rename to src/test/ui/issues/issue-14919.rs diff --git a/src/test/run-pass/issues/issue-14940.rs b/src/test/ui/issues/issue-14940.rs similarity index 100% rename from src/test/run-pass/issues/issue-14940.rs rename to src/test/ui/issues/issue-14940.rs diff --git a/src/test/run-pass/issues/issue-14958.rs b/src/test/ui/issues/issue-14958.rs similarity index 100% rename from src/test/run-pass/issues/issue-14958.rs rename to src/test/ui/issues/issue-14958.rs diff --git a/src/test/run-pass/issues/issue-15043.rs b/src/test/ui/issues/issue-15043.rs similarity index 100% rename from src/test/run-pass/issues/issue-15043.rs rename to src/test/ui/issues/issue-15043.rs diff --git a/src/test/run-pass/issues/issue-15063.rs b/src/test/ui/issues/issue-15063.rs similarity index 100% rename from src/test/run-pass/issues/issue-15063.rs rename to src/test/ui/issues/issue-15063.rs diff --git a/src/test/run-pass/issues/issue-15080.rs b/src/test/ui/issues/issue-15080.rs similarity index 100% rename from src/test/run-pass/issues/issue-15080.rs rename to src/test/ui/issues/issue-15080.rs diff --git a/src/test/run-pass/issues/issue-15104.rs b/src/test/ui/issues/issue-15104.rs similarity index 100% rename from src/test/run-pass/issues/issue-15104.rs rename to src/test/ui/issues/issue-15104.rs diff --git a/src/test/run-pass/issues/issue-15155.rs b/src/test/ui/issues/issue-15155.rs similarity index 100% rename from src/test/run-pass/issues/issue-15155.rs rename to src/test/ui/issues/issue-15155.rs diff --git a/src/test/run-pass/issues/issue-15189.rs b/src/test/ui/issues/issue-15189.rs similarity index 100% rename from src/test/run-pass/issues/issue-15189.rs rename to src/test/ui/issues/issue-15189.rs diff --git a/src/test/run-pass/issues/issue-15221.rs b/src/test/ui/issues/issue-15221.rs similarity index 100% rename from src/test/run-pass/issues/issue-15221.rs rename to src/test/ui/issues/issue-15221.rs diff --git a/src/test/run-pass/issues/issue-15444.rs b/src/test/ui/issues/issue-15444.rs similarity index 100% rename from src/test/run-pass/issues/issue-15444.rs rename to src/test/ui/issues/issue-15444.rs diff --git a/src/test/run-pass/issues/issue-15487.rs b/src/test/ui/issues/issue-15487.rs similarity index 100% rename from src/test/run-pass/issues/issue-15487.rs rename to src/test/ui/issues/issue-15487.rs diff --git a/src/test/run-pass/issues/issue-15523-big.rs b/src/test/ui/issues/issue-15523-big.rs similarity index 100% rename from src/test/run-pass/issues/issue-15523-big.rs rename to src/test/ui/issues/issue-15523-big.rs diff --git a/src/test/run-pass/issues/issue-15523.rs b/src/test/ui/issues/issue-15523.rs similarity index 100% rename from src/test/run-pass/issues/issue-15523.rs rename to src/test/ui/issues/issue-15523.rs diff --git a/src/test/run-pass/issues/issue-15562.rs b/src/test/ui/issues/issue-15562.rs similarity index 100% rename from src/test/run-pass/issues/issue-15562.rs rename to src/test/ui/issues/issue-15562.rs diff --git a/src/test/run-pass/issues/issue-15571.rs b/src/test/ui/issues/issue-15571.rs similarity index 100% rename from src/test/run-pass/issues/issue-15571.rs rename to src/test/ui/issues/issue-15571.rs diff --git a/src/test/run-pass/issues/issue-15673.rs b/src/test/ui/issues/issue-15673.rs similarity index 100% rename from src/test/run-pass/issues/issue-15673.rs rename to src/test/ui/issues/issue-15673.rs diff --git a/src/test/run-pass/issues/issue-15689-1.rs b/src/test/ui/issues/issue-15689-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-15689-1.rs rename to src/test/ui/issues/issue-15689-1.rs diff --git a/src/test/run-pass/issues/issue-15730.rs b/src/test/ui/issues/issue-15730.rs similarity index 100% rename from src/test/run-pass/issues/issue-15730.rs rename to src/test/ui/issues/issue-15730.rs diff --git a/src/test/run-pass/issues/issue-15734.rs b/src/test/ui/issues/issue-15734.rs similarity index 100% rename from src/test/run-pass/issues/issue-15734.rs rename to src/test/ui/issues/issue-15734.rs diff --git a/src/test/run-pass/issues/issue-15763.rs b/src/test/ui/issues/issue-15763.rs similarity index 100% rename from src/test/run-pass/issues/issue-15763.rs rename to src/test/ui/issues/issue-15763.rs diff --git a/src/test/run-pass/issues/issue-15774.rs b/src/test/ui/issues/issue-15774.rs similarity index 100% rename from src/test/run-pass/issues/issue-15774.rs rename to src/test/ui/issues/issue-15774.rs diff --git a/src/test/run-pass/issues/issue-15793.rs b/src/test/ui/issues/issue-15793.rs similarity index 100% rename from src/test/run-pass/issues/issue-15793.rs rename to src/test/ui/issues/issue-15793.rs diff --git a/src/test/run-pass/issues/issue-15858.rs b/src/test/ui/issues/issue-15858.rs similarity index 100% rename from src/test/run-pass/issues/issue-15858.rs rename to src/test/ui/issues/issue-15858.rs diff --git a/src/test/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs b/src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs similarity index 100% rename from src/test/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs rename to src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs diff --git a/src/test/run-pass/issues/issue-16151.rs b/src/test/ui/issues/issue-16151.rs similarity index 100% rename from src/test/run-pass/issues/issue-16151.rs rename to src/test/ui/issues/issue-16151.rs diff --git a/src/test/run-pass/issues/issue-16256.rs b/src/test/ui/issues/issue-16256.rs similarity index 100% rename from src/test/run-pass/issues/issue-16256.rs rename to src/test/ui/issues/issue-16256.rs diff --git a/src/test/run-pass/issues/issue-16272.rs b/src/test/ui/issues/issue-16272.rs similarity index 100% rename from src/test/run-pass/issues/issue-16272.rs rename to src/test/ui/issues/issue-16272.rs diff --git a/src/test/run-pass/issues/issue-16278.rs b/src/test/ui/issues/issue-16278.rs similarity index 100% rename from src/test/run-pass/issues/issue-16278.rs rename to src/test/ui/issues/issue-16278.rs diff --git a/src/test/run-pass/issues/issue-16441.rs b/src/test/ui/issues/issue-16441.rs similarity index 100% rename from src/test/run-pass/issues/issue-16441.rs rename to src/test/ui/issues/issue-16441.rs diff --git a/src/test/run-pass/issues/issue-16452.rs b/src/test/ui/issues/issue-16452.rs similarity index 100% rename from src/test/run-pass/issues/issue-16452.rs rename to src/test/ui/issues/issue-16452.rs diff --git a/src/test/run-pass/issues/issue-16492.rs b/src/test/ui/issues/issue-16492.rs similarity index 100% rename from src/test/run-pass/issues/issue-16492.rs rename to src/test/ui/issues/issue-16492.rs diff --git a/src/test/run-pass/issues/issue-16530.rs b/src/test/ui/issues/issue-16530.rs similarity index 100% rename from src/test/run-pass/issues/issue-16530.rs rename to src/test/ui/issues/issue-16530.rs diff --git a/src/test/run-pass/issues/issue-16560.rs b/src/test/ui/issues/issue-16560.rs similarity index 100% rename from src/test/run-pass/issues/issue-16560.rs rename to src/test/ui/issues/issue-16560.rs diff --git a/src/test/run-pass/issues/issue-16597-empty.rs b/src/test/ui/issues/issue-16597-empty.rs similarity index 100% rename from src/test/run-pass/issues/issue-16597-empty.rs rename to src/test/ui/issues/issue-16597-empty.rs diff --git a/src/test/run-pass/issues/issue-16597.rs b/src/test/ui/issues/issue-16597.rs similarity index 100% rename from src/test/run-pass/issues/issue-16597.rs rename to src/test/ui/issues/issue-16597.rs diff --git a/src/test/run-pass/issues/issue-1660.rs b/src/test/ui/issues/issue-1660.rs similarity index 100% rename from src/test/run-pass/issues/issue-1660.rs rename to src/test/ui/issues/issue-1660.rs diff --git a/src/test/run-pass/issues/issue-16602-1.rs b/src/test/ui/issues/issue-16602-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-16602-1.rs rename to src/test/ui/issues/issue-16602-1.rs diff --git a/src/test/run-pass/issues/issue-16602-2.rs b/src/test/ui/issues/issue-16602-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-16602-2.rs rename to src/test/ui/issues/issue-16602-2.rs diff --git a/src/test/run-pass/issues/issue-16602-3.rs b/src/test/ui/issues/issue-16602-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-16602-3.rs rename to src/test/ui/issues/issue-16602-3.rs diff --git a/src/test/run-pass/issues/issue-16643.rs b/src/test/ui/issues/issue-16643.rs similarity index 100% rename from src/test/run-pass/issues/issue-16643.rs rename to src/test/ui/issues/issue-16643.rs diff --git a/src/test/run-pass/issues/issue-16648.rs b/src/test/ui/issues/issue-16648.rs similarity index 100% rename from src/test/run-pass/issues/issue-16648.rs rename to src/test/ui/issues/issue-16648.rs diff --git a/src/test/run-pass/issues/issue-16671.rs b/src/test/ui/issues/issue-16671.rs similarity index 100% rename from src/test/run-pass/issues/issue-16671.rs rename to src/test/ui/issues/issue-16671.rs diff --git a/src/test/run-pass/issues/issue-16739.rs b/src/test/ui/issues/issue-16739.rs similarity index 100% rename from src/test/run-pass/issues/issue-16739.rs rename to src/test/ui/issues/issue-16739.rs diff --git a/src/test/run-pass/issues/issue-16745.rs b/src/test/ui/issues/issue-16745.rs similarity index 100% rename from src/test/run-pass/issues/issue-16745.rs rename to src/test/ui/issues/issue-16745.rs diff --git a/src/test/run-pass/issues/issue-16774.rs b/src/test/ui/issues/issue-16774.rs similarity index 100% rename from src/test/run-pass/issues/issue-16774.rs rename to src/test/ui/issues/issue-16774.rs diff --git a/src/test/run-pass/issues/issue-16783.rs b/src/test/ui/issues/issue-16783.rs similarity index 100% rename from src/test/run-pass/issues/issue-16783.rs rename to src/test/ui/issues/issue-16783.rs diff --git a/src/test/run-pass/issues/issue-16819.rs b/src/test/ui/issues/issue-16819.rs similarity index 100% rename from src/test/run-pass/issues/issue-16819.rs rename to src/test/ui/issues/issue-16819.rs diff --git a/src/test/run-pass/issues/issue-1696.rs b/src/test/ui/issues/issue-1696.rs similarity index 100% rename from src/test/run-pass/issues/issue-1696.rs rename to src/test/ui/issues/issue-1696.rs diff --git a/src/test/run-pass/issues/issue-1701.rs b/src/test/ui/issues/issue-1701.rs similarity index 100% rename from src/test/run-pass/issues/issue-1701.rs rename to src/test/ui/issues/issue-1701.rs diff --git a/src/test/run-pass/issues/issue-17068.rs b/src/test/ui/issues/issue-17068.rs similarity index 100% rename from src/test/run-pass/issues/issue-17068.rs rename to src/test/ui/issues/issue-17068.rs diff --git a/src/test/run-pass/issues/issue-17074.rs b/src/test/ui/issues/issue-17074.rs similarity index 100% rename from src/test/run-pass/issues/issue-17074.rs rename to src/test/ui/issues/issue-17074.rs diff --git a/src/test/run-pass/issues/issue-17170.rs b/src/test/ui/issues/issue-17170.rs similarity index 100% rename from src/test/run-pass/issues/issue-17170.rs rename to src/test/ui/issues/issue-17170.rs diff --git a/src/test/run-pass/issues/issue-17216.rs b/src/test/ui/issues/issue-17216.rs similarity index 100% rename from src/test/run-pass/issues/issue-17216.rs rename to src/test/ui/issues/issue-17216.rs diff --git a/src/test/run-pass/issues/issue-17233.rs b/src/test/ui/issues/issue-17233.rs similarity index 100% rename from src/test/run-pass/issues/issue-17233.rs rename to src/test/ui/issues/issue-17233.rs diff --git a/src/test/run-pass/issues/issue-17302.rs b/src/test/ui/issues/issue-17302.rs similarity index 100% rename from src/test/run-pass/issues/issue-17302.rs rename to src/test/ui/issues/issue-17302.rs diff --git a/src/test/run-pass/issues/issue-17322.rs b/src/test/ui/issues/issue-17322.rs similarity index 100% rename from src/test/run-pass/issues/issue-17322.rs rename to src/test/ui/issues/issue-17322.rs diff --git a/src/test/run-pass/issues/issue-17351.rs b/src/test/ui/issues/issue-17351.rs similarity index 100% rename from src/test/run-pass/issues/issue-17351.rs rename to src/test/ui/issues/issue-17351.rs diff --git a/src/test/run-pass/issues/issue-17361.rs b/src/test/ui/issues/issue-17361.rs similarity index 100% rename from src/test/run-pass/issues/issue-17361.rs rename to src/test/ui/issues/issue-17361.rs diff --git a/src/test/run-pass/issues/issue-17503.rs b/src/test/ui/issues/issue-17503.rs similarity index 100% rename from src/test/run-pass/issues/issue-17503.rs rename to src/test/ui/issues/issue-17503.rs diff --git a/src/test/run-pass/issues/issue-17662.rs b/src/test/ui/issues/issue-17662.rs similarity index 100% rename from src/test/run-pass/issues/issue-17662.rs rename to src/test/ui/issues/issue-17662.rs diff --git a/src/test/run-pass/issues/issue-17718-borrow-interior.rs b/src/test/ui/issues/issue-17718-borrow-interior.rs similarity index 100% rename from src/test/run-pass/issues/issue-17718-borrow-interior.rs rename to src/test/ui/issues/issue-17718-borrow-interior.rs diff --git a/src/test/run-pass/issues/issue-17718-parse-const.rs b/src/test/ui/issues/issue-17718-parse-const.rs similarity index 100% rename from src/test/run-pass/issues/issue-17718-parse-const.rs rename to src/test/ui/issues/issue-17718-parse-const.rs diff --git a/src/test/run-pass/issues/issue-17718-static-unsafe-interior.rs b/src/test/ui/issues/issue-17718-static-unsafe-interior.rs similarity index 100% rename from src/test/run-pass/issues/issue-17718-static-unsafe-interior.rs rename to src/test/ui/issues/issue-17718-static-unsafe-interior.rs diff --git a/src/test/run-pass/issues/issue-17718.rs b/src/test/ui/issues/issue-17718.rs similarity index 100% rename from src/test/run-pass/issues/issue-17718.rs rename to src/test/ui/issues/issue-17718.rs diff --git a/src/test/run-pass/issues/issue-17734.rs b/src/test/ui/issues/issue-17734.rs similarity index 100% rename from src/test/run-pass/issues/issue-17734.rs rename to src/test/ui/issues/issue-17734.rs diff --git a/src/test/run-pass/issues/issue-17756.rs b/src/test/ui/issues/issue-17756.rs similarity index 100% rename from src/test/run-pass/issues/issue-17756.rs rename to src/test/ui/issues/issue-17756.rs diff --git a/src/test/run-pass/issues/issue-17771.rs b/src/test/ui/issues/issue-17771.rs similarity index 100% rename from src/test/run-pass/issues/issue-17771.rs rename to src/test/ui/issues/issue-17771.rs diff --git a/src/test/run-pass/issues/issue-17816.rs b/src/test/ui/issues/issue-17816.rs similarity index 100% rename from src/test/run-pass/issues/issue-17816.rs rename to src/test/ui/issues/issue-17816.rs diff --git a/src/test/run-pass/issues/issue-17877.rs b/src/test/ui/issues/issue-17877.rs similarity index 100% rename from src/test/run-pass/issues/issue-17877.rs rename to src/test/ui/issues/issue-17877.rs diff --git a/src/test/run-pass/issues/issue-17897.rs b/src/test/ui/issues/issue-17897.rs similarity index 100% rename from src/test/run-pass/issues/issue-17897.rs rename to src/test/ui/issues/issue-17897.rs diff --git a/src/test/run-pass/issues/issue-18060.rs b/src/test/ui/issues/issue-18060.rs similarity index 100% rename from src/test/run-pass/issues/issue-18060.rs rename to src/test/ui/issues/issue-18060.rs diff --git a/src/test/run-pass/issues/issue-18075.rs b/src/test/ui/issues/issue-18075.rs similarity index 100% rename from src/test/run-pass/issues/issue-18075.rs rename to src/test/ui/issues/issue-18075.rs diff --git a/src/test/run-pass/issues/issue-18110.rs b/src/test/ui/issues/issue-18110.rs similarity index 100% rename from src/test/run-pass/issues/issue-18110.rs rename to src/test/ui/issues/issue-18110.rs diff --git a/src/test/run-pass/issues/issue-18173.rs b/src/test/ui/issues/issue-18173.rs similarity index 100% rename from src/test/run-pass/issues/issue-18173.rs rename to src/test/ui/issues/issue-18173.rs diff --git a/src/test/run-pass/issues/issue-18232.rs b/src/test/ui/issues/issue-18232.rs similarity index 100% rename from src/test/run-pass/issues/issue-18232.rs rename to src/test/ui/issues/issue-18232.rs diff --git a/src/test/run-pass/issues/issue-18352.rs b/src/test/ui/issues/issue-18352.rs similarity index 100% rename from src/test/run-pass/issues/issue-18352.rs rename to src/test/ui/issues/issue-18352.rs diff --git a/src/test/run-pass/issues/issue-18353.rs b/src/test/ui/issues/issue-18353.rs similarity index 100% rename from src/test/run-pass/issues/issue-18353.rs rename to src/test/ui/issues/issue-18353.rs diff --git a/src/test/run-pass/issues/issue-18412.rs b/src/test/ui/issues/issue-18412.rs similarity index 100% rename from src/test/run-pass/issues/issue-18412.rs rename to src/test/ui/issues/issue-18412.rs diff --git a/src/test/run-pass/issues/issue-18425.rs b/src/test/ui/issues/issue-18425.rs similarity index 100% rename from src/test/run-pass/issues/issue-18425.rs rename to src/test/ui/issues/issue-18425.rs diff --git a/src/test/run-pass/issues/issue-18464.rs b/src/test/ui/issues/issue-18464.rs similarity index 100% rename from src/test/run-pass/issues/issue-18464.rs rename to src/test/ui/issues/issue-18464.rs diff --git a/src/test/run-pass/issues/issue-18501.rs b/src/test/ui/issues/issue-18501.rs similarity index 100% rename from src/test/run-pass/issues/issue-18501.rs rename to src/test/ui/issues/issue-18501.rs diff --git a/src/test/run-pass/issues/issue-18514.rs b/src/test/ui/issues/issue-18514.rs similarity index 100% rename from src/test/run-pass/issues/issue-18514.rs rename to src/test/ui/issues/issue-18514.rs diff --git a/src/test/run-pass/issues/issue-18539.rs b/src/test/ui/issues/issue-18539.rs similarity index 100% rename from src/test/run-pass/issues/issue-18539.rs rename to src/test/ui/issues/issue-18539.rs diff --git a/src/test/run-pass/issues/issue-18652.rs b/src/test/ui/issues/issue-18652.rs similarity index 100% rename from src/test/run-pass/issues/issue-18652.rs rename to src/test/ui/issues/issue-18652.rs diff --git a/src/test/run-pass/issues/issue-18655.rs b/src/test/ui/issues/issue-18655.rs similarity index 100% rename from src/test/run-pass/issues/issue-18655.rs rename to src/test/ui/issues/issue-18655.rs diff --git a/src/test/run-pass/issues/issue-18661.rs b/src/test/ui/issues/issue-18661.rs similarity index 100% rename from src/test/run-pass/issues/issue-18661.rs rename to src/test/ui/issues/issue-18661.rs diff --git a/src/test/run-pass/issues/issue-18685.rs b/src/test/ui/issues/issue-18685.rs similarity index 100% rename from src/test/run-pass/issues/issue-18685.rs rename to src/test/ui/issues/issue-18685.rs diff --git a/src/test/run-pass/issues/issue-18711.rs b/src/test/ui/issues/issue-18711.rs similarity index 100% rename from src/test/run-pass/issues/issue-18711.rs rename to src/test/ui/issues/issue-18711.rs diff --git a/src/test/run-pass/issues/issue-18767.rs b/src/test/ui/issues/issue-18767.rs similarity index 100% rename from src/test/run-pass/issues/issue-18767.rs rename to src/test/ui/issues/issue-18767.rs diff --git a/src/test/run-pass/issues/issue-18804/auxiliary/lib.rs b/src/test/ui/issues/issue-18804/auxiliary/lib.rs similarity index 100% rename from src/test/run-pass/issues/issue-18804/auxiliary/lib.rs rename to src/test/ui/issues/issue-18804/auxiliary/lib.rs diff --git a/src/test/run-pass/issues/issue-18804/main.rs b/src/test/ui/issues/issue-18804/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-18804/main.rs rename to src/test/ui/issues/issue-18804/main.rs diff --git a/src/test/run-pass/issues/issue-18845.rs b/src/test/ui/issues/issue-18845.rs similarity index 100% rename from src/test/run-pass/issues/issue-18845.rs rename to src/test/ui/issues/issue-18845.rs diff --git a/src/test/run-pass/issues/issue-18859.rs b/src/test/ui/issues/issue-18859.rs similarity index 100% rename from src/test/run-pass/issues/issue-18859.rs rename to src/test/ui/issues/issue-18859.rs diff --git a/src/test/run-pass/issues/issue-18913.rs b/src/test/ui/issues/issue-18913.rs similarity index 100% rename from src/test/run-pass/issues/issue-18913.rs rename to src/test/ui/issues/issue-18913.rs diff --git a/src/test/run-pass/issues/issue-18937-1.rs b/src/test/ui/issues/issue-18937-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-18937-1.rs rename to src/test/ui/issues/issue-18937-1.rs diff --git a/src/test/run-pass/issues/issue-18952.rs b/src/test/ui/issues/issue-18952.rs similarity index 100% rename from src/test/run-pass/issues/issue-18952.rs rename to src/test/ui/issues/issue-18952.rs diff --git a/src/test/run-pass/issues/issue-19001.rs b/src/test/ui/issues/issue-19001.rs similarity index 100% rename from src/test/run-pass/issues/issue-19001.rs rename to src/test/ui/issues/issue-19001.rs diff --git a/src/test/run-pass/issues/issue-19127.rs b/src/test/ui/issues/issue-19127.rs similarity index 100% rename from src/test/run-pass/issues/issue-19127.rs rename to src/test/ui/issues/issue-19127.rs diff --git a/src/test/run-pass/issues/issue-19135.rs b/src/test/ui/issues/issue-19135.rs similarity index 100% rename from src/test/run-pass/issues/issue-19135.rs rename to src/test/ui/issues/issue-19135.rs diff --git a/src/test/run-pass/issues/issue-19244.rs b/src/test/ui/issues/issue-19244.rs similarity index 100% rename from src/test/run-pass/issues/issue-19244.rs rename to src/test/ui/issues/issue-19244.rs diff --git a/src/test/run-pass/issues/issue-19293.rs b/src/test/ui/issues/issue-19293.rs similarity index 100% rename from src/test/run-pass/issues/issue-19293.rs rename to src/test/ui/issues/issue-19293.rs diff --git a/src/test/run-pass/issues/issue-19340-1.rs b/src/test/ui/issues/issue-19340-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-19340-1.rs rename to src/test/ui/issues/issue-19340-1.rs diff --git a/src/test/run-pass/issues/issue-19340-2.rs b/src/test/ui/issues/issue-19340-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-19340-2.rs rename to src/test/ui/issues/issue-19340-2.rs diff --git a/src/test/run-pass/issues/issue-19358.rs b/src/test/ui/issues/issue-19358.rs similarity index 100% rename from src/test/run-pass/issues/issue-19358.rs rename to src/test/ui/issues/issue-19358.rs diff --git a/src/test/run-pass/issues/issue-19367.rs b/src/test/ui/issues/issue-19367.rs similarity index 100% rename from src/test/run-pass/issues/issue-19367.rs rename to src/test/ui/issues/issue-19367.rs diff --git a/src/test/run-pass/issues/issue-19499.rs b/src/test/ui/issues/issue-19499.rs similarity index 100% rename from src/test/run-pass/issues/issue-19499.rs rename to src/test/ui/issues/issue-19499.rs diff --git a/src/test/run-pass/issues/issue-1974.rs b/src/test/ui/issues/issue-1974.rs similarity index 100% rename from src/test/run-pass/issues/issue-1974.rs rename to src/test/ui/issues/issue-1974.rs diff --git a/src/test/run-pass/issues/issue-19811-escape-unicode.rs b/src/test/ui/issues/issue-19811-escape-unicode.rs similarity index 100% rename from src/test/run-pass/issues/issue-19811-escape-unicode.rs rename to src/test/ui/issues/issue-19811-escape-unicode.rs diff --git a/src/test/run-pass/issues/issue-20055-box-trait.rs b/src/test/ui/issues/issue-20055-box-trait.rs similarity index 100% rename from src/test/run-pass/issues/issue-20055-box-trait.rs rename to src/test/ui/issues/issue-20055-box-trait.rs diff --git a/src/test/run-pass/issues/issue-20055-box-unsized-array.rs b/src/test/ui/issues/issue-20055-box-unsized-array.rs similarity index 100% rename from src/test/run-pass/issues/issue-20055-box-unsized-array.rs rename to src/test/ui/issues/issue-20055-box-unsized-array.rs diff --git a/src/test/run-pass/issues/issue-20174.rs b/src/test/ui/issues/issue-20174.rs similarity index 100% rename from src/test/run-pass/issues/issue-20174.rs rename to src/test/ui/issues/issue-20174.rs diff --git a/src/test/run-pass/issues/issue-20343.rs b/src/test/ui/issues/issue-20343.rs similarity index 100% rename from src/test/run-pass/issues/issue-20343.rs rename to src/test/ui/issues/issue-20343.rs diff --git a/src/test/run-pass/issues/issue-20389.rs b/src/test/ui/issues/issue-20389.rs similarity index 100% rename from src/test/run-pass/issues/issue-20389.rs rename to src/test/ui/issues/issue-20389.rs diff --git a/src/test/run-pass/issues/issue-20427.rs b/src/test/ui/issues/issue-20427.rs similarity index 100% rename from src/test/run-pass/issues/issue-20427.rs rename to src/test/ui/issues/issue-20427.rs diff --git a/src/test/run-pass/issues/issue-20544.rs b/src/test/ui/issues/issue-20544.rs similarity index 100% rename from src/test/run-pass/issues/issue-20544.rs rename to src/test/ui/issues/issue-20544.rs diff --git a/src/test/run-pass/issues/issue-20575.rs b/src/test/ui/issues/issue-20575.rs similarity index 100% rename from src/test/run-pass/issues/issue-20575.rs rename to src/test/ui/issues/issue-20575.rs diff --git a/src/test/run-pass/issues/issue-20616.rs b/src/test/ui/issues/issue-20616.rs similarity index 100% rename from src/test/run-pass/issues/issue-20616.rs rename to src/test/ui/issues/issue-20616.rs diff --git a/src/test/run-pass/issues/issue-2063.rs b/src/test/ui/issues/issue-2063.rs similarity index 100% rename from src/test/run-pass/issues/issue-2063.rs rename to src/test/ui/issues/issue-2063.rs diff --git a/src/test/run-pass/issues/issue-20676.rs b/src/test/ui/issues/issue-20676.rs similarity index 100% rename from src/test/run-pass/issues/issue-20676.rs rename to src/test/ui/issues/issue-20676.rs diff --git a/src/test/run-pass/issues/issue-2074.rs b/src/test/ui/issues/issue-2074.rs similarity index 100% rename from src/test/run-pass/issues/issue-2074.rs rename to src/test/ui/issues/issue-2074.rs diff --git a/src/test/run-pass/issues/issue-20803.rs b/src/test/ui/issues/issue-20803.rs similarity index 100% rename from src/test/run-pass/issues/issue-20803.rs rename to src/test/ui/issues/issue-20803.rs diff --git a/src/test/run-pass/issues/issue-20823.rs b/src/test/ui/issues/issue-20823.rs similarity index 100% rename from src/test/run-pass/issues/issue-20823.rs rename to src/test/ui/issues/issue-20823.rs diff --git a/src/test/run-pass/issues/issue-20847.rs b/src/test/ui/issues/issue-20847.rs similarity index 100% rename from src/test/run-pass/issues/issue-20847.rs rename to src/test/ui/issues/issue-20847.rs diff --git a/src/test/run-pass/issues/issue-20953.rs b/src/test/ui/issues/issue-20953.rs similarity index 100% rename from src/test/run-pass/issues/issue-20953.rs rename to src/test/ui/issues/issue-20953.rs diff --git a/src/test/run-pass/issues/issue-21033.rs b/src/test/ui/issues/issue-21033.rs similarity index 100% rename from src/test/run-pass/issues/issue-21033.rs rename to src/test/ui/issues/issue-21033.rs diff --git a/src/test/run-pass/issues/issue-21058.rs b/src/test/ui/issues/issue-21058.rs similarity index 100% rename from src/test/run-pass/issues/issue-21058.rs rename to src/test/ui/issues/issue-21058.rs diff --git a/src/test/run-pass/issues/issue-21291.rs b/src/test/ui/issues/issue-21291.rs similarity index 100% rename from src/test/run-pass/issues/issue-21291.rs rename to src/test/ui/issues/issue-21291.rs diff --git a/src/test/run-pass/issues/issue-21306.rs b/src/test/ui/issues/issue-21306.rs similarity index 100% rename from src/test/run-pass/issues/issue-21306.rs rename to src/test/ui/issues/issue-21306.rs diff --git a/src/test/run-pass/issues/issue-21361.rs b/src/test/ui/issues/issue-21361.rs similarity index 100% rename from src/test/run-pass/issues/issue-21361.rs rename to src/test/ui/issues/issue-21361.rs diff --git a/src/test/run-pass/issues/issue-21384.rs b/src/test/ui/issues/issue-21384.rs similarity index 100% rename from src/test/run-pass/issues/issue-21384.rs rename to src/test/ui/issues/issue-21384.rs diff --git a/src/test/run-pass/issues/issue-21400.rs b/src/test/ui/issues/issue-21400.rs similarity index 100% rename from src/test/run-pass/issues/issue-21400.rs rename to src/test/ui/issues/issue-21400.rs diff --git a/src/test/run-pass/issues/issue-21475.rs b/src/test/ui/issues/issue-21475.rs similarity index 100% rename from src/test/run-pass/issues/issue-21475.rs rename to src/test/ui/issues/issue-21475.rs diff --git a/src/test/run-pass/issues/issue-21486.rs b/src/test/ui/issues/issue-21486.rs similarity index 100% rename from src/test/run-pass/issues/issue-21486.rs rename to src/test/ui/issues/issue-21486.rs diff --git a/src/test/run-pass/issues/issue-21655.rs b/src/test/ui/issues/issue-21655.rs similarity index 100% rename from src/test/run-pass/issues/issue-21655.rs rename to src/test/ui/issues/issue-21655.rs diff --git a/src/test/run-pass/issues/issue-2170-exe.rs b/src/test/ui/issues/issue-2170-exe.rs similarity index 100% rename from src/test/run-pass/issues/issue-2170-exe.rs rename to src/test/ui/issues/issue-2170-exe.rs diff --git a/src/test/run-pass/issues/issue-21721.rs b/src/test/ui/issues/issue-21721.rs similarity index 100% rename from src/test/run-pass/issues/issue-21721.rs rename to src/test/ui/issues/issue-21721.rs diff --git a/src/test/run-pass/issues/issue-2190-1.rs b/src/test/ui/issues/issue-2190-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-2190-1.rs rename to src/test/ui/issues/issue-2190-1.rs diff --git a/src/test/run-pass/issues/issue-21909.rs b/src/test/ui/issues/issue-21909.rs similarity index 100% rename from src/test/run-pass/issues/issue-21909.rs rename to src/test/ui/issues/issue-21909.rs diff --git a/src/test/run-pass/issues/issue-21922.rs b/src/test/ui/issues/issue-21922.rs similarity index 100% rename from src/test/run-pass/issues/issue-21922.rs rename to src/test/ui/issues/issue-21922.rs diff --git a/src/test/run-pass/issues/issue-22008.rs b/src/test/ui/issues/issue-22008.rs similarity index 100% rename from src/test/run-pass/issues/issue-22008.rs rename to src/test/ui/issues/issue-22008.rs diff --git a/src/test/run-pass/issues/issue-22036.rs b/src/test/ui/issues/issue-22036.rs similarity index 100% rename from src/test/run-pass/issues/issue-22036.rs rename to src/test/ui/issues/issue-22036.rs diff --git a/src/test/run-pass/issues/issue-2214.rs b/src/test/ui/issues/issue-2214.rs similarity index 100% rename from src/test/run-pass/issues/issue-2214.rs rename to src/test/ui/issues/issue-2214.rs diff --git a/src/test/run-pass/issues/issue-2216.rs b/src/test/ui/issues/issue-2216.rs similarity index 100% rename from src/test/run-pass/issues/issue-2216.rs rename to src/test/ui/issues/issue-2216.rs diff --git a/src/test/run-pass/issues/issue-22258.rs b/src/test/ui/issues/issue-22258.rs similarity index 100% rename from src/test/run-pass/issues/issue-22258.rs rename to src/test/ui/issues/issue-22258.rs diff --git a/src/test/run-pass/issues/issue-22346.rs b/src/test/ui/issues/issue-22346.rs similarity index 100% rename from src/test/run-pass/issues/issue-22346.rs rename to src/test/ui/issues/issue-22346.rs diff --git a/src/test/run-pass/issues/issue-22403.rs b/src/test/ui/issues/issue-22403.rs similarity index 100% rename from src/test/run-pass/issues/issue-22403.rs rename to src/test/ui/issues/issue-22403.rs diff --git a/src/test/run-pass/issues/issue-22426.rs b/src/test/ui/issues/issue-22426.rs similarity index 100% rename from src/test/run-pass/issues/issue-22426.rs rename to src/test/ui/issues/issue-22426.rs diff --git a/src/test/run-pass/issues/issue-22463.rs b/src/test/ui/issues/issue-22463.rs similarity index 100% rename from src/test/run-pass/issues/issue-22463.rs rename to src/test/ui/issues/issue-22463.rs diff --git a/src/test/run-pass/issues/issue-22536-copy-mustnt-zero.rs b/src/test/ui/issues/issue-22536-copy-mustnt-zero.rs similarity index 100% rename from src/test/run-pass/issues/issue-22536-copy-mustnt-zero.rs rename to src/test/ui/issues/issue-22536-copy-mustnt-zero.rs diff --git a/src/test/run-pass/issues/issue-22546.rs b/src/test/ui/issues/issue-22546.rs similarity index 100% rename from src/test/run-pass/issues/issue-22546.rs rename to src/test/ui/issues/issue-22546.rs diff --git a/src/test/run-pass/issues/issue-22577.rs b/src/test/ui/issues/issue-22577.rs similarity index 100% rename from src/test/run-pass/issues/issue-22577.rs rename to src/test/ui/issues/issue-22577.rs diff --git a/src/test/run-pass/issues/issue-22629.rs b/src/test/ui/issues/issue-22629.rs similarity index 100% rename from src/test/run-pass/issues/issue-22629.rs rename to src/test/ui/issues/issue-22629.rs diff --git a/src/test/run-pass/issues/issue-22828.rs b/src/test/ui/issues/issue-22828.rs similarity index 100% rename from src/test/run-pass/issues/issue-22828.rs rename to src/test/ui/issues/issue-22828.rs diff --git a/src/test/run-pass/issues/issue-2284.rs b/src/test/ui/issues/issue-2284.rs similarity index 100% rename from src/test/run-pass/issues/issue-2284.rs rename to src/test/ui/issues/issue-2284.rs diff --git a/src/test/run-pass/issues/issue-22864-1.rs b/src/test/ui/issues/issue-22864-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-22864-1.rs rename to src/test/ui/issues/issue-22864-1.rs diff --git a/src/test/run-pass/issues/issue-22864-2.rs b/src/test/ui/issues/issue-22864-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-22864-2.rs rename to src/test/ui/issues/issue-22864-2.rs diff --git a/src/test/run-pass/issues/issue-2288.rs b/src/test/ui/issues/issue-2288.rs similarity index 100% rename from src/test/run-pass/issues/issue-2288.rs rename to src/test/ui/issues/issue-2288.rs diff --git a/src/test/run-pass/issues/issue-22992-2.rs b/src/test/ui/issues/issue-22992-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-22992-2.rs rename to src/test/ui/issues/issue-22992-2.rs diff --git a/src/test/run-pass/issues/issue-22992.rs b/src/test/ui/issues/issue-22992.rs similarity index 100% rename from src/test/run-pass/issues/issue-22992.rs rename to src/test/ui/issues/issue-22992.rs diff --git a/src/test/run-pass/issues/issue-23036.rs b/src/test/ui/issues/issue-23036.rs similarity index 100% rename from src/test/run-pass/issues/issue-23036.rs rename to src/test/ui/issues/issue-23036.rs diff --git a/src/test/run-pass/issues/issue-2316-c.rs b/src/test/ui/issues/issue-2316-c.rs similarity index 100% rename from src/test/run-pass/issues/issue-2316-c.rs rename to src/test/ui/issues/issue-2316-c.rs diff --git a/src/test/run-pass/issues/issue-23208.rs b/src/test/ui/issues/issue-23208.rs similarity index 100% rename from src/test/run-pass/issues/issue-23208.rs rename to src/test/ui/issues/issue-23208.rs diff --git a/src/test/run-pass/issues/issue-23261.rs b/src/test/ui/issues/issue-23261.rs similarity index 100% rename from src/test/run-pass/issues/issue-23261.rs rename to src/test/ui/issues/issue-23261.rs diff --git a/src/test/run-pass/issues/issue-23304-1.rs b/src/test/ui/issues/issue-23304-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-23304-1.rs rename to src/test/ui/issues/issue-23304-1.rs diff --git a/src/test/run-pass/issues/issue-23304-2.rs b/src/test/ui/issues/issue-23304-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-23304-2.rs rename to src/test/ui/issues/issue-23304-2.rs diff --git a/src/test/run-pass/issues/issue-23311.rs b/src/test/ui/issues/issue-23311.rs similarity index 100% rename from src/test/run-pass/issues/issue-23311.rs rename to src/test/ui/issues/issue-23311.rs diff --git a/src/test/run-pass/issues/issue-23336.rs b/src/test/ui/issues/issue-23336.rs similarity index 100% rename from src/test/run-pass/issues/issue-23336.rs rename to src/test/ui/issues/issue-23336.rs diff --git a/src/test/run-pass/issues/issue-23338-ensure-param-drop-order.rs b/src/test/ui/issues/issue-23338-ensure-param-drop-order.rs similarity index 100% rename from src/test/run-pass/issues/issue-23338-ensure-param-drop-order.rs rename to src/test/ui/issues/issue-23338-ensure-param-drop-order.rs diff --git a/src/test/run-pass/issues/issue-23338-params-outlive-temps-of-body.rs b/src/test/ui/issues/issue-23338-params-outlive-temps-of-body.rs similarity index 100% rename from src/test/run-pass/issues/issue-23338-params-outlive-temps-of-body.rs rename to src/test/ui/issues/issue-23338-params-outlive-temps-of-body.rs diff --git a/src/test/run-pass/issues/issue-23433.rs b/src/test/ui/issues/issue-23433.rs similarity index 100% rename from src/test/run-pass/issues/issue-23433.rs rename to src/test/ui/issues/issue-23433.rs diff --git a/src/test/run-pass/issues/issue-23485.rs b/src/test/ui/issues/issue-23485.rs similarity index 100% rename from src/test/run-pass/issues/issue-23485.rs rename to src/test/ui/issues/issue-23485.rs diff --git a/src/test/run-pass/issues/issue-23491.rs b/src/test/ui/issues/issue-23491.rs similarity index 100% rename from src/test/run-pass/issues/issue-23491.rs rename to src/test/ui/issues/issue-23491.rs diff --git a/src/test/run-pass/issues/issue-23611-enum-swap-in-drop.rs b/src/test/ui/issues/issue-23611-enum-swap-in-drop.rs similarity index 100% rename from src/test/run-pass/issues/issue-23611-enum-swap-in-drop.rs rename to src/test/ui/issues/issue-23611-enum-swap-in-drop.rs diff --git a/src/test/run-pass/issues/issue-23649-1.rs b/src/test/ui/issues/issue-23649-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-23649-1.rs rename to src/test/ui/issues/issue-23649-1.rs diff --git a/src/test/run-pass/issues/issue-23649-2.rs b/src/test/ui/issues/issue-23649-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-23649-2.rs rename to src/test/ui/issues/issue-23649-2.rs diff --git a/src/test/run-pass/issues/issue-23699.rs b/src/test/ui/issues/issue-23699.rs similarity index 100% rename from src/test/run-pass/issues/issue-23699.rs rename to src/test/ui/issues/issue-23699.rs diff --git a/src/test/run-pass/issues/issue-23781.rs b/src/test/ui/issues/issue-23781.rs similarity index 100% rename from src/test/run-pass/issues/issue-23781.rs rename to src/test/ui/issues/issue-23781.rs diff --git a/src/test/run-pass/issues/issue-2380-b.rs b/src/test/ui/issues/issue-2380-b.rs similarity index 100% rename from src/test/run-pass/issues/issue-2380-b.rs rename to src/test/ui/issues/issue-2380-b.rs diff --git a/src/test/run-pass/issues/issue-23808.rs b/src/test/ui/issues/issue-23808.rs similarity index 100% rename from src/test/run-pass/issues/issue-23808.rs rename to src/test/ui/issues/issue-23808.rs diff --git a/src/test/run-pass/issues/issue-23825.rs b/src/test/ui/issues/issue-23825.rs similarity index 100% rename from src/test/run-pass/issues/issue-23825.rs rename to src/test/ui/issues/issue-23825.rs diff --git a/src/test/run-pass/issues/issue-2383.rs b/src/test/ui/issues/issue-2383.rs similarity index 100% rename from src/test/run-pass/issues/issue-2383.rs rename to src/test/ui/issues/issue-2383.rs diff --git a/src/test/run-pass/issues/issue-23833.rs b/src/test/ui/issues/issue-23833.rs similarity index 100% rename from src/test/run-pass/issues/issue-23833.rs rename to src/test/ui/issues/issue-23833.rs diff --git a/src/test/run-pass/issues/issue-23891.rs b/src/test/ui/issues/issue-23891.rs similarity index 100% rename from src/test/run-pass/issues/issue-23891.rs rename to src/test/ui/issues/issue-23891.rs diff --git a/src/test/run-pass/issues/issue-23898.rs b/src/test/ui/issues/issue-23898.rs similarity index 100% rename from src/test/run-pass/issues/issue-23898.rs rename to src/test/ui/issues/issue-23898.rs diff --git a/src/test/run-pass/issues/issue-23958.rs b/src/test/ui/issues/issue-23958.rs similarity index 100% rename from src/test/run-pass/issues/issue-23958.rs rename to src/test/ui/issues/issue-23958.rs diff --git a/src/test/run-pass/issues/issue-23968-const-not-overflow.rs b/src/test/ui/issues/issue-23968-const-not-overflow.rs similarity index 100% rename from src/test/run-pass/issues/issue-23968-const-not-overflow.rs rename to src/test/ui/issues/issue-23968-const-not-overflow.rs diff --git a/src/test/run-pass/issues/issue-23992.rs b/src/test/ui/issues/issue-23992.rs similarity index 100% rename from src/test/run-pass/issues/issue-23992.rs rename to src/test/ui/issues/issue-23992.rs diff --git a/src/test/run-pass/issues/issue-24010.rs b/src/test/ui/issues/issue-24010.rs similarity index 100% rename from src/test/run-pass/issues/issue-24010.rs rename to src/test/ui/issues/issue-24010.rs diff --git a/src/test/run-pass/issues/issue-24086.rs b/src/test/ui/issues/issue-24086.rs similarity index 100% rename from src/test/run-pass/issues/issue-24086.rs rename to src/test/ui/issues/issue-24086.rs diff --git a/src/test/run-pass/issues/issue-2414-c.rs b/src/test/ui/issues/issue-2414-c.rs similarity index 100% rename from src/test/run-pass/issues/issue-2414-c.rs rename to src/test/ui/issues/issue-2414-c.rs diff --git a/src/test/run-pass/issues/issue-2428.rs b/src/test/ui/issues/issue-2428.rs similarity index 100% rename from src/test/run-pass/issues/issue-2428.rs rename to src/test/ui/issues/issue-2428.rs diff --git a/src/test/run-pass/issues/issue-24308.rs b/src/test/ui/issues/issue-24308.rs similarity index 100% rename from src/test/run-pass/issues/issue-24308.rs rename to src/test/ui/issues/issue-24308.rs diff --git a/src/test/run-pass/issues/issue-24313.rs b/src/test/ui/issues/issue-24313.rs similarity index 100% rename from src/test/run-pass/issues/issue-24313.rs rename to src/test/ui/issues/issue-24313.rs diff --git a/src/test/run-pass/issues/issue-24353.rs b/src/test/ui/issues/issue-24353.rs similarity index 100% rename from src/test/run-pass/issues/issue-24353.rs rename to src/test/ui/issues/issue-24353.rs diff --git a/src/test/run-pass/issues/issue-2445-b.rs b/src/test/ui/issues/issue-2445-b.rs similarity index 100% rename from src/test/run-pass/issues/issue-2445-b.rs rename to src/test/ui/issues/issue-2445-b.rs diff --git a/src/test/run-pass/issues/issue-2445.rs b/src/test/ui/issues/issue-2445.rs similarity index 100% rename from src/test/run-pass/issues/issue-2445.rs rename to src/test/ui/issues/issue-2445.rs diff --git a/src/test/run-pass/issues/issue-24533.rs b/src/test/ui/issues/issue-24533.rs similarity index 100% rename from src/test/run-pass/issues/issue-24533.rs rename to src/test/ui/issues/issue-24533.rs diff --git a/src/test/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs b/src/test/ui/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs similarity index 100% rename from src/test/run-pass/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs rename to src/test/ui/issues/issue-24535-allow-mutable-borrow-in-match-guard.rs diff --git a/src/test/run-pass/issues/issue-24589.rs b/src/test/ui/issues/issue-24589.rs similarity index 100% rename from src/test/run-pass/issues/issue-24589.rs rename to src/test/ui/issues/issue-24589.rs diff --git a/src/test/run-pass/issues/issue-2463.rs b/src/test/ui/issues/issue-2463.rs similarity index 100% rename from src/test/run-pass/issues/issue-2463.rs rename to src/test/ui/issues/issue-2463.rs diff --git a/src/test/run-pass/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-lib.rs b/src/test/ui/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-lib.rs similarity index 100% rename from src/test/run-pass/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-lib.rs rename to src/test/ui/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-lib.rs diff --git a/src/test/run-pass/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-mbcs-in-comments.rs b/src/test/ui/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-mbcs-in-comments.rs similarity index 100% rename from src/test/run-pass/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-mbcs-in-comments.rs rename to src/test/ui/issues/issue-24687-embed-debuginfo/auxiliary/issue-24687-mbcs-in-comments.rs diff --git a/src/test/run-pass/issues/issue-24687-embed-debuginfo/main.rs b/src/test/ui/issues/issue-24687-embed-debuginfo/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-24687-embed-debuginfo/main.rs rename to src/test/ui/issues/issue-24687-embed-debuginfo/main.rs diff --git a/src/test/run-pass/issues/issue-2472.rs b/src/test/ui/issues/issue-2472.rs similarity index 100% rename from src/test/run-pass/issues/issue-2472.rs rename to src/test/ui/issues/issue-2472.rs diff --git a/src/test/run-pass/issues/issue-24779.rs b/src/test/ui/issues/issue-24779.rs similarity index 100% rename from src/test/run-pass/issues/issue-24779.rs rename to src/test/ui/issues/issue-24779.rs diff --git a/src/test/run-pass/issues/issue-24805-dropck-itemless.rs b/src/test/ui/issues/issue-24805-dropck-itemless.rs similarity index 100% rename from src/test/run-pass/issues/issue-24805-dropck-itemless.rs rename to src/test/ui/issues/issue-24805-dropck-itemless.rs diff --git a/src/test/run-pass/issues/issue-24945-repeat-dash-opts.rs b/src/test/ui/issues/issue-24945-repeat-dash-opts.rs similarity index 100% rename from src/test/run-pass/issues/issue-24945-repeat-dash-opts.rs rename to src/test/ui/issues/issue-24945-repeat-dash-opts.rs diff --git a/src/test/run-pass/issues/issue-24947.rs b/src/test/ui/issues/issue-24947.rs similarity index 100% rename from src/test/run-pass/issues/issue-24947.rs rename to src/test/ui/issues/issue-24947.rs diff --git a/src/test/run-pass/issues/issue-24954.rs b/src/test/ui/issues/issue-24954.rs similarity index 100% rename from src/test/run-pass/issues/issue-24954.rs rename to src/test/ui/issues/issue-24954.rs diff --git a/src/test/run-pass/issues/issue-25089.rs b/src/test/ui/issues/issue-25089.rs similarity index 100% rename from src/test/run-pass/issues/issue-25089.rs rename to src/test/ui/issues/issue-25089.rs diff --git a/src/test/run-pass/issues/issue-25145.rs b/src/test/ui/issues/issue-25145.rs similarity index 100% rename from src/test/run-pass/issues/issue-25145.rs rename to src/test/ui/issues/issue-25145.rs diff --git a/src/test/run-pass/issues/issue-25185.rs b/src/test/ui/issues/issue-25185.rs similarity index 100% rename from src/test/run-pass/issues/issue-25185.rs rename to src/test/ui/issues/issue-25185.rs diff --git a/src/test/run-pass/issues/issue-2526-a.rs b/src/test/ui/issues/issue-2526-a.rs similarity index 100% rename from src/test/run-pass/issues/issue-2526-a.rs rename to src/test/ui/issues/issue-2526-a.rs diff --git a/src/test/run-pass/issues/issue-25279.rs b/src/test/ui/issues/issue-25279.rs similarity index 100% rename from src/test/run-pass/issues/issue-25279.rs rename to src/test/ui/issues/issue-25279.rs diff --git a/src/test/run-pass/issues/issue-25339.rs b/src/test/ui/issues/issue-25339.rs similarity index 100% rename from src/test/run-pass/issues/issue-25339.rs rename to src/test/ui/issues/issue-25339.rs diff --git a/src/test/run-pass/issues/issue-25343.rs b/src/test/ui/issues/issue-25343.rs similarity index 100% rename from src/test/run-pass/issues/issue-25343.rs rename to src/test/ui/issues/issue-25343.rs diff --git a/src/test/run-pass/issues/issue-25467.rs b/src/test/ui/issues/issue-25467.rs similarity index 100% rename from src/test/run-pass/issues/issue-25467.rs rename to src/test/ui/issues/issue-25467.rs diff --git a/src/test/run-pass/issues/issue-25497.rs b/src/test/ui/issues/issue-25497.rs similarity index 100% rename from src/test/run-pass/issues/issue-25497.rs rename to src/test/ui/issues/issue-25497.rs diff --git a/src/test/run-pass/issues/issue-2550.rs b/src/test/ui/issues/issue-2550.rs similarity index 100% rename from src/test/run-pass/issues/issue-2550.rs rename to src/test/ui/issues/issue-2550.rs diff --git a/src/test/run-pass/issues/issue-25515.rs b/src/test/ui/issues/issue-25515.rs similarity index 100% rename from src/test/run-pass/issues/issue-25515.rs rename to src/test/ui/issues/issue-25515.rs diff --git a/src/test/run-pass/issues/issue-25549-multiple-drop.rs b/src/test/ui/issues/issue-25549-multiple-drop.rs similarity index 100% rename from src/test/run-pass/issues/issue-25549-multiple-drop.rs rename to src/test/ui/issues/issue-25549-multiple-drop.rs diff --git a/src/test/run-pass/issues/issue-25679.rs b/src/test/ui/issues/issue-25679.rs similarity index 100% rename from src/test/run-pass/issues/issue-25679.rs rename to src/test/ui/issues/issue-25679.rs diff --git a/src/test/run-pass/issues/issue-25693.rs b/src/test/ui/issues/issue-25693.rs similarity index 100% rename from src/test/run-pass/issues/issue-25693.rs rename to src/test/ui/issues/issue-25693.rs diff --git a/src/test/run-pass/issues/issue-25700-1.rs b/src/test/ui/issues/issue-25700-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-25700-1.rs rename to src/test/ui/issues/issue-25700-1.rs diff --git a/src/test/run-pass/issues/issue-25700-2.rs b/src/test/ui/issues/issue-25700-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-25700-2.rs rename to src/test/ui/issues/issue-25700-2.rs diff --git a/src/test/run-pass/issues/issue-25746-bool-transmute.rs b/src/test/ui/issues/issue-25746-bool-transmute.rs similarity index 100% rename from src/test/run-pass/issues/issue-25746-bool-transmute.rs rename to src/test/ui/issues/issue-25746-bool-transmute.rs diff --git a/src/test/run-pass/issues/issue-25757.rs b/src/test/ui/issues/issue-25757.rs similarity index 100% rename from src/test/run-pass/issues/issue-25757.rs rename to src/test/ui/issues/issue-25757.rs diff --git a/src/test/run-pass/issues/issue-25810.rs b/src/test/ui/issues/issue-25810.rs similarity index 100% rename from src/test/run-pass/issues/issue-25810.rs rename to src/test/ui/issues/issue-25810.rs diff --git a/src/test/run-pass/issues/issue-25916.rs b/src/test/ui/issues/issue-25916.rs similarity index 100% rename from src/test/run-pass/issues/issue-25916.rs rename to src/test/ui/issues/issue-25916.rs diff --git a/src/test/run-pass/issues/issue-26127.rs b/src/test/ui/issues/issue-26127.rs similarity index 100% rename from src/test/run-pass/issues/issue-26127.rs rename to src/test/ui/issues/issue-26127.rs diff --git a/src/test/run-pass/issues/issue-26251.rs b/src/test/ui/issues/issue-26251.rs similarity index 100% rename from src/test/run-pass/issues/issue-26251.rs rename to src/test/ui/issues/issue-26251.rs diff --git a/src/test/run-pass/issues/issue-2631-b.rs b/src/test/ui/issues/issue-2631-b.rs similarity index 100% rename from src/test/run-pass/issues/issue-2631-b.rs rename to src/test/ui/issues/issue-2631-b.rs diff --git a/src/test/run-pass/issues/issue-26322.rs b/src/test/ui/issues/issue-26322.rs similarity index 100% rename from src/test/run-pass/issues/issue-26322.rs rename to src/test/ui/issues/issue-26322.rs diff --git a/src/test/run-pass/issues/issue-2633-2.rs b/src/test/ui/issues/issue-2633-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-2633-2.rs rename to src/test/ui/issues/issue-2633-2.rs diff --git a/src/test/run-pass/issues/issue-2633.rs b/src/test/ui/issues/issue-2633.rs similarity index 100% rename from src/test/run-pass/issues/issue-2633.rs rename to src/test/ui/issues/issue-2633.rs diff --git a/src/test/run-pass/issues/issue-2642.rs b/src/test/ui/issues/issue-2642.rs similarity index 100% rename from src/test/run-pass/issues/issue-2642.rs rename to src/test/ui/issues/issue-2642.rs diff --git a/src/test/run-pass/issues/issue-26468.rs b/src/test/ui/issues/issue-26468.rs similarity index 100% rename from src/test/run-pass/issues/issue-26468.rs rename to src/test/ui/issues/issue-26468.rs diff --git a/src/test/run-pass/issues/issue-26484.rs b/src/test/ui/issues/issue-26484.rs similarity index 100% rename from src/test/run-pass/issues/issue-26484.rs rename to src/test/ui/issues/issue-26484.rs diff --git a/src/test/run-pass/issues/issue-26641.rs b/src/test/ui/issues/issue-26641.rs similarity index 100% rename from src/test/run-pass/issues/issue-26641.rs rename to src/test/ui/issues/issue-26641.rs diff --git a/src/test/run-pass/issues/issue-26655.rs b/src/test/ui/issues/issue-26655.rs similarity index 100% rename from src/test/run-pass/issues/issue-26655.rs rename to src/test/ui/issues/issue-26655.rs diff --git a/src/test/run-pass/issues/issue-26709.rs b/src/test/ui/issues/issue-26709.rs similarity index 100% rename from src/test/run-pass/issues/issue-26709.rs rename to src/test/ui/issues/issue-26709.rs diff --git a/src/test/run-pass/issues/issue-26802.rs b/src/test/ui/issues/issue-26802.rs similarity index 100% rename from src/test/run-pass/issues/issue-26802.rs rename to src/test/ui/issues/issue-26802.rs diff --git a/src/test/run-pass/issues/issue-26805.rs b/src/test/ui/issues/issue-26805.rs similarity index 100% rename from src/test/run-pass/issues/issue-26805.rs rename to src/test/ui/issues/issue-26805.rs diff --git a/src/test/run-pass/issues/issue-26873-multifile.rs b/src/test/ui/issues/issue-26873-multifile.rs similarity index 100% rename from src/test/run-pass/issues/issue-26873-multifile.rs rename to src/test/ui/issues/issue-26873-multifile.rs diff --git a/src/test/run-pass/issues/issue-26873-multifile/A/B.rs b/src/test/ui/issues/issue-26873-multifile/A/B.rs similarity index 100% rename from src/test/run-pass/issues/issue-26873-multifile/A/B.rs rename to src/test/ui/issues/issue-26873-multifile/A/B.rs diff --git a/src/test/run-pass/issues/issue-26873-multifile/A/C.rs b/src/test/ui/issues/issue-26873-multifile/A/C.rs similarity index 100% rename from src/test/run-pass/issues/issue-26873-multifile/A/C.rs rename to src/test/ui/issues/issue-26873-multifile/A/C.rs diff --git a/src/test/run-pass/issues/issue-26873-multifile/A/mod.rs b/src/test/ui/issues/issue-26873-multifile/A/mod.rs similarity index 100% rename from src/test/run-pass/issues/issue-26873-multifile/A/mod.rs rename to src/test/ui/issues/issue-26873-multifile/A/mod.rs diff --git a/src/test/run-pass/issues/issue-26873-multifile/compiletest-ignore-dir b/src/test/ui/issues/issue-26873-multifile/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/issues/issue-26873-multifile/compiletest-ignore-dir rename to src/test/ui/issues/issue-26873-multifile/compiletest-ignore-dir diff --git a/src/test/run-pass/issues/issue-26873-multifile/mod.rs b/src/test/ui/issues/issue-26873-multifile/mod.rs similarity index 100% rename from src/test/run-pass/issues/issue-26873-multifile/mod.rs rename to src/test/ui/issues/issue-26873-multifile/mod.rs diff --git a/src/test/run-pass/issues/issue-26873-onefile.rs b/src/test/ui/issues/issue-26873-onefile.rs similarity index 100% rename from src/test/run-pass/issues/issue-26873-onefile.rs rename to src/test/ui/issues/issue-26873-onefile.rs diff --git a/src/test/run-pass/issues/issue-26996.rs b/src/test/ui/issues/issue-26996.rs similarity index 100% rename from src/test/run-pass/issues/issue-26996.rs rename to src/test/ui/issues/issue-26996.rs diff --git a/src/test/run-pass/issues/issue-27021.rs b/src/test/ui/issues/issue-27021.rs similarity index 100% rename from src/test/run-pass/issues/issue-27021.rs rename to src/test/ui/issues/issue-27021.rs diff --git a/src/test/run-pass/issues/issue-27054-primitive-binary-ops.rs b/src/test/ui/issues/issue-27054-primitive-binary-ops.rs similarity index 100% rename from src/test/run-pass/issues/issue-27054-primitive-binary-ops.rs rename to src/test/ui/issues/issue-27054-primitive-binary-ops.rs diff --git a/src/test/run-pass/issues/issue-2708.rs b/src/test/ui/issues/issue-2708.rs similarity index 100% rename from src/test/run-pass/issues/issue-2708.rs rename to src/test/ui/issues/issue-2708.rs diff --git a/src/test/run-pass/issues/issue-2718.rs b/src/test/ui/issues/issue-2718.rs similarity index 100% rename from src/test/run-pass/issues/issue-2718.rs rename to src/test/ui/issues/issue-2718.rs diff --git a/src/test/run-pass/issues/issue-2723-b.rs b/src/test/ui/issues/issue-2723-b.rs similarity index 100% rename from src/test/run-pass/issues/issue-2723-b.rs rename to src/test/ui/issues/issue-2723-b.rs diff --git a/src/test/run-pass/issues/issue-27240.rs b/src/test/ui/issues/issue-27240.rs similarity index 100% rename from src/test/run-pass/issues/issue-27240.rs rename to src/test/ui/issues/issue-27240.rs diff --git a/src/test/run-pass/issues/issue-27268.rs b/src/test/ui/issues/issue-27268.rs similarity index 100% rename from src/test/run-pass/issues/issue-27268.rs rename to src/test/ui/issues/issue-27268.rs diff --git a/src/test/run-pass/issues/issue-27320.rs b/src/test/ui/issues/issue-27320.rs similarity index 100% rename from src/test/run-pass/issues/issue-27320.rs rename to src/test/ui/issues/issue-27320.rs diff --git a/src/test/run-pass/issues/issue-2734.rs b/src/test/ui/issues/issue-2734.rs similarity index 100% rename from src/test/run-pass/issues/issue-2734.rs rename to src/test/ui/issues/issue-2734.rs diff --git a/src/test/run-pass/issues/issue-2735-2.rs b/src/test/ui/issues/issue-2735-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-2735-2.rs rename to src/test/ui/issues/issue-2735-2.rs diff --git a/src/test/run-pass/issues/issue-2735-3.rs b/src/test/ui/issues/issue-2735-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-2735-3.rs rename to src/test/ui/issues/issue-2735-3.rs diff --git a/src/test/run-pass/issues/issue-2735.rs b/src/test/ui/issues/issue-2735.rs similarity index 100% rename from src/test/run-pass/issues/issue-2735.rs rename to src/test/ui/issues/issue-2735.rs diff --git a/src/test/run-pass/issues/issue-27401-dropflag-reinit.rs b/src/test/ui/issues/issue-27401-dropflag-reinit.rs similarity index 100% rename from src/test/run-pass/issues/issue-27401-dropflag-reinit.rs rename to src/test/ui/issues/issue-27401-dropflag-reinit.rs diff --git a/src/test/run-pass/issues/issue-2748-b.rs b/src/test/ui/issues/issue-2748-b.rs similarity index 100% rename from src/test/run-pass/issues/issue-2748-b.rs rename to src/test/ui/issues/issue-2748-b.rs diff --git a/src/test/run-pass/issues/issue-27639.rs b/src/test/ui/issues/issue-27639.rs similarity index 100% rename from src/test/run-pass/issues/issue-27639.rs rename to src/test/ui/issues/issue-27639.rs diff --git a/src/test/run-pass/issues/issue-27859.rs b/src/test/ui/issues/issue-27859.rs similarity index 100% rename from src/test/run-pass/issues/issue-27859.rs rename to src/test/ui/issues/issue-27859.rs diff --git a/src/test/run-pass/issues/issue-27890.rs b/src/test/ui/issues/issue-27890.rs similarity index 100% rename from src/test/run-pass/issues/issue-27890.rs rename to src/test/ui/issues/issue-27890.rs diff --git a/src/test/run-pass/issues/issue-27901.rs b/src/test/ui/issues/issue-27901.rs similarity index 100% rename from src/test/run-pass/issues/issue-27901.rs rename to src/test/ui/issues/issue-27901.rs diff --git a/src/test/run-pass/issues/issue-27949.rs b/src/test/ui/issues/issue-27949.rs similarity index 100% rename from src/test/run-pass/issues/issue-27949.rs rename to src/test/ui/issues/issue-27949.rs diff --git a/src/test/run-pass/issues/issue-27997.rs b/src/test/ui/issues/issue-27997.rs similarity index 100% rename from src/test/run-pass/issues/issue-27997.rs rename to src/test/ui/issues/issue-27997.rs diff --git a/src/test/run-pass/issues/issue-28181.rs b/src/test/ui/issues/issue-28181.rs similarity index 100% rename from src/test/run-pass/issues/issue-28181.rs rename to src/test/ui/issues/issue-28181.rs diff --git a/src/test/run-pass/issues/issue-28498-must-work-ex1.rs b/src/test/ui/issues/issue-28498-must-work-ex1.rs similarity index 100% rename from src/test/run-pass/issues/issue-28498-must-work-ex1.rs rename to src/test/ui/issues/issue-28498-must-work-ex1.rs diff --git a/src/test/run-pass/issues/issue-28498-must-work-ex2.rs b/src/test/ui/issues/issue-28498-must-work-ex2.rs similarity index 100% rename from src/test/run-pass/issues/issue-28498-must-work-ex2.rs rename to src/test/ui/issues/issue-28498-must-work-ex2.rs diff --git a/src/test/run-pass/issues/issue-28498-ugeh-ex1.rs b/src/test/ui/issues/issue-28498-ugeh-ex1.rs similarity index 100% rename from src/test/run-pass/issues/issue-28498-ugeh-ex1.rs rename to src/test/ui/issues/issue-28498-ugeh-ex1.rs diff --git a/src/test/run-pass/issues/issue-28498-ugeh-with-lifetime-param.rs b/src/test/ui/issues/issue-28498-ugeh-with-lifetime-param.rs similarity index 100% rename from src/test/run-pass/issues/issue-28498-ugeh-with-lifetime-param.rs rename to src/test/ui/issues/issue-28498-ugeh-with-lifetime-param.rs diff --git a/src/test/run-pass/issues/issue-28498-ugeh-with-passed-to-fn.rs b/src/test/ui/issues/issue-28498-ugeh-with-passed-to-fn.rs similarity index 100% rename from src/test/run-pass/issues/issue-28498-ugeh-with-passed-to-fn.rs rename to src/test/ui/issues/issue-28498-ugeh-with-passed-to-fn.rs diff --git a/src/test/run-pass/issues/issue-28498-ugeh-with-trait-bound.rs b/src/test/ui/issues/issue-28498-ugeh-with-trait-bound.rs similarity index 100% rename from src/test/run-pass/issues/issue-28498-ugeh-with-trait-bound.rs rename to src/test/ui/issues/issue-28498-ugeh-with-trait-bound.rs diff --git a/src/test/run-pass/issues/issue-28550.rs b/src/test/ui/issues/issue-28550.rs similarity index 100% rename from src/test/run-pass/issues/issue-28550.rs rename to src/test/ui/issues/issue-28550.rs diff --git a/src/test/run-pass/issues/issue-28676.rs b/src/test/ui/issues/issue-28676.rs similarity index 100% rename from src/test/run-pass/issues/issue-28676.rs rename to src/test/ui/issues/issue-28676.rs diff --git a/src/test/run-pass/issues/issue-28777.rs b/src/test/ui/issues/issue-28777.rs similarity index 100% rename from src/test/run-pass/issues/issue-28777.rs rename to src/test/ui/issues/issue-28777.rs diff --git a/src/test/run-pass/issues/issue-28828.rs b/src/test/ui/issues/issue-28828.rs similarity index 100% rename from src/test/run-pass/issues/issue-28828.rs rename to src/test/ui/issues/issue-28828.rs diff --git a/src/test/run-pass/issues/issue-28839.rs b/src/test/ui/issues/issue-28839.rs similarity index 100% rename from src/test/run-pass/issues/issue-28839.rs rename to src/test/ui/issues/issue-28839.rs diff --git a/src/test/run-pass/issues/issue-2895.rs b/src/test/ui/issues/issue-2895.rs similarity index 100% rename from src/test/run-pass/issues/issue-2895.rs rename to src/test/ui/issues/issue-2895.rs diff --git a/src/test/run-pass/issues/issue-28950.rs b/src/test/ui/issues/issue-28950.rs similarity index 100% rename from src/test/run-pass/issues/issue-28950.rs rename to src/test/ui/issues/issue-28950.rs diff --git a/src/test/run-pass/issues/issue-28983.rs b/src/test/ui/issues/issue-28983.rs similarity index 100% rename from src/test/run-pass/issues/issue-28983.rs rename to src/test/ui/issues/issue-28983.rs diff --git a/src/test/run-pass/issues/issue-29053.rs b/src/test/ui/issues/issue-29053.rs similarity index 100% rename from src/test/run-pass/issues/issue-29053.rs rename to src/test/ui/issues/issue-29053.rs diff --git a/src/test/run-pass/issues/issue-29071-2.rs b/src/test/ui/issues/issue-29071-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-29071-2.rs rename to src/test/ui/issues/issue-29071-2.rs diff --git a/src/test/run-pass/issues/issue-29092.rs b/src/test/ui/issues/issue-29092.rs similarity index 100% rename from src/test/run-pass/issues/issue-29092.rs rename to src/test/ui/issues/issue-29092.rs diff --git a/src/test/run-pass/issues/issue-29166.rs b/src/test/ui/issues/issue-29166.rs similarity index 100% rename from src/test/run-pass/issues/issue-29166.rs rename to src/test/ui/issues/issue-29166.rs diff --git a/src/test/run-pass/issues/issue-29227.rs b/src/test/ui/issues/issue-29227.rs similarity index 100% rename from src/test/run-pass/issues/issue-29227.rs rename to src/test/ui/issues/issue-29227.rs diff --git a/src/test/run-pass/issues/issue-2935.rs b/src/test/ui/issues/issue-2935.rs similarity index 100% rename from src/test/run-pass/issues/issue-2935.rs rename to src/test/ui/issues/issue-2935.rs diff --git a/src/test/run-pass/issues/issue-2936.rs b/src/test/ui/issues/issue-2936.rs similarity index 100% rename from src/test/run-pass/issues/issue-2936.rs rename to src/test/ui/issues/issue-2936.rs diff --git a/src/test/run-pass/issues/issue-29466.rs b/src/test/ui/issues/issue-29466.rs similarity index 100% rename from src/test/run-pass/issues/issue-29466.rs rename to src/test/ui/issues/issue-29466.rs diff --git a/src/test/run-pass/issues/issue-29485.rs b/src/test/ui/issues/issue-29485.rs similarity index 100% rename from src/test/run-pass/issues/issue-29485.rs rename to src/test/ui/issues/issue-29485.rs diff --git a/src/test/run-pass/issues/issue-29488.rs b/src/test/ui/issues/issue-29488.rs similarity index 100% rename from src/test/run-pass/issues/issue-29488.rs rename to src/test/ui/issues/issue-29488.rs diff --git a/src/test/run-pass/issues/issue-29522.rs b/src/test/ui/issues/issue-29522.rs similarity index 100% rename from src/test/run-pass/issues/issue-29522.rs rename to src/test/ui/issues/issue-29522.rs diff --git a/src/test/run-pass/issues/issue-29663.rs b/src/test/ui/issues/issue-29663.rs similarity index 100% rename from src/test/run-pass/issues/issue-29663.rs rename to src/test/ui/issues/issue-29663.rs diff --git a/src/test/run-pass/issues/issue-29668.rs b/src/test/ui/issues/issue-29668.rs similarity index 100% rename from src/test/run-pass/issues/issue-29668.rs rename to src/test/ui/issues/issue-29668.rs diff --git a/src/test/run-pass/issues/issue-29746.rs b/src/test/ui/issues/issue-29746.rs similarity index 100% rename from src/test/run-pass/issues/issue-29746.rs rename to src/test/ui/issues/issue-29746.rs diff --git a/src/test/run-pass/issues/issue-29844.rs b/src/test/ui/issues/issue-29844.rs similarity index 100% rename from src/test/run-pass/issues/issue-29844.rs rename to src/test/ui/issues/issue-29844.rs diff --git a/src/test/run-pass/issues/issue-2989.rs b/src/test/ui/issues/issue-2989.rs similarity index 100% rename from src/test/run-pass/issues/issue-2989.rs rename to src/test/ui/issues/issue-2989.rs diff --git a/src/test/run-pass/issues/issue-29914-2.rs b/src/test/ui/issues/issue-29914-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-29914-2.rs rename to src/test/ui/issues/issue-29914-2.rs diff --git a/src/test/run-pass/issues/issue-29914-3.rs b/src/test/ui/issues/issue-29914-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-29914-3.rs rename to src/test/ui/issues/issue-29914-3.rs diff --git a/src/test/run-pass/issues/issue-29914.rs b/src/test/ui/issues/issue-29914.rs similarity index 100% rename from src/test/run-pass/issues/issue-29914.rs rename to src/test/ui/issues/issue-29914.rs diff --git a/src/test/run-pass/issues/issue-29927-1.rs b/src/test/ui/issues/issue-29927-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-29927-1.rs rename to src/test/ui/issues/issue-29927-1.rs diff --git a/src/test/run-pass/issues/issue-29927.rs b/src/test/ui/issues/issue-29927.rs similarity index 100% rename from src/test/run-pass/issues/issue-29927.rs rename to src/test/ui/issues/issue-29927.rs diff --git a/src/test/run-pass/issues/issue-29948.rs b/src/test/ui/issues/issue-29948.rs similarity index 100% rename from src/test/run-pass/issues/issue-29948.rs rename to src/test/ui/issues/issue-29948.rs diff --git a/src/test/run-pass/issues/issue-30018-nopanic.rs b/src/test/ui/issues/issue-30018-nopanic.rs similarity index 100% rename from src/test/run-pass/issues/issue-30018-nopanic.rs rename to src/test/ui/issues/issue-30018-nopanic.rs diff --git a/src/test/run-pass/issues/issue-30018-panic.rs b/src/test/ui/issues/issue-30018-panic.rs similarity index 100% rename from src/test/run-pass/issues/issue-30018-panic.rs rename to src/test/ui/issues/issue-30018-panic.rs diff --git a/src/test/run-pass/issues/issue-30081.rs b/src/test/ui/issues/issue-30081.rs similarity index 100% rename from src/test/run-pass/issues/issue-30081.rs rename to src/test/ui/issues/issue-30081.rs diff --git a/src/test/run-pass/issues/issue-3012-2.rs b/src/test/ui/issues/issue-3012-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-3012-2.rs rename to src/test/ui/issues/issue-3012-2.rs diff --git a/src/test/run-pass/issues/issue-3026.rs b/src/test/ui/issues/issue-3026.rs similarity index 100% rename from src/test/run-pass/issues/issue-3026.rs rename to src/test/ui/issues/issue-3026.rs diff --git a/src/test/run-pass/issues/issue-3037.rs b/src/test/ui/issues/issue-3037.rs similarity index 100% rename from src/test/run-pass/issues/issue-3037.rs rename to src/test/ui/issues/issue-3037.rs diff --git a/src/test/run-pass/issues/issue-30371.rs b/src/test/ui/issues/issue-30371.rs similarity index 100% rename from src/test/run-pass/issues/issue-30371.rs rename to src/test/ui/issues/issue-30371.rs diff --git a/src/test/run-pass/issues/issue-30490.rs b/src/test/ui/issues/issue-30490.rs similarity index 100% rename from src/test/run-pass/issues/issue-30490.rs rename to src/test/ui/issues/issue-30490.rs diff --git a/src/test/run-pass/issues/issue-3052.rs b/src/test/ui/issues/issue-3052.rs similarity index 100% rename from src/test/run-pass/issues/issue-3052.rs rename to src/test/ui/issues/issue-3052.rs diff --git a/src/test/run-pass/issues/issue-30530.rs b/src/test/ui/issues/issue-30530.rs similarity index 100% rename from src/test/run-pass/issues/issue-30530.rs rename to src/test/ui/issues/issue-30530.rs diff --git a/src/test/run-pass/issues/issue-30615.rs b/src/test/ui/issues/issue-30615.rs similarity index 100% rename from src/test/run-pass/issues/issue-30615.rs rename to src/test/ui/issues/issue-30615.rs diff --git a/src/test/run-pass/issues/issue-30756.rs b/src/test/ui/issues/issue-30756.rs similarity index 100% rename from src/test/run-pass/issues/issue-30756.rs rename to src/test/ui/issues/issue-30756.rs diff --git a/src/test/run-pass/issues/issue-30891.rs b/src/test/ui/issues/issue-30891.rs similarity index 100% rename from src/test/run-pass/issues/issue-30891.rs rename to src/test/ui/issues/issue-30891.rs diff --git a/src/test/run-pass/issues/issue-3091.rs b/src/test/ui/issues/issue-3091.rs similarity index 100% rename from src/test/run-pass/issues/issue-3091.rs rename to src/test/ui/issues/issue-3091.rs diff --git a/src/test/run-pass/issues/issue-3109.rs b/src/test/ui/issues/issue-3109.rs similarity index 100% rename from src/test/run-pass/issues/issue-3109.rs rename to src/test/ui/issues/issue-3109.rs diff --git a/src/test/run-pass/issues/issue-3121.rs b/src/test/ui/issues/issue-3121.rs similarity index 100% rename from src/test/run-pass/issues/issue-3121.rs rename to src/test/ui/issues/issue-3121.rs diff --git a/src/test/run-pass/issues/issue-31267-additional.rs b/src/test/ui/issues/issue-31267-additional.rs similarity index 100% rename from src/test/run-pass/issues/issue-31267-additional.rs rename to src/test/ui/issues/issue-31267-additional.rs diff --git a/src/test/run-pass/issues/issue-31267.rs b/src/test/ui/issues/issue-31267.rs similarity index 100% rename from src/test/run-pass/issues/issue-31267.rs rename to src/test/ui/issues/issue-31267.rs diff --git a/src/test/run-pass/issues/issue-31299.rs b/src/test/ui/issues/issue-31299.rs similarity index 100% rename from src/test/run-pass/issues/issue-31299.rs rename to src/test/ui/issues/issue-31299.rs diff --git a/src/test/run-pass/issues/issue-3136-b.rs b/src/test/ui/issues/issue-3136-b.rs similarity index 100% rename from src/test/run-pass/issues/issue-3136-b.rs rename to src/test/ui/issues/issue-3136-b.rs diff --git a/src/test/run-pass/issues/issue-31702.rs b/src/test/ui/issues/issue-31702.rs similarity index 100% rename from src/test/run-pass/issues/issue-31702.rs rename to src/test/ui/issues/issue-31702.rs diff --git a/src/test/run-pass/issues/issue-31776.rs b/src/test/ui/issues/issue-31776.rs similarity index 100% rename from src/test/run-pass/issues/issue-31776.rs rename to src/test/ui/issues/issue-31776.rs diff --git a/src/test/run-pass/issues/issue-32008.rs b/src/test/ui/issues/issue-32008.rs similarity index 100% rename from src/test/run-pass/issues/issue-32008.rs rename to src/test/ui/issues/issue-32008.rs diff --git a/src/test/run-pass/issues/issue-3211.rs b/src/test/ui/issues/issue-3211.rs similarity index 100% rename from src/test/run-pass/issues/issue-3211.rs rename to src/test/ui/issues/issue-3211.rs diff --git a/src/test/run-pass/issues/issue-3220.rs b/src/test/ui/issues/issue-3220.rs similarity index 100% rename from src/test/run-pass/issues/issue-3220.rs rename to src/test/ui/issues/issue-3220.rs diff --git a/src/test/run-pass/issues/issue-32292.rs b/src/test/ui/issues/issue-32292.rs similarity index 100% rename from src/test/run-pass/issues/issue-32292.rs rename to src/test/ui/issues/issue-32292.rs diff --git a/src/test/run-pass/issues/issue-32389.rs b/src/test/ui/issues/issue-32389.rs similarity index 100% rename from src/test/run-pass/issues/issue-32389.rs rename to src/test/ui/issues/issue-32389.rs diff --git a/src/test/run-pass/issues/issue-32518.rs b/src/test/ui/issues/issue-32518.rs similarity index 100% rename from src/test/run-pass/issues/issue-32518.rs rename to src/test/ui/issues/issue-32518.rs diff --git a/src/test/run-pass/issues/issue-32805.rs b/src/test/ui/issues/issue-32805.rs similarity index 100% rename from src/test/run-pass/issues/issue-32805.rs rename to src/test/ui/issues/issue-32805.rs diff --git a/src/test/run-pass/issues/issue-3290.rs b/src/test/ui/issues/issue-3290.rs similarity index 100% rename from src/test/run-pass/issues/issue-3290.rs rename to src/test/ui/issues/issue-3290.rs diff --git a/src/test/run-pass/issues/issue-32947.rs b/src/test/ui/issues/issue-32947.rs similarity index 100% rename from src/test/run-pass/issues/issue-32947.rs rename to src/test/ui/issues/issue-32947.rs diff --git a/src/test/run-pass/issues/issue-33096.rs b/src/test/ui/issues/issue-33096.rs similarity index 100% rename from src/test/run-pass/issues/issue-33096.rs rename to src/test/ui/issues/issue-33096.rs diff --git a/src/test/run-pass/issues/issue-33185.rs b/src/test/ui/issues/issue-33185.rs similarity index 100% rename from src/test/run-pass/issues/issue-33185.rs rename to src/test/ui/issues/issue-33185.rs diff --git a/src/test/run-pass/issues/issue-33187.rs b/src/test/ui/issues/issue-33187.rs similarity index 100% rename from src/test/run-pass/issues/issue-33187.rs rename to src/test/ui/issues/issue-33187.rs diff --git a/src/test/run-pass/issues/issue-33202.rs b/src/test/ui/issues/issue-33202.rs similarity index 100% rename from src/test/run-pass/issues/issue-33202.rs rename to src/test/ui/issues/issue-33202.rs diff --git a/src/test/run-pass/issues/issue-333.rs b/src/test/ui/issues/issue-333.rs similarity index 100% rename from src/test/run-pass/issues/issue-333.rs rename to src/test/ui/issues/issue-333.rs diff --git a/src/test/run-pass/issues/issue-33387.rs b/src/test/ui/issues/issue-33387.rs similarity index 100% rename from src/test/run-pass/issues/issue-33387.rs rename to src/test/ui/issues/issue-33387.rs diff --git a/src/test/run-pass/issues/issue-33461.rs b/src/test/ui/issues/issue-33461.rs similarity index 100% rename from src/test/run-pass/issues/issue-33461.rs rename to src/test/ui/issues/issue-33461.rs diff --git a/src/test/run-pass/issues/issue-33498.rs b/src/test/ui/issues/issue-33498.rs similarity index 100% rename from src/test/run-pass/issues/issue-33498.rs rename to src/test/ui/issues/issue-33498.rs diff --git a/src/test/run-pass/issues/issue-33537.rs b/src/test/ui/issues/issue-33537.rs similarity index 100% rename from src/test/run-pass/issues/issue-33537.rs rename to src/test/ui/issues/issue-33537.rs diff --git a/src/test/run-pass/issues/issue-33687.rs b/src/test/ui/issues/issue-33687.rs similarity index 100% rename from src/test/run-pass/issues/issue-33687.rs rename to src/test/ui/issues/issue-33687.rs diff --git a/src/test/run-pass/issues/issue-33770.rs b/src/test/ui/issues/issue-33770.rs similarity index 100% rename from src/test/run-pass/issues/issue-33770.rs rename to src/test/ui/issues/issue-33770.rs diff --git a/src/test/run-pass/issues/issue-3389.rs b/src/test/ui/issues/issue-3389.rs similarity index 100% rename from src/test/run-pass/issues/issue-3389.rs rename to src/test/ui/issues/issue-3389.rs diff --git a/src/test/run-pass/issues/issue-33992.rs b/src/test/ui/issues/issue-33992.rs similarity index 100% rename from src/test/run-pass/issues/issue-33992.rs rename to src/test/ui/issues/issue-33992.rs diff --git a/src/test/run-pass/issues/issue-34053.rs b/src/test/ui/issues/issue-34053.rs similarity index 100% rename from src/test/run-pass/issues/issue-34053.rs rename to src/test/ui/issues/issue-34053.rs diff --git a/src/test/run-pass/issues/issue-34074.rs b/src/test/ui/issues/issue-34074.rs similarity index 100% rename from src/test/run-pass/issues/issue-34074.rs rename to src/test/ui/issues/issue-34074.rs diff --git a/src/test/run-pass/issues/issue-3429.rs b/src/test/ui/issues/issue-3429.rs similarity index 100% rename from src/test/run-pass/issues/issue-3429.rs rename to src/test/ui/issues/issue-3429.rs diff --git a/src/test/run-pass/issues/issue-34427.rs b/src/test/ui/issues/issue-34427.rs similarity index 100% rename from src/test/run-pass/issues/issue-34427.rs rename to src/test/ui/issues/issue-34427.rs diff --git a/src/test/run-pass/issues/issue-3447.rs b/src/test/ui/issues/issue-3447.rs similarity index 100% rename from src/test/run-pass/issues/issue-3447.rs rename to src/test/ui/issues/issue-3447.rs diff --git a/src/test/run-pass/issues/issue-34503.rs b/src/test/ui/issues/issue-34503.rs similarity index 100% rename from src/test/run-pass/issues/issue-34503.rs rename to src/test/ui/issues/issue-34503.rs diff --git a/src/test/run-pass/issues/issue-34569.rs b/src/test/ui/issues/issue-34569.rs similarity index 100% rename from src/test/run-pass/issues/issue-34569.rs rename to src/test/ui/issues/issue-34569.rs diff --git a/src/test/run-pass/issues/issue-34571.rs b/src/test/ui/issues/issue-34571.rs similarity index 100% rename from src/test/run-pass/issues/issue-34571.rs rename to src/test/ui/issues/issue-34571.rs diff --git a/src/test/run-pass/issues/issue-34784.rs b/src/test/ui/issues/issue-34784.rs similarity index 100% rename from src/test/run-pass/issues/issue-34784.rs rename to src/test/ui/issues/issue-34784.rs diff --git a/src/test/run-pass/issues/issue-34796.rs b/src/test/ui/issues/issue-34796.rs similarity index 100% rename from src/test/run-pass/issues/issue-34796.rs rename to src/test/ui/issues/issue-34796.rs diff --git a/src/test/run-pass/issues/issue-34798.rs b/src/test/ui/issues/issue-34798.rs similarity index 100% rename from src/test/run-pass/issues/issue-34798.rs rename to src/test/ui/issues/issue-34798.rs diff --git a/src/test/run-pass/issues/issue-34932.rs b/src/test/ui/issues/issue-34932.rs similarity index 100% rename from src/test/run-pass/issues/issue-34932.rs rename to src/test/ui/issues/issue-34932.rs diff --git a/src/test/run-pass/issues/issue-3500.rs b/src/test/ui/issues/issue-3500.rs similarity index 100% rename from src/test/run-pass/issues/issue-3500.rs rename to src/test/ui/issues/issue-3500.rs diff --git a/src/test/run-pass/issues/issue-35423.rs b/src/test/ui/issues/issue-35423.rs similarity index 100% rename from src/test/run-pass/issues/issue-35423.rs rename to src/test/ui/issues/issue-35423.rs diff --git a/src/test/run-pass/issues/issue-3556.rs b/src/test/ui/issues/issue-3556.rs similarity index 100% rename from src/test/run-pass/issues/issue-3556.rs rename to src/test/ui/issues/issue-3556.rs diff --git a/src/test/run-pass/issues/issue-3559.rs b/src/test/ui/issues/issue-3559.rs similarity index 100% rename from src/test/run-pass/issues/issue-3559.rs rename to src/test/ui/issues/issue-3559.rs diff --git a/src/test/run-pass/issues/issue-35600.rs b/src/test/ui/issues/issue-35600.rs similarity index 100% rename from src/test/run-pass/issues/issue-35600.rs rename to src/test/ui/issues/issue-35600.rs diff --git a/src/test/run-pass/issues/issue-3563-3.rs b/src/test/ui/issues/issue-3563-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-3563-3.rs rename to src/test/ui/issues/issue-3563-3.rs diff --git a/src/test/run-pass/issues/issue-3574.rs b/src/test/ui/issues/issue-3574.rs similarity index 100% rename from src/test/run-pass/issues/issue-3574.rs rename to src/test/ui/issues/issue-3574.rs diff --git a/src/test/run-pass/issues/issue-35815.rs b/src/test/ui/issues/issue-35815.rs similarity index 100% rename from src/test/run-pass/issues/issue-35815.rs rename to src/test/ui/issues/issue-35815.rs diff --git a/src/test/run-pass/issues/issue-36023.rs b/src/test/ui/issues/issue-36023.rs similarity index 100% rename from src/test/run-pass/issues/issue-36023.rs rename to src/test/ui/issues/issue-36023.rs diff --git a/src/test/run-pass/issues/issue-36036-associated-type-layout.rs b/src/test/ui/issues/issue-36036-associated-type-layout.rs similarity index 100% rename from src/test/run-pass/issues/issue-36036-associated-type-layout.rs rename to src/test/ui/issues/issue-36036-associated-type-layout.rs diff --git a/src/test/run-pass/issues/issue-36053.rs b/src/test/ui/issues/issue-36053.rs similarity index 100% rename from src/test/run-pass/issues/issue-36053.rs rename to src/test/ui/issues/issue-36053.rs diff --git a/src/test/run-pass/issues/issue-36139-normalize-closure-sig.rs b/src/test/ui/issues/issue-36139-normalize-closure-sig.rs similarity index 100% rename from src/test/run-pass/issues/issue-36139-normalize-closure-sig.rs rename to src/test/ui/issues/issue-36139-normalize-closure-sig.rs diff --git a/src/test/run-pass/issues/issue-36260.rs b/src/test/ui/issues/issue-36260.rs similarity index 100% rename from src/test/run-pass/issues/issue-36260.rs rename to src/test/ui/issues/issue-36260.rs diff --git a/src/test/run-pass/issues/issue-36278-prefix-nesting.rs b/src/test/ui/issues/issue-36278-prefix-nesting.rs similarity index 100% rename from src/test/run-pass/issues/issue-36278-prefix-nesting.rs rename to src/test/ui/issues/issue-36278-prefix-nesting.rs diff --git a/src/test/run-pass/issues/issue-36381.rs b/src/test/ui/issues/issue-36381.rs similarity index 100% rename from src/test/run-pass/issues/issue-36381.rs rename to src/test/ui/issues/issue-36381.rs diff --git a/src/test/run-pass/issues/issue-36401.rs b/src/test/ui/issues/issue-36401.rs similarity index 100% rename from src/test/run-pass/issues/issue-36401.rs rename to src/test/ui/issues/issue-36401.rs diff --git a/src/test/run-pass/issues/issue-36474.rs b/src/test/ui/issues/issue-36474.rs similarity index 100% rename from src/test/run-pass/issues/issue-36474.rs rename to src/test/ui/issues/issue-36474.rs diff --git a/src/test/run-pass/issues/issue-3656.rs b/src/test/ui/issues/issue-3656.rs similarity index 100% rename from src/test/run-pass/issues/issue-3656.rs rename to src/test/ui/issues/issue-3656.rs diff --git a/src/test/run-pass/issues/issue-36744-bitcast-args-if-needed.rs b/src/test/ui/issues/issue-36744-bitcast-args-if-needed.rs similarity index 100% rename from src/test/run-pass/issues/issue-36744-bitcast-args-if-needed.rs rename to src/test/ui/issues/issue-36744-bitcast-args-if-needed.rs diff --git a/src/test/run-pass/issues/issue-36768.rs b/src/test/ui/issues/issue-36768.rs similarity index 100% rename from src/test/run-pass/issues/issue-36768.rs rename to src/test/ui/issues/issue-36768.rs diff --git a/src/test/run-pass/issues/issue-36786-resolve-call.rs b/src/test/ui/issues/issue-36786-resolve-call.rs similarity index 100% rename from src/test/run-pass/issues/issue-36786-resolve-call.rs rename to src/test/ui/issues/issue-36786-resolve-call.rs diff --git a/src/test/run-pass/issues/issue-36792.rs b/src/test/ui/issues/issue-36792.rs similarity index 100% rename from src/test/run-pass/issues/issue-36792.rs rename to src/test/ui/issues/issue-36792.rs diff --git a/src/test/run-pass/issues/issue-36816.rs b/src/test/ui/issues/issue-36816.rs similarity index 100% rename from src/test/run-pass/issues/issue-36816.rs rename to src/test/ui/issues/issue-36816.rs diff --git a/src/test/run-pass/issues/issue-3683.rs b/src/test/ui/issues/issue-3683.rs similarity index 100% rename from src/test/run-pass/issues/issue-3683.rs rename to src/test/ui/issues/issue-3683.rs diff --git a/src/test/run-pass/issues/issue-36856.rs b/src/test/ui/issues/issue-36856.rs similarity index 100% rename from src/test/run-pass/issues/issue-36856.rs rename to src/test/ui/issues/issue-36856.rs diff --git a/src/test/run-pass/issues/issue-36936.rs b/src/test/ui/issues/issue-36936.rs similarity index 100% rename from src/test/run-pass/issues/issue-36936.rs rename to src/test/ui/issues/issue-36936.rs diff --git a/src/test/run-pass/issues/issue-36954.rs b/src/test/ui/issues/issue-36954.rs similarity index 100% rename from src/test/run-pass/issues/issue-36954.rs rename to src/test/ui/issues/issue-36954.rs diff --git a/src/test/run-pass/issues/issue-3702.rs b/src/test/ui/issues/issue-3702.rs similarity index 100% rename from src/test/run-pass/issues/issue-3702.rs rename to src/test/ui/issues/issue-3702.rs diff --git a/src/test/run-pass/issues/issue-37109.rs b/src/test/ui/issues/issue-37109.rs similarity index 100% rename from src/test/run-pass/issues/issue-37109.rs rename to src/test/ui/issues/issue-37109.rs diff --git a/src/test/run-pass/issues/issue-37175.rs b/src/test/ui/issues/issue-37175.rs similarity index 100% rename from src/test/run-pass/issues/issue-37175.rs rename to src/test/ui/issues/issue-37175.rs diff --git a/src/test/run-pass/issues/issue-37222.rs b/src/test/ui/issues/issue-37222.rs similarity index 100% rename from src/test/run-pass/issues/issue-37222.rs rename to src/test/ui/issues/issue-37222.rs diff --git a/src/test/run-pass/issues/issue-37291/auxiliary/lib.rs b/src/test/ui/issues/issue-37291/auxiliary/lib.rs similarity index 100% rename from src/test/run-pass/issues/issue-37291/auxiliary/lib.rs rename to src/test/ui/issues/issue-37291/auxiliary/lib.rs diff --git a/src/test/run-pass/issues/issue-37291/main.rs b/src/test/ui/issues/issue-37291/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-37291/main.rs rename to src/test/ui/issues/issue-37291/main.rs diff --git a/src/test/run-pass/issues/issue-3743.rs b/src/test/ui/issues/issue-3743.rs similarity index 100% rename from src/test/run-pass/issues/issue-3743.rs rename to src/test/ui/issues/issue-3743.rs diff --git a/src/test/run-pass/issues/issue-3753.rs b/src/test/ui/issues/issue-3753.rs similarity index 100% rename from src/test/run-pass/issues/issue-3753.rs rename to src/test/ui/issues/issue-3753.rs diff --git a/src/test/run-pass/issues/issue-37686.rs b/src/test/ui/issues/issue-37686.rs similarity index 100% rename from src/test/run-pass/issues/issue-37686.rs rename to src/test/ui/issues/issue-37686.rs diff --git a/src/test/run-pass/issues/issue-3794.rs b/src/test/ui/issues/issue-3794.rs similarity index 100% rename from src/test/run-pass/issues/issue-3794.rs rename to src/test/ui/issues/issue-3794.rs diff --git a/src/test/run-pass/issues/issue-37991.rs b/src/test/ui/issues/issue-37991.rs similarity index 100% rename from src/test/run-pass/issues/issue-37991.rs rename to src/test/ui/issues/issue-37991.rs diff --git a/src/test/run-pass/issues/issue-38002.rs b/src/test/ui/issues/issue-38002.rs similarity index 100% rename from src/test/run-pass/issues/issue-38002.rs rename to src/test/ui/issues/issue-38002.rs diff --git a/src/test/run-pass/issues/issue-38033.rs b/src/test/ui/issues/issue-38033.rs similarity index 100% rename from src/test/run-pass/issues/issue-38033.rs rename to src/test/ui/issues/issue-38033.rs diff --git a/src/test/run-pass/issues/issue-38074.rs b/src/test/ui/issues/issue-38074.rs similarity index 100% rename from src/test/run-pass/issues/issue-38074.rs rename to src/test/ui/issues/issue-38074.rs diff --git a/src/test/run-pass/issues/issue-38091.rs b/src/test/ui/issues/issue-38091.rs similarity index 100% rename from src/test/run-pass/issues/issue-38091.rs rename to src/test/ui/issues/issue-38091.rs diff --git a/src/test/run-pass/issues/issue-38190.rs b/src/test/ui/issues/issue-38190.rs similarity index 100% rename from src/test/run-pass/issues/issue-38190.rs rename to src/test/ui/issues/issue-38190.rs diff --git a/src/test/run-pass/issues/issue-38226.rs b/src/test/ui/issues/issue-38226.rs similarity index 100% rename from src/test/run-pass/issues/issue-38226.rs rename to src/test/ui/issues/issue-38226.rs diff --git a/src/test/run-pass/issues/issue-38437.rs b/src/test/ui/issues/issue-38437.rs similarity index 100% rename from src/test/run-pass/issues/issue-38437.rs rename to src/test/ui/issues/issue-38437.rs diff --git a/src/test/run-pass/issues/issue-3847.rs b/src/test/ui/issues/issue-3847.rs similarity index 100% rename from src/test/run-pass/issues/issue-3847.rs rename to src/test/ui/issues/issue-3847.rs diff --git a/src/test/run-pass/issues/issue-38556.rs b/src/test/ui/issues/issue-38556.rs similarity index 100% rename from src/test/run-pass/issues/issue-38556.rs rename to src/test/ui/issues/issue-38556.rs diff --git a/src/test/run-pass/issues/issue-38763.rs b/src/test/ui/issues/issue-38763.rs similarity index 100% rename from src/test/run-pass/issues/issue-38763.rs rename to src/test/ui/issues/issue-38763.rs diff --git a/src/test/run-pass/issues/issue-3878.rs b/src/test/ui/issues/issue-3878.rs similarity index 100% rename from src/test/run-pass/issues/issue-3878.rs rename to src/test/ui/issues/issue-3878.rs diff --git a/src/test/run-pass/issues/issue-38942.rs b/src/test/ui/issues/issue-38942.rs similarity index 100% rename from src/test/run-pass/issues/issue-38942.rs rename to src/test/ui/issues/issue-38942.rs diff --git a/src/test/run-pass/issues/issue-3895.rs b/src/test/ui/issues/issue-3895.rs similarity index 100% rename from src/test/run-pass/issues/issue-3895.rs rename to src/test/ui/issues/issue-3895.rs diff --git a/src/test/run-pass/issues/issue-38987.rs b/src/test/ui/issues/issue-38987.rs similarity index 100% rename from src/test/run-pass/issues/issue-38987.rs rename to src/test/ui/issues/issue-38987.rs diff --git a/src/test/run-pass/issues/issue-3904.rs b/src/test/ui/issues/issue-3904.rs similarity index 100% rename from src/test/run-pass/issues/issue-3904.rs rename to src/test/ui/issues/issue-3904.rs diff --git a/src/test/run-pass/issues/issue-39292.rs b/src/test/ui/issues/issue-39292.rs similarity index 100% rename from src/test/run-pass/issues/issue-39292.rs rename to src/test/ui/issues/issue-39292.rs diff --git a/src/test/run-pass/issues/issue-3935.rs b/src/test/ui/issues/issue-3935.rs similarity index 100% rename from src/test/run-pass/issues/issue-3935.rs rename to src/test/ui/issues/issue-3935.rs diff --git a/src/test/run-pass/issues/issue-39367.rs b/src/test/ui/issues/issue-39367.rs similarity index 100% rename from src/test/run-pass/issues/issue-39367.rs rename to src/test/ui/issues/issue-39367.rs diff --git a/src/test/run-pass/issues/issue-39548.rs b/src/test/ui/issues/issue-39548.rs similarity index 100% rename from src/test/run-pass/issues/issue-39548.rs rename to src/test/ui/issues/issue-39548.rs diff --git a/src/test/run-pass/issues/issue-39709.rs b/src/test/ui/issues/issue-39709.rs similarity index 100% rename from src/test/run-pass/issues/issue-39709.rs rename to src/test/ui/issues/issue-39709.rs diff --git a/src/test/run-pass/issues/issue-39720.rs b/src/test/ui/issues/issue-39720.rs similarity index 100% rename from src/test/run-pass/issues/issue-39720.rs rename to src/test/ui/issues/issue-39720.rs diff --git a/src/test/run-pass/issues/issue-39720.stderr b/src/test/ui/issues/issue-39720.stderr similarity index 100% rename from src/test/run-pass/issues/issue-39720.stderr rename to src/test/ui/issues/issue-39720.stderr diff --git a/src/test/run-pass/issues/issue-3979-generics.rs b/src/test/ui/issues/issue-3979-generics.rs similarity index 100% rename from src/test/run-pass/issues/issue-3979-generics.rs rename to src/test/ui/issues/issue-3979-generics.rs diff --git a/src/test/run-pass/issues/issue-3979-xcrate.rs b/src/test/ui/issues/issue-3979-xcrate.rs similarity index 100% rename from src/test/run-pass/issues/issue-3979-xcrate.rs rename to src/test/ui/issues/issue-3979-xcrate.rs diff --git a/src/test/run-pass/issues/issue-3979.rs b/src/test/ui/issues/issue-3979.rs similarity index 100% rename from src/test/run-pass/issues/issue-3979.rs rename to src/test/ui/issues/issue-3979.rs diff --git a/src/test/run-pass/issues/issue-39808.rs b/src/test/ui/issues/issue-39808.rs similarity index 100% rename from src/test/run-pass/issues/issue-39808.rs rename to src/test/ui/issues/issue-39808.rs diff --git a/src/test/run-pass/issues/issue-39823.rs b/src/test/ui/issues/issue-39823.rs similarity index 100% rename from src/test/run-pass/issues/issue-39823.rs rename to src/test/ui/issues/issue-39823.rs diff --git a/src/test/run-pass/issues/issue-39827.rs b/src/test/ui/issues/issue-39827.rs similarity index 100% rename from src/test/run-pass/issues/issue-39827.rs rename to src/test/ui/issues/issue-39827.rs diff --git a/src/test/run-pass/issues/issue-40003.rs b/src/test/ui/issues/issue-40003.rs similarity index 100% rename from src/test/run-pass/issues/issue-40003.rs rename to src/test/ui/issues/issue-40003.rs diff --git a/src/test/run-pass/issues/issue-40085.rs b/src/test/ui/issues/issue-40085.rs similarity index 100% rename from src/test/run-pass/issues/issue-40085.rs rename to src/test/ui/issues/issue-40085.rs diff --git a/src/test/run-pass/issues/issue-40235.rs b/src/test/ui/issues/issue-40235.rs similarity index 100% rename from src/test/run-pass/issues/issue-40235.rs rename to src/test/ui/issues/issue-40235.rs diff --git a/src/test/run-pass/issues/issue-40408.rs b/src/test/ui/issues/issue-40408.rs similarity index 100% rename from src/test/run-pass/issues/issue-40408.rs rename to src/test/ui/issues/issue-40408.rs diff --git a/src/test/run-pass/issues/issue-40469.rs b/src/test/ui/issues/issue-40469.rs similarity index 100% rename from src/test/run-pass/issues/issue-40469.rs rename to src/test/ui/issues/issue-40469.rs diff --git a/src/test/run-pass/issues/issue-40770.rs b/src/test/ui/issues/issue-40770.rs similarity index 100% rename from src/test/run-pass/issues/issue-40770.rs rename to src/test/ui/issues/issue-40770.rs diff --git a/src/test/run-pass/issues/issue-40847.rs b/src/test/ui/issues/issue-40847.rs similarity index 100% rename from src/test/run-pass/issues/issue-40847.rs rename to src/test/ui/issues/issue-40847.rs diff --git a/src/test/run-pass/issues/issue-40883.rs b/src/test/ui/issues/issue-40883.rs similarity index 100% rename from src/test/run-pass/issues/issue-40883.rs rename to src/test/ui/issues/issue-40883.rs diff --git a/src/test/run-pass/issues/issue-40951.rs b/src/test/ui/issues/issue-40951.rs similarity index 100% rename from src/test/run-pass/issues/issue-40951.rs rename to src/test/ui/issues/issue-40951.rs diff --git a/src/test/run-pass/issues/issue-41053.rs b/src/test/ui/issues/issue-41053.rs similarity index 100% rename from src/test/run-pass/issues/issue-41053.rs rename to src/test/ui/issues/issue-41053.rs diff --git a/src/test/run-pass/issues/issue-4107.rs b/src/test/ui/issues/issue-4107.rs similarity index 100% rename from src/test/run-pass/issues/issue-4107.rs rename to src/test/ui/issues/issue-4107.rs diff --git a/src/test/run-pass/issues/issue-41213.rs b/src/test/ui/issues/issue-41213.rs similarity index 100% rename from src/test/run-pass/issues/issue-41213.rs rename to src/test/ui/issues/issue-41213.rs diff --git a/src/test/run-pass/issues/issue-41479.rs b/src/test/ui/issues/issue-41479.rs similarity index 100% rename from src/test/run-pass/issues/issue-41479.rs rename to src/test/ui/issues/issue-41479.rs diff --git a/src/test/run-pass/issues/issue-41498.rs b/src/test/ui/issues/issue-41498.rs similarity index 100% rename from src/test/run-pass/issues/issue-41498.rs rename to src/test/ui/issues/issue-41498.rs diff --git a/src/test/run-pass/issues/issue-41604.rs b/src/test/ui/issues/issue-41604.rs similarity index 100% rename from src/test/run-pass/issues/issue-41604.rs rename to src/test/ui/issues/issue-41604.rs diff --git a/src/test/run-pass/issues/issue-41677.rs b/src/test/ui/issues/issue-41677.rs similarity index 100% rename from src/test/run-pass/issues/issue-41677.rs rename to src/test/ui/issues/issue-41677.rs diff --git a/src/test/run-pass/issues/issue-41696.rs b/src/test/ui/issues/issue-41696.rs similarity index 100% rename from src/test/run-pass/issues/issue-41696.rs rename to src/test/ui/issues/issue-41696.rs diff --git a/src/test/run-pass/issues/issue-41744.rs b/src/test/ui/issues/issue-41744.rs similarity index 100% rename from src/test/run-pass/issues/issue-41744.rs rename to src/test/ui/issues/issue-41744.rs diff --git a/src/test/run-pass/issues/issue-41803.rs b/src/test/ui/issues/issue-41803.rs similarity index 100% rename from src/test/run-pass/issues/issue-41803.rs rename to src/test/ui/issues/issue-41803.rs diff --git a/src/test/run-pass/issues/issue-41849-variance-req.rs b/src/test/ui/issues/issue-41849-variance-req.rs similarity index 100% rename from src/test/run-pass/issues/issue-41849-variance-req.rs rename to src/test/ui/issues/issue-41849-variance-req.rs diff --git a/src/test/run-pass/issues/issue-41888.rs b/src/test/ui/issues/issue-41888.rs similarity index 100% rename from src/test/run-pass/issues/issue-41888.rs rename to src/test/ui/issues/issue-41888.rs diff --git a/src/test/run-pass/issues/issue-42007.rs b/src/test/ui/issues/issue-42007.rs similarity index 100% rename from src/test/run-pass/issues/issue-42007.rs rename to src/test/ui/issues/issue-42007.rs diff --git a/src/test/run-pass/issues/issue-4208.rs b/src/test/ui/issues/issue-4208.rs similarity index 100% rename from src/test/run-pass/issues/issue-4208.rs rename to src/test/ui/issues/issue-4208.rs diff --git a/src/test/run-pass/issues/issue-42148.rs b/src/test/ui/issues/issue-42148.rs similarity index 100% rename from src/test/run-pass/issues/issue-42148.rs rename to src/test/ui/issues/issue-42148.rs diff --git a/src/test/run-pass/issues/issue-42210.rs b/src/test/ui/issues/issue-42210.rs similarity index 100% rename from src/test/run-pass/issues/issue-42210.rs rename to src/test/ui/issues/issue-42210.rs diff --git a/src/test/run-pass/issues/issue-4228.rs b/src/test/ui/issues/issue-4228.rs similarity index 100% rename from src/test/run-pass/issues/issue-4228.rs rename to src/test/ui/issues/issue-4228.rs diff --git a/src/test/run-pass/issues/issue-42453.rs b/src/test/ui/issues/issue-42453.rs similarity index 100% rename from src/test/run-pass/issues/issue-42453.rs rename to src/test/ui/issues/issue-42453.rs diff --git a/src/test/run-pass/issues/issue-42463.rs b/src/test/ui/issues/issue-42463.rs similarity index 100% rename from src/test/run-pass/issues/issue-42463.rs rename to src/test/ui/issues/issue-42463.rs diff --git a/src/test/run-pass/issues/issue-4252.rs b/src/test/ui/issues/issue-4252.rs similarity index 100% rename from src/test/run-pass/issues/issue-4252.rs rename to src/test/ui/issues/issue-4252.rs diff --git a/src/test/run-pass/issues/issue-42552.rs b/src/test/ui/issues/issue-42552.rs similarity index 100% rename from src/test/run-pass/issues/issue-42552.rs rename to src/test/ui/issues/issue-42552.rs diff --git a/src/test/run-pass/issues/issue-42679.rs b/src/test/ui/issues/issue-42679.rs similarity index 100% rename from src/test/run-pass/issues/issue-42679.rs rename to src/test/ui/issues/issue-42679.rs diff --git a/src/test/run-pass/issues/issue-42747.rs b/src/test/ui/issues/issue-42747.rs similarity index 100% rename from src/test/run-pass/issues/issue-42747.rs rename to src/test/ui/issues/issue-42747.rs diff --git a/src/test/run-pass/issues/issue-43132.rs b/src/test/ui/issues/issue-43132.rs similarity index 100% rename from src/test/run-pass/issues/issue-43132.rs rename to src/test/ui/issues/issue-43132.rs diff --git a/src/test/run-pass/issues/issue-43205.rs b/src/test/ui/issues/issue-43205.rs similarity index 100% rename from src/test/run-pass/issues/issue-43205.rs rename to src/test/ui/issues/issue-43205.rs diff --git a/src/test/run-pass/issues/issue-43291.rs b/src/test/ui/issues/issue-43291.rs similarity index 100% rename from src/test/run-pass/issues/issue-43291.rs rename to src/test/ui/issues/issue-43291.rs diff --git a/src/test/run-pass/issues/issue-4333.rs b/src/test/ui/issues/issue-4333.rs similarity index 100% rename from src/test/run-pass/issues/issue-4333.rs rename to src/test/ui/issues/issue-4333.rs diff --git a/src/test/run-pass/issues/issue-43692.rs b/src/test/ui/issues/issue-43692.rs similarity index 100% rename from src/test/run-pass/issues/issue-43692.rs rename to src/test/ui/issues/issue-43692.rs diff --git a/src/test/run-pass/issues/issue-43853.rs b/src/test/ui/issues/issue-43853.rs similarity index 100% rename from src/test/run-pass/issues/issue-43853.rs rename to src/test/ui/issues/issue-43853.rs diff --git a/src/test/run-pass/issues/issue-4387.rs b/src/test/ui/issues/issue-4387.rs similarity index 100% rename from src/test/run-pass/issues/issue-4387.rs rename to src/test/ui/issues/issue-4387.rs diff --git a/src/test/run-pass/issues/issue-43910.rs b/src/test/ui/issues/issue-43910.rs similarity index 100% rename from src/test/run-pass/issues/issue-43910.rs rename to src/test/ui/issues/issue-43910.rs diff --git a/src/test/run-pass/issues/issue-43923.rs b/src/test/ui/issues/issue-43923.rs similarity index 100% rename from src/test/run-pass/issues/issue-43923.rs rename to src/test/ui/issues/issue-43923.rs diff --git a/src/test/run-pass/issues/issue-4401.rs b/src/test/ui/issues/issue-4401.rs similarity index 100% rename from src/test/run-pass/issues/issue-4401.rs rename to src/test/ui/issues/issue-4401.rs diff --git a/src/test/run-pass/issues/issue-44333.rs b/src/test/ui/issues/issue-44333.rs similarity index 100% rename from src/test/run-pass/issues/issue-44333.rs rename to src/test/ui/issues/issue-44333.rs diff --git a/src/test/run-pass/issues/issue-4446.rs b/src/test/ui/issues/issue-4446.rs similarity index 100% rename from src/test/run-pass/issues/issue-4446.rs rename to src/test/ui/issues/issue-4446.rs diff --git a/src/test/run-pass/issues/issue-4448.rs b/src/test/ui/issues/issue-4448.rs similarity index 100% rename from src/test/run-pass/issues/issue-4448.rs rename to src/test/ui/issues/issue-4448.rs diff --git a/src/test/run-pass/issues/issue-45124.rs b/src/test/ui/issues/issue-45124.rs similarity index 100% rename from src/test/run-pass/issues/issue-45124.rs rename to src/test/ui/issues/issue-45124.rs diff --git a/src/test/run-pass/issues/issue-45152.rs b/src/test/ui/issues/issue-45152.rs similarity index 100% rename from src/test/run-pass/issues/issue-45152.rs rename to src/test/ui/issues/issue-45152.rs diff --git a/src/test/run-pass/issues/issue-4541.rs b/src/test/ui/issues/issue-4541.rs similarity index 100% rename from src/test/run-pass/issues/issue-4541.rs rename to src/test/ui/issues/issue-4541.rs diff --git a/src/test/run-pass/issues/issue-4542.rs b/src/test/ui/issues/issue-4542.rs similarity index 100% rename from src/test/run-pass/issues/issue-4542.rs rename to src/test/ui/issues/issue-4542.rs diff --git a/src/test/run-pass/issues/issue-4545.rs b/src/test/ui/issues/issue-4545.rs similarity index 100% rename from src/test/run-pass/issues/issue-4545.rs rename to src/test/ui/issues/issue-4545.rs diff --git a/src/test/run-pass/issues/issue-45510.rs b/src/test/ui/issues/issue-45510.rs similarity index 100% rename from src/test/run-pass/issues/issue-45510.rs rename to src/test/ui/issues/issue-45510.rs diff --git a/src/test/run-pass/issues/issue-45731.rs b/src/test/ui/issues/issue-45731.rs similarity index 100% rename from src/test/run-pass/issues/issue-45731.rs rename to src/test/ui/issues/issue-45731.rs diff --git a/src/test/run-pass/issues/issue-46069.rs b/src/test/ui/issues/issue-46069.rs similarity index 100% rename from src/test/run-pass/issues/issue-46069.rs rename to src/test/ui/issues/issue-46069.rs diff --git a/src/test/run-pass/issues/issue-46095.rs b/src/test/ui/issues/issue-46095.rs similarity index 100% rename from src/test/run-pass/issues/issue-46095.rs rename to src/test/ui/issues/issue-46095.rs diff --git a/src/test/run-pass/issues/issue-46519.rs b/src/test/ui/issues/issue-46519.rs similarity index 100% rename from src/test/run-pass/issues/issue-46519.rs rename to src/test/ui/issues/issue-46519.rs diff --git a/src/test/run-pass/issues/issue-46553.rs b/src/test/ui/issues/issue-46553.rs similarity index 100% rename from src/test/run-pass/issues/issue-46553.rs rename to src/test/ui/issues/issue-46553.rs diff --git a/src/test/run-pass/issues/issue-46845.rs b/src/test/ui/issues/issue-46845.rs similarity index 100% rename from src/test/run-pass/issues/issue-46845.rs rename to src/test/ui/issues/issue-46845.rs diff --git a/src/test/run-pass/issues/issue-46855.rs b/src/test/ui/issues/issue-46855.rs similarity index 100% rename from src/test/run-pass/issues/issue-46855.rs rename to src/test/ui/issues/issue-46855.rs diff --git a/src/test/run-pass/issues/issue-46920-byte-array-patterns.rs b/src/test/ui/issues/issue-46920-byte-array-patterns.rs similarity index 100% rename from src/test/run-pass/issues/issue-46920-byte-array-patterns.rs rename to src/test/ui/issues/issue-46920-byte-array-patterns.rs diff --git a/src/test/run-pass/issues/issue-47139-1.rs b/src/test/ui/issues/issue-47139-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-47139-1.rs rename to src/test/ui/issues/issue-47139-1.rs diff --git a/src/test/run-pass/issues/issue-47139-2.rs b/src/test/ui/issues/issue-47139-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-47139-2.rs rename to src/test/ui/issues/issue-47139-2.rs diff --git a/src/test/run-pass/issues/issue-4734.rs b/src/test/ui/issues/issue-4734.rs similarity index 100% rename from src/test/run-pass/issues/issue-4734.rs rename to src/test/ui/issues/issue-4734.rs diff --git a/src/test/run-pass/issues/issue-4735.rs b/src/test/ui/issues/issue-4735.rs similarity index 100% rename from src/test/run-pass/issues/issue-4735.rs rename to src/test/ui/issues/issue-4735.rs diff --git a/src/test/run-pass/issues/issue-47364.rs b/src/test/ui/issues/issue-47364.rs similarity index 100% rename from src/test/run-pass/issues/issue-47364.rs rename to src/test/ui/issues/issue-47364.rs diff --git a/src/test/run-pass/issues/issue-4759-1.rs b/src/test/ui/issues/issue-4759-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-4759-1.rs rename to src/test/ui/issues/issue-4759-1.rs diff --git a/src/test/run-pass/issues/issue-4759.rs b/src/test/ui/issues/issue-4759.rs similarity index 100% rename from src/test/run-pass/issues/issue-4759.rs rename to src/test/ui/issues/issue-4759.rs diff --git a/src/test/run-pass/issues/issue-47638.rs b/src/test/ui/issues/issue-47638.rs similarity index 100% rename from src/test/run-pass/issues/issue-47638.rs rename to src/test/ui/issues/issue-47638.rs diff --git a/src/test/run-pass/issues/issue-48006.rs b/src/test/ui/issues/issue-48006.rs similarity index 100% rename from src/test/run-pass/issues/issue-48006.rs rename to src/test/ui/issues/issue-48006.rs diff --git a/src/test/run-pass/issues/issue-48159.rs b/src/test/ui/issues/issue-48159.rs similarity index 100% rename from src/test/run-pass/issues/issue-48159.rs rename to src/test/ui/issues/issue-48159.rs diff --git a/src/test/run-pass/issues/issue-48508-aux.rs b/src/test/ui/issues/issue-48508-aux.rs similarity index 100% rename from src/test/run-pass/issues/issue-48508-aux.rs rename to src/test/ui/issues/issue-48508-aux.rs diff --git a/src/test/run-pass/issues/issue-48508.rs b/src/test/ui/issues/issue-48508.rs similarity index 100% rename from src/test/run-pass/issues/issue-48508.rs rename to src/test/ui/issues/issue-48508.rs diff --git a/src/test/run-pass/issues/issue-4865-1.rs b/src/test/ui/issues/issue-4865-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-4865-1.rs rename to src/test/ui/issues/issue-4865-1.rs diff --git a/src/test/run-pass/issues/issue-4865-2.rs b/src/test/ui/issues/issue-4865-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-4865-2.rs rename to src/test/ui/issues/issue-4865-2.rs diff --git a/src/test/run-pass/issues/issue-4865-3.rs b/src/test/ui/issues/issue-4865-3.rs similarity index 100% rename from src/test/run-pass/issues/issue-4865-3.rs rename to src/test/ui/issues/issue-4865-3.rs diff --git a/src/test/run-pass/issues/issue-4875.rs b/src/test/ui/issues/issue-4875.rs similarity index 100% rename from src/test/run-pass/issues/issue-4875.rs rename to src/test/ui/issues/issue-4875.rs diff --git a/src/test/run-pass/issues/issue-48962.rs b/src/test/ui/issues/issue-48962.rs similarity index 100% rename from src/test/run-pass/issues/issue-48962.rs rename to src/test/ui/issues/issue-48962.rs diff --git a/src/test/run-pass/issues/issue-48984.rs b/src/test/ui/issues/issue-48984.rs similarity index 100% rename from src/test/run-pass/issues/issue-48984.rs rename to src/test/ui/issues/issue-48984.rs diff --git a/src/test/run-pass/issues/issue-49298.rs b/src/test/ui/issues/issue-49298.rs similarity index 100% rename from src/test/run-pass/issues/issue-49298.rs rename to src/test/ui/issues/issue-49298.rs diff --git a/src/test/run-pass/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs b/src/test/ui/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs similarity index 100% rename from src/test/run-pass/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs rename to src/test/ui/issues/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs diff --git a/src/test/run-pass/issues/issue-49632.rs b/src/test/ui/issues/issue-49632.rs similarity index 100% rename from src/test/run-pass/issues/issue-49632.rs rename to src/test/ui/issues/issue-49632.rs diff --git a/src/test/run-pass/issues/issue-49685.rs b/src/test/ui/issues/issue-49685.rs similarity index 100% rename from src/test/run-pass/issues/issue-49685.rs rename to src/test/ui/issues/issue-49685.rs diff --git a/src/test/run-pass/issues/issue-49854.rs b/src/test/ui/issues/issue-49854.rs similarity index 100% rename from src/test/run-pass/issues/issue-49854.rs rename to src/test/ui/issues/issue-49854.rs diff --git a/src/test/run-pass/issues/issue-49955-2.rs b/src/test/ui/issues/issue-49955-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-49955-2.rs rename to src/test/ui/issues/issue-49955-2.rs diff --git a/src/test/run-pass/issues/issue-49955.rs b/src/test/ui/issues/issue-49955.rs similarity index 100% rename from src/test/run-pass/issues/issue-49955.rs rename to src/test/ui/issues/issue-49955.rs diff --git a/src/test/run-pass/issues/issue-49973.rs b/src/test/ui/issues/issue-49973.rs similarity index 100% rename from src/test/run-pass/issues/issue-49973.rs rename to src/test/ui/issues/issue-49973.rs diff --git a/src/test/run-pass/issues/issue-5008-borrowed-traitobject-method-call.rs b/src/test/ui/issues/issue-5008-borrowed-traitobject-method-call.rs similarity index 100% rename from src/test/run-pass/issues/issue-5008-borrowed-traitobject-method-call.rs rename to src/test/ui/issues/issue-5008-borrowed-traitobject-method-call.rs diff --git a/src/test/run-pass/issues/issue-50415.rs b/src/test/ui/issues/issue-50415.rs similarity index 100% rename from src/test/run-pass/issues/issue-50415.rs rename to src/test/ui/issues/issue-50415.rs diff --git a/src/test/run-pass/issues/issue-50442.rs b/src/test/ui/issues/issue-50442.rs similarity index 100% rename from src/test/run-pass/issues/issue-50442.rs rename to src/test/ui/issues/issue-50442.rs diff --git a/src/test/run-pass/issues/issue-5060.rs b/src/test/ui/issues/issue-5060.rs similarity index 100% rename from src/test/run-pass/issues/issue-5060.rs rename to src/test/ui/issues/issue-5060.rs diff --git a/src/test/run-pass/issues/issue-50689.rs b/src/test/ui/issues/issue-50689.rs similarity index 100% rename from src/test/run-pass/issues/issue-50689.rs rename to src/test/ui/issues/issue-50689.rs diff --git a/src/test/run-pass/issues/issue-50731.rs b/src/test/ui/issues/issue-50731.rs similarity index 100% rename from src/test/run-pass/issues/issue-50731.rs rename to src/test/ui/issues/issue-50731.rs diff --git a/src/test/run-pass/issues/issue-50811.rs b/src/test/ui/issues/issue-50811.rs similarity index 100% rename from src/test/run-pass/issues/issue-50811.rs rename to src/test/ui/issues/issue-50811.rs diff --git a/src/test/run-pass/issues/issue-50865-private-impl-trait/auxiliary/lib.rs b/src/test/ui/issues/issue-50865-private-impl-trait/auxiliary/lib.rs similarity index 100% rename from src/test/run-pass/issues/issue-50865-private-impl-trait/auxiliary/lib.rs rename to src/test/ui/issues/issue-50865-private-impl-trait/auxiliary/lib.rs diff --git a/src/test/run-pass/issues/issue-50865-private-impl-trait/main.rs b/src/test/ui/issues/issue-50865-private-impl-trait/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-50865-private-impl-trait/main.rs rename to src/test/ui/issues/issue-50865-private-impl-trait/main.rs diff --git a/src/test/run-pass/issues/issue-51185.rs b/src/test/ui/issues/issue-51185.rs similarity index 100% rename from src/test/run-pass/issues/issue-51185.rs rename to src/test/ui/issues/issue-51185.rs diff --git a/src/test/run-pass/issues/issue-51345.rs b/src/test/ui/issues/issue-51345.rs similarity index 100% rename from src/test/run-pass/issues/issue-51345.rs rename to src/test/ui/issues/issue-51345.rs diff --git a/src/test/run-pass/issues/issue-51582.rs b/src/test/ui/issues/issue-51582.rs similarity index 100% rename from src/test/run-pass/issues/issue-51582.rs rename to src/test/ui/issues/issue-51582.rs diff --git a/src/test/run-pass/issues/issue-51907.rs b/src/test/ui/issues/issue-51907.rs similarity index 100% rename from src/test/run-pass/issues/issue-51907.rs rename to src/test/ui/issues/issue-51907.rs diff --git a/src/test/run-pass/issues/issue-5192.rs b/src/test/ui/issues/issue-5192.rs similarity index 100% rename from src/test/run-pass/issues/issue-5192.rs rename to src/test/ui/issues/issue-5192.rs diff --git a/src/test/run-pass/issues/issue-52140/auxiliary/some_crate.rs b/src/test/ui/issues/issue-52140/auxiliary/some_crate.rs similarity index 100% rename from src/test/run-pass/issues/issue-52140/auxiliary/some_crate.rs rename to src/test/ui/issues/issue-52140/auxiliary/some_crate.rs diff --git a/src/test/run-pass/issues/issue-52140/main.rs b/src/test/ui/issues/issue-52140/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-52140/main.rs rename to src/test/ui/issues/issue-52140/main.rs diff --git a/src/test/run-pass/issues/issue-52141/auxiliary/some_crate.rs b/src/test/ui/issues/issue-52141/auxiliary/some_crate.rs similarity index 100% rename from src/test/run-pass/issues/issue-52141/auxiliary/some_crate.rs rename to src/test/ui/issues/issue-52141/auxiliary/some_crate.rs diff --git a/src/test/run-pass/issues/issue-52141/main.rs b/src/test/ui/issues/issue-52141/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-52141/main.rs rename to src/test/ui/issues/issue-52141/main.rs diff --git a/src/test/run-pass/issues/issue-52169.rs b/src/test/ui/issues/issue-52169.rs similarity index 100% rename from src/test/run-pass/issues/issue-52169.rs rename to src/test/ui/issues/issue-52169.rs diff --git a/src/test/run-pass/issues/issue-5239-2.rs b/src/test/ui/issues/issue-5239-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-5239-2.rs rename to src/test/ui/issues/issue-5239-2.rs diff --git a/src/test/run-pass/issues/issue-5243.rs b/src/test/ui/issues/issue-5243.rs similarity index 100% rename from src/test/run-pass/issues/issue-5243.rs rename to src/test/ui/issues/issue-5243.rs diff --git a/src/test/run-pass/issues/issue-52557.rs b/src/test/ui/issues/issue-52557.rs similarity index 100% rename from src/test/run-pass/issues/issue-52557.rs rename to src/test/ui/issues/issue-52557.rs diff --git a/src/test/run-pass/issues/issue-52705/auxiliary/png2.rs b/src/test/ui/issues/issue-52705/auxiliary/png2.rs similarity index 100% rename from src/test/run-pass/issues/issue-52705/auxiliary/png2.rs rename to src/test/ui/issues/issue-52705/auxiliary/png2.rs diff --git a/src/test/run-pass/issues/issue-52705/main.rs b/src/test/ui/issues/issue-52705/main.rs similarity index 100% rename from src/test/run-pass/issues/issue-52705/main.rs rename to src/test/ui/issues/issue-52705/main.rs diff --git a/src/test/run-pass/issues/issue-5280.rs b/src/test/ui/issues/issue-5280.rs similarity index 100% rename from src/test/run-pass/issues/issue-5280.rs rename to src/test/ui/issues/issue-5280.rs diff --git a/src/test/run-pass/issues/issue-5315.rs b/src/test/ui/issues/issue-5315.rs similarity index 100% rename from src/test/run-pass/issues/issue-5315.rs rename to src/test/ui/issues/issue-5315.rs diff --git a/src/test/run-pass/issues/issue-5321-immediates-with-bare-self.rs b/src/test/ui/issues/issue-5321-immediates-with-bare-self.rs similarity index 100% rename from src/test/run-pass/issues/issue-5321-immediates-with-bare-self.rs rename to src/test/ui/issues/issue-5321-immediates-with-bare-self.rs diff --git a/src/test/run-pass/issues/issue-53333.rs b/src/test/ui/issues/issue-53333.rs similarity index 100% rename from src/test/run-pass/issues/issue-53333.rs rename to src/test/ui/issues/issue-53333.rs diff --git a/src/test/run-pass/issues/issue-53728.rs b/src/test/ui/issues/issue-53728.rs similarity index 100% rename from src/test/run-pass/issues/issue-53728.rs rename to src/test/ui/issues/issue-53728.rs diff --git a/src/test/run-pass/issues/issue-53843.rs b/src/test/ui/issues/issue-53843.rs similarity index 100% rename from src/test/run-pass/issues/issue-53843.rs rename to src/test/ui/issues/issue-53843.rs diff --git a/src/test/run-pass/issues/issue-54462-mutable-noalias-correctness.rs b/src/test/ui/issues/issue-54462-mutable-noalias-correctness.rs similarity index 100% rename from src/test/run-pass/issues/issue-54462-mutable-noalias-correctness.rs rename to src/test/ui/issues/issue-54462-mutable-noalias-correctness.rs diff --git a/src/test/run-pass/issues/issue-54467.rs b/src/test/ui/issues/issue-54467.rs similarity index 100% rename from src/test/run-pass/issues/issue-54467.rs rename to src/test/ui/issues/issue-54467.rs diff --git a/src/test/run-pass/issues/issue-54477-reduced-2.rs b/src/test/ui/issues/issue-54477-reduced-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-54477-reduced-2.rs rename to src/test/ui/issues/issue-54477-reduced-2.rs diff --git a/src/test/run-pass/issues/issue-54696.rs b/src/test/ui/issues/issue-54696.rs similarity index 100% rename from src/test/run-pass/issues/issue-54696.rs rename to src/test/ui/issues/issue-54696.rs diff --git a/src/test/run-pass/issues/issue-5518.rs b/src/test/ui/issues/issue-5518.rs similarity index 100% rename from src/test/run-pass/issues/issue-5518.rs rename to src/test/ui/issues/issue-5518.rs diff --git a/src/test/run-pass/issues/issue-5521.rs b/src/test/ui/issues/issue-5521.rs similarity index 100% rename from src/test/run-pass/issues/issue-5521.rs rename to src/test/ui/issues/issue-5521.rs diff --git a/src/test/run-pass/issues/issue-5530.rs b/src/test/ui/issues/issue-5530.rs similarity index 100% rename from src/test/run-pass/issues/issue-5530.rs rename to src/test/ui/issues/issue-5530.rs diff --git a/src/test/run-pass/issues/issue-55376.rs b/src/test/ui/issues/issue-55376.rs similarity index 100% rename from src/test/run-pass/issues/issue-55376.rs rename to src/test/ui/issues/issue-55376.rs diff --git a/src/test/run-pass/issues/issue-55380.rs b/src/test/ui/issues/issue-55380.rs similarity index 100% rename from src/test/run-pass/issues/issue-55380.rs rename to src/test/ui/issues/issue-55380.rs diff --git a/src/test/run-pass/issues/issue-5550.rs b/src/test/ui/issues/issue-5550.rs similarity index 100% rename from src/test/run-pass/issues/issue-5550.rs rename to src/test/ui/issues/issue-5550.rs diff --git a/src/test/run-pass/issues/issue-5554.rs b/src/test/ui/issues/issue-5554.rs similarity index 100% rename from src/test/run-pass/issues/issue-5554.rs rename to src/test/ui/issues/issue-5554.rs diff --git a/src/test/run-pass/issues/issue-56237.rs b/src/test/ui/issues/issue-56237.rs similarity index 100% rename from src/test/run-pass/issues/issue-56237.rs rename to src/test/ui/issues/issue-56237.rs diff --git a/src/test/run-pass/issues/issue-5666.rs b/src/test/ui/issues/issue-5666.rs similarity index 100% rename from src/test/run-pass/issues/issue-5666.rs rename to src/test/ui/issues/issue-5666.rs diff --git a/src/test/run-pass/issues/issue-5688.rs b/src/test/ui/issues/issue-5688.rs similarity index 100% rename from src/test/run-pass/issues/issue-5688.rs rename to src/test/ui/issues/issue-5688.rs diff --git a/src/test/run-pass/issues/issue-5708.rs b/src/test/ui/issues/issue-5708.rs similarity index 100% rename from src/test/run-pass/issues/issue-5708.rs rename to src/test/ui/issues/issue-5708.rs diff --git a/src/test/run-pass/issues/issue-5718.rs b/src/test/ui/issues/issue-5718.rs similarity index 100% rename from src/test/run-pass/issues/issue-5718.rs rename to src/test/ui/issues/issue-5718.rs diff --git a/src/test/run-pass/issues/issue-5741.rs b/src/test/ui/issues/issue-5741.rs similarity index 100% rename from src/test/run-pass/issues/issue-5741.rs rename to src/test/ui/issues/issue-5741.rs diff --git a/src/test/run-pass/issues/issue-5791.rs b/src/test/ui/issues/issue-5791.rs similarity index 100% rename from src/test/run-pass/issues/issue-5791.rs rename to src/test/ui/issues/issue-5791.rs diff --git a/src/test/run-pass/issues/issue-58212.rs b/src/test/ui/issues/issue-58212.rs similarity index 100% rename from src/test/run-pass/issues/issue-58212.rs rename to src/test/ui/issues/issue-58212.rs diff --git a/src/test/run-pass/issues/issue-58435-ice-with-assoc-const.rs b/src/test/ui/issues/issue-58435-ice-with-assoc-const.rs similarity index 100% rename from src/test/run-pass/issues/issue-58435-ice-with-assoc-const.rs rename to src/test/ui/issues/issue-58435-ice-with-assoc-const.rs diff --git a/src/test/run-pass/issues/issue-58463.rs b/src/test/ui/issues/issue-58463.rs similarity index 100% rename from src/test/run-pass/issues/issue-58463.rs rename to src/test/ui/issues/issue-58463.rs diff --git a/src/test/run-pass/issues/issue-5917.rs b/src/test/ui/issues/issue-5917.rs similarity index 100% rename from src/test/run-pass/issues/issue-5917.rs rename to src/test/ui/issues/issue-5917.rs diff --git a/src/test/run-pass/issues/issue-5988.rs b/src/test/ui/issues/issue-5988.rs similarity index 100% rename from src/test/run-pass/issues/issue-5988.rs rename to src/test/ui/issues/issue-5988.rs diff --git a/src/test/run-pass/issues/issue-5997.rs b/src/test/ui/issues/issue-5997.rs similarity index 100% rename from src/test/run-pass/issues/issue-5997.rs rename to src/test/ui/issues/issue-5997.rs diff --git a/src/test/run-pass/issues/issue-6117.rs b/src/test/ui/issues/issue-6117.rs similarity index 100% rename from src/test/run-pass/issues/issue-6117.rs rename to src/test/ui/issues/issue-6117.rs diff --git a/src/test/run-pass/issues/issue-6128.rs b/src/test/ui/issues/issue-6128.rs similarity index 100% rename from src/test/run-pass/issues/issue-6128.rs rename to src/test/ui/issues/issue-6128.rs diff --git a/src/test/run-pass/issues/issue-6130.rs b/src/test/ui/issues/issue-6130.rs similarity index 100% rename from src/test/run-pass/issues/issue-6130.rs rename to src/test/ui/issues/issue-6130.rs diff --git a/src/test/run-pass/issues/issue-6153.rs b/src/test/ui/issues/issue-6153.rs similarity index 100% rename from src/test/run-pass/issues/issue-6153.rs rename to src/test/ui/issues/issue-6153.rs diff --git a/src/test/run-pass/issues/issue-6157.rs b/src/test/ui/issues/issue-6157.rs similarity index 100% rename from src/test/run-pass/issues/issue-6157.rs rename to src/test/ui/issues/issue-6157.rs diff --git a/src/test/run-pass/issues/issue-61696.rs b/src/test/ui/issues/issue-61696.rs similarity index 100% rename from src/test/run-pass/issues/issue-61696.rs rename to src/test/ui/issues/issue-61696.rs diff --git a/src/test/run-pass/issues/issue-61894.rs b/src/test/ui/issues/issue-61894.rs similarity index 100% rename from src/test/run-pass/issues/issue-61894.rs rename to src/test/ui/issues/issue-61894.rs diff --git a/src/test/run-pass/issues/issue-6318.rs b/src/test/ui/issues/issue-6318.rs similarity index 100% rename from src/test/run-pass/issues/issue-6318.rs rename to src/test/ui/issues/issue-6318.rs diff --git a/src/test/run-pass/issues/issue-6334.rs b/src/test/ui/issues/issue-6334.rs similarity index 100% rename from src/test/run-pass/issues/issue-6334.rs rename to src/test/ui/issues/issue-6334.rs diff --git a/src/test/run-pass/issues/issue-6344-let.rs b/src/test/ui/issues/issue-6344-let.rs similarity index 100% rename from src/test/run-pass/issues/issue-6344-let.rs rename to src/test/ui/issues/issue-6344-let.rs diff --git a/src/test/run-pass/issues/issue-6344-match.rs b/src/test/ui/issues/issue-6344-match.rs similarity index 100% rename from src/test/run-pass/issues/issue-6344-match.rs rename to src/test/ui/issues/issue-6344-match.rs diff --git a/src/test/run-pass/issues/issue-6449.rs b/src/test/ui/issues/issue-6449.rs similarity index 100% rename from src/test/run-pass/issues/issue-6449.rs rename to src/test/ui/issues/issue-6449.rs diff --git a/src/test/run-pass/issues/issue-6892.rs b/src/test/ui/issues/issue-6892.rs similarity index 100% rename from src/test/run-pass/issues/issue-6892.rs rename to src/test/ui/issues/issue-6892.rs diff --git a/src/test/run-pass/issues/issue-6919.rs b/src/test/ui/issues/issue-6919.rs similarity index 100% rename from src/test/run-pass/issues/issue-6919.rs rename to src/test/ui/issues/issue-6919.rs diff --git a/src/test/run-pass/issues/issue-7012.rs b/src/test/ui/issues/issue-7012.rs similarity index 100% rename from src/test/run-pass/issues/issue-7012.rs rename to src/test/ui/issues/issue-7012.rs diff --git a/src/test/run-pass/issues/issue-7178.rs b/src/test/ui/issues/issue-7178.rs similarity index 100% rename from src/test/run-pass/issues/issue-7178.rs rename to src/test/ui/issues/issue-7178.rs diff --git a/src/test/run-pass/issues/issue-7222.rs b/src/test/ui/issues/issue-7222.rs similarity index 100% rename from src/test/run-pass/issues/issue-7222.rs rename to src/test/ui/issues/issue-7222.rs diff --git a/src/test/run-pass/issues/issue-7344.rs b/src/test/ui/issues/issue-7344.rs similarity index 100% rename from src/test/run-pass/issues/issue-7344.rs rename to src/test/ui/issues/issue-7344.rs diff --git a/src/test/run-pass/issues/issue-7519-match-unit-in-arg.rs b/src/test/ui/issues/issue-7519-match-unit-in-arg.rs similarity index 100% rename from src/test/run-pass/issues/issue-7519-match-unit-in-arg.rs rename to src/test/ui/issues/issue-7519-match-unit-in-arg.rs diff --git a/src/test/run-pass/issues/issue-7563.rs b/src/test/ui/issues/issue-7563.rs similarity index 100% rename from src/test/run-pass/issues/issue-7563.rs rename to src/test/ui/issues/issue-7563.rs diff --git a/src/test/run-pass/issues/issue-7575.rs b/src/test/ui/issues/issue-7575.rs similarity index 100% rename from src/test/run-pass/issues/issue-7575.rs rename to src/test/ui/issues/issue-7575.rs diff --git a/src/test/run-pass/issues/issue-7660.rs b/src/test/ui/issues/issue-7660.rs similarity index 100% rename from src/test/run-pass/issues/issue-7660.rs rename to src/test/ui/issues/issue-7660.rs diff --git a/src/test/run-pass/issues/issue-7663.rs b/src/test/ui/issues/issue-7663.rs similarity index 100% rename from src/test/run-pass/issues/issue-7663.rs rename to src/test/ui/issues/issue-7663.rs diff --git a/src/test/run-pass/issues/issue-7784.rs b/src/test/ui/issues/issue-7784.rs similarity index 100% rename from src/test/run-pass/issues/issue-7784.rs rename to src/test/ui/issues/issue-7784.rs diff --git a/src/test/run-pass/issues/issue-7899.rs b/src/test/ui/issues/issue-7899.rs similarity index 100% rename from src/test/run-pass/issues/issue-7899.rs rename to src/test/ui/issues/issue-7899.rs diff --git a/src/test/run-pass/issues/issue-7911.rs b/src/test/ui/issues/issue-7911.rs similarity index 100% rename from src/test/run-pass/issues/issue-7911.rs rename to src/test/ui/issues/issue-7911.rs diff --git a/src/test/run-pass/issues/issue-8044.rs b/src/test/ui/issues/issue-8044.rs similarity index 100% rename from src/test/run-pass/issues/issue-8044.rs rename to src/test/ui/issues/issue-8044.rs diff --git a/src/test/run-pass/issues/issue-8248.rs b/src/test/ui/issues/issue-8248.rs similarity index 100% rename from src/test/run-pass/issues/issue-8248.rs rename to src/test/ui/issues/issue-8248.rs diff --git a/src/test/run-pass/issues/issue-8249.rs b/src/test/ui/issues/issue-8249.rs similarity index 100% rename from src/test/run-pass/issues/issue-8249.rs rename to src/test/ui/issues/issue-8249.rs diff --git a/src/test/run-pass/issues/issue-8259.rs b/src/test/ui/issues/issue-8259.rs similarity index 100% rename from src/test/run-pass/issues/issue-8259.rs rename to src/test/ui/issues/issue-8259.rs diff --git a/src/test/run-pass/issues/issue-8351-1.rs b/src/test/ui/issues/issue-8351-1.rs similarity index 100% rename from src/test/run-pass/issues/issue-8351-1.rs rename to src/test/ui/issues/issue-8351-1.rs diff --git a/src/test/run-pass/issues/issue-8351-2.rs b/src/test/ui/issues/issue-8351-2.rs similarity index 100% rename from src/test/run-pass/issues/issue-8351-2.rs rename to src/test/ui/issues/issue-8351-2.rs diff --git a/src/test/run-pass/issues/issue-8391.rs b/src/test/ui/issues/issue-8391.rs similarity index 100% rename from src/test/run-pass/issues/issue-8391.rs rename to src/test/ui/issues/issue-8391.rs diff --git a/src/test/run-pass/issues/issue-8401.rs b/src/test/ui/issues/issue-8401.rs similarity index 100% rename from src/test/run-pass/issues/issue-8401.rs rename to src/test/ui/issues/issue-8401.rs diff --git a/src/test/run-pass/issues/issue-8460.rs b/src/test/ui/issues/issue-8460.rs similarity index 100% rename from src/test/run-pass/issues/issue-8460.rs rename to src/test/ui/issues/issue-8460.rs diff --git a/src/test/run-pass/issues/issue-8498.rs b/src/test/ui/issues/issue-8498.rs similarity index 100% rename from src/test/run-pass/issues/issue-8498.rs rename to src/test/ui/issues/issue-8498.rs diff --git a/src/test/run-pass/issues/issue-8506.rs b/src/test/ui/issues/issue-8506.rs similarity index 100% rename from src/test/run-pass/issues/issue-8506.rs rename to src/test/ui/issues/issue-8506.rs diff --git a/src/test/run-pass/issues/issue-868.rs b/src/test/ui/issues/issue-868.rs similarity index 100% rename from src/test/run-pass/issues/issue-868.rs rename to src/test/ui/issues/issue-868.rs diff --git a/src/test/run-pass/issues/issue-8709.rs b/src/test/ui/issues/issue-8709.rs similarity index 100% rename from src/test/run-pass/issues/issue-8709.rs rename to src/test/ui/issues/issue-8709.rs diff --git a/src/test/run-pass/issues/issue-8783.rs b/src/test/ui/issues/issue-8783.rs similarity index 100% rename from src/test/run-pass/issues/issue-8783.rs rename to src/test/ui/issues/issue-8783.rs diff --git a/src/test/run-pass/issues/issue-8827.rs b/src/test/ui/issues/issue-8827.rs similarity index 100% rename from src/test/run-pass/issues/issue-8827.rs rename to src/test/ui/issues/issue-8827.rs diff --git a/src/test/run-pass/issues/issue-8851.rs b/src/test/ui/issues/issue-8851.rs similarity index 100% rename from src/test/run-pass/issues/issue-8851.rs rename to src/test/ui/issues/issue-8851.rs diff --git a/src/test/run-pass/issues/issue-8860.rs b/src/test/ui/issues/issue-8860.rs similarity index 100% rename from src/test/run-pass/issues/issue-8860.rs rename to src/test/ui/issues/issue-8860.rs diff --git a/src/test/run-pass/issues/issue-8898.rs b/src/test/ui/issues/issue-8898.rs similarity index 100% rename from src/test/run-pass/issues/issue-8898.rs rename to src/test/ui/issues/issue-8898.rs diff --git a/src/test/run-pass/issues/issue-9047.rs b/src/test/ui/issues/issue-9047.rs similarity index 100% rename from src/test/run-pass/issues/issue-9047.rs rename to src/test/ui/issues/issue-9047.rs diff --git a/src/test/run-pass/issues/issue-9123.rs b/src/test/ui/issues/issue-9123.rs similarity index 100% rename from src/test/run-pass/issues/issue-9123.rs rename to src/test/ui/issues/issue-9123.rs diff --git a/src/test/run-pass/issues/issue-9129.rs b/src/test/ui/issues/issue-9129.rs similarity index 100% rename from src/test/run-pass/issues/issue-9129.rs rename to src/test/ui/issues/issue-9129.rs diff --git a/src/test/run-pass/issues/issue-9155.rs b/src/test/ui/issues/issue-9155.rs similarity index 100% rename from src/test/run-pass/issues/issue-9155.rs rename to src/test/ui/issues/issue-9155.rs diff --git a/src/test/run-pass/issues/issue-9188.rs b/src/test/ui/issues/issue-9188.rs similarity index 100% rename from src/test/run-pass/issues/issue-9188.rs rename to src/test/ui/issues/issue-9188.rs diff --git a/src/test/run-pass/issues/issue-9259.rs b/src/test/ui/issues/issue-9259.rs similarity index 100% rename from src/test/run-pass/issues/issue-9259.rs rename to src/test/ui/issues/issue-9259.rs diff --git a/src/test/run-pass/issues/issue-9382.rs b/src/test/ui/issues/issue-9382.rs similarity index 100% rename from src/test/run-pass/issues/issue-9382.rs rename to src/test/ui/issues/issue-9382.rs diff --git a/src/test/run-pass/issues/issue-9394-inherited-trait-calls.rs b/src/test/ui/issues/issue-9394-inherited-trait-calls.rs similarity index 100% rename from src/test/run-pass/issues/issue-9394-inherited-trait-calls.rs rename to src/test/ui/issues/issue-9394-inherited-trait-calls.rs diff --git a/src/test/run-pass/issues/issue-9396.rs b/src/test/ui/issues/issue-9396.rs similarity index 100% rename from src/test/run-pass/issues/issue-9396.rs rename to src/test/ui/issues/issue-9396.rs diff --git a/src/test/run-pass/issues/issue-9446.rs b/src/test/ui/issues/issue-9446.rs similarity index 100% rename from src/test/run-pass/issues/issue-9446.rs rename to src/test/ui/issues/issue-9446.rs diff --git a/src/test/run-pass/issues/issue-9737.rs b/src/test/ui/issues/issue-9737.rs similarity index 100% rename from src/test/run-pass/issues/issue-9737.rs rename to src/test/ui/issues/issue-9737.rs diff --git a/src/test/run-pass/issues/issue-979.rs b/src/test/ui/issues/issue-979.rs similarity index 100% rename from src/test/run-pass/issues/issue-979.rs rename to src/test/ui/issues/issue-979.rs diff --git a/src/test/run-pass/issues/issue-9837.rs b/src/test/ui/issues/issue-9837.rs similarity index 100% rename from src/test/run-pass/issues/issue-9837.rs rename to src/test/ui/issues/issue-9837.rs diff --git a/src/test/run-pass/issues/issue-9906.rs b/src/test/ui/issues/issue-9906.rs similarity index 100% rename from src/test/run-pass/issues/issue-9906.rs rename to src/test/ui/issues/issue-9906.rs diff --git a/src/test/run-pass/issues/issue-9918.rs b/src/test/ui/issues/issue-9918.rs similarity index 100% rename from src/test/run-pass/issues/issue-9918.rs rename to src/test/ui/issues/issue-9918.rs diff --git a/src/test/run-pass/issues/issue-9942.rs b/src/test/ui/issues/issue-9942.rs similarity index 100% rename from src/test/run-pass/issues/issue-9942.rs rename to src/test/ui/issues/issue-9942.rs diff --git a/src/test/run-pass/issues/issue-9951.rs b/src/test/ui/issues/issue-9951.rs similarity index 100% rename from src/test/run-pass/issues/issue-9951.rs rename to src/test/ui/issues/issue-9951.rs diff --git a/src/test/run-pass/issues/issue-9968.rs b/src/test/ui/issues/issue-9968.rs similarity index 100% rename from src/test/run-pass/issues/issue-9968.rs rename to src/test/ui/issues/issue-9968.rs diff --git a/src/test/run-pass/istr.rs b/src/test/ui/istr.rs similarity index 100% rename from src/test/run-pass/istr.rs rename to src/test/ui/istr.rs diff --git a/src/test/run-pass/item-name-overload.rs b/src/test/ui/item-name-overload.rs similarity index 100% rename from src/test/run-pass/item-name-overload.rs rename to src/test/ui/item-name-overload.rs diff --git a/src/test/run-pass/iterators/into-iterator-type-inference-shift.rs b/src/test/ui/iterators/into-iterator-type-inference-shift.rs similarity index 100% rename from src/test/run-pass/iterators/into-iterator-type-inference-shift.rs rename to src/test/ui/iterators/into-iterator-type-inference-shift.rs diff --git a/src/test/run-pass/iterators/iter-cloned-type-inference.rs b/src/test/ui/iterators/iter-cloned-type-inference.rs similarity index 100% rename from src/test/run-pass/iterators/iter-cloned-type-inference.rs rename to src/test/ui/iterators/iter-cloned-type-inference.rs diff --git a/src/test/run-pass/iterators/iter-range.rs b/src/test/ui/iterators/iter-range.rs similarity index 100% rename from src/test/run-pass/iterators/iter-range.rs rename to src/test/ui/iterators/iter-range.rs diff --git a/src/test/run-pass/iterators/iter-step-overflow-debug.rs b/src/test/ui/iterators/iter-step-overflow-debug.rs similarity index 100% rename from src/test/run-pass/iterators/iter-step-overflow-debug.rs rename to src/test/ui/iterators/iter-step-overflow-debug.rs diff --git a/src/test/run-pass/iterators/iter-step-overflow-ndebug.rs b/src/test/ui/iterators/iter-step-overflow-ndebug.rs similarity index 100% rename from src/test/run-pass/iterators/iter-step-overflow-ndebug.rs rename to src/test/ui/iterators/iter-step-overflow-ndebug.rs diff --git a/src/test/run-pass/iterators/iter-sum-overflow-debug.rs b/src/test/ui/iterators/iter-sum-overflow-debug.rs similarity index 100% rename from src/test/run-pass/iterators/iter-sum-overflow-debug.rs rename to src/test/ui/iterators/iter-sum-overflow-debug.rs diff --git a/src/test/run-pass/iterators/iter-sum-overflow-ndebug.rs b/src/test/ui/iterators/iter-sum-overflow-ndebug.rs similarity index 100% rename from src/test/run-pass/iterators/iter-sum-overflow-ndebug.rs rename to src/test/ui/iterators/iter-sum-overflow-ndebug.rs diff --git a/src/test/run-pass/iterators/iter-sum-overflow-overflow-checks.rs b/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs similarity index 100% rename from src/test/run-pass/iterators/iter-sum-overflow-overflow-checks.rs rename to src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs diff --git a/src/test/run-pass/iterators/iter-zip.rs b/src/test/ui/iterators/iter-zip.rs similarity index 100% rename from src/test/run-pass/iterators/iter-zip.rs rename to src/test/ui/iterators/iter-zip.rs diff --git a/src/test/run-pass/keyword-changes-2012-07-31.rs b/src/test/ui/keyword-changes-2012-07-31.rs similarity index 100% rename from src/test/run-pass/keyword-changes-2012-07-31.rs rename to src/test/ui/keyword-changes-2012-07-31.rs diff --git a/src/test/run-pass/kindck-implicit-close-over-mut-var.rs b/src/test/ui/kindck-implicit-close-over-mut-var.rs similarity index 100% rename from src/test/run-pass/kindck-implicit-close-over-mut-var.rs rename to src/test/ui/kindck-implicit-close-over-mut-var.rs diff --git a/src/test/run-pass/kinds-in-metadata.rs b/src/test/ui/kinds-in-metadata.rs similarity index 100% rename from src/test/run-pass/kinds-in-metadata.rs rename to src/test/ui/kinds-in-metadata.rs diff --git a/src/test/run-pass/lambda-infer-unresolved.rs b/src/test/ui/lambda-infer-unresolved.rs similarity index 100% rename from src/test/run-pass/lambda-infer-unresolved.rs rename to src/test/ui/lambda-infer-unresolved.rs diff --git a/src/test/run-pass/lambda-var-hygiene.rs b/src/test/ui/lambda-var-hygiene.rs similarity index 100% rename from src/test/run-pass/lambda-var-hygiene.rs rename to src/test/ui/lambda-var-hygiene.rs diff --git a/src/test/run-pass/large-records.rs b/src/test/ui/large-records.rs similarity index 100% rename from src/test/run-pass/large-records.rs rename to src/test/ui/large-records.rs diff --git a/src/test/run-pass/last-use-in-block.rs b/src/test/ui/last-use-in-block.rs similarity index 100% rename from src/test/run-pass/last-use-in-block.rs rename to src/test/ui/last-use-in-block.rs diff --git a/src/test/run-pass/last-use-in-cap-clause.rs b/src/test/ui/last-use-in-cap-clause.rs similarity index 100% rename from src/test/run-pass/last-use-in-cap-clause.rs rename to src/test/ui/last-use-in-cap-clause.rs diff --git a/src/test/run-pass/last-use-is-capture.rs b/src/test/ui/last-use-is-capture.rs similarity index 100% rename from src/test/run-pass/last-use-is-capture.rs rename to src/test/ui/last-use-is-capture.rs diff --git a/src/test/run-pass/lazy-and-or.rs b/src/test/ui/lazy-and-or.rs similarity index 100% rename from src/test/run-pass/lazy-and-or.rs rename to src/test/ui/lazy-and-or.rs diff --git a/src/test/run-pass/lazy-init.rs b/src/test/ui/lazy-init.rs similarity index 100% rename from src/test/run-pass/lazy-init.rs rename to src/test/ui/lazy-init.rs diff --git a/src/test/run-pass/leak-unique-as-tydesc.rs b/src/test/ui/leak-unique-as-tydesc.rs similarity index 100% rename from src/test/run-pass/leak-unique-as-tydesc.rs rename to src/test/ui/leak-unique-as-tydesc.rs diff --git a/src/test/run-pass/lex-bare-cr-nondoc-comment.rs b/src/test/ui/lex-bare-cr-nondoc-comment.rs similarity index 100% rename from src/test/run-pass/lex-bare-cr-nondoc-comment.rs rename to src/test/ui/lex-bare-cr-nondoc-comment.rs diff --git a/src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs b/src/test/ui/lexer-crlf-line-endings-string-literal-doc-comment.rs similarity index 96% rename from src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs rename to src/test/ui/lexer-crlf-line-endings-string-literal-doc-comment.rs index 2ca88c2b995..74292f5eb7e 100644 --- a/src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs +++ b/src/test/ui/lexer-crlf-line-endings-string-literal-doc-comment.rs @@ -1,41 +1,41 @@ // run-pass -// ignore-tidy-cr ignore-license -// ignore-tidy-cr (repeated again because of tidy bug) -// license is ignored because tidy can't handle the CRLF here properly. - -// http://rust-lang.org/COPYRIGHT. -// - -// N.B., this file needs CRLF line endings. The .gitattributes file in -// this directory should enforce it. - -// ignore-pretty issue #37195 - -/// Doc comment that ends in CRLF -pub fn foo() {} - -/** Block doc comment that - * contains CRLF characters - */ -pub fn bar() {} - -fn main() { - let s = "string -literal"; - assert_eq!(s, "string\nliteral"); - - let s = "literal with \ - escaped newline"; - assert_eq!(s, "literal with escaped newline"); - - let s = r"string -literal"; - assert_eq!(s, "string\nliteral"); - let s = br"byte string -literal"; - assert_eq!(s, "byte string\nliteral".as_bytes()); - - // validate that our source file has CRLF endings - let source = include_str!("lexer-crlf-line-endings-string-literal-doc-comment.rs"); - assert!(source.contains("string\r\nliteral")); -} +// ignore-tidy-cr ignore-license +// ignore-tidy-cr (repeated again because of tidy bug) +// license is ignored because tidy can't handle the CRLF here properly. + +// http://rust-lang.org/COPYRIGHT. +// + +// N.B., this file needs CRLF line endings. The .gitattributes file in +// this directory should enforce it. + +// ignore-pretty issue #37195 + +/// Doc comment that ends in CRLF +pub fn foo() {} + +/** Block doc comment that + * contains CRLF characters + */ +pub fn bar() {} + +fn main() { + let s = "string +literal"; + assert_eq!(s, "string\nliteral"); + + let s = "literal with \ + escaped newline"; + assert_eq!(s, "literal with escaped newline"); + + let s = r"string +literal"; + assert_eq!(s, "string\nliteral"); + let s = br"byte string +literal"; + assert_eq!(s, "byte string\nliteral".as_bytes()); + + // validate that our source file has CRLF endings + let source = include_str!("lexer-crlf-line-endings-string-literal-doc-comment.rs"); + assert!(source.contains("string\r\nliteral")); +} diff --git a/src/test/run-pass/lexical-scoping.rs b/src/test/ui/lexical-scoping.rs similarity index 100% rename from src/test/run-pass/lexical-scoping.rs rename to src/test/ui/lexical-scoping.rs diff --git a/src/test/run-pass/lib-defaults.rs b/src/test/ui/lib-defaults.rs similarity index 100% rename from src/test/run-pass/lib-defaults.rs rename to src/test/ui/lib-defaults.rs diff --git a/src/test/run-pass/link-cfg-works.rs b/src/test/ui/link-cfg-works.rs similarity index 100% rename from src/test/run-pass/link-cfg-works.rs rename to src/test/ui/link-cfg-works.rs diff --git a/src/test/run-pass/link-section.rs b/src/test/ui/link-section.rs similarity index 100% rename from src/test/run-pass/link-section.rs rename to src/test/ui/link-section.rs diff --git a/src/test/run-pass/linkage1.rs b/src/test/ui/linkage1.rs similarity index 100% rename from src/test/run-pass/linkage1.rs rename to src/test/ui/linkage1.rs diff --git a/src/test/run-pass/lint-cap.rs b/src/test/ui/lint-cap.rs similarity index 100% rename from src/test/run-pass/lint-cap.rs rename to src/test/ui/lint-cap.rs diff --git a/src/test/run-pass/lint-dead-code-associated-type.rs b/src/test/ui/lint-dead-code-associated-type.rs similarity index 100% rename from src/test/run-pass/lint-dead-code-associated-type.rs rename to src/test/ui/lint-dead-code-associated-type.rs diff --git a/src/test/run-pass/lint-dead-code-variant.rs b/src/test/ui/lint-dead-code-variant.rs similarity index 100% rename from src/test/run-pass/lint-dead-code-variant.rs rename to src/test/ui/lint-dead-code-variant.rs diff --git a/src/test/run-pass/lint-expr-stmt-attrs-for-early-lints.rs b/src/test/ui/lint-expr-stmt-attrs-for-early-lints.rs similarity index 100% rename from src/test/run-pass/lint-expr-stmt-attrs-for-early-lints.rs rename to src/test/ui/lint-expr-stmt-attrs-for-early-lints.rs diff --git a/src/test/run-pass/lint-unknown-lints-at-crate-level.rs b/src/test/ui/lint-unknown-lints-at-crate-level.rs similarity index 100% rename from src/test/run-pass/lint-unknown-lints-at-crate-level.rs rename to src/test/ui/lint-unknown-lints-at-crate-level.rs diff --git a/src/test/run-pass/list.rs b/src/test/ui/list.rs similarity index 100% rename from src/test/run-pass/list.rs rename to src/test/ui/list.rs diff --git a/src/test/run-pass/liveness-assign-imm-local-after-ret.rs b/src/test/ui/liveness-assign-imm-local-after-ret.rs similarity index 100% rename from src/test/run-pass/liveness-assign-imm-local-after-ret.rs rename to src/test/ui/liveness-assign-imm-local-after-ret.rs diff --git a/src/test/run-pass/llvm-pr32379.rs b/src/test/ui/llvm-pr32379.rs similarity index 100% rename from src/test/run-pass/llvm-pr32379.rs rename to src/test/ui/llvm-pr32379.rs diff --git a/src/test/run-pass/log-err-phi.rs b/src/test/ui/log-err-phi.rs similarity index 100% rename from src/test/run-pass/log-err-phi.rs rename to src/test/ui/log-err-phi.rs diff --git a/src/test/run-pass/log-knows-the-names-of-variants-in-std.rs b/src/test/ui/log-knows-the-names-of-variants-in-std.rs similarity index 100% rename from src/test/run-pass/log-knows-the-names-of-variants-in-std.rs rename to src/test/ui/log-knows-the-names-of-variants-in-std.rs diff --git a/src/test/run-pass/log-knows-the-names-of-variants.rs b/src/test/ui/log-knows-the-names-of-variants.rs similarity index 100% rename from src/test/run-pass/log-knows-the-names-of-variants.rs rename to src/test/ui/log-knows-the-names-of-variants.rs diff --git a/src/test/run-pass/log-poly.rs b/src/test/ui/log-poly.rs similarity index 100% rename from src/test/run-pass/log-poly.rs rename to src/test/ui/log-poly.rs diff --git a/src/test/run-pass/logging-only-prints-once.rs b/src/test/ui/logging-only-prints-once.rs similarity index 100% rename from src/test/run-pass/logging-only-prints-once.rs rename to src/test/ui/logging-only-prints-once.rs diff --git a/src/test/run-pass/logging_before_rt_started.rs b/src/test/ui/logging_before_rt_started.rs similarity index 100% rename from src/test/run-pass/logging_before_rt_started.rs rename to src/test/ui/logging_before_rt_started.rs diff --git a/src/test/run-pass/long-while.rs b/src/test/ui/long-while.rs similarity index 100% rename from src/test/run-pass/long-while.rs rename to src/test/ui/long-while.rs diff --git a/src/test/run-pass/lto-many-codegen-units.rs b/src/test/ui/lto-many-codegen-units.rs similarity index 100% rename from src/test/run-pass/lto-many-codegen-units.rs rename to src/test/ui/lto-many-codegen-units.rs diff --git a/src/test/run-pass/lto-still-runs-thread-dtors.rs b/src/test/ui/lto-still-runs-thread-dtors.rs similarity index 100% rename from src/test/run-pass/lto-still-runs-thread-dtors.rs rename to src/test/ui/lto-still-runs-thread-dtors.rs diff --git a/src/test/run-pass/lub-glb-with-unbound-infer-var.rs b/src/test/ui/lub-glb-with-unbound-infer-var.rs similarity index 100% rename from src/test/run-pass/lub-glb-with-unbound-infer-var.rs rename to src/test/ui/lub-glb-with-unbound-infer-var.rs diff --git a/src/test/run-pass/macro-quote-cond.rs b/src/test/ui/macro-quote-cond.rs similarity index 100% rename from src/test/run-pass/macro-quote-cond.rs rename to src/test/ui/macro-quote-cond.rs diff --git a/src/test/run-pass/macro-quote-test.rs b/src/test/ui/macro-quote-test.rs similarity index 100% rename from src/test/run-pass/macro-quote-test.rs rename to src/test/ui/macro-quote-test.rs diff --git a/src/test/run-pass/macros/assert-eq-macro-success.rs b/src/test/ui/macros/assert-eq-macro-success.rs similarity index 100% rename from src/test/run-pass/macros/assert-eq-macro-success.rs rename to src/test/ui/macros/assert-eq-macro-success.rs diff --git a/src/test/run-pass/macros/assert-eq-macro-unsized.rs b/src/test/ui/macros/assert-eq-macro-unsized.rs similarity index 100% rename from src/test/run-pass/macros/assert-eq-macro-unsized.rs rename to src/test/ui/macros/assert-eq-macro-unsized.rs diff --git a/src/test/run-pass/macros/assert-ne-macro-success.rs b/src/test/ui/macros/assert-ne-macro-success.rs similarity index 100% rename from src/test/run-pass/macros/assert-ne-macro-success.rs rename to src/test/ui/macros/assert-ne-macro-success.rs diff --git a/src/test/run-pass/macros/assert-ne-macro-unsized.rs b/src/test/ui/macros/assert-ne-macro-unsized.rs similarity index 100% rename from src/test/run-pass/macros/assert-ne-macro-unsized.rs rename to src/test/ui/macros/assert-ne-macro-unsized.rs diff --git a/src/test/run-pass/macros/auxiliary/macro-comma-support.rs b/src/test/ui/macros/auxiliary/macro-comma-support.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/macro-comma-support.rs rename to src/test/ui/macros/auxiliary/macro-comma-support.rs diff --git a/src/test/run-pass/macros/auxiliary/macro-include-items-expr.rs b/src/test/ui/macros/auxiliary/macro-include-items-expr.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/macro-include-items-expr.rs rename to src/test/ui/macros/auxiliary/macro-include-items-expr.rs diff --git a/src/test/run-pass/macros/auxiliary/macro-include-items-item.rs b/src/test/ui/macros/auxiliary/macro-include-items-item.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/macro-include-items-item.rs rename to src/test/ui/macros/auxiliary/macro-include-items-item.rs diff --git a/src/test/run-pass/macros/auxiliary/macro_crate_def_only.rs b/src/test/ui/macros/auxiliary/macro_crate_def_only.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/macro_crate_def_only.rs rename to src/test/ui/macros/auxiliary/macro_crate_def_only.rs diff --git a/src/test/run-pass/macros/auxiliary/macro_export_inner_module.rs b/src/test/ui/macros/auxiliary/macro_export_inner_module.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/macro_export_inner_module.rs rename to src/test/ui/macros/auxiliary/macro_export_inner_module.rs diff --git a/src/test/run-pass/macros/auxiliary/macro_with_super_1.rs b/src/test/ui/macros/auxiliary/macro_with_super_1.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/macro_with_super_1.rs rename to src/test/ui/macros/auxiliary/macro_with_super_1.rs diff --git a/src/test/run-pass/macros/auxiliary/two_macros.rs b/src/test/ui/macros/auxiliary/two_macros-rpass.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/two_macros.rs rename to src/test/ui/macros/auxiliary/two_macros-rpass.rs diff --git a/src/test/run-pass/macros/auxiliary/use-macro-self.rs b/src/test/ui/macros/auxiliary/use-macro-self.rs similarity index 100% rename from src/test/run-pass/macros/auxiliary/use-macro-self.rs rename to src/test/ui/macros/auxiliary/use-macro-self.rs diff --git a/src/test/run-pass/macros/colorful-write-macros.rs b/src/test/ui/macros/colorful-write-macros.rs similarity index 100% rename from src/test/run-pass/macros/colorful-write-macros.rs rename to src/test/ui/macros/colorful-write-macros.rs diff --git a/src/test/run-pass/macros/conditional-debug-macro-on.rs b/src/test/ui/macros/conditional-debug-macro-on.rs similarity index 100% rename from src/test/run-pass/macros/conditional-debug-macro-on.rs rename to src/test/ui/macros/conditional-debug-macro-on.rs diff --git a/src/test/run-pass/macros/die-macro.rs b/src/test/ui/macros/die-macro.rs similarity index 100% rename from src/test/run-pass/macros/die-macro.rs rename to src/test/ui/macros/die-macro.rs diff --git a/src/test/run-pass/macros/issue-25274.rs b/src/test/ui/macros/issue-25274.rs similarity index 100% rename from src/test/run-pass/macros/issue-25274.rs rename to src/test/ui/macros/issue-25274.rs diff --git a/src/test/run-pass/macros/log_syntax-trace_macros-macro-locations.rs b/src/test/ui/macros/log_syntax-trace_macros-macro-locations.rs similarity index 100% rename from src/test/run-pass/macros/log_syntax-trace_macros-macro-locations.rs rename to src/test/ui/macros/log_syntax-trace_macros-macro-locations.rs diff --git a/src/test/run-pass/macros/log_syntax-trace_macros-macro-locations.stdout b/src/test/ui/macros/log_syntax-trace_macros-macro-locations.stdout similarity index 100% rename from src/test/run-pass/macros/log_syntax-trace_macros-macro-locations.stdout rename to src/test/ui/macros/log_syntax-trace_macros-macro-locations.stdout diff --git a/src/test/run-pass/macros/macro-2.rs b/src/test/ui/macros/macro-2.rs similarity index 100% rename from src/test/run-pass/macros/macro-2.rs rename to src/test/ui/macros/macro-2.rs diff --git a/src/test/run-pass/macros/macro-as-fn-body.rs b/src/test/ui/macros/macro-as-fn-body.rs similarity index 100% rename from src/test/run-pass/macros/macro-as-fn-body.rs rename to src/test/ui/macros/macro-as-fn-body.rs diff --git a/src/test/run-pass/macros/macro-attribute-expansion.rs b/src/test/ui/macros/macro-attribute-expansion.rs similarity index 100% rename from src/test/run-pass/macros/macro-attribute-expansion.rs rename to src/test/ui/macros/macro-attribute-expansion.rs diff --git a/src/test/run-pass/macros/macro-attributes.rs b/src/test/ui/macros/macro-attributes.rs similarity index 100% rename from src/test/run-pass/macros/macro-attributes.rs rename to src/test/ui/macros/macro-attributes.rs diff --git a/src/test/run-pass/macros/macro-block-nonterminal.rs b/src/test/ui/macros/macro-block-nonterminal.rs similarity index 100% rename from src/test/run-pass/macros/macro-block-nonterminal.rs rename to src/test/ui/macros/macro-block-nonterminal.rs diff --git a/src/test/run-pass/macros/macro-crate-def-only.rs b/src/test/ui/macros/macro-crate-def-only.rs similarity index 100% rename from src/test/run-pass/macros/macro-crate-def-only.rs rename to src/test/ui/macros/macro-crate-def-only.rs diff --git a/src/test/run-pass/macros/macro-crate-nonterminal-renamed.rs b/src/test/ui/macros/macro-crate-nonterminal-renamed.rs similarity index 100% rename from src/test/run-pass/macros/macro-crate-nonterminal-renamed.rs rename to src/test/ui/macros/macro-crate-nonterminal-renamed.rs diff --git a/src/test/run-pass/macros/macro-crate-nonterminal.rs b/src/test/ui/macros/macro-crate-nonterminal.rs similarity index 100% rename from src/test/run-pass/macros/macro-crate-nonterminal.rs rename to src/test/ui/macros/macro-crate-nonterminal.rs diff --git a/src/test/run-pass/macros/macro-crate-use.rs b/src/test/ui/macros/macro-crate-use.rs similarity index 100% rename from src/test/run-pass/macros/macro-crate-use.rs rename to src/test/ui/macros/macro-crate-use.rs diff --git a/src/test/run-pass/macros/macro-deep_expansion.rs b/src/test/ui/macros/macro-deep_expansion.rs similarity index 100% rename from src/test/run-pass/macros/macro-deep_expansion.rs rename to src/test/ui/macros/macro-deep_expansion.rs diff --git a/src/test/run-pass/macros/macro-delimiter-significance.rs b/src/test/ui/macros/macro-delimiter-significance.rs similarity index 100% rename from src/test/run-pass/macros/macro-delimiter-significance.rs rename to src/test/ui/macros/macro-delimiter-significance.rs diff --git a/src/test/run-pass/macros/macro-doc-comments.rs b/src/test/ui/macros/macro-doc-comments.rs similarity index 100% rename from src/test/run-pass/macros/macro-doc-comments.rs rename to src/test/ui/macros/macro-doc-comments.rs diff --git a/src/test/run-pass/macros/macro-doc-escapes.rs b/src/test/ui/macros/macro-doc-escapes.rs similarity index 100% rename from src/test/run-pass/macros/macro-doc-escapes.rs rename to src/test/ui/macros/macro-doc-escapes.rs diff --git a/src/test/run-pass/macros/macro-doc-raw-str-hashes.rs b/src/test/ui/macros/macro-doc-raw-str-hashes.rs similarity index 100% rename from src/test/run-pass/macros/macro-doc-raw-str-hashes.rs rename to src/test/ui/macros/macro-doc-raw-str-hashes.rs diff --git a/src/test/run-pass/macros/macro-export-inner-module.rs b/src/test/ui/macros/macro-export-inner-module.rs similarity index 100% rename from src/test/run-pass/macros/macro-export-inner-module.rs rename to src/test/ui/macros/macro-export-inner-module.rs diff --git a/src/test/run-pass/macros/macro-first-set.rs b/src/test/ui/macros/macro-first-set.rs similarity index 100% rename from src/test/run-pass/macros/macro-first-set.rs rename to src/test/ui/macros/macro-first-set.rs diff --git a/src/test/run-pass/macros/macro-followed-by-seq.rs b/src/test/ui/macros/macro-followed-by-seq.rs similarity index 100% rename from src/test/run-pass/macros/macro-followed-by-seq.rs rename to src/test/ui/macros/macro-followed-by-seq.rs diff --git a/src/test/run-pass/macros/macro-include-items.rs b/src/test/ui/macros/macro-include-items.rs similarity index 100% rename from src/test/run-pass/macros/macro-include-items.rs rename to src/test/ui/macros/macro-include-items.rs diff --git a/src/test/run-pass/macros/macro-interpolation.rs b/src/test/ui/macros/macro-interpolation.rs similarity index 100% rename from src/test/run-pass/macros/macro-interpolation.rs rename to src/test/ui/macros/macro-interpolation.rs diff --git a/src/test/run-pass/macros/macro-invocation-in-count-expr-fixed-array-type.rs b/src/test/ui/macros/macro-invocation-in-count-expr-fixed-array-type.rs similarity index 100% rename from src/test/run-pass/macros/macro-invocation-in-count-expr-fixed-array-type.rs rename to src/test/ui/macros/macro-invocation-in-count-expr-fixed-array-type.rs diff --git a/src/test/run-pass/macros/macro-lifetime-used-with-bound.rs b/src/test/ui/macros/macro-lifetime-used-with-bound.rs similarity index 100% rename from src/test/run-pass/macros/macro-lifetime-used-with-bound.rs rename to src/test/ui/macros/macro-lifetime-used-with-bound.rs diff --git a/src/test/run-pass/macros/macro-lifetime-used-with-labels.rs b/src/test/ui/macros/macro-lifetime-used-with-labels.rs similarity index 100% rename from src/test/run-pass/macros/macro-lifetime-used-with-labels.rs rename to src/test/ui/macros/macro-lifetime-used-with-labels.rs diff --git a/src/test/run-pass/macros/macro-lifetime-used-with-labels.stderr b/src/test/ui/macros/macro-lifetime-used-with-labels.stderr similarity index 100% rename from src/test/run-pass/macros/macro-lifetime-used-with-labels.stderr rename to src/test/ui/macros/macro-lifetime-used-with-labels.stderr diff --git a/src/test/run-pass/macros/macro-lifetime-used-with-static.rs b/src/test/ui/macros/macro-lifetime-used-with-static.rs similarity index 100% rename from src/test/run-pass/macros/macro-lifetime-used-with-static.rs rename to src/test/ui/macros/macro-lifetime-used-with-static.rs diff --git a/src/test/run-pass/macros/macro-lifetime.rs b/src/test/ui/macros/macro-lifetime.rs similarity index 100% rename from src/test/run-pass/macros/macro-lifetime.rs rename to src/test/ui/macros/macro-lifetime.rs diff --git a/src/test/run-pass/macros/macro-literal.rs b/src/test/ui/macros/macro-literal.rs similarity index 100% rename from src/test/run-pass/macros/macro-literal.rs rename to src/test/ui/macros/macro-literal.rs diff --git a/src/test/run-pass/macros/macro-meta-items.rs b/src/test/ui/macros/macro-meta-items.rs similarity index 100% rename from src/test/run-pass/macros/macro-meta-items.rs rename to src/test/ui/macros/macro-meta-items.rs diff --git a/src/test/run-pass/macros/macro-method-issue-4621.rs b/src/test/ui/macros/macro-method-issue-4621.rs similarity index 100% rename from src/test/run-pass/macros/macro-method-issue-4621.rs rename to src/test/ui/macros/macro-method-issue-4621.rs diff --git a/src/test/run-pass/macros/macro-multiple-items.rs b/src/test/ui/macros/macro-multiple-items.rs similarity index 100% rename from src/test/run-pass/macros/macro-multiple-items.rs rename to src/test/ui/macros/macro-multiple-items.rs diff --git a/src/test/run-pass/macros/macro-named-default.rs b/src/test/ui/macros/macro-named-default.rs similarity index 100% rename from src/test/run-pass/macros/macro-named-default.rs rename to src/test/ui/macros/macro-named-default.rs diff --git a/src/test/run-pass/macros/macro-nested_definition_issue-31946.rs b/src/test/ui/macros/macro-nested_definition_issue-31946.rs similarity index 100% rename from src/test/run-pass/macros/macro-nested_definition_issue-31946.rs rename to src/test/ui/macros/macro-nested_definition_issue-31946.rs diff --git a/src/test/run-pass/macros/macro-nested_expr.rs b/src/test/ui/macros/macro-nested_expr.rs similarity index 100% rename from src/test/run-pass/macros/macro-nested_expr.rs rename to src/test/ui/macros/macro-nested_expr.rs diff --git a/src/test/run-pass/macros/macro-nested_stmt_macros.rs b/src/test/ui/macros/macro-nested_stmt_macros.rs similarity index 100% rename from src/test/run-pass/macros/macro-nested_stmt_macros.rs rename to src/test/ui/macros/macro-nested_stmt_macros.rs diff --git a/src/test/run-pass/macros/macro-nt-list.rs b/src/test/ui/macros/macro-nt-list.rs similarity index 100% rename from src/test/run-pass/macros/macro-nt-list.rs rename to src/test/ui/macros/macro-nt-list.rs diff --git a/src/test/run-pass/macros/macro-of-higher-order.rs b/src/test/ui/macros/macro-of-higher-order.rs similarity index 100% rename from src/test/run-pass/macros/macro-of-higher-order.rs rename to src/test/ui/macros/macro-of-higher-order.rs diff --git a/src/test/run-pass/macros/macro-pat-follow.rs b/src/test/ui/macros/macro-pat-follow.rs similarity index 100% rename from src/test/run-pass/macros/macro-pat-follow.rs rename to src/test/ui/macros/macro-pat-follow.rs diff --git a/src/test/run-pass/macros/macro-pat-neg-lit.rs b/src/test/ui/macros/macro-pat-neg-lit.rs similarity index 100% rename from src/test/run-pass/macros/macro-pat-neg-lit.rs rename to src/test/ui/macros/macro-pat-neg-lit.rs diff --git a/src/test/run-pass/macros/macro-pat.rs b/src/test/ui/macros/macro-pat.rs similarity index 100% rename from src/test/run-pass/macros/macro-pat.rs rename to src/test/ui/macros/macro-pat.rs diff --git a/src/test/run-pass/macros/macro-path.rs b/src/test/ui/macros/macro-path.rs similarity index 100% rename from src/test/run-pass/macros/macro-path.rs rename to src/test/ui/macros/macro-path.rs diff --git a/src/test/run-pass/macros/macro-pub-matcher.rs b/src/test/ui/macros/macro-pub-matcher.rs similarity index 100% rename from src/test/run-pass/macros/macro-pub-matcher.rs rename to src/test/ui/macros/macro-pub-matcher.rs diff --git a/src/test/run-pass/macros/macro-seq-followed-by-seq.rs b/src/test/ui/macros/macro-seq-followed-by-seq.rs similarity index 100% rename from src/test/run-pass/macros/macro-seq-followed-by-seq.rs rename to src/test/ui/macros/macro-seq-followed-by-seq.rs diff --git a/src/test/run-pass/macros/macro-stmt.rs b/src/test/ui/macros/macro-stmt.rs similarity index 100% rename from src/test/run-pass/macros/macro-stmt.rs rename to src/test/ui/macros/macro-stmt.rs diff --git a/src/test/run-pass/macros/macro-stmt_macro_in_expr_macro.rs b/src/test/ui/macros/macro-stmt_macro_in_expr_macro.rs similarity index 100% rename from src/test/run-pass/macros/macro-stmt_macro_in_expr_macro.rs rename to src/test/ui/macros/macro-stmt_macro_in_expr_macro.rs diff --git a/src/test/run-pass/macros/macro-tt-followed-by-seq.rs b/src/test/ui/macros/macro-tt-followed-by-seq.rs similarity index 100% rename from src/test/run-pass/macros/macro-tt-followed-by-seq.rs rename to src/test/ui/macros/macro-tt-followed-by-seq.rs diff --git a/src/test/run-pass/macros/macro-use-all-and-none.rs b/src/test/ui/macros/macro-use-all-and-none.rs similarity index 50% rename from src/test/run-pass/macros/macro-use-all-and-none.rs rename to src/test/ui/macros/macro-use-all-and-none.rs index 5fdcda0f78a..e5f67d458d2 100644 --- a/src/test/run-pass/macros/macro-use-all-and-none.rs +++ b/src/test/ui/macros/macro-use-all-and-none.rs @@ -1,9 +1,11 @@ // run-pass -// aux-build:two_macros.rs +// aux-build:two_macros-rpass.rs + +#![warn(unused_attributes)] #[macro_use] #[macro_use()] -extern crate two_macros; +extern crate two_macros_rpass; pub fn main() { macro_one!(); diff --git a/src/test/ui/macros/macro-use-all-and-none.stderr b/src/test/ui/macros/macro-use-all-and-none.stderr new file mode 100644 index 00000000000..e7de7e7ad08 --- /dev/null +++ b/src/test/ui/macros/macro-use-all-and-none.stderr @@ -0,0 +1,12 @@ +warning: unused attribute + --> $DIR/macro-use-all-and-none.rs:7:1 + | +LL | #[macro_use()] + | ^^^^^^^^^^^^^^ + | +note: lint level defined here + --> $DIR/macro-use-all-and-none.rs:4:9 + | +LL | #![warn(unused_attributes)] + | ^^^^^^^^^^^^^^^^^ + diff --git a/src/test/run-pass/macros/macro-use-all.rs b/src/test/ui/macros/macro-use-all.rs similarity index 100% rename from src/test/run-pass/macros/macro-use-all.rs rename to src/test/ui/macros/macro-use-all.rs diff --git a/src/test/run-pass/macros/macro-use-both.rs b/src/test/ui/macros/macro-use-both.rs similarity index 100% rename from src/test/run-pass/macros/macro-use-both.rs rename to src/test/ui/macros/macro-use-both.rs diff --git a/src/test/run-pass/macros/macro-use-one.rs b/src/test/ui/macros/macro-use-one.rs similarity index 100% rename from src/test/run-pass/macros/macro-use-one.rs rename to src/test/ui/macros/macro-use-one.rs diff --git a/src/test/run-pass/macros/macro-with-attrs1.rs b/src/test/ui/macros/macro-with-attrs1.rs similarity index 100% rename from src/test/run-pass/macros/macro-with-attrs1.rs rename to src/test/ui/macros/macro-with-attrs1.rs diff --git a/src/test/run-pass/macros/macro-with-attrs2.rs b/src/test/ui/macros/macro-with-attrs2.rs similarity index 100% rename from src/test/run-pass/macros/macro-with-attrs2.rs rename to src/test/ui/macros/macro-with-attrs2.rs diff --git a/src/test/run-pass/macros/macro-with-braces-in-expr-position.rs b/src/test/ui/macros/macro-with-braces-in-expr-position.rs similarity index 100% rename from src/test/run-pass/macros/macro-with-braces-in-expr-position.rs rename to src/test/ui/macros/macro-with-braces-in-expr-position.rs diff --git a/src/test/run-pass/macros/macro_with_super_2.rs b/src/test/ui/macros/macro_with_super_2.rs similarity index 100% rename from src/test/run-pass/macros/macro_with_super_2.rs rename to src/test/ui/macros/macro_with_super_2.rs diff --git a/src/test/run-pass/macros/meta-variable-misuse.rs b/src/test/ui/macros/meta-variable-misuse.rs similarity index 100% rename from src/test/run-pass/macros/meta-variable-misuse.rs rename to src/test/ui/macros/meta-variable-misuse.rs diff --git a/src/test/run-pass/macros/parse-complex-macro-invoc-op.rs b/src/test/ui/macros/parse-complex-macro-invoc-op.rs similarity index 100% rename from src/test/run-pass/macros/parse-complex-macro-invoc-op.rs rename to src/test/ui/macros/parse-complex-macro-invoc-op.rs diff --git a/src/test/run-pass/macros/paths-in-macro-invocations.rs b/src/test/ui/macros/paths-in-macro-invocations.rs similarity index 85% rename from src/test/run-pass/macros/paths-in-macro-invocations.rs rename to src/test/ui/macros/paths-in-macro-invocations.rs index 4f745b85c2f..622818a926f 100644 --- a/src/test/run-pass/macros/paths-in-macro-invocations.rs +++ b/src/test/ui/macros/paths-in-macro-invocations.rs @@ -1,8 +1,8 @@ // run-pass #![allow(dead_code)] -// aux-build:two_macros.rs +// aux-build:two_macros-rpass.rs -extern crate two_macros; +extern crate two_macros_rpass as two_macros; ::two_macros::macro_one!(); two_macros::macro_one!(); diff --git a/src/test/run-pass/macros/pub-item-inside-macro.rs b/src/test/ui/macros/pub-item-inside-macro.rs similarity index 100% rename from src/test/run-pass/macros/pub-item-inside-macro.rs rename to src/test/ui/macros/pub-item-inside-macro.rs diff --git a/src/test/run-pass/macros/pub-method-inside-macro.rs b/src/test/ui/macros/pub-method-inside-macro.rs similarity index 100% rename from src/test/run-pass/macros/pub-method-inside-macro.rs rename to src/test/ui/macros/pub-method-inside-macro.rs diff --git a/src/test/run-pass/macros/semi-after-macro-ty.rs b/src/test/ui/macros/semi-after-macro-ty.rs similarity index 100% rename from src/test/run-pass/macros/semi-after-macro-ty.rs rename to src/test/ui/macros/semi-after-macro-ty.rs diff --git a/src/test/run-pass/macros/stmt_expr_attr_macro_parse.rs b/src/test/ui/macros/stmt_expr_attr_macro_parse.rs similarity index 100% rename from src/test/run-pass/macros/stmt_expr_attr_macro_parse.rs rename to src/test/ui/macros/stmt_expr_attr_macro_parse.rs diff --git a/src/test/run-pass/macros/syntax-extension-cfg.rs b/src/test/ui/macros/syntax-extension-cfg.rs similarity index 100% rename from src/test/run-pass/macros/syntax-extension-cfg.rs rename to src/test/ui/macros/syntax-extension-cfg.rs diff --git a/src/test/run-pass/macros/syntax-extension-source-utils-files/includeme.fragment b/src/test/ui/macros/syntax-extension-source-utils-files/includeme.fragment similarity index 100% rename from src/test/run-pass/macros/syntax-extension-source-utils-files/includeme.fragment rename to src/test/ui/macros/syntax-extension-source-utils-files/includeme.fragment diff --git a/src/test/run-pass/macros/syntax-extension-source-utils.rs b/src/test/ui/macros/syntax-extension-source-utils.rs similarity index 100% rename from src/test/run-pass/macros/syntax-extension-source-utils.rs rename to src/test/ui/macros/syntax-extension-source-utils.rs diff --git a/src/test/run-pass/macros/try-macro.rs b/src/test/ui/macros/try-macro.rs similarity index 100% rename from src/test/run-pass/macros/try-macro.rs rename to src/test/ui/macros/try-macro.rs diff --git a/src/test/run-pass/macros/two-macro-use.rs b/src/test/ui/macros/two-macro-use.rs similarity index 100% rename from src/test/run-pass/macros/two-macro-use.rs rename to src/test/ui/macros/two-macro-use.rs diff --git a/src/test/run-pass/macros/type-macros-hlist.rs b/src/test/ui/macros/type-macros-hlist.rs similarity index 100% rename from src/test/run-pass/macros/type-macros-hlist.rs rename to src/test/ui/macros/type-macros-hlist.rs diff --git a/src/test/run-pass/macros/type-macros-simple.rs b/src/test/ui/macros/type-macros-simple.rs similarity index 100% rename from src/test/run-pass/macros/type-macros-simple.rs rename to src/test/ui/macros/type-macros-simple.rs diff --git a/src/test/run-pass/macros/typeck-macro-interaction-issue-8852.rs b/src/test/ui/macros/typeck-macro-interaction-issue-8852.rs similarity index 100% rename from src/test/run-pass/macros/typeck-macro-interaction-issue-8852.rs rename to src/test/ui/macros/typeck-macro-interaction-issue-8852.rs diff --git a/src/test/run-pass/macros/use-macro-self.rs b/src/test/ui/macros/use-macro-self.rs similarity index 100% rename from src/test/run-pass/macros/use-macro-self.rs rename to src/test/ui/macros/use-macro-self.rs diff --git a/src/test/run-pass/max-min-classes.rs b/src/test/ui/max-min-classes.rs similarity index 100% rename from src/test/run-pass/max-min-classes.rs rename to src/test/ui/max-min-classes.rs diff --git a/src/test/run-pass/methods/auxiliary/method_self_arg1.rs b/src/test/ui/methods/auxiliary/method_self_arg1.rs similarity index 100% rename from src/test/run-pass/methods/auxiliary/method_self_arg1.rs rename to src/test/ui/methods/auxiliary/method_self_arg1.rs diff --git a/src/test/run-pass/methods/auxiliary/method_self_arg2.rs b/src/test/ui/methods/auxiliary/method_self_arg2.rs similarity index 100% rename from src/test/run-pass/methods/auxiliary/method_self_arg2.rs rename to src/test/ui/methods/auxiliary/method_self_arg2.rs diff --git a/src/test/run-pass/methods/method-argument-inference-associated-type.rs b/src/test/ui/methods/method-argument-inference-associated-type.rs similarity index 100% rename from src/test/run-pass/methods/method-argument-inference-associated-type.rs rename to src/test/ui/methods/method-argument-inference-associated-type.rs diff --git a/src/test/run-pass/methods/method-early-bound-lifetimes-on-self.rs b/src/test/ui/methods/method-early-bound-lifetimes-on-self.rs similarity index 100% rename from src/test/run-pass/methods/method-early-bound-lifetimes-on-self.rs rename to src/test/ui/methods/method-early-bound-lifetimes-on-self.rs diff --git a/src/test/run-pass/methods/method-mut-self-modifies-mut-slice-lvalue.rs b/src/test/ui/methods/method-mut-self-modifies-mut-slice-lvalue.rs similarity index 100% rename from src/test/run-pass/methods/method-mut-self-modifies-mut-slice-lvalue.rs rename to src/test/ui/methods/method-mut-self-modifies-mut-slice-lvalue.rs diff --git a/src/test/run-pass/methods/method-normalize-bounds-issue-20604.rs b/src/test/ui/methods/method-normalize-bounds-issue-20604.rs similarity index 100% rename from src/test/run-pass/methods/method-normalize-bounds-issue-20604.rs rename to src/test/ui/methods/method-normalize-bounds-issue-20604.rs diff --git a/src/test/run-pass/methods/method-probe-no-guessing-dyn-trait.rs b/src/test/ui/methods/method-probe-no-guessing-dyn-trait.rs similarity index 100% rename from src/test/run-pass/methods/method-probe-no-guessing-dyn-trait.rs rename to src/test/ui/methods/method-probe-no-guessing-dyn-trait.rs diff --git a/src/test/run-pass/methods/method-projection.rs b/src/test/ui/methods/method-projection.rs similarity index 100% rename from src/test/run-pass/methods/method-projection.rs rename to src/test/ui/methods/method-projection.rs diff --git a/src/test/run-pass/methods/method-recursive-blanket-impl.rs b/src/test/ui/methods/method-recursive-blanket-impl.rs similarity index 100% rename from src/test/run-pass/methods/method-recursive-blanket-impl.rs rename to src/test/ui/methods/method-recursive-blanket-impl.rs diff --git a/src/test/run-pass/methods/method-self-arg-aux1.rs b/src/test/ui/methods/method-self-arg-aux1.rs similarity index 100% rename from src/test/run-pass/methods/method-self-arg-aux1.rs rename to src/test/ui/methods/method-self-arg-aux1.rs diff --git a/src/test/run-pass/methods/method-self-arg-aux2.rs b/src/test/ui/methods/method-self-arg-aux2.rs similarity index 100% rename from src/test/run-pass/methods/method-self-arg-aux2.rs rename to src/test/ui/methods/method-self-arg-aux2.rs diff --git a/src/test/run-pass/methods/method-self-arg-trait.rs b/src/test/ui/methods/method-self-arg-trait.rs similarity index 100% rename from src/test/run-pass/methods/method-self-arg-trait.rs rename to src/test/ui/methods/method-self-arg-trait.rs diff --git a/src/test/run-pass/methods/method-self-arg.rs b/src/test/ui/methods/method-self-arg.rs similarity index 100% rename from src/test/run-pass/methods/method-self-arg.rs rename to src/test/ui/methods/method-self-arg.rs diff --git a/src/test/run-pass/methods/method-two-trait-defer-resolution-1.rs b/src/test/ui/methods/method-two-trait-defer-resolution-1.rs similarity index 100% rename from src/test/run-pass/methods/method-two-trait-defer-resolution-1.rs rename to src/test/ui/methods/method-two-trait-defer-resolution-1.rs diff --git a/src/test/run-pass/methods/method-two-trait-defer-resolution-2.rs b/src/test/ui/methods/method-two-trait-defer-resolution-2.rs similarity index 100% rename from src/test/run-pass/methods/method-two-trait-defer-resolution-2.rs rename to src/test/ui/methods/method-two-trait-defer-resolution-2.rs diff --git a/src/test/run-pass/methods/method-two-traits-distinguished-via-where-clause.rs b/src/test/ui/methods/method-two-traits-distinguished-via-where-clause.rs similarity index 100% rename from src/test/run-pass/methods/method-two-traits-distinguished-via-where-clause.rs rename to src/test/ui/methods/method-two-traits-distinguished-via-where-clause.rs diff --git a/src/test/run-pass/methods/method-where-clause.rs b/src/test/ui/methods/method-where-clause.rs similarity index 100% rename from src/test/run-pass/methods/method-where-clause.rs rename to src/test/ui/methods/method-where-clause.rs diff --git a/src/test/run-pass/mid-path-type-params.rs b/src/test/ui/mid-path-type-params.rs similarity index 100% rename from src/test/run-pass/mid-path-type-params.rs rename to src/test/ui/mid-path-type-params.rs diff --git a/src/test/run-pass/minmax-stability-issue-23687.rs b/src/test/ui/minmax-stability-issue-23687.rs similarity index 100% rename from src/test/run-pass/minmax-stability-issue-23687.rs rename to src/test/ui/minmax-stability-issue-23687.rs diff --git a/src/test/run-pass/mir/auxiliary/mir_external_refs.rs b/src/test/ui/mir/auxiliary/mir_external_refs.rs similarity index 100% rename from src/test/run-pass/mir/auxiliary/mir_external_refs.rs rename to src/test/ui/mir/auxiliary/mir_external_refs.rs diff --git a/src/test/run-pass/mir/mir-inlining/ice-issue-45493.rs b/src/test/ui/mir/mir-inlining/ice-issue-45493.rs similarity index 100% rename from src/test/run-pass/mir/mir-inlining/ice-issue-45493.rs rename to src/test/ui/mir/mir-inlining/ice-issue-45493.rs diff --git a/src/test/run-pass/mir/mir-inlining/ice-issue-45885.rs b/src/test/ui/mir/mir-inlining/ice-issue-45885.rs similarity index 100% rename from src/test/run-pass/mir/mir-inlining/ice-issue-45885.rs rename to src/test/ui/mir/mir-inlining/ice-issue-45885.rs diff --git a/src/test/run-pass/mir/mir-inlining/no-trait-method-issue-40473.rs b/src/test/ui/mir/mir-inlining/no-trait-method-issue-40473.rs similarity index 100% rename from src/test/run-pass/mir/mir-inlining/no-trait-method-issue-40473.rs rename to src/test/ui/mir/mir-inlining/no-trait-method-issue-40473.rs diff --git a/src/test/run-pass/mir/mir-typeck-normalize-fn-sig.rs b/src/test/ui/mir/mir-typeck-normalize-fn-sig.rs similarity index 100% rename from src/test/run-pass/mir/mir-typeck-normalize-fn-sig.rs rename to src/test/ui/mir/mir-typeck-normalize-fn-sig.rs diff --git a/src/test/run-pass/mir/mir_adt_construction.rs b/src/test/ui/mir/mir_adt_construction.rs similarity index 100% rename from src/test/run-pass/mir/mir_adt_construction.rs rename to src/test/ui/mir/mir_adt_construction.rs diff --git a/src/test/run-pass/mir/mir_ascription_coercion.rs b/src/test/ui/mir/mir_ascription_coercion.rs similarity index 100% rename from src/test/run-pass/mir/mir_ascription_coercion.rs rename to src/test/ui/mir/mir_ascription_coercion.rs diff --git a/src/test/run-pass/mir/mir_augmented_assignments.rs b/src/test/ui/mir/mir_augmented_assignments.rs similarity index 100% rename from src/test/run-pass/mir/mir_augmented_assignments.rs rename to src/test/ui/mir/mir_augmented_assignments.rs diff --git a/src/test/run-pass/mir/mir_autoderef.rs b/src/test/ui/mir/mir_autoderef.rs similarity index 100% rename from src/test/run-pass/mir/mir_autoderef.rs rename to src/test/ui/mir/mir_autoderef.rs diff --git a/src/test/run-pass/mir/mir_boxing.rs b/src/test/ui/mir/mir_boxing.rs similarity index 100% rename from src/test/run-pass/mir/mir_boxing.rs rename to src/test/ui/mir/mir_boxing.rs diff --git a/src/test/run-pass/mir/mir_build_match_comparisons.rs b/src/test/ui/mir/mir_build_match_comparisons.rs similarity index 100% rename from src/test/run-pass/mir/mir_build_match_comparisons.rs rename to src/test/ui/mir/mir_build_match_comparisons.rs diff --git a/src/test/run-pass/mir/mir_call_with_associated_type.rs b/src/test/ui/mir/mir_call_with_associated_type.rs similarity index 100% rename from src/test/run-pass/mir/mir_call_with_associated_type.rs rename to src/test/ui/mir/mir_call_with_associated_type.rs diff --git a/src/test/run-pass/mir/mir_calls_to_shims.rs b/src/test/ui/mir/mir_calls_to_shims.rs similarity index 100% rename from src/test/run-pass/mir/mir_calls_to_shims.rs rename to src/test/ui/mir/mir_calls_to_shims.rs diff --git a/src/test/run-pass/mir/mir_cast_fn_ret.rs b/src/test/ui/mir/mir_cast_fn_ret.rs similarity index 100% rename from src/test/run-pass/mir/mir_cast_fn_ret.rs rename to src/test/ui/mir/mir_cast_fn_ret.rs diff --git a/src/test/run-pass/mir/mir_codegen_array.rs b/src/test/ui/mir/mir_codegen_array.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_array.rs rename to src/test/ui/mir/mir_codegen_array.rs diff --git a/src/test/run-pass/mir/mir_codegen_array_2.rs b/src/test/ui/mir/mir_codegen_array_2.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_array_2.rs rename to src/test/ui/mir/mir_codegen_array_2.rs diff --git a/src/test/run-pass/mir/mir_codegen_call_converging.rs b/src/test/ui/mir/mir_codegen_call_converging.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_call_converging.rs rename to src/test/ui/mir/mir_codegen_call_converging.rs diff --git a/src/test/run-pass/mir/mir_codegen_calls.rs b/src/test/ui/mir/mir_codegen_calls.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_calls.rs rename to src/test/ui/mir/mir_codegen_calls.rs diff --git a/src/test/run-pass/mir/mir_codegen_calls_variadic.rs b/src/test/ui/mir/mir_codegen_calls_variadic.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_calls_variadic.rs rename to src/test/ui/mir/mir_codegen_calls_variadic.rs diff --git a/src/test/run-pass/mir/mir_codegen_critical_edge.rs b/src/test/ui/mir/mir_codegen_critical_edge.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_critical_edge.rs rename to src/test/ui/mir/mir_codegen_critical_edge.rs diff --git a/src/test/run-pass/mir/mir_codegen_spike1.rs b/src/test/ui/mir/mir_codegen_spike1.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_spike1.rs rename to src/test/ui/mir/mir_codegen_spike1.rs diff --git a/src/test/run-pass/mir/mir_codegen_switch.rs b/src/test/ui/mir/mir_codegen_switch.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_switch.rs rename to src/test/ui/mir/mir_codegen_switch.rs diff --git a/src/test/run-pass/mir/mir_codegen_switchint.rs b/src/test/ui/mir/mir_codegen_switchint.rs similarity index 100% rename from src/test/run-pass/mir/mir_codegen_switchint.rs rename to src/test/ui/mir/mir_codegen_switchint.rs diff --git a/src/test/run-pass/mir/mir_coercion_casts.rs b/src/test/ui/mir/mir_coercion_casts.rs similarity index 100% rename from src/test/run-pass/mir/mir_coercion_casts.rs rename to src/test/ui/mir/mir_coercion_casts.rs diff --git a/src/test/run-pass/mir/mir_coercions.rs b/src/test/ui/mir/mir_coercions.rs similarity index 100% rename from src/test/run-pass/mir/mir_coercions.rs rename to src/test/ui/mir/mir_coercions.rs diff --git a/src/test/run-pass/mir/mir_constval_adts.rs b/src/test/ui/mir/mir_constval_adts.rs similarity index 100% rename from src/test/run-pass/mir/mir_constval_adts.rs rename to src/test/ui/mir/mir_constval_adts.rs diff --git a/src/test/run-pass/mir/mir_drop_order.rs b/src/test/ui/mir/mir_drop_order.rs similarity index 100% rename from src/test/run-pass/mir/mir_drop_order.rs rename to src/test/ui/mir/mir_drop_order.rs diff --git a/src/test/run-pass/mir/mir_early_return_scope.rs b/src/test/ui/mir/mir_early_return_scope.rs similarity index 100% rename from src/test/run-pass/mir/mir_early_return_scope.rs rename to src/test/ui/mir/mir_early_return_scope.rs diff --git a/src/test/run-pass/mir/mir_fat_ptr.rs b/src/test/ui/mir/mir_fat_ptr.rs similarity index 100% rename from src/test/run-pass/mir/mir_fat_ptr.rs rename to src/test/ui/mir/mir_fat_ptr.rs diff --git a/src/test/run-pass/mir/mir_fat_ptr_drop.rs b/src/test/ui/mir/mir_fat_ptr_drop.rs similarity index 100% rename from src/test/run-pass/mir/mir_fat_ptr_drop.rs rename to src/test/ui/mir/mir_fat_ptr_drop.rs diff --git a/src/test/run-pass/mir/mir_heavy_promoted.rs b/src/test/ui/mir/mir_heavy_promoted.rs similarity index 100% rename from src/test/run-pass/mir/mir_heavy_promoted.rs rename to src/test/ui/mir/mir_heavy_promoted.rs diff --git a/src/test/run-pass/mir/mir_match_arm_guard.rs b/src/test/ui/mir/mir_match_arm_guard.rs similarity index 100% rename from src/test/run-pass/mir/mir_match_arm_guard.rs rename to src/test/ui/mir/mir_match_arm_guard.rs diff --git a/src/test/run-pass/mir/mir_match_test.rs b/src/test/ui/mir/mir_match_test.rs similarity index 100% rename from src/test/run-pass/mir/mir_match_test.rs rename to src/test/ui/mir/mir_match_test.rs diff --git a/src/test/run-pass/mir/mir_misc_casts.rs b/src/test/ui/mir/mir_misc_casts.rs similarity index 100% rename from src/test/run-pass/mir/mir_misc_casts.rs rename to src/test/ui/mir/mir_misc_casts.rs diff --git a/src/test/run-pass/mir/mir_overflow_off.rs b/src/test/ui/mir/mir_overflow_off.rs similarity index 100% rename from src/test/run-pass/mir/mir_overflow_off.rs rename to src/test/ui/mir/mir_overflow_off.rs diff --git a/src/test/run-pass/mir/mir_raw_fat_ptr.rs b/src/test/ui/mir/mir_raw_fat_ptr.rs similarity index 100% rename from src/test/run-pass/mir/mir_raw_fat_ptr.rs rename to src/test/ui/mir/mir_raw_fat_ptr.rs diff --git a/src/test/run-pass/mir/mir_refs_correct.rs b/src/test/ui/mir/mir_refs_correct.rs similarity index 100% rename from src/test/run-pass/mir/mir_refs_correct.rs rename to src/test/ui/mir/mir_refs_correct.rs diff --git a/src/test/run-pass/mir/mir_small_agg_arg.rs b/src/test/ui/mir/mir_small_agg_arg.rs similarity index 100% rename from src/test/run-pass/mir/mir_small_agg_arg.rs rename to src/test/ui/mir/mir_small_agg_arg.rs diff --git a/src/test/run-pass/mir/mir_static_subtype.rs b/src/test/ui/mir/mir_static_subtype.rs similarity index 100% rename from src/test/run-pass/mir/mir_static_subtype.rs rename to src/test/ui/mir/mir_static_subtype.rs diff --git a/src/test/run-pass/mir/mir_struct_with_assoc_ty.rs b/src/test/ui/mir/mir_struct_with_assoc_ty.rs similarity index 100% rename from src/test/run-pass/mir/mir_struct_with_assoc_ty.rs rename to src/test/ui/mir/mir_struct_with_assoc_ty.rs diff --git a/src/test/run-pass/mir/mir_temp_promotions.rs b/src/test/ui/mir/mir_temp_promotions.rs similarity index 100% rename from src/test/run-pass/mir/mir_temp_promotions.rs rename to src/test/ui/mir/mir_temp_promotions.rs diff --git a/src/test/run-pass/mir/mir_void_return.rs b/src/test/ui/mir/mir_void_return.rs similarity index 100% rename from src/test/run-pass/mir/mir_void_return.rs rename to src/test/ui/mir/mir_void_return.rs diff --git a/src/test/run-pass/mir/mir_void_return_2.rs b/src/test/ui/mir/mir_void_return_2.rs similarity index 100% rename from src/test/run-pass/mir/mir_void_return_2.rs rename to src/test/ui/mir/mir_void_return_2.rs diff --git a/src/test/run-pass/modules/auxiliary/two_macros_2.rs b/src/test/ui/modules/auxiliary/two_macros_2.rs similarity index 100% rename from src/test/run-pass/modules/auxiliary/two_macros_2.rs rename to src/test/ui/modules/auxiliary/two_macros_2.rs diff --git a/src/test/run-pass/modules/mod-inside-fn.rs b/src/test/ui/modules/mod-inside-fn.rs similarity index 100% rename from src/test/run-pass/modules/mod-inside-fn.rs rename to src/test/ui/modules/mod-inside-fn.rs diff --git a/src/test/run-pass/modules/mod-view-items.rs b/src/test/ui/modules/mod-view-items.rs similarity index 100% rename from src/test/run-pass/modules/mod-view-items.rs rename to src/test/ui/modules/mod-view-items.rs diff --git a/src/test/run-pass/modules/mod_dir_implicit.rs b/src/test/ui/modules/mod_dir_implicit.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_implicit.rs rename to src/test/ui/modules/mod_dir_implicit.rs diff --git a/src/test/run-pass/modules/mod_dir_implicit_aux/compiletest-ignore-dir b/src/test/ui/modules/mod_dir_implicit_aux/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/modules/mod_dir_implicit_aux/compiletest-ignore-dir rename to src/test/ui/modules/mod_dir_implicit_aux/compiletest-ignore-dir diff --git a/src/test/run-pass/modules/mod_dir_implicit_aux/mod.rs b/src/test/ui/modules/mod_dir_implicit_aux/mod.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_implicit_aux/mod.rs rename to src/test/ui/modules/mod_dir_implicit_aux/mod.rs diff --git a/src/test/run-pass/modules/mod_dir_path.rs b/src/test/ui/modules/mod_dir_path.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_path.rs rename to src/test/ui/modules/mod_dir_path.rs diff --git a/src/test/run-pass/modules/mod_dir_path2.rs b/src/test/ui/modules/mod_dir_path2.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_path2.rs rename to src/test/ui/modules/mod_dir_path2.rs diff --git a/src/test/run-pass/modules/mod_dir_path3.rs b/src/test/ui/modules/mod_dir_path3.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_path3.rs rename to src/test/ui/modules/mod_dir_path3.rs diff --git a/src/test/run-pass/modules/mod_dir_path_multi.rs b/src/test/ui/modules/mod_dir_path_multi.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_path_multi.rs rename to src/test/ui/modules/mod_dir_path_multi.rs diff --git a/src/test/run-pass/modules/mod_dir_recursive.rs b/src/test/ui/modules/mod_dir_recursive.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_recursive.rs rename to src/test/ui/modules/mod_dir_recursive.rs diff --git a/src/test/run-pass/modules/mod_dir_simple.rs b/src/test/ui/modules/mod_dir_simple.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_simple.rs rename to src/test/ui/modules/mod_dir_simple.rs diff --git a/src/test/run-pass/modules/mod_dir_simple/compiletest-ignore-dir b/src/test/ui/modules/mod_dir_simple/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/modules/mod_dir_simple/compiletest-ignore-dir rename to src/test/ui/modules/mod_dir_simple/compiletest-ignore-dir diff --git a/src/test/run-pass/modules/mod_dir_simple/load_another_mod.rs b/src/test/ui/modules/mod_dir_simple/load_another_mod.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_simple/load_another_mod.rs rename to src/test/ui/modules/mod_dir_simple/load_another_mod.rs diff --git a/src/test/run-pass/modules/mod_dir_simple/test.rs b/src/test/ui/modules/mod_dir_simple/test.rs similarity index 100% rename from src/test/run-pass/modules/mod_dir_simple/test.rs rename to src/test/ui/modules/mod_dir_simple/test.rs diff --git a/src/test/run-pass/modules/mod_file.rs b/src/test/ui/modules/mod_file.rs similarity index 100% rename from src/test/run-pass/modules/mod_file.rs rename to src/test/ui/modules/mod_file.rs diff --git a/src/test/run-pass/modules/mod_file_aux.rs b/src/test/ui/modules/mod_file_aux.rs similarity index 100% rename from src/test/run-pass/modules/mod_file_aux.rs rename to src/test/ui/modules/mod_file_aux.rs diff --git a/src/test/run-pass/modules/mod_file_with_path_attr.rs b/src/test/ui/modules/mod_file_with_path_attr.rs similarity index 100% rename from src/test/run-pass/modules/mod_file_with_path_attr.rs rename to src/test/ui/modules/mod_file_with_path_attr.rs diff --git a/src/test/run-pass/modules/module-polymorphism3-files/compiletest-ignore-dir b/src/test/ui/modules/module-polymorphism3-files/compiletest-ignore-dir similarity index 100% rename from src/test/run-pass/modules/module-polymorphism3-files/compiletest-ignore-dir rename to src/test/ui/modules/module-polymorphism3-files/compiletest-ignore-dir diff --git a/src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_f32.rs b/src/test/ui/modules/module-polymorphism3-files/float-template/inst_f32.rs similarity index 100% rename from src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_f32.rs rename to src/test/ui/modules/module-polymorphism3-files/float-template/inst_f32.rs diff --git a/src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_f64.rs b/src/test/ui/modules/module-polymorphism3-files/float-template/inst_f64.rs similarity index 100% rename from src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_f64.rs rename to src/test/ui/modules/module-polymorphism3-files/float-template/inst_f64.rs diff --git a/src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_float.rs b/src/test/ui/modules/module-polymorphism3-files/float-template/inst_float.rs similarity index 100% rename from src/test/run-pass/modules/module-polymorphism3-files/float-template/inst_float.rs rename to src/test/ui/modules/module-polymorphism3-files/float-template/inst_float.rs diff --git a/src/test/run-pass/monad.rs b/src/test/ui/monad.rs similarity index 100% rename from src/test/run-pass/monad.rs rename to src/test/ui/monad.rs diff --git a/src/test/run-pass/monomorphize-abi-alignment.rs b/src/test/ui/monomorphize-abi-alignment.rs similarity index 100% rename from src/test/run-pass/monomorphize-abi-alignment.rs rename to src/test/ui/monomorphize-abi-alignment.rs diff --git a/src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs b/src/test/ui/monomorphized-callees-with-ty-params-3314.rs similarity index 100% rename from src/test/run-pass/monomorphized-callees-with-ty-params-3314.rs rename to src/test/ui/monomorphized-callees-with-ty-params-3314.rs diff --git a/src/test/run-pass/moves/move-1-unique.rs b/src/test/ui/moves/move-1-unique.rs similarity index 100% rename from src/test/run-pass/moves/move-1-unique.rs rename to src/test/ui/moves/move-1-unique.rs diff --git a/src/test/run-pass/moves/move-2-unique.rs b/src/test/ui/moves/move-2-unique.rs similarity index 100% rename from src/test/run-pass/moves/move-2-unique.rs rename to src/test/ui/moves/move-2-unique.rs diff --git a/src/test/run-pass/moves/move-2.rs b/src/test/ui/moves/move-2.rs similarity index 100% rename from src/test/run-pass/moves/move-2.rs rename to src/test/ui/moves/move-2.rs diff --git a/src/test/run-pass/moves/move-3-unique.rs b/src/test/ui/moves/move-3-unique.rs similarity index 100% rename from src/test/run-pass/moves/move-3-unique.rs rename to src/test/ui/moves/move-3-unique.rs diff --git a/src/test/run-pass/moves/move-4-unique.rs b/src/test/ui/moves/move-4-unique.rs similarity index 100% rename from src/test/run-pass/moves/move-4-unique.rs rename to src/test/ui/moves/move-4-unique.rs diff --git a/src/test/run-pass/moves/move-4.rs b/src/test/ui/moves/move-4.rs similarity index 100% rename from src/test/run-pass/moves/move-4.rs rename to src/test/ui/moves/move-4.rs diff --git a/src/test/run-pass/moves/move-arg-2-unique.rs b/src/test/ui/moves/move-arg-2-unique.rs similarity index 100% rename from src/test/run-pass/moves/move-arg-2-unique.rs rename to src/test/ui/moves/move-arg-2-unique.rs diff --git a/src/test/run-pass/moves/move-arg-2.rs b/src/test/ui/moves/move-arg-2.rs similarity index 100% rename from src/test/run-pass/moves/move-arg-2.rs rename to src/test/ui/moves/move-arg-2.rs diff --git a/src/test/run-pass/moves/move-arg.rs b/src/test/ui/moves/move-arg.rs similarity index 100% rename from src/test/run-pass/moves/move-arg.rs rename to src/test/ui/moves/move-arg.rs diff --git a/src/test/run-pass/moves/move-nullary-fn.rs b/src/test/ui/moves/move-nullary-fn.rs similarity index 100% rename from src/test/run-pass/moves/move-nullary-fn.rs rename to src/test/ui/moves/move-nullary-fn.rs diff --git a/src/test/run-pass/moves/move-out-of-field.rs b/src/test/ui/moves/move-out-of-field.rs similarity index 100% rename from src/test/run-pass/moves/move-out-of-field.rs rename to src/test/ui/moves/move-out-of-field.rs diff --git a/src/test/run-pass/moves/move-scalar.rs b/src/test/ui/moves/move-scalar.rs similarity index 100% rename from src/test/run-pass/moves/move-scalar.rs rename to src/test/ui/moves/move-scalar.rs diff --git a/src/test/run-pass/moves/moves-based-on-type-capture-clause.rs b/src/test/ui/moves/moves-based-on-type-capture-clause.rs similarity index 100% rename from src/test/run-pass/moves/moves-based-on-type-capture-clause.rs rename to src/test/ui/moves/moves-based-on-type-capture-clause.rs diff --git a/src/test/run-pass/mpsc_stress.rs b/src/test/ui/mpsc_stress.rs similarity index 100% rename from src/test/run-pass/mpsc_stress.rs rename to src/test/ui/mpsc_stress.rs diff --git a/src/test/run-pass/msvc-data-only.rs b/src/test/ui/msvc-data-only.rs similarity index 100% rename from src/test/run-pass/msvc-data-only.rs rename to src/test/ui/msvc-data-only.rs diff --git a/src/test/run-pass/multi-panic.rs b/src/test/ui/multi-panic.rs similarity index 100% rename from src/test/run-pass/multi-panic.rs rename to src/test/ui/multi-panic.rs diff --git a/src/test/run-pass/multibyte.rs b/src/test/ui/multibyte.rs similarity index 100% rename from src/test/run-pass/multibyte.rs rename to src/test/ui/multibyte.rs diff --git a/src/test/run-pass/multidispatch-conditional-impl-not-considered.rs b/src/test/ui/multidispatch-conditional-impl-not-considered.rs similarity index 100% rename from src/test/run-pass/multidispatch-conditional-impl-not-considered.rs rename to src/test/ui/multidispatch-conditional-impl-not-considered.rs diff --git a/src/test/run-pass/multidispatch1.rs b/src/test/ui/multidispatch1.rs similarity index 100% rename from src/test/run-pass/multidispatch1.rs rename to src/test/ui/multidispatch1.rs diff --git a/src/test/run-pass/multidispatch2.rs b/src/test/ui/multidispatch2.rs similarity index 100% rename from src/test/run-pass/multidispatch2.rs rename to src/test/ui/multidispatch2.rs diff --git a/src/test/run-pass/multiline-comment.rs b/src/test/ui/multiline-comment.rs similarity index 100% rename from src/test/run-pass/multiline-comment.rs rename to src/test/ui/multiline-comment.rs diff --git a/src/test/run-pass/multiple-reprs.rs b/src/test/ui/multiple-reprs.rs similarity index 100% rename from src/test/run-pass/multiple-reprs.rs rename to src/test/ui/multiple-reprs.rs diff --git a/src/test/run-pass/mut-function-arguments.rs b/src/test/ui/mut-function-arguments.rs similarity index 100% rename from src/test/run-pass/mut-function-arguments.rs rename to src/test/ui/mut-function-arguments.rs diff --git a/src/test/run-pass/mut-vstore-expr.rs b/src/test/ui/mut-vstore-expr.rs similarity index 100% rename from src/test/run-pass/mut-vstore-expr.rs rename to src/test/ui/mut-vstore-expr.rs diff --git a/src/test/run-pass/mutual-recursion-group.rs b/src/test/ui/mutual-recursion-group.rs similarity index 100% rename from src/test/run-pass/mutual-recursion-group.rs rename to src/test/ui/mutual-recursion-group.rs diff --git a/src/test/run-pass/native-print-no-runtime.rs b/src/test/ui/native-print-no-runtime.rs similarity index 100% rename from src/test/run-pass/native-print-no-runtime.rs rename to src/test/ui/native-print-no-runtime.rs diff --git a/src/test/run-pass/negative.rs b/src/test/ui/negative.rs similarity index 100% rename from src/test/run-pass/negative.rs rename to src/test/ui/negative.rs diff --git a/src/test/run-pass/nested-block-comment.rs b/src/test/ui/nested-block-comment.rs similarity index 100% rename from src/test/run-pass/nested-block-comment.rs rename to src/test/ui/nested-block-comment.rs diff --git a/src/test/run-pass/nested-class.rs b/src/test/ui/nested-class.rs similarity index 100% rename from src/test/run-pass/nested-class.rs rename to src/test/ui/nested-class.rs diff --git a/src/test/run-pass/nested-function-names-issue-8587.rs b/src/test/ui/nested-function-names-issue-8587.rs similarity index 100% rename from src/test/run-pass/nested-function-names-issue-8587.rs rename to src/test/ui/nested-function-names-issue-8587.rs diff --git a/src/test/run-pass/nested_item_main.rs b/src/test/ui/nested_item_main.rs similarity index 100% rename from src/test/run-pass/nested_item_main.rs rename to src/test/ui/nested_item_main.rs diff --git a/src/test/run-pass/never-result.rs b/src/test/ui/never-result.rs similarity index 100% rename from src/test/run-pass/never-result.rs rename to src/test/ui/never-result.rs diff --git a/src/test/run-pass/never-type-rvalues.rs b/src/test/ui/never-type-rvalues.rs similarity index 100% rename from src/test/run-pass/never-type-rvalues.rs rename to src/test/ui/never-type-rvalues.rs diff --git a/src/test/run-pass/never_coercions.rs b/src/test/ui/never_coercions.rs similarity index 100% rename from src/test/run-pass/never_coercions.rs rename to src/test/ui/never_coercions.rs diff --git a/src/test/run-pass/new-box-syntax.rs b/src/test/ui/new-box-syntax.rs similarity index 100% rename from src/test/run-pass/new-box-syntax.rs rename to src/test/ui/new-box-syntax.rs diff --git a/src/test/run-pass/new-box.rs b/src/test/ui/new-box.rs similarity index 100% rename from src/test/run-pass/new-box.rs rename to src/test/ui/new-box.rs diff --git a/src/test/run-pass/new-impl-syntax.rs b/src/test/ui/new-impl-syntax.rs similarity index 100% rename from src/test/run-pass/new-impl-syntax.rs rename to src/test/ui/new-impl-syntax.rs diff --git a/src/test/run-pass/new-import-syntax.rs b/src/test/ui/new-import-syntax.rs similarity index 100% rename from src/test/run-pass/new-import-syntax.rs rename to src/test/ui/new-import-syntax.rs diff --git a/src/test/run-pass/new-style-constants.rs b/src/test/ui/new-style-constants.rs similarity index 100% rename from src/test/run-pass/new-style-constants.rs rename to src/test/ui/new-style-constants.rs diff --git a/src/test/run-pass/new-unicode-escapes.rs b/src/test/ui/new-unicode-escapes.rs similarity index 100% rename from src/test/run-pass/new-unicode-escapes.rs rename to src/test/ui/new-unicode-escapes.rs diff --git a/src/test/run-pass/new-unsafe-pointers.rs b/src/test/ui/new-unsafe-pointers.rs similarity index 100% rename from src/test/run-pass/new-unsafe-pointers.rs rename to src/test/ui/new-unsafe-pointers.rs diff --git a/src/test/run-pass/newlambdas-ret-infer.rs b/src/test/ui/newlambdas-ret-infer.rs similarity index 100% rename from src/test/run-pass/newlambdas-ret-infer.rs rename to src/test/ui/newlambdas-ret-infer.rs diff --git a/src/test/run-pass/newlambdas-ret-infer2.rs b/src/test/ui/newlambdas-ret-infer2.rs similarity index 100% rename from src/test/run-pass/newlambdas-ret-infer2.rs rename to src/test/ui/newlambdas-ret-infer2.rs diff --git a/src/test/run-pass/newlambdas.rs b/src/test/ui/newlambdas.rs similarity index 100% rename from src/test/run-pass/newlambdas.rs rename to src/test/ui/newlambdas.rs diff --git a/src/test/run-pass/newtype-polymorphic.rs b/src/test/ui/newtype-polymorphic.rs similarity index 100% rename from src/test/run-pass/newtype-polymorphic.rs rename to src/test/ui/newtype-polymorphic.rs diff --git a/src/test/run-pass/newtype-temporary.rs b/src/test/ui/newtype-temporary.rs similarity index 100% rename from src/test/run-pass/newtype-temporary.rs rename to src/test/ui/newtype-temporary.rs diff --git a/src/test/run-pass/newtype.rs b/src/test/ui/newtype.rs similarity index 100% rename from src/test/run-pass/newtype.rs rename to src/test/ui/newtype.rs diff --git a/src/test/run-pass/nil-decl-in-foreign.rs b/src/test/ui/nil-decl-in-foreign.rs similarity index 100% rename from src/test/run-pass/nil-decl-in-foreign.rs rename to src/test/ui/nil-decl-in-foreign.rs diff --git a/src/test/run-pass/nll/issue-47153-generic-const.rs b/src/test/ui/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/nll/issue-47153-generic-const.rs diff --git a/src/test/run-pass/nll/issue-47589.rs b/src/test/ui/nll/issue-47589.rs similarity index 100% rename from src/test/run-pass/nll/issue-47589.rs rename to src/test/ui/nll/issue-47589.rs diff --git a/src/test/run-pass/nll/issue-48623-closure.rs b/src/test/ui/nll/issue-48623-closure.rs similarity index 100% rename from src/test/run-pass/nll/issue-48623-closure.rs rename to src/test/ui/nll/issue-48623-closure.rs diff --git a/src/test/run-pass/nll/issue-48623-generator.rs b/src/test/ui/nll/issue-48623-generator.rs similarity index 100% rename from src/test/run-pass/nll/issue-48623-generator.rs rename to src/test/ui/nll/issue-48623-generator.rs diff --git a/src/test/run-pass/nll/issue-50343.rs b/src/test/ui/nll/issue-50343.rs similarity index 100% rename from src/test/run-pass/nll/issue-50343.rs rename to src/test/ui/nll/issue-50343.rs diff --git a/src/test/run-pass/nll/issue-50461-used-mut-from-moves.rs b/src/test/ui/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/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/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/nll/issue-53123-raw-pointer-cast.rs diff --git a/src/test/run-pass/nll/mutating_references.rs b/src/test/ui/nll/mutating_references.rs similarity index 100% rename from src/test/run-pass/nll/mutating_references.rs rename to src/test/ui/nll/mutating_references.rs diff --git a/src/test/run-pass/nll/process_or_insert_default.rs b/src/test/ui/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/nll/process_or_insert_default.rs diff --git a/src/test/run-pass/nll/rc-loop.rs b/src/test/ui/nll/rc-loop.rs similarity index 100% rename from src/test/run-pass/nll/rc-loop.rs rename to src/test/ui/nll/rc-loop.rs diff --git a/src/test/run-pass/no-core-1.rs b/src/test/ui/no-core-1.rs similarity index 100% rename from src/test/run-pass/no-core-1.rs rename to src/test/ui/no-core-1.rs diff --git a/src/test/run-pass/no-core-2.rs b/src/test/ui/no-core-2.rs similarity index 100% rename from src/test/run-pass/no-core-2.rs rename to src/test/ui/no-core-2.rs diff --git a/src/test/run-pass/no-landing-pads.rs b/src/test/ui/no-landing-pads.rs similarity index 100% rename from src/test/run-pass/no-landing-pads.rs rename to src/test/ui/no-landing-pads.rs diff --git a/src/test/run-pass/no-std-1.rs b/src/test/ui/no-std-1.rs similarity index 100% rename from src/test/run-pass/no-std-1.rs rename to src/test/ui/no-std-1.rs diff --git a/src/test/run-pass/no-std-2.rs b/src/test/ui/no-std-2.rs similarity index 100% rename from src/test/run-pass/no-std-2.rs rename to src/test/ui/no-std-2.rs diff --git a/src/test/run-pass/no-std-3.rs b/src/test/ui/no-std-3.rs similarity index 100% rename from src/test/run-pass/no-std-3.rs rename to src/test/ui/no-std-3.rs diff --git a/src/test/run-pass/no-stdio.rs b/src/test/ui/no-stdio.rs similarity index 100% rename from src/test/run-pass/no-stdio.rs rename to src/test/ui/no-stdio.rs diff --git a/src/test/run-pass/non-built-in-quote.rs b/src/test/ui/non-built-in-quote.rs similarity index 100% rename from src/test/run-pass/non-built-in-quote.rs rename to src/test/ui/non-built-in-quote.rs diff --git a/src/test/run-pass/non-legacy-modes.rs b/src/test/ui/non-legacy-modes.rs similarity index 100% rename from src/test/run-pass/non-legacy-modes.rs rename to src/test/ui/non-legacy-modes.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod.rs b/src/test/ui/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/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/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/non_modrs_mods/foors_mod/compiletest-ignore-dir diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/inline/somename.rs b/src/test/ui/non_modrs_mods/foors_mod/inline/somename.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/foors_mod/inline/somename.rs rename to src/test/ui/non_modrs_mods/foors_mod/inline/somename.rs diff --git a/src/test/run-pass/non_modrs_mods/foors_mod/inner_foors_mod.rs b/src/test/ui/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/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/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/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/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/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/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/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/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/non_modrs_mods/modrs_mod/compiletest-ignore-dir diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/inline/somename.rs b/src/test/ui/non_modrs_mods/modrs_mod/inline/somename.rs similarity index 100% rename from src/test/run-pass/non_modrs_mods/modrs_mod/inline/somename.rs rename to src/test/ui/non_modrs_mods/modrs_mod/inline/somename.rs diff --git a/src/test/run-pass/non_modrs_mods/modrs_mod/inner_foors_mod.rs b/src/test/ui/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/non_modrs_mods/some_crazy_attr_mod_dir/inner_modrs_mod/mod.rs diff --git a/src/test/run-pass/nul-characters.rs b/src/test/ui/nul-characters.rs similarity index 100% rename from src/test/run-pass/nul-characters.rs rename to src/test/ui/nul-characters.rs diff --git a/src/test/run-pass/nullable-pointer-ffi-compat.rs b/src/test/ui/nullable-pointer-ffi-compat.rs similarity index 100% rename from src/test/run-pass/nullable-pointer-ffi-compat.rs rename to src/test/ui/nullable-pointer-ffi-compat.rs diff --git a/src/test/run-pass/nullable-pointer-iotareduction.rs b/src/test/ui/nullable-pointer-iotareduction.rs similarity index 100% rename from src/test/run-pass/nullable-pointer-iotareduction.rs rename to src/test/ui/nullable-pointer-iotareduction.rs diff --git a/src/test/run-pass/nullable-pointer-size.rs b/src/test/ui/nullable-pointer-size.rs similarity index 100% rename from src/test/run-pass/nullable-pointer-size.rs rename to src/test/ui/nullable-pointer-size.rs diff --git a/src/test/run-pass/numbers-arithmetic/arith-0.rs b/src/test/ui/numbers-arithmetic/arith-0.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/arith-0.rs rename to src/test/ui/numbers-arithmetic/arith-0.rs diff --git a/src/test/run-pass/numbers-arithmetic/arith-1.rs b/src/test/ui/numbers-arithmetic/arith-1.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/arith-1.rs rename to src/test/ui/numbers-arithmetic/arith-1.rs diff --git a/src/test/run-pass/numbers-arithmetic/arith-2.rs b/src/test/ui/numbers-arithmetic/arith-2.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/arith-2.rs rename to src/test/ui/numbers-arithmetic/arith-2.rs diff --git a/src/test/run-pass/numbers-arithmetic/arith-unsigned.rs b/src/test/ui/numbers-arithmetic/arith-unsigned.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/arith-unsigned.rs rename to src/test/ui/numbers-arithmetic/arith-unsigned.rs diff --git a/src/test/run-pass/numbers-arithmetic/div-mod.rs b/src/test/ui/numbers-arithmetic/div-mod.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/div-mod.rs rename to src/test/ui/numbers-arithmetic/div-mod.rs diff --git a/src/test/run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs b/src/test/ui/numbers-arithmetic/float-int-invalid-const-cast.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float-int-invalid-const-cast.rs rename to src/test/ui/numbers-arithmetic/float-int-invalid-const-cast.rs diff --git a/src/test/run-pass/numbers-arithmetic/float-literal-inference.rs b/src/test/ui/numbers-arithmetic/float-literal-inference.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float-literal-inference.rs rename to src/test/ui/numbers-arithmetic/float-literal-inference.rs diff --git a/src/test/run-pass/numbers-arithmetic/float-nan.rs b/src/test/ui/numbers-arithmetic/float-nan.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float-nan.rs rename to src/test/ui/numbers-arithmetic/float-nan.rs diff --git a/src/test/run-pass/numbers-arithmetic/float-signature.rs b/src/test/ui/numbers-arithmetic/float-signature.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float-signature.rs rename to src/test/ui/numbers-arithmetic/float-signature.rs diff --git a/src/test/run-pass/numbers-arithmetic/float.rs b/src/test/ui/numbers-arithmetic/float.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float.rs rename to src/test/ui/numbers-arithmetic/float.rs diff --git a/src/test/run-pass/numbers-arithmetic/float2.rs b/src/test/ui/numbers-arithmetic/float2.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float2.rs rename to src/test/ui/numbers-arithmetic/float2.rs diff --git a/src/test/run-pass/numbers-arithmetic/float_math.rs b/src/test/ui/numbers-arithmetic/float_math.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/float_math.rs rename to src/test/ui/numbers-arithmetic/float_math.rs diff --git a/src/test/run-pass/numbers-arithmetic/floatlits.rs b/src/test/ui/numbers-arithmetic/floatlits.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/floatlits.rs rename to src/test/ui/numbers-arithmetic/floatlits.rs diff --git a/src/test/run-pass/numbers-arithmetic/i128-ffi.rs b/src/test/ui/numbers-arithmetic/i128-ffi.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/i128-ffi.rs rename to src/test/ui/numbers-arithmetic/i128-ffi.rs diff --git a/src/test/run-pass/numbers-arithmetic/i128.rs b/src/test/ui/numbers-arithmetic/i128.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/i128.rs rename to src/test/ui/numbers-arithmetic/i128.rs diff --git a/src/test/run-pass/numbers-arithmetic/i32-sub.rs b/src/test/ui/numbers-arithmetic/i32-sub.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/i32-sub.rs rename to src/test/ui/numbers-arithmetic/i32-sub.rs diff --git a/src/test/run-pass/numbers-arithmetic/i8-incr.rs b/src/test/ui/numbers-arithmetic/i8-incr.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/i8-incr.rs rename to src/test/ui/numbers-arithmetic/i8-incr.rs diff --git a/src/test/run-pass/numbers-arithmetic/int-abs-overflow.rs b/src/test/ui/numbers-arithmetic/int-abs-overflow.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/int-abs-overflow.rs rename to src/test/ui/numbers-arithmetic/int-abs-overflow.rs diff --git a/src/test/run-pass/numbers-arithmetic/int.rs b/src/test/ui/numbers-arithmetic/int.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/int.rs rename to src/test/ui/numbers-arithmetic/int.rs diff --git a/src/test/run-pass/numbers-arithmetic/integer-literal-radix.rs b/src/test/ui/numbers-arithmetic/integer-literal-radix.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/integer-literal-radix.rs rename to src/test/ui/numbers-arithmetic/integer-literal-radix.rs diff --git a/src/test/run-pass/numbers-arithmetic/integer-literal-suffix-inference-2.rs b/src/test/ui/numbers-arithmetic/integer-literal-suffix-inference-2.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/integer-literal-suffix-inference-2.rs rename to src/test/ui/numbers-arithmetic/integer-literal-suffix-inference-2.rs diff --git a/src/test/run-pass/numbers-arithmetic/integer-literal-suffix-inference-3.rs b/src/test/ui/numbers-arithmetic/integer-literal-suffix-inference-3.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/integer-literal-suffix-inference-3.rs rename to src/test/ui/numbers-arithmetic/integer-literal-suffix-inference-3.rs diff --git a/src/test/run-pass/numbers-arithmetic/integer-literal-suffix-inference.rs b/src/test/ui/numbers-arithmetic/integer-literal-suffix-inference.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/integer-literal-suffix-inference.rs rename to src/test/ui/numbers-arithmetic/integer-literal-suffix-inference.rs diff --git a/src/test/run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs b/src/test/ui/numbers-arithmetic/next-power-of-two-overflow-debug.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/next-power-of-two-overflow-debug.rs rename to src/test/ui/numbers-arithmetic/next-power-of-two-overflow-debug.rs diff --git a/src/test/run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs b/src/test/ui/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs rename to src/test/ui/numbers-arithmetic/next-power-of-two-overflow-ndebug.rs diff --git a/src/test/run-pass/numbers-arithmetic/num-wrapping.rs b/src/test/ui/numbers-arithmetic/num-wrapping.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/num-wrapping.rs rename to src/test/ui/numbers-arithmetic/num-wrapping.rs diff --git a/src/test/run-pass/numbers-arithmetic/numeric-method-autoexport.rs b/src/test/ui/numbers-arithmetic/numeric-method-autoexport.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/numeric-method-autoexport.rs rename to src/test/ui/numbers-arithmetic/numeric-method-autoexport.rs diff --git a/src/test/run-pass/numbers-arithmetic/promoted_overflow_opt.rs b/src/test/ui/numbers-arithmetic/promoted_overflow_opt.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/promoted_overflow_opt.rs rename to src/test/ui/numbers-arithmetic/promoted_overflow_opt.rs diff --git a/src/test/run-pass/numbers-arithmetic/saturating-float-casts.rs b/src/test/ui/numbers-arithmetic/saturating-float-casts.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/saturating-float-casts.rs rename to src/test/ui/numbers-arithmetic/saturating-float-casts.rs diff --git a/src/test/run-pass/numbers-arithmetic/shift-near-oflo.rs b/src/test/ui/numbers-arithmetic/shift-near-oflo.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/shift-near-oflo.rs rename to src/test/ui/numbers-arithmetic/shift-near-oflo.rs diff --git a/src/test/run-pass/numbers-arithmetic/shift-various-types.rs b/src/test/ui/numbers-arithmetic/shift-various-types.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/shift-various-types.rs rename to src/test/ui/numbers-arithmetic/shift-various-types.rs diff --git a/src/test/run-pass/numbers-arithmetic/shift.rs b/src/test/ui/numbers-arithmetic/shift.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/shift.rs rename to src/test/ui/numbers-arithmetic/shift.rs diff --git a/src/test/run-pass/numbers-arithmetic/signed-shift-const-eval.rs b/src/test/ui/numbers-arithmetic/signed-shift-const-eval.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/signed-shift-const-eval.rs rename to src/test/ui/numbers-arithmetic/signed-shift-const-eval.rs diff --git a/src/test/run-pass/numbers-arithmetic/u128-as-f32.rs b/src/test/ui/numbers-arithmetic/u128-as-f32.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/u128-as-f32.rs rename to src/test/ui/numbers-arithmetic/u128-as-f32.rs diff --git a/src/test/run-pass/numbers-arithmetic/u128.rs b/src/test/ui/numbers-arithmetic/u128.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/u128.rs rename to src/test/ui/numbers-arithmetic/u128.rs diff --git a/src/test/run-pass/numbers-arithmetic/u32-decr.rs b/src/test/ui/numbers-arithmetic/u32-decr.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/u32-decr.rs rename to src/test/ui/numbers-arithmetic/u32-decr.rs diff --git a/src/test/run-pass/numbers-arithmetic/u8-incr-decr.rs b/src/test/ui/numbers-arithmetic/u8-incr-decr.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/u8-incr-decr.rs rename to src/test/ui/numbers-arithmetic/u8-incr-decr.rs diff --git a/src/test/run-pass/numbers-arithmetic/u8-incr.rs b/src/test/ui/numbers-arithmetic/u8-incr.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/u8-incr.rs rename to src/test/ui/numbers-arithmetic/u8-incr.rs diff --git a/src/test/run-pass/numbers-arithmetic/uint.rs b/src/test/ui/numbers-arithmetic/uint.rs similarity index 100% rename from src/test/run-pass/numbers-arithmetic/uint.rs rename to src/test/ui/numbers-arithmetic/uint.rs diff --git a/src/test/run-pass/object-lifetime-default-default-to-static.rs b/src/test/ui/object-lifetime-default-default-to-static.rs similarity index 100% rename from src/test/run-pass/object-lifetime-default-default-to-static.rs rename to src/test/ui/object-lifetime-default-default-to-static.rs diff --git a/src/test/run-pass/object-lifetime-default-from-rptr-box.rs b/src/test/ui/object-lifetime-default-from-rptr-box.rs similarity index 100% rename from src/test/run-pass/object-lifetime-default-from-rptr-box.rs rename to src/test/ui/object-lifetime-default-from-rptr-box.rs diff --git a/src/test/run-pass/object-lifetime-default-from-rptr-mut.rs b/src/test/ui/object-lifetime-default-from-rptr-mut.rs similarity index 100% rename from src/test/run-pass/object-lifetime-default-from-rptr-mut.rs rename to src/test/ui/object-lifetime-default-from-rptr-mut.rs diff --git a/src/test/run-pass/object-lifetime-default-from-rptr.rs b/src/test/ui/object-lifetime-default-from-rptr.rs similarity index 100% rename from src/test/run-pass/object-lifetime-default-from-rptr.rs rename to src/test/ui/object-lifetime-default-from-rptr.rs diff --git a/src/test/run-pass/object-method-numbering.rs b/src/test/ui/object-method-numbering.rs similarity index 100% rename from src/test/run-pass/object-method-numbering.rs rename to src/test/ui/object-method-numbering.rs diff --git a/src/test/run-pass/objects-coerce-freeze-borrored.rs b/src/test/ui/objects-coerce-freeze-borrored.rs similarity index 100% rename from src/test/run-pass/objects-coerce-freeze-borrored.rs rename to src/test/ui/objects-coerce-freeze-borrored.rs diff --git a/src/test/run-pass/objects-owned-object-borrowed-method-headerless.rs b/src/test/ui/objects-owned-object-borrowed-method-headerless.rs similarity index 100% rename from src/test/run-pass/objects-owned-object-borrowed-method-headerless.rs rename to src/test/ui/objects-owned-object-borrowed-method-headerless.rs diff --git a/src/test/run-pass/objects-owned-object-owned-method.rs b/src/test/ui/objects-owned-object-owned-method.rs similarity index 100% rename from src/test/run-pass/objects-owned-object-owned-method.rs rename to src/test/ui/objects-owned-object-owned-method.rs diff --git a/src/test/run-pass/once-move-out-on-heap.rs b/src/test/ui/once-move-out-on-heap.rs similarity index 100% rename from src/test/run-pass/once-move-out-on-heap.rs rename to src/test/ui/once-move-out-on-heap.rs diff --git a/src/test/run-pass/one-tuple.rs b/src/test/ui/one-tuple.rs similarity index 100% rename from src/test/run-pass/one-tuple.rs rename to src/test/ui/one-tuple.rs diff --git a/src/test/run-pass/op-assign-builtins-by-ref.rs b/src/test/ui/op-assign-builtins-by-ref.rs similarity index 100% rename from src/test/run-pass/op-assign-builtins-by-ref.rs rename to src/test/ui/op-assign-builtins-by-ref.rs diff --git a/src/test/run-pass/opeq.rs b/src/test/ui/opeq.rs similarity index 100% rename from src/test/run-pass/opeq.rs rename to src/test/ui/opeq.rs diff --git a/src/test/run-pass/operator-associativity.rs b/src/test/ui/operator-associativity.rs similarity index 100% rename from src/test/run-pass/operator-associativity.rs rename to src/test/ui/operator-associativity.rs diff --git a/src/test/run-pass/operator-multidispatch.rs b/src/test/ui/operator-multidispatch.rs similarity index 100% rename from src/test/run-pass/operator-multidispatch.rs rename to src/test/ui/operator-multidispatch.rs diff --git a/src/test/run-pass/operator-overloading.rs b/src/test/ui/operator-overloading.rs similarity index 100% rename from src/test/run-pass/operator-overloading.rs rename to src/test/ui/operator-overloading.rs diff --git a/src/test/run-pass/optimization-fuel-0.rs b/src/test/ui/optimization-fuel-0.rs similarity index 100% rename from src/test/run-pass/optimization-fuel-0.rs rename to src/test/ui/optimization-fuel-0.rs diff --git a/src/test/run-pass/optimization-fuel-0.stderr b/src/test/ui/optimization-fuel-0.stderr similarity index 100% rename from src/test/run-pass/optimization-fuel-0.stderr rename to src/test/ui/optimization-fuel-0.stderr diff --git a/src/test/run-pass/optimization-fuel-1.rs b/src/test/ui/optimization-fuel-1.rs similarity index 100% rename from src/test/run-pass/optimization-fuel-1.rs rename to src/test/ui/optimization-fuel-1.rs diff --git a/src/test/run-pass/optimization-fuel-1.stderr b/src/test/ui/optimization-fuel-1.stderr similarity index 100% rename from src/test/run-pass/optimization-fuel-1.stderr rename to src/test/ui/optimization-fuel-1.stderr diff --git a/src/test/run-pass/option-ext.rs b/src/test/ui/option-ext.rs similarity index 100% rename from src/test/run-pass/option-ext.rs rename to src/test/ui/option-ext.rs diff --git a/src/test/run-pass/option-unwrap.rs b/src/test/ui/option-unwrap.rs similarity index 100% rename from src/test/run-pass/option-unwrap.rs rename to src/test/ui/option-unwrap.rs diff --git a/src/test/run-pass/out-of-stack.rs b/src/test/ui/out-of-stack.rs similarity index 100% rename from src/test/run-pass/out-of-stack.rs rename to src/test/ui/out-of-stack.rs diff --git a/src/test/run-pass/out-pointer-aliasing.rs b/src/test/ui/out-pointer-aliasing.rs similarity index 100% rename from src/test/run-pass/out-pointer-aliasing.rs rename to src/test/ui/out-pointer-aliasing.rs diff --git a/src/test/run-pass/output-slot-variants.rs b/src/test/ui/output-slot-variants.rs similarity index 100% rename from src/test/run-pass/output-slot-variants.rs rename to src/test/ui/output-slot-variants.rs diff --git a/src/test/run-pass/over-constrained-vregs.rs b/src/test/ui/over-constrained-vregs.rs similarity index 100% rename from src/test/run-pass/over-constrained-vregs.rs rename to src/test/ui/over-constrained-vregs.rs diff --git a/src/test/run-pass/overlap-doesnt-conflict-with-specialization.rs b/src/test/ui/overlap-doesnt-conflict-with-specialization.rs similarity index 100% rename from src/test/run-pass/overlap-doesnt-conflict-with-specialization.rs rename to src/test/ui/overlap-doesnt-conflict-with-specialization.rs diff --git a/src/test/run-pass/overlap-permitted-for-annotated-marker-traits.rs b/src/test/ui/overlap-permitted-for-annotated-marker-traits.rs similarity index 100% rename from src/test/run-pass/overlap-permitted-for-annotated-marker-traits.rs rename to src/test/ui/overlap-permitted-for-annotated-marker-traits.rs diff --git a/src/test/run-pass/overloaded/auxiliary/overloaded_autoderef_xc.rs b/src/test/ui/overloaded/auxiliary/overloaded_autoderef_xc.rs similarity index 100% rename from src/test/run-pass/overloaded/auxiliary/overloaded_autoderef_xc.rs rename to src/test/ui/overloaded/auxiliary/overloaded_autoderef_xc.rs diff --git a/src/test/run-pass/overloaded/overloaded-autoderef-count.rs b/src/test/ui/overloaded/overloaded-autoderef-count.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-autoderef-count.rs rename to src/test/ui/overloaded/overloaded-autoderef-count.rs diff --git a/src/test/run-pass/overloaded/overloaded-autoderef-indexing.rs b/src/test/ui/overloaded/overloaded-autoderef-indexing.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-autoderef-indexing.rs rename to src/test/ui/overloaded/overloaded-autoderef-indexing.rs diff --git a/src/test/run-pass/overloaded/overloaded-autoderef-order.rs b/src/test/ui/overloaded/overloaded-autoderef-order.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-autoderef-order.rs rename to src/test/ui/overloaded/overloaded-autoderef-order.rs diff --git a/src/test/run-pass/overloaded/overloaded-autoderef-vtable.rs b/src/test/ui/overloaded/overloaded-autoderef-vtable.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-autoderef-vtable.rs rename to src/test/ui/overloaded/overloaded-autoderef-vtable.rs diff --git a/src/test/run-pass/overloaded/overloaded-autoderef-xcrate.rs b/src/test/ui/overloaded/overloaded-autoderef-xcrate.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-autoderef-xcrate.rs rename to src/test/ui/overloaded/overloaded-autoderef-xcrate.rs diff --git a/src/test/run-pass/overloaded/overloaded-autoderef.rs b/src/test/ui/overloaded/overloaded-autoderef.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-autoderef.rs rename to src/test/ui/overloaded/overloaded-autoderef.rs diff --git a/src/test/run-pass/overloaded/overloaded-calls-object-one-arg.rs b/src/test/ui/overloaded/overloaded-calls-object-one-arg.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-calls-object-one-arg.rs rename to src/test/ui/overloaded/overloaded-calls-object-one-arg.rs diff --git a/src/test/run-pass/overloaded/overloaded-calls-object-two-args.rs b/src/test/ui/overloaded/overloaded-calls-object-two-args.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-calls-object-two-args.rs rename to src/test/ui/overloaded/overloaded-calls-object-two-args.rs diff --git a/src/test/run-pass/overloaded/overloaded-calls-object-zero-args.rs b/src/test/ui/overloaded/overloaded-calls-object-zero-args.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-calls-object-zero-args.rs rename to src/test/ui/overloaded/overloaded-calls-object-zero-args.rs diff --git a/src/test/run-pass/overloaded/overloaded-calls-param-vtables.rs b/src/test/ui/overloaded/overloaded-calls-param-vtables.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-calls-param-vtables.rs rename to src/test/ui/overloaded/overloaded-calls-param-vtables.rs diff --git a/src/test/run-pass/overloaded/overloaded-calls-simple.rs b/src/test/ui/overloaded/overloaded-calls-simple.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-calls-simple.rs rename to src/test/ui/overloaded/overloaded-calls-simple.rs diff --git a/src/test/run-pass/overloaded/overloaded-calls-zero-args.rs b/src/test/ui/overloaded/overloaded-calls-zero-args.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-calls-zero-args.rs rename to src/test/ui/overloaded/overloaded-calls-zero-args.rs diff --git a/src/test/run-pass/overloaded/overloaded-deref-count.rs b/src/test/ui/overloaded/overloaded-deref-count.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-deref-count.rs rename to src/test/ui/overloaded/overloaded-deref-count.rs diff --git a/src/test/run-pass/overloaded/overloaded-deref.rs b/src/test/ui/overloaded/overloaded-deref.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-deref.rs rename to src/test/ui/overloaded/overloaded-deref.rs diff --git a/src/test/run-pass/overloaded/overloaded-index-assoc-list.rs b/src/test/ui/overloaded/overloaded-index-assoc-list.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-index-assoc-list.rs rename to src/test/ui/overloaded/overloaded-index-assoc-list.rs diff --git a/src/test/run-pass/overloaded/overloaded-index-autoderef.rs b/src/test/ui/overloaded/overloaded-index-autoderef.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-index-autoderef.rs rename to src/test/ui/overloaded/overloaded-index-autoderef.rs diff --git a/src/test/run-pass/overloaded/overloaded-index-in-field.rs b/src/test/ui/overloaded/overloaded-index-in-field.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-index-in-field.rs rename to src/test/ui/overloaded/overloaded-index-in-field.rs diff --git a/src/test/run-pass/overloaded/overloaded-index.rs b/src/test/ui/overloaded/overloaded-index.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded-index.rs rename to src/test/ui/overloaded/overloaded-index.rs diff --git a/src/test/run-pass/overloaded/overloaded_deref_with_ref_pattern.rs b/src/test/ui/overloaded/overloaded_deref_with_ref_pattern.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded_deref_with_ref_pattern.rs rename to src/test/ui/overloaded/overloaded_deref_with_ref_pattern.rs diff --git a/src/test/run-pass/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs b/src/test/ui/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs similarity index 100% rename from src/test/run-pass/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs rename to src/test/ui/overloaded/overloaded_deref_with_ref_pattern_issue15609.rs diff --git a/src/test/run-pass/owned-implies-static.rs b/src/test/ui/owned-implies-static.rs similarity index 100% rename from src/test/run-pass/owned-implies-static.rs rename to src/test/ui/owned-implies-static.rs diff --git a/src/test/run-pass/packed/auxiliary/packed.rs b/src/test/ui/packed/auxiliary/packed.rs similarity index 100% rename from src/test/run-pass/packed/auxiliary/packed.rs rename to src/test/ui/packed/auxiliary/packed.rs diff --git a/src/test/run-pass/packed/packed-struct-borrow-element.rs b/src/test/ui/packed/packed-struct-borrow-element.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-borrow-element.rs rename to src/test/ui/packed/packed-struct-borrow-element.rs diff --git a/src/test/run-pass/packed/packed-struct-drop-aligned.rs b/src/test/ui/packed/packed-struct-drop-aligned.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-drop-aligned.rs rename to src/test/ui/packed/packed-struct-drop-aligned.rs diff --git a/src/test/run-pass/packed/packed-struct-generic-layout.rs b/src/test/ui/packed/packed-struct-generic-layout.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-generic-layout.rs rename to src/test/ui/packed/packed-struct-generic-layout.rs diff --git a/src/test/run-pass/packed/packed-struct-generic-size.rs b/src/test/ui/packed/packed-struct-generic-size.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-generic-size.rs rename to src/test/ui/packed/packed-struct-generic-size.rs diff --git a/src/test/run-pass/packed/packed-struct-layout.rs b/src/test/ui/packed/packed-struct-layout.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-layout.rs rename to src/test/ui/packed/packed-struct-layout.rs diff --git a/src/test/run-pass/packed/packed-struct-match.rs b/src/test/ui/packed/packed-struct-match.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-match.rs rename to src/test/ui/packed/packed-struct-match.rs diff --git a/src/test/run-pass/packed/packed-struct-optimized-enum.rs b/src/test/ui/packed/packed-struct-optimized-enum.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-optimized-enum.rs rename to src/test/ui/packed/packed-struct-optimized-enum.rs diff --git a/src/test/run-pass/packed/packed-struct-size-xc.rs b/src/test/ui/packed/packed-struct-size-xc.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-size-xc.rs rename to src/test/ui/packed/packed-struct-size-xc.rs diff --git a/src/test/run-pass/packed/packed-struct-size.rs b/src/test/ui/packed/packed-struct-size.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-size.rs rename to src/test/ui/packed/packed-struct-size.rs diff --git a/src/test/run-pass/packed/packed-struct-vec.rs b/src/test/ui/packed/packed-struct-vec.rs similarity index 100% rename from src/test/run-pass/packed/packed-struct-vec.rs rename to src/test/ui/packed/packed-struct-vec.rs diff --git a/src/test/run-pass/packed/packed-tuple-struct-layout.rs b/src/test/ui/packed/packed-tuple-struct-layout.rs similarity index 100% rename from src/test/run-pass/packed/packed-tuple-struct-layout.rs rename to src/test/ui/packed/packed-tuple-struct-layout.rs diff --git a/src/test/run-pass/packed/packed-tuple-struct-size.rs b/src/test/ui/packed/packed-tuple-struct-size.rs similarity index 100% rename from src/test/run-pass/packed/packed-tuple-struct-size.rs rename to src/test/ui/packed/packed-tuple-struct-size.rs diff --git a/src/test/run-pass/packed/packed-with-inference-vars-issue-61402.rs b/src/test/ui/packed/packed-with-inference-vars-issue-61402.rs similarity index 100% rename from src/test/run-pass/packed/packed-with-inference-vars-issue-61402.rs rename to src/test/ui/packed/packed-with-inference-vars-issue-61402.rs diff --git a/src/test/run-pass/panic-runtime/abort-link-to-unwinding-crates.rs b/src/test/ui/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/panic-runtime/abort-link-to-unwinding-crates.rs diff --git a/src/test/run-pass/panic-runtime/abort.rs b/src/test/ui/panic-runtime/abort.rs similarity index 100% rename from src/test/run-pass/panic-runtime/abort.rs rename to src/test/ui/panic-runtime/abort.rs diff --git a/src/test/run-pass/panic-runtime/auxiliary/exit-success-if-unwind.rs b/src/test/ui/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/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/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/panic-runtime/link-to-abort.rs diff --git a/src/test/run-pass/panic-runtime/link-to-unwind.rs b/src/test/ui/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/panic-runtime/link-to-unwind.rs diff --git a/src/test/run-pass/panic-runtime/lto-abort.rs b/src/test/ui/panic-runtime/lto-abort.rs similarity index 100% rename from src/test/run-pass/panic-runtime/lto-abort.rs rename to src/test/ui/panic-runtime/lto-abort.rs diff --git a/src/test/run-pass/panic-runtime/lto-unwind.rs b/src/test/ui/panic-runtime/lto-unwind.rs similarity index 100% rename from src/test/run-pass/panic-runtime/lto-unwind.rs rename to src/test/ui/panic-runtime/lto-unwind.rs diff --git a/src/test/run-pass/panic-uninitialized-zeroed.rs b/src/test/ui/panic-uninitialized-zeroed.rs similarity index 100% rename from src/test/run-pass/panic-uninitialized-zeroed.rs rename to src/test/ui/panic-uninitialized-zeroed.rs diff --git a/src/test/run-pass/panics/panic-handler-chain.rs b/src/test/ui/panics/panic-handler-chain.rs similarity index 100% rename from src/test/run-pass/panics/panic-handler-chain.rs rename to src/test/ui/panics/panic-handler-chain.rs diff --git a/src/test/run-pass/panics/panic-handler-flail-wildly.rs b/src/test/ui/panics/panic-handler-flail-wildly.rs similarity index 100% rename from src/test/run-pass/panics/panic-handler-flail-wildly.rs rename to src/test/ui/panics/panic-handler-flail-wildly.rs diff --git a/src/test/run-pass/panics/panic-handler-set-twice.rs b/src/test/ui/panics/panic-handler-set-twice.rs similarity index 100% rename from src/test/run-pass/panics/panic-handler-set-twice.rs rename to src/test/ui/panics/panic-handler-set-twice.rs diff --git a/src/test/run-pass/panics/panic-in-dtor-drops-fields.rs b/src/test/ui/panics/panic-in-dtor-drops-fields.rs similarity index 100% rename from src/test/run-pass/panics/panic-in-dtor-drops-fields.rs rename to src/test/ui/panics/panic-in-dtor-drops-fields.rs diff --git a/src/test/run-pass/panics/panic-recover-propagate.rs b/src/test/ui/panics/panic-recover-propagate.rs similarity index 100% rename from src/test/run-pass/panics/panic-recover-propagate.rs rename to src/test/ui/panics/panic-recover-propagate.rs diff --git a/src/test/run-pass/panics/panic-safe.rs b/src/test/ui/panics/panic-safe.rs similarity index 100% rename from src/test/run-pass/panics/panic-safe.rs rename to src/test/ui/panics/panic-safe.rs diff --git a/src/test/run-pass/paren-free.rs b/src/test/ui/paren-free.rs similarity index 100% rename from src/test/run-pass/paren-free.rs rename to src/test/ui/paren-free.rs diff --git a/src/test/run-pass/parse-assoc-type-lt.rs b/src/test/ui/parse-assoc-type-lt.rs similarity index 100% rename from src/test/run-pass/parse-assoc-type-lt.rs rename to src/test/ui/parse-assoc-type-lt.rs diff --git a/src/test/run-pass/parse-panic.rs b/src/test/ui/parse-panic.rs similarity index 100% rename from src/test/run-pass/parse-panic.rs rename to src/test/ui/parse-panic.rs diff --git a/src/test/run-pass/parser-unicode-whitespace.rs b/src/test/ui/parser-unicode-whitespace.rs similarity index 100% rename from src/test/run-pass/parser-unicode-whitespace.rs rename to src/test/ui/parser-unicode-whitespace.rs diff --git a/src/test/run-pass/path.rs b/src/test/ui/path.rs similarity index 100% rename from src/test/run-pass/path.rs rename to src/test/ui/path.rs diff --git a/src/test/run-pass/paths-containing-nul.rs b/src/test/ui/paths-containing-nul.rs similarity index 100% rename from src/test/run-pass/paths-containing-nul.rs rename to src/test/ui/paths-containing-nul.rs diff --git a/src/test/run-pass/print-stdout-eprint-stderr.rs b/src/test/ui/print-stdout-eprint-stderr.rs similarity index 100% rename from src/test/run-pass/print-stdout-eprint-stderr.rs rename to src/test/ui/print-stdout-eprint-stderr.rs diff --git a/src/test/run-pass/privacy/auxiliary/priv-impl-prim-ty.rs b/src/test/ui/privacy/auxiliary/priv-impl-prim-ty.rs similarity index 100% rename from src/test/run-pass/privacy/auxiliary/priv-impl-prim-ty.rs rename to src/test/ui/privacy/auxiliary/priv-impl-prim-ty.rs diff --git a/src/test/run-pass/privacy/auxiliary/privacy_reexport.rs b/src/test/ui/privacy/auxiliary/privacy_reexport.rs similarity index 100% rename from src/test/run-pass/privacy/auxiliary/privacy_reexport.rs rename to src/test/ui/privacy/auxiliary/privacy_reexport.rs diff --git a/src/test/run-pass/privacy/auxiliary/pub_use_mods_xcrate.rs b/src/test/ui/privacy/auxiliary/pub_use_mods_xcrate.rs similarity index 100% rename from src/test/run-pass/privacy/auxiliary/pub_use_mods_xcrate.rs rename to src/test/ui/privacy/auxiliary/pub_use_mods_xcrate.rs diff --git a/src/test/run-pass/privacy/auxiliary/pub_use_xcrate1.rs b/src/test/ui/privacy/auxiliary/pub_use_xcrate1.rs similarity index 100% rename from src/test/run-pass/privacy/auxiliary/pub_use_xcrate1.rs rename to src/test/ui/privacy/auxiliary/pub_use_xcrate1.rs diff --git a/src/test/run-pass/privacy/auxiliary/pub_use_xcrate2.rs b/src/test/ui/privacy/auxiliary/pub_use_xcrate2.rs similarity index 100% rename from src/test/run-pass/privacy/auxiliary/pub_use_xcrate2.rs rename to src/test/ui/privacy/auxiliary/pub_use_xcrate2.rs diff --git a/src/test/run-pass/privacy/priv-impl-prim-ty.rs b/src/test/ui/privacy/priv-impl-prim-ty.rs similarity index 100% rename from src/test/run-pass/privacy/priv-impl-prim-ty.rs rename to src/test/ui/privacy/priv-impl-prim-ty.rs diff --git a/src/test/run-pass/privacy/privacy-ns.rs b/src/test/ui/privacy/privacy-ns.rs similarity index 100% rename from src/test/run-pass/privacy/privacy-ns.rs rename to src/test/ui/privacy/privacy-ns.rs diff --git a/src/test/run-pass/privacy/privacy-reexport.rs b/src/test/ui/privacy/privacy-reexport.rs similarity index 100% rename from src/test/run-pass/privacy/privacy-reexport.rs rename to src/test/ui/privacy/privacy-reexport.rs diff --git a/src/test/run-pass/privacy/private-class-field.rs b/src/test/ui/privacy/private-class-field.rs similarity index 100% rename from src/test/run-pass/privacy/private-class-field.rs rename to src/test/ui/privacy/private-class-field.rs diff --git a/src/test/run-pass/privacy/pub-extern-privacy.rs b/src/test/ui/privacy/pub-extern-privacy.rs similarity index 100% rename from src/test/run-pass/privacy/pub-extern-privacy.rs rename to src/test/ui/privacy/pub-extern-privacy.rs diff --git a/src/test/run-pass/privacy/pub-use-xcrate.rs b/src/test/ui/privacy/pub-use-xcrate.rs similarity index 100% rename from src/test/run-pass/privacy/pub-use-xcrate.rs rename to src/test/ui/privacy/pub-use-xcrate.rs diff --git a/src/test/run-pass/privacy/pub_use_mods_xcrate_exe.rs b/src/test/ui/privacy/pub_use_mods_xcrate_exe.rs similarity index 100% rename from src/test/run-pass/privacy/pub_use_mods_xcrate_exe.rs rename to src/test/ui/privacy/pub_use_mods_xcrate_exe.rs diff --git a/src/test/run-pass/proc-macro/add-impl.rs b/src/test/ui/proc-macro/add-impl.rs similarity index 100% rename from src/test/run-pass/proc-macro/add-impl.rs rename to src/test/ui/proc-macro/add-impl.rs diff --git a/src/test/run-pass/proc-macro/append-impl.rs b/src/test/ui/proc-macro/append-impl.rs similarity index 100% rename from src/test/run-pass/proc-macro/append-impl.rs rename to src/test/ui/proc-macro/append-impl.rs diff --git a/src/test/run-pass/proc-macro/attr-args.rs b/src/test/ui/proc-macro/attr-args.rs similarity index 100% rename from src/test/run-pass/proc-macro/attr-args.rs rename to src/test/ui/proc-macro/attr-args.rs diff --git a/src/test/run-pass/proc-macro/attr-cfg.rs b/src/test/ui/proc-macro/attr-cfg.rs similarity index 100% rename from src/test/run-pass/proc-macro/attr-cfg.rs rename to src/test/ui/proc-macro/attr-cfg.rs diff --git a/src/test/run-pass/proc-macro/attr-on-trait.rs b/src/test/ui/proc-macro/attr-on-trait.rs similarity index 100% rename from src/test/run-pass/proc-macro/attr-on-trait.rs rename to src/test/ui/proc-macro/attr-on-trait.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/add-impl.rs b/src/test/ui/proc-macro/auxiliary/add-impl.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/add-impl.rs rename to src/test/ui/proc-macro/auxiliary/add-impl.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/append-impl.rs b/src/test/ui/proc-macro/auxiliary/append-impl.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/append-impl.rs rename to src/test/ui/proc-macro/auxiliary/append-impl.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/attr-args.rs b/src/test/ui/proc-macro/auxiliary/attr-args.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/attr-args.rs rename to src/test/ui/proc-macro/auxiliary/attr-args.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/attr-cfg.rs b/src/test/ui/proc-macro/auxiliary/attr-cfg.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/attr-cfg.rs rename to src/test/ui/proc-macro/auxiliary/attr-cfg.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/attr-on-trait.rs b/src/test/ui/proc-macro/auxiliary/attr-on-trait.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/attr-on-trait.rs rename to src/test/ui/proc-macro/auxiliary/attr-on-trait.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/bang-macro.rs b/src/test/ui/proc-macro/auxiliary/bang-macro.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/bang-macro.rs rename to src/test/ui/proc-macro/auxiliary/bang-macro.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/call-site.rs b/src/test/ui/proc-macro/auxiliary/call-site.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/call-site.rs rename to src/test/ui/proc-macro/auxiliary/call-site.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs b/src/test/ui/proc-macro/auxiliary/count_compound_ops.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/count_compound_ops.rs rename to src/test/ui/proc-macro/auxiliary/count_compound_ops.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/custom-attr-only-one-derive.rs b/src/test/ui/proc-macro/auxiliary/custom-attr-only-one-derive.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/custom-attr-only-one-derive.rs rename to src/test/ui/proc-macro/auxiliary/custom-attr-only-one-derive.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-a.rs b/src/test/ui/proc-macro/auxiliary/derive-a.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-a.rs rename to src/test/ui/proc-macro/auxiliary/derive-a.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-atob.rs b/src/test/ui/proc-macro/auxiliary/derive-atob.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-atob.rs rename to src/test/ui/proc-macro/auxiliary/derive-atob.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-attr-cfg.rs b/src/test/ui/proc-macro/auxiliary/derive-attr-cfg.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-attr-cfg.rs rename to src/test/ui/proc-macro/auxiliary/derive-attr-cfg.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-b.rs b/src/test/ui/proc-macro/auxiliary/derive-b-rpass.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-b.rs rename to src/test/ui/proc-macro/auxiliary/derive-b-rpass.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-ctod.rs b/src/test/ui/proc-macro/auxiliary/derive-ctod.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-ctod.rs rename to src/test/ui/proc-macro/auxiliary/derive-ctod.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-nothing.rs b/src/test/ui/proc-macro/auxiliary/derive-nothing.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-nothing.rs rename to src/test/ui/proc-macro/auxiliary/derive-nothing.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-same-struct.rs b/src/test/ui/proc-macro/auxiliary/derive-same-struct.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-same-struct.rs rename to src/test/ui/proc-macro/auxiliary/derive-same-struct.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-two-attrs.rs b/src/test/ui/proc-macro/auxiliary/derive-two-attrs.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-two-attrs.rs rename to src/test/ui/proc-macro/auxiliary/derive-two-attrs.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/derive-union.rs b/src/test/ui/proc-macro/auxiliary/derive-union.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/derive-union.rs rename to src/test/ui/proc-macro/auxiliary/derive-union.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/double.rs b/src/test/ui/proc-macro/auxiliary/double.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/double.rs rename to src/test/ui/proc-macro/auxiliary/double.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/empty-crate.rs b/src/test/ui/proc-macro/auxiliary/empty-crate.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/empty-crate.rs rename to src/test/ui/proc-macro/auxiliary/empty-crate.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/expand-with-a-macro.rs b/src/test/ui/proc-macro/auxiliary/expand-with-a-macro.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/expand-with-a-macro.rs rename to src/test/ui/proc-macro/auxiliary/expand-with-a-macro.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/external-crate-var.rs b/src/test/ui/proc-macro/auxiliary/external-crate-var.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/external-crate-var.rs rename to src/test/ui/proc-macro/auxiliary/external-crate-var.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/gen-lifetime-token.rs b/src/test/ui/proc-macro/auxiliary/gen-lifetime-token.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/gen-lifetime-token.rs rename to src/test/ui/proc-macro/auxiliary/gen-lifetime-token.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/hygiene_example.rs b/src/test/ui/proc-macro/auxiliary/hygiene_example.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/hygiene_example.rs rename to src/test/ui/proc-macro/auxiliary/hygiene_example.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs b/src/test/ui/proc-macro/auxiliary/hygiene_example_codegen.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/hygiene_example_codegen.rs rename to src/test/ui/proc-macro/auxiliary/hygiene_example_codegen.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/issue-39889.rs b/src/test/ui/proc-macro/auxiliary/issue-39889.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/issue-39889.rs rename to src/test/ui/proc-macro/auxiliary/issue-39889.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/issue-42708.rs b/src/test/ui/proc-macro/auxiliary/issue-42708.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/issue-42708.rs rename to src/test/ui/proc-macro/auxiliary/issue-42708.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/issue-50061.rs b/src/test/ui/proc-macro/auxiliary/issue-50061.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/issue-50061.rs rename to src/test/ui/proc-macro/auxiliary/issue-50061.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/modify-ast.rs b/src/test/ui/proc-macro/auxiliary/modify-ast.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/modify-ast.rs rename to src/test/ui/proc-macro/auxiliary/modify-ast.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/negative-token.rs b/src/test/ui/proc-macro/auxiliary/negative-token.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/negative-token.rs rename to src/test/ui/proc-macro/auxiliary/negative-token.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/not-joint.rs b/src/test/ui/proc-macro/auxiliary/not-joint.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/not-joint.rs rename to src/test/ui/proc-macro/auxiliary/not-joint.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/span-api-tests.rs b/src/test/ui/proc-macro/auxiliary/span-api-tests.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/span-api-tests.rs rename to src/test/ui/proc-macro/auxiliary/span-api-tests.rs diff --git a/src/test/run-pass/proc-macro/auxiliary/span-test-macros.rs b/src/test/ui/proc-macro/auxiliary/span-test-macros.rs similarity index 100% rename from src/test/run-pass/proc-macro/auxiliary/span-test-macros.rs rename to src/test/ui/proc-macro/auxiliary/span-test-macros.rs diff --git a/src/test/run-pass/proc-macro/bang-macro.rs b/src/test/ui/proc-macro/bang-macro.rs similarity index 100% rename from src/test/run-pass/proc-macro/bang-macro.rs rename to src/test/ui/proc-macro/bang-macro.rs diff --git a/src/test/run-pass/proc-macro/call-site.rs b/src/test/ui/proc-macro/call-site.rs similarity index 100% rename from src/test/run-pass/proc-macro/call-site.rs rename to src/test/ui/proc-macro/call-site.rs diff --git a/src/test/run-pass/proc-macro/count_compound_ops.rs b/src/test/ui/proc-macro/count_compound_ops.rs similarity index 100% rename from src/test/run-pass/proc-macro/count_compound_ops.rs rename to src/test/ui/proc-macro/count_compound_ops.rs diff --git a/src/test/run-pass/proc-macro/crate-var.rs b/src/test/ui/proc-macro/crate-var.rs similarity index 100% rename from src/test/run-pass/proc-macro/crate-var.rs rename to src/test/ui/proc-macro/crate-var.rs diff --git a/src/test/run-pass/proc-macro/custom-attr-only-one-derive.rs b/src/test/ui/proc-macro/custom-attr-only-one-derive.rs similarity index 100% rename from src/test/run-pass/proc-macro/custom-attr-only-one-derive.rs rename to src/test/ui/proc-macro/custom-attr-only-one-derive.rs diff --git a/src/test/run-pass/proc-macro/derive-attr-cfg.rs b/src/test/ui/proc-macro/derive-attr-cfg.rs similarity index 100% rename from src/test/run-pass/proc-macro/derive-attr-cfg.rs rename to src/test/ui/proc-macro/derive-attr-cfg.rs diff --git a/src/test/run-pass/proc-macro/derive-b.rs b/src/test/ui/proc-macro/derive-b.rs similarity index 79% rename from src/test/run-pass/proc-macro/derive-b.rs rename to src/test/ui/proc-macro/derive-b.rs index 41291a87b01..a026c2bd77a 100644 --- a/src/test/run-pass/proc-macro/derive-b.rs +++ b/src/test/ui/proc-macro/derive-b.rs @@ -1,7 +1,7 @@ // run-pass -// aux-build:derive-b.rs +// aux-build:derive-b-rpass.rs -extern crate derive_b; +extern crate derive_b_rpass as derive_b; #[derive(Debug, PartialEq, derive_b::B, Eq, Copy, Clone)] #[cfg_attr(all(), B[arbitrary tokens])] diff --git a/src/test/run-pass/proc-macro/derive-same-struct.rs b/src/test/ui/proc-macro/derive-same-struct.rs similarity index 100% rename from src/test/run-pass/proc-macro/derive-same-struct.rs rename to src/test/ui/proc-macro/derive-same-struct.rs diff --git a/src/test/run-pass/proc-macro/derive-same-struct.stdout b/src/test/ui/proc-macro/derive-same-struct.stdout similarity index 100% rename from src/test/run-pass/proc-macro/derive-same-struct.stdout rename to src/test/ui/proc-macro/derive-same-struct.stdout diff --git a/src/test/run-pass/proc-macro/derive-test.rs b/src/test/ui/proc-macro/derive-test.rs similarity index 100% rename from src/test/run-pass/proc-macro/derive-test.rs rename to src/test/ui/proc-macro/derive-test.rs diff --git a/src/test/run-pass/proc-macro/derive-two-attrs.rs b/src/test/ui/proc-macro/derive-two-attrs.rs similarity index 100% rename from src/test/run-pass/proc-macro/derive-two-attrs.rs rename to src/test/ui/proc-macro/derive-two-attrs.rs diff --git a/src/test/run-pass/proc-macro/derive-union.rs b/src/test/ui/proc-macro/derive-union.rs similarity index 100% rename from src/test/run-pass/proc-macro/derive-union.rs rename to src/test/ui/proc-macro/derive-union.rs diff --git a/src/test/run-pass/proc-macro/empty-crate.rs b/src/test/ui/proc-macro/empty-crate.rs similarity index 100% rename from src/test/run-pass/proc-macro/empty-crate.rs rename to src/test/ui/proc-macro/empty-crate.rs diff --git a/src/test/run-pass/proc-macro/expand-with-a-macro.rs b/src/test/ui/proc-macro/expand-with-a-macro.rs similarity index 100% rename from src/test/run-pass/proc-macro/expand-with-a-macro.rs rename to src/test/ui/proc-macro/expand-with-a-macro.rs diff --git a/src/test/run-pass/proc-macro/gen-lifetime-token.rs b/src/test/ui/proc-macro/gen-lifetime-token.rs similarity index 100% rename from src/test/run-pass/proc-macro/gen-lifetime-token.rs rename to src/test/ui/proc-macro/gen-lifetime-token.rs diff --git a/src/test/run-pass/proc-macro/hygiene_example.rs b/src/test/ui/proc-macro/hygiene_example.rs similarity index 100% rename from src/test/run-pass/proc-macro/hygiene_example.rs rename to src/test/ui/proc-macro/hygiene_example.rs diff --git a/src/test/run-pass/proc-macro/issue-39889.rs b/src/test/ui/proc-macro/issue-39889.rs similarity index 100% rename from src/test/run-pass/proc-macro/issue-39889.rs rename to src/test/ui/proc-macro/issue-39889.rs diff --git a/src/test/run-pass/proc-macro/issue-42708.rs b/src/test/ui/proc-macro/issue-42708.rs similarity index 100% rename from src/test/run-pass/proc-macro/issue-42708.rs rename to src/test/ui/proc-macro/issue-42708.rs diff --git a/src/test/run-pass/proc-macro/issue-50061.rs b/src/test/ui/proc-macro/issue-50061.rs similarity index 100% rename from src/test/run-pass/proc-macro/issue-50061.rs rename to src/test/ui/proc-macro/issue-50061.rs diff --git a/src/test/run-pass/proc-macro/load-two.rs b/src/test/ui/proc-macro/load-two.rs similarity index 100% rename from src/test/run-pass/proc-macro/load-two.rs rename to src/test/ui/proc-macro/load-two.rs diff --git a/src/test/run-pass/proc-macro/modify-ast.rs b/src/test/ui/proc-macro/modify-ast.rs similarity index 100% rename from src/test/run-pass/proc-macro/modify-ast.rs rename to src/test/ui/proc-macro/modify-ast.rs diff --git a/src/test/run-pass/proc-macro/negative-token.rs b/src/test/ui/proc-macro/negative-token.rs similarity index 100% rename from src/test/run-pass/proc-macro/negative-token.rs rename to src/test/ui/proc-macro/negative-token.rs diff --git a/src/test/run-pass/proc-macro/not-joint.rs b/src/test/ui/proc-macro/not-joint.rs similarity index 100% rename from src/test/run-pass/proc-macro/not-joint.rs rename to src/test/ui/proc-macro/not-joint.rs diff --git a/src/test/run-pass/proc-macro/smoke.rs b/src/test/ui/proc-macro/smoke.rs similarity index 100% rename from src/test/run-pass/proc-macro/smoke.rs rename to src/test/ui/proc-macro/smoke.rs diff --git a/src/test/run-pass/proc-macro/span-api-tests.rs b/src/test/ui/proc-macro/span-api-tests.rs similarity index 100% rename from src/test/run-pass/proc-macro/span-api-tests.rs rename to src/test/ui/proc-macro/span-api-tests.rs diff --git a/src/test/run-pass/proc-macro/struct-field-macro.rs b/src/test/ui/proc-macro/struct-field-macro.rs similarity index 100% rename from src/test/run-pass/proc-macro/struct-field-macro.rs rename to src/test/ui/proc-macro/struct-field-macro.rs diff --git a/src/test/run-pass/proc_macro.rs b/src/test/ui/proc_macro.rs similarity index 100% rename from src/test/run-pass/proc_macro.rs rename to src/test/ui/proc_macro.rs diff --git a/src/test/run-pass/process/process-envs.rs b/src/test/ui/process/process-envs.rs similarity index 100% rename from src/test/run-pass/process/process-envs.rs rename to src/test/ui/process/process-envs.rs diff --git a/src/test/run-pass/process/process-exit.rs b/src/test/ui/process/process-exit.rs similarity index 100% rename from src/test/run-pass/process/process-exit.rs rename to src/test/ui/process/process-exit.rs diff --git a/src/test/run-pass/process/process-remove-from-env.rs b/src/test/ui/process/process-remove-from-env.rs similarity index 100% rename from src/test/run-pass/process/process-remove-from-env.rs rename to src/test/ui/process/process-remove-from-env.rs diff --git a/src/test/run-pass/process/process-sigpipe.rs b/src/test/ui/process/process-sigpipe.rs similarity index 100% rename from src/test/run-pass/process/process-sigpipe.rs rename to src/test/ui/process/process-sigpipe.rs diff --git a/src/test/run-pass/process/process-spawn-nonexistent.rs b/src/test/ui/process/process-spawn-nonexistent.rs similarity index 100% rename from src/test/run-pass/process/process-spawn-nonexistent.rs rename to src/test/ui/process/process-spawn-nonexistent.rs diff --git a/src/test/run-pass/process/process-spawn-with-unicode-params.rs b/src/test/ui/process/process-spawn-with-unicode-params.rs similarity index 100% rename from src/test/run-pass/process/process-spawn-with-unicode-params.rs rename to src/test/ui/process/process-spawn-with-unicode-params.rs diff --git a/src/test/run-pass/process/process-status-inherits-stdin.rs b/src/test/ui/process/process-status-inherits-stdin.rs similarity index 100% rename from src/test/run-pass/process/process-status-inherits-stdin.rs rename to src/test/ui/process/process-status-inherits-stdin.rs diff --git a/src/test/run-pass/project-cache-issue-31849.rs b/src/test/ui/project-cache-issue-31849.rs similarity index 100% rename from src/test/run-pass/project-cache-issue-31849.rs rename to src/test/ui/project-cache-issue-31849.rs diff --git a/src/test/run-pass/project-cache-issue-37154.rs b/src/test/ui/project-cache-issue-37154.rs similarity index 100% rename from src/test/run-pass/project-cache-issue-37154.rs rename to src/test/ui/project-cache-issue-37154.rs diff --git a/src/test/run-pass/project-defer-unification.rs b/src/test/ui/project-defer-unification.rs similarity index 100% rename from src/test/run-pass/project-defer-unification.rs rename to src/test/ui/project-defer-unification.rs diff --git a/src/test/run-pass/pure-sum.rs b/src/test/ui/pure-sum.rs similarity index 100% rename from src/test/run-pass/pure-sum.rs rename to src/test/ui/pure-sum.rs diff --git a/src/test/run-pass/purity-infer.rs b/src/test/ui/purity-infer.rs similarity index 100% rename from src/test/run-pass/purity-infer.rs rename to src/test/ui/purity-infer.rs diff --git a/src/test/run-pass/range-type-infer.rs b/src/test/ui/range-type-infer.rs similarity index 100% rename from src/test/run-pass/range-type-infer.rs rename to src/test/ui/range-type-infer.rs diff --git a/src/test/run-pass/range.rs b/src/test/ui/range.rs similarity index 100% rename from src/test/run-pass/range.rs rename to src/test/ui/range.rs diff --git a/src/test/run-pass/range_inclusive.rs b/src/test/ui/range_inclusive.rs similarity index 100% rename from src/test/run-pass/range_inclusive.rs rename to src/test/ui/range_inclusive.rs diff --git a/src/test/run-pass/range_inclusive_gate.rs b/src/test/ui/range_inclusive_gate.rs similarity index 100% rename from src/test/run-pass/range_inclusive_gate.rs rename to src/test/ui/range_inclusive_gate.rs diff --git a/src/test/run-pass/ranges-precedence.rs b/src/test/ui/ranges-precedence.rs similarity index 100% rename from src/test/run-pass/ranges-precedence.rs rename to src/test/ui/ranges-precedence.rs diff --git a/src/test/run-pass/raw-fat-ptr.rs b/src/test/ui/raw-fat-ptr.rs similarity index 100% rename from src/test/run-pass/raw-fat-ptr.rs rename to src/test/ui/raw-fat-ptr.rs diff --git a/src/test/run-pass/raw-str.rs b/src/test/ui/raw-str.rs similarity index 100% rename from src/test/run-pass/raw-str.rs rename to src/test/ui/raw-str.rs diff --git a/src/test/run-pass/rcvr-borrowed-to-region.rs b/src/test/ui/rcvr-borrowed-to-region.rs similarity index 100% rename from src/test/run-pass/rcvr-borrowed-to-region.rs rename to src/test/ui/rcvr-borrowed-to-region.rs diff --git a/src/test/run-pass/reachable-unnameable-items.rs b/src/test/ui/reachable-unnameable-items.rs similarity index 100% rename from src/test/run-pass/reachable-unnameable-items.rs rename to src/test/ui/reachable-unnameable-items.rs diff --git a/src/test/run-pass/reachable-unnameable-type-alias.rs b/src/test/ui/reachable-unnameable-type-alias.rs similarity index 100% rename from src/test/run-pass/reachable-unnameable-type-alias.rs rename to src/test/ui/reachable-unnameable-type-alias.rs diff --git a/src/test/run-pass/readalias.rs b/src/test/ui/readalias.rs similarity index 100% rename from src/test/run-pass/readalias.rs rename to src/test/ui/readalias.rs diff --git a/src/test/run-pass/realloc-16687.rs b/src/test/ui/realloc-16687.rs similarity index 100% rename from src/test/run-pass/realloc-16687.rs rename to src/test/ui/realloc-16687.rs diff --git a/src/test/run-pass/reexport-should-still-link.rs b/src/test/ui/reexport-should-still-link.rs similarity index 100% rename from src/test/run-pass/reexport-should-still-link.rs rename to src/test/ui/reexport-should-still-link.rs diff --git a/src/test/run-pass/reexport-star.rs b/src/test/ui/reexport-star.rs similarity index 100% rename from src/test/run-pass/reexport-star.rs rename to src/test/ui/reexport-star.rs diff --git a/src/test/run-pass/reexport-test-harness-main.rs b/src/test/ui/reexport-test-harness-main.rs similarity index 100% rename from src/test/run-pass/reexport-test-harness-main.rs rename to src/test/ui/reexport-test-harness-main.rs diff --git a/src/test/run-pass/refer-to-other-statics-by-value.rs b/src/test/ui/refer-to-other-statics-by-value.rs similarity index 100% rename from src/test/run-pass/refer-to-other-statics-by-value.rs rename to src/test/ui/refer-to-other-statics-by-value.rs diff --git a/src/test/run-pass/regions/regions-addr-of-interior-of-unique-box.rs b/src/test/ui/regions/regions-addr-of-interior-of-unique-box.rs similarity index 100% rename from src/test/run-pass/regions/regions-addr-of-interior-of-unique-box.rs rename to src/test/ui/regions/regions-addr-of-interior-of-unique-box.rs diff --git a/src/test/run-pass/regions/regions-addr-of-ret.rs b/src/test/ui/regions/regions-addr-of-ret.rs similarity index 100% rename from src/test/run-pass/regions/regions-addr-of-ret.rs rename to src/test/ui/regions/regions-addr-of-ret.rs diff --git a/src/test/run-pass/regions/regions-assoc-type-region-bound.rs b/src/test/ui/regions/regions-assoc-type-region-bound.rs similarity index 100% rename from src/test/run-pass/regions/regions-assoc-type-region-bound.rs rename to src/test/ui/regions/regions-assoc-type-region-bound.rs diff --git a/src/test/run-pass/regions/regions-assoc-type-static-bound.rs b/src/test/ui/regions/regions-assoc-type-static-bound.rs similarity index 100% rename from src/test/run-pass/regions/regions-assoc-type-static-bound.rs rename to src/test/ui/regions/regions-assoc-type-static-bound.rs diff --git a/src/test/run-pass/regions/regions-borrow-at.rs b/src/test/ui/regions/regions-borrow-at.rs similarity index 100% rename from src/test/run-pass/regions/regions-borrow-at.rs rename to src/test/ui/regions/regions-borrow-at.rs diff --git a/src/test/run-pass/regions/regions-borrow-evec-fixed.rs b/src/test/ui/regions/regions-borrow-evec-fixed.rs similarity index 100% rename from src/test/run-pass/regions/regions-borrow-evec-fixed.rs rename to src/test/ui/regions/regions-borrow-evec-fixed.rs diff --git a/src/test/run-pass/regions/regions-borrow-evec-uniq.rs b/src/test/ui/regions/regions-borrow-evec-uniq.rs similarity index 100% rename from src/test/run-pass/regions/regions-borrow-evec-uniq.rs rename to src/test/ui/regions/regions-borrow-evec-uniq.rs diff --git a/src/test/run-pass/regions/regions-borrow-uniq.rs b/src/test/ui/regions/regions-borrow-uniq.rs similarity index 100% rename from src/test/run-pass/regions/regions-borrow-uniq.rs rename to src/test/ui/regions/regions-borrow-uniq.rs diff --git a/src/test/run-pass/regions/regions-bot.rs b/src/test/ui/regions/regions-bot.rs similarity index 100% rename from src/test/run-pass/regions/regions-bot.rs rename to src/test/ui/regions/regions-bot.rs diff --git a/src/test/run-pass/regions/regions-bound-lists-feature-gate-2.rs b/src/test/ui/regions/regions-bound-lists-feature-gate-2.rs similarity index 100% rename from src/test/run-pass/regions/regions-bound-lists-feature-gate-2.rs rename to src/test/ui/regions/regions-bound-lists-feature-gate-2.rs diff --git a/src/test/run-pass/regions/regions-bound-lists-feature-gate.rs b/src/test/ui/regions/regions-bound-lists-feature-gate.rs similarity index 100% rename from src/test/run-pass/regions/regions-bound-lists-feature-gate.rs rename to src/test/ui/regions/regions-bound-lists-feature-gate.rs diff --git a/src/test/run-pass/regions/regions-close-over-type-parameter-successfully.rs b/src/test/ui/regions/regions-close-over-type-parameter-successfully.rs similarity index 100% rename from src/test/run-pass/regions/regions-close-over-type-parameter-successfully.rs rename to src/test/ui/regions/regions-close-over-type-parameter-successfully.rs diff --git a/src/test/run-pass/regions/regions-copy-closure.rs b/src/test/ui/regions/regions-copy-closure.rs similarity index 100% rename from src/test/run-pass/regions/regions-copy-closure.rs rename to src/test/ui/regions/regions-copy-closure.rs diff --git a/src/test/run-pass/regions/regions-creating-enums2.rs b/src/test/ui/regions/regions-creating-enums2.rs similarity index 100% rename from src/test/run-pass/regions/regions-creating-enums2.rs rename to src/test/ui/regions/regions-creating-enums2.rs diff --git a/src/test/run-pass/regions/regions-creating-enums5.rs b/src/test/ui/regions/regions-creating-enums5.rs similarity index 100% rename from src/test/run-pass/regions/regions-creating-enums5.rs rename to src/test/ui/regions/regions-creating-enums5.rs diff --git a/src/test/run-pass/regions/regions-debruijn-of-object.rs b/src/test/ui/regions/regions-debruijn-of-object.rs similarity index 100% rename from src/test/run-pass/regions/regions-debruijn-of-object.rs rename to src/test/ui/regions/regions-debruijn-of-object.rs diff --git a/src/test/run-pass/regions/regions-dependent-addr-of.rs b/src/test/ui/regions/regions-dependent-addr-of.rs similarity index 100% rename from src/test/run-pass/regions/regions-dependent-addr-of.rs rename to src/test/ui/regions/regions-dependent-addr-of.rs diff --git a/src/test/run-pass/regions/regions-dependent-autofn.rs b/src/test/ui/regions/regions-dependent-autofn.rs similarity index 100% rename from src/test/run-pass/regions/regions-dependent-autofn.rs rename to src/test/ui/regions/regions-dependent-autofn.rs diff --git a/src/test/run-pass/regions/regions-dependent-autoslice.rs b/src/test/ui/regions/regions-dependent-autoslice.rs similarity index 100% rename from src/test/run-pass/regions/regions-dependent-autoslice.rs rename to src/test/ui/regions/regions-dependent-autoslice.rs diff --git a/src/test/run-pass/regions/regions-dependent-let-ref.rs b/src/test/ui/regions/regions-dependent-let-ref.rs similarity index 100% rename from src/test/run-pass/regions/regions-dependent-let-ref.rs rename to src/test/ui/regions/regions-dependent-let-ref.rs diff --git a/src/test/run-pass/regions/regions-early-bound-lifetime-in-assoc-fn.rs b/src/test/ui/regions/regions-early-bound-lifetime-in-assoc-fn.rs similarity index 100% rename from src/test/run-pass/regions/regions-early-bound-lifetime-in-assoc-fn.rs rename to src/test/ui/regions/regions-early-bound-lifetime-in-assoc-fn.rs diff --git a/src/test/run-pass/regions/regions-early-bound-trait-param.rs b/src/test/ui/regions/regions-early-bound-trait-param.rs similarity index 100% rename from src/test/run-pass/regions/regions-early-bound-trait-param.rs rename to src/test/ui/regions/regions-early-bound-trait-param.rs diff --git a/src/test/run-pass/regions/regions-early-bound-used-in-bound-method.rs b/src/test/ui/regions/regions-early-bound-used-in-bound-method.rs similarity index 100% rename from src/test/run-pass/regions/regions-early-bound-used-in-bound-method.rs rename to src/test/ui/regions/regions-early-bound-used-in-bound-method.rs diff --git a/src/test/run-pass/regions/regions-early-bound-used-in-bound.rs b/src/test/ui/regions/regions-early-bound-used-in-bound.rs similarity index 100% rename from src/test/run-pass/regions/regions-early-bound-used-in-bound.rs rename to src/test/ui/regions/regions-early-bound-used-in-bound.rs diff --git a/src/test/run-pass/regions/regions-early-bound-used-in-type-param.rs b/src/test/ui/regions/regions-early-bound-used-in-type-param.rs similarity index 100% rename from src/test/run-pass/regions/regions-early-bound-used-in-type-param.rs rename to src/test/ui/regions/regions-early-bound-used-in-type-param.rs diff --git a/src/test/run-pass/regions/regions-escape-into-other-fn.rs b/src/test/ui/regions/regions-escape-into-other-fn.rs similarity index 100% rename from src/test/run-pass/regions/regions-escape-into-other-fn.rs rename to src/test/ui/regions/regions-escape-into-other-fn.rs diff --git a/src/test/run-pass/regions/regions-expl-self.rs b/src/test/ui/regions/regions-expl-self.rs similarity index 100% rename from src/test/run-pass/regions/regions-expl-self.rs rename to src/test/ui/regions/regions-expl-self.rs diff --git a/src/test/run-pass/regions/regions-fn-subtyping-2.rs b/src/test/ui/regions/regions-fn-subtyping-2.rs similarity index 100% rename from src/test/run-pass/regions/regions-fn-subtyping-2.rs rename to src/test/ui/regions/regions-fn-subtyping-2.rs diff --git a/src/test/run-pass/regions/regions-fn-subtyping.rs b/src/test/ui/regions/regions-fn-subtyping.rs similarity index 100% rename from src/test/run-pass/regions/regions-fn-subtyping.rs rename to src/test/ui/regions/regions-fn-subtyping.rs diff --git a/src/test/run-pass/regions/regions-free-region-outlives-static-outlives-free-region.rs b/src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.rs similarity index 100% rename from src/test/run-pass/regions/regions-free-region-outlives-static-outlives-free-region.rs rename to src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.rs diff --git a/src/test/run-pass/regions/regions-infer-borrow-scope-addr-of.rs b/src/test/ui/regions/regions-infer-borrow-scope-addr-of.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-borrow-scope-addr-of.rs rename to src/test/ui/regions/regions-infer-borrow-scope-addr-of.rs diff --git a/src/test/run-pass/regions/regions-infer-borrow-scope-view.rs b/src/test/ui/regions/regions-infer-borrow-scope-view.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-borrow-scope-view.rs rename to src/test/ui/regions/regions-infer-borrow-scope-view.rs diff --git a/src/test/run-pass/regions/regions-infer-borrow-scope-within-loop-ok.rs b/src/test/ui/regions/regions-infer-borrow-scope-within-loop-ok.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-borrow-scope-within-loop-ok.rs rename to src/test/ui/regions/regions-infer-borrow-scope-within-loop-ok.rs diff --git a/src/test/run-pass/regions/regions-infer-borrow-scope.rs b/src/test/ui/regions/regions-infer-borrow-scope.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-borrow-scope.rs rename to src/test/ui/regions/regions-infer-borrow-scope.rs diff --git a/src/test/run-pass/regions/regions-infer-call-2.rs b/src/test/ui/regions/regions-infer-call-2.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-call-2.rs rename to src/test/ui/regions/regions-infer-call-2.rs diff --git a/src/test/run-pass/regions/regions-infer-call.rs b/src/test/ui/regions/regions-infer-call.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-call.rs rename to src/test/ui/regions/regions-infer-call.rs diff --git a/src/test/run-pass/regions/regions-infer-contravariance-due-to-ret.rs b/src/test/ui/regions/regions-infer-contravariance-due-to-ret.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-contravariance-due-to-ret.rs rename to src/test/ui/regions/regions-infer-contravariance-due-to-ret.rs diff --git a/src/test/run-pass/regions/regions-infer-reborrow-ref-mut-recurse.rs b/src/test/ui/regions/regions-infer-reborrow-ref-mut-recurse.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-reborrow-ref-mut-recurse.rs rename to src/test/ui/regions/regions-infer-reborrow-ref-mut-recurse.rs diff --git a/src/test/run-pass/regions/regions-infer-region-in-fn-but-not-type.rs b/src/test/ui/regions/regions-infer-region-in-fn-but-not-type.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-region-in-fn-but-not-type.rs rename to src/test/ui/regions/regions-infer-region-in-fn-but-not-type.rs diff --git a/src/test/run-pass/regions/regions-infer-static-from-proc.rs b/src/test/ui/regions/regions-infer-static-from-proc.rs similarity index 100% rename from src/test/run-pass/regions/regions-infer-static-from-proc.rs rename to src/test/ui/regions/regions-infer-static-from-proc.rs diff --git a/src/test/run-pass/regions/regions-issue-21422.rs b/src/test/ui/regions/regions-issue-21422.rs similarity index 100% rename from src/test/run-pass/regions/regions-issue-21422.rs rename to src/test/ui/regions/regions-issue-21422.rs diff --git a/src/test/run-pass/regions/regions-issue-22246.rs b/src/test/ui/regions/regions-issue-22246.rs similarity index 100% rename from src/test/run-pass/regions/regions-issue-22246.rs rename to src/test/ui/regions/regions-issue-22246.rs diff --git a/src/test/run-pass/regions/regions-lifetime-nonfree-late-bound.rs b/src/test/ui/regions/regions-lifetime-nonfree-late-bound.rs similarity index 100% rename from src/test/run-pass/regions/regions-lifetime-nonfree-late-bound.rs rename to src/test/ui/regions/regions-lifetime-nonfree-late-bound.rs diff --git a/src/test/run-pass/regions/regions-lifetime-static-items-enclosing-scopes.rs b/src/test/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs similarity index 100% rename from src/test/run-pass/regions/regions-lifetime-static-items-enclosing-scopes.rs rename to src/test/ui/regions/regions-lifetime-static-items-enclosing-scopes.rs diff --git a/src/test/run-pass/regions/regions-link-fn-args.rs b/src/test/ui/regions/regions-link-fn-args.rs similarity index 100% rename from src/test/run-pass/regions/regions-link-fn-args.rs rename to src/test/ui/regions/regions-link-fn-args.rs diff --git a/src/test/run-pass/regions/regions-lub-ref-ref-rc.rs b/src/test/ui/regions/regions-lub-ref-ref-rc.rs similarity index 100% rename from src/test/run-pass/regions/regions-lub-ref-ref-rc.rs rename to src/test/ui/regions/regions-lub-ref-ref-rc.rs diff --git a/src/test/run-pass/regions/regions-mock-codegen.rs b/src/test/ui/regions/regions-mock-codegen.rs similarity index 100% rename from src/test/run-pass/regions/regions-mock-codegen.rs rename to src/test/ui/regions/regions-mock-codegen.rs diff --git a/src/test/run-pass/regions/regions-no-bound-in-argument-cleanup.rs b/src/test/ui/regions/regions-no-bound-in-argument-cleanup.rs similarity index 100% rename from src/test/run-pass/regions/regions-no-bound-in-argument-cleanup.rs rename to src/test/ui/regions/regions-no-bound-in-argument-cleanup.rs diff --git a/src/test/run-pass/regions/regions-no-variance-from-fn-generics.rs b/src/test/ui/regions/regions-no-variance-from-fn-generics.rs similarity index 100% rename from src/test/run-pass/regions/regions-no-variance-from-fn-generics.rs rename to src/test/ui/regions/regions-no-variance-from-fn-generics.rs diff --git a/src/test/run-pass/regions/regions-nullary-variant.rs b/src/test/ui/regions/regions-nullary-variant.rs similarity index 100% rename from src/test/run-pass/regions/regions-nullary-variant.rs rename to src/test/ui/regions/regions-nullary-variant.rs diff --git a/src/test/run-pass/regions/regions-params.rs b/src/test/ui/regions/regions-params.rs similarity index 100% rename from src/test/run-pass/regions/regions-params.rs rename to src/test/ui/regions/regions-params.rs diff --git a/src/test/run-pass/regions/regions-reassign-let-bound-pointer.rs b/src/test/ui/regions/regions-reassign-let-bound-pointer.rs similarity index 100% rename from src/test/run-pass/regions/regions-reassign-let-bound-pointer.rs rename to src/test/ui/regions/regions-reassign-let-bound-pointer.rs diff --git a/src/test/run-pass/regions/regions-reassign-match-bound-pointer.rs b/src/test/ui/regions/regions-reassign-match-bound-pointer.rs similarity index 100% rename from src/test/run-pass/regions/regions-reassign-match-bound-pointer.rs rename to src/test/ui/regions/regions-reassign-match-bound-pointer.rs diff --git a/src/test/run-pass/regions/regions-refcell.rs b/src/test/ui/regions/regions-refcell.rs similarity index 100% rename from src/test/run-pass/regions/regions-refcell.rs rename to src/test/ui/regions/regions-refcell.rs diff --git a/src/test/run-pass/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs b/src/test/ui/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs similarity index 100% rename from src/test/run-pass/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs rename to src/test/ui/regions/regions-relate-bound-regions-on-closures-to-inference-variables.rs diff --git a/src/test/run-pass/regions/regions-return-interior-of-option.rs b/src/test/ui/regions/regions-return-interior-of-option.rs similarity index 100% rename from src/test/run-pass/regions/regions-return-interior-of-option.rs rename to src/test/ui/regions/regions-return-interior-of-option.rs diff --git a/src/test/run-pass/regions/regions-scope-chain-example.rs b/src/test/ui/regions/regions-scope-chain-example.rs similarity index 100% rename from src/test/run-pass/regions/regions-scope-chain-example.rs rename to src/test/ui/regions/regions-scope-chain-example.rs diff --git a/src/test/run-pass/regions/regions-self-impls.rs b/src/test/ui/regions/regions-self-impls.rs similarity index 100% rename from src/test/run-pass/regions/regions-self-impls.rs rename to src/test/ui/regions/regions-self-impls.rs diff --git a/src/test/run-pass/regions/regions-self-in-enums.rs b/src/test/ui/regions/regions-self-in-enums.rs similarity index 100% rename from src/test/run-pass/regions/regions-self-in-enums.rs rename to src/test/ui/regions/regions-self-in-enums.rs diff --git a/src/test/run-pass/regions/regions-simple.rs b/src/test/ui/regions/regions-simple.rs similarity index 100% rename from src/test/run-pass/regions/regions-simple.rs rename to src/test/ui/regions/regions-simple.rs diff --git a/src/test/run-pass/regions/regions-static-closure.rs b/src/test/ui/regions/regions-static-closure.rs similarity index 100% rename from src/test/run-pass/regions/regions-static-closure.rs rename to src/test/ui/regions/regions-static-closure.rs diff --git a/src/test/run-pass/regions/regions-trait-object-1.rs b/src/test/ui/regions/regions-trait-object-1.rs similarity index 100% rename from src/test/run-pass/regions/regions-trait-object-1.rs rename to src/test/ui/regions/regions-trait-object-1.rs diff --git a/src/test/run-pass/regions/regions-variance-contravariant-use-contravariant.rs b/src/test/ui/regions/regions-variance-contravariant-use-contravariant.rs similarity index 100% rename from src/test/run-pass/regions/regions-variance-contravariant-use-contravariant.rs rename to src/test/ui/regions/regions-variance-contravariant-use-contravariant.rs diff --git a/src/test/run-pass/regions/regions-variance-covariant-use-covariant.rs b/src/test/ui/regions/regions-variance-covariant-use-covariant.rs similarity index 100% rename from src/test/run-pass/regions/regions-variance-covariant-use-covariant.rs rename to src/test/ui/regions/regions-variance-covariant-use-covariant.rs diff --git a/src/test/run-pass/repeat-expr-in-static.rs b/src/test/ui/repeat-expr-in-static.rs similarity index 100% rename from src/test/run-pass/repeat-expr-in-static.rs rename to src/test/ui/repeat-expr-in-static.rs diff --git a/src/test/run-pass/repr_c_int_align.rs b/src/test/ui/repr_c_int_align.rs similarity index 100% rename from src/test/run-pass/repr_c_int_align.rs rename to src/test/ui/repr_c_int_align.rs diff --git a/src/test/run-pass/resolve-issue-2428.rs b/src/test/ui/resolve-issue-2428.rs similarity index 100% rename from src/test/run-pass/resolve-issue-2428.rs rename to src/test/ui/resolve-issue-2428.rs diff --git a/src/test/run-pass/resolve-pseudo-shadowing.rs b/src/test/ui/resolve-pseudo-shadowing.rs similarity index 100% rename from src/test/run-pass/resolve-pseudo-shadowing.rs rename to src/test/ui/resolve-pseudo-shadowing.rs diff --git a/src/test/run-pass/resource-assign-is-not-copy.rs b/src/test/ui/resource-assign-is-not-copy.rs similarity index 100% rename from src/test/run-pass/resource-assign-is-not-copy.rs rename to src/test/ui/resource-assign-is-not-copy.rs diff --git a/src/test/run-pass/resource-destruct.rs b/src/test/ui/resource-destruct.rs similarity index 100% rename from src/test/run-pass/resource-destruct.rs rename to src/test/ui/resource-destruct.rs diff --git a/src/test/run-pass/result-opt-conversions.rs b/src/test/ui/result-opt-conversions.rs similarity index 100% rename from src/test/run-pass/result-opt-conversions.rs rename to src/test/ui/result-opt-conversions.rs diff --git a/src/test/run-pass/ret-bang.rs b/src/test/ui/ret-bang.rs similarity index 100% rename from src/test/run-pass/ret-bang.rs rename to src/test/ui/ret-bang.rs diff --git a/src/test/run-pass/ret-none.rs b/src/test/ui/ret-none.rs similarity index 100% rename from src/test/run-pass/ret-none.rs rename to src/test/ui/ret-none.rs diff --git a/src/test/run-pass/return-nil.rs b/src/test/ui/return-nil.rs similarity index 100% rename from src/test/run-pass/return-nil.rs rename to src/test/ui/return-nil.rs diff --git a/src/test/run-pass/rfcs/rfc-1014-2.rs b/src/test/ui/rfcs/rfc-1014-2.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1014-2.rs rename to src/test/ui/rfcs/rfc-1014-2.rs diff --git a/src/test/run-pass/rfcs/rfc-1014.rs b/src/test/ui/rfcs/rfc-1014.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1014.rs rename to src/test/ui/rfcs/rfc-1014.rs diff --git a/src/test/run-pass/rfcs/rfc-1789-as-cell/from-mut.rs b/src/test/ui/rfcs/rfc-1789-as-cell/from-mut.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1789-as-cell/from-mut.rs rename to src/test/ui/rfcs/rfc-1789-as-cell/from-mut.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-empty.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-exitcode.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-impl-termination.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-result-box-error_ok.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-result.rs diff --git a/src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs b/src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs rename to src/test/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-str.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/box.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/box.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/box.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/box.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/constref.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/constref.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/constref.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/constref.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/enum.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/enum.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/enum.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/for.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/for.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/for.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/for.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/general.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/general.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/general.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/general.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/lit.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/lit.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/lit.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/lit.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/range.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/range.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/range.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/range.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/ref-region.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/ref-region.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/ref-region.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/ref-region.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/reset-mode.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/reset-mode.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/reset-mode.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/reset-mode.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/slice.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/slice.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/slice.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/slice.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/struct.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/struct.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/struct.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/struct.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple-struct.rs diff --git a/src/test/run-pass/rfcs/rfc-2005-default-binding-mode/tuple.rs b/src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2005-default-binding-mode/tuple.rs rename to src/test/ui/rfcs/rfc-2005-default-binding-mode/tuple.rs diff --git a/src/test/run-pass/rfcs/rfc-2151-raw-identifiers/attr.rs b/src/test/ui/rfcs/rfc-2151-raw-identifiers/attr.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2151-raw-identifiers/attr.rs rename to src/test/ui/rfcs/rfc-2151-raw-identifiers/attr.rs diff --git a/src/test/run-pass/rfcs/rfc-2151-raw-identifiers/basic.rs b/src/test/ui/rfcs/rfc-2151-raw-identifiers/basic.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2151-raw-identifiers/basic.rs rename to src/test/ui/rfcs/rfc-2151-raw-identifiers/basic.rs diff --git a/src/test/run-pass/rfcs/rfc-2151-raw-identifiers/items.rs b/src/test/ui/rfcs/rfc-2151-raw-identifiers/items.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2151-raw-identifiers/items.rs rename to src/test/ui/rfcs/rfc-2151-raw-identifiers/items.rs diff --git a/src/test/run-pass/rfcs/rfc-2151-raw-identifiers/macros.rs b/src/test/ui/rfcs/rfc-2151-raw-identifiers/macros.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2151-raw-identifiers/macros.rs rename to src/test/ui/rfcs/rfc-2151-raw-identifiers/macros.rs diff --git a/src/test/run-pass/rfcs/rfc-2175-or-if-while-let/basic.rs b/src/test/ui/rfcs/rfc-2175-or-if-while-let/basic.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2175-or-if-while-let/basic.rs rename to src/test/ui/rfcs/rfc-2175-or-if-while-let/basic.rs diff --git a/src/test/run-pass/rfcs/rfc-2302-self-struct-ctor.rs b/src/test/ui/rfcs/rfc-2302-self-struct-ctor.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2302-self-struct-ctor.rs rename to src/test/ui/rfcs/rfc-2302-self-struct-ctor.rs diff --git a/src/test/run-pass/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs b/src/test/ui/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs rename to src/test/ui/rfcs/rfc-2421-unreserve-pure-offsetof-sizeof-alignof.rs diff --git a/src/test/run-pass/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs b/src/test/ui/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs rename to src/test/ui/rfcs/rfc1445/eq-allows-match-on-ty-in-macro.rs diff --git a/src/test/run-pass/rfcs/rfc1445/eq-allows-match.rs b/src/test/ui/rfcs/rfc1445/eq-allows-match.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc1445/eq-allows-match.rs rename to src/test/ui/rfcs/rfc1445/eq-allows-match.rs diff --git a/src/test/run-pass/rfcs/rfc1623.rs b/src/test/ui/rfcs/rfc1623.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc1623.rs rename to src/test/ui/rfcs/rfc1623.rs diff --git a/src/test/run-pass/rfcs/rfc1717/auxiliary/clibrary.rs b/src/test/ui/rfcs/rfc1717/auxiliary/clibrary.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc1717/auxiliary/clibrary.rs rename to src/test/ui/rfcs/rfc1717/auxiliary/clibrary.rs diff --git a/src/test/run-pass/rfcs/rfc1717/library-override.rs b/src/test/ui/rfcs/rfc1717/library-override.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc1717/library-override.rs rename to src/test/ui/rfcs/rfc1717/library-override.rs diff --git a/src/test/run-pass/rfcs/rfc1857-drop-order.rs b/src/test/ui/rfcs/rfc1857-drop-order.rs similarity index 100% rename from src/test/run-pass/rfcs/rfc1857-drop-order.rs rename to src/test/ui/rfcs/rfc1857-drop-order.rs diff --git a/src/test/run-pass/running-with-no-runtime.rs b/src/test/ui/running-with-no-runtime.rs similarity index 100% rename from src/test/run-pass/running-with-no-runtime.rs rename to src/test/ui/running-with-no-runtime.rs diff --git a/src/test/run-pass/rustc-rust-log.rs b/src/test/ui/rustc-rust-log.rs similarity index 100% rename from src/test/run-pass/rustc-rust-log.rs rename to src/test/ui/rustc-rust-log.rs diff --git a/src/test/run-pass/rvalue-static-promotion.rs b/src/test/ui/rvalue-static-promotion.rs similarity index 100% rename from src/test/run-pass/rvalue-static-promotion.rs rename to src/test/ui/rvalue-static-promotion.rs diff --git a/src/test/run-pass/segfault-no-out-of-stack.rs b/src/test/ui/segfault-no-out-of-stack.rs similarity index 100% rename from src/test/run-pass/segfault-no-out-of-stack.rs rename to src/test/ui/segfault-no-out-of-stack.rs diff --git a/src/test/run-pass/semistatement-in-lambda.rs b/src/test/ui/semistatement-in-lambda.rs similarity index 100% rename from src/test/run-pass/semistatement-in-lambda.rs rename to src/test/ui/semistatement-in-lambda.rs diff --git a/src/test/run-pass/sepcomp/auxiliary/sepcomp-extern-lib.rs b/src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs similarity index 100% rename from src/test/run-pass/sepcomp/auxiliary/sepcomp-extern-lib.rs rename to src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs diff --git a/src/test/run-pass/sepcomp/auxiliary/sepcomp_cci_lib.rs b/src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs similarity index 100% rename from src/test/run-pass/sepcomp/auxiliary/sepcomp_cci_lib.rs rename to src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs diff --git a/src/test/run-pass/sepcomp/auxiliary/sepcomp_lib.rs b/src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs similarity index 100% rename from src/test/run-pass/sepcomp/auxiliary/sepcomp_lib.rs rename to src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-cci.rs b/src/test/ui/sepcomp/sepcomp-cci.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-cci.rs rename to src/test/ui/sepcomp/sepcomp-cci.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-extern.rs b/src/test/ui/sepcomp/sepcomp-extern.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-extern.rs rename to src/test/ui/sepcomp/sepcomp-extern.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-fns-backwards.rs b/src/test/ui/sepcomp/sepcomp-fns-backwards.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-fns-backwards.rs rename to src/test/ui/sepcomp/sepcomp-fns-backwards.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-fns.rs b/src/test/ui/sepcomp/sepcomp-fns.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-fns.rs rename to src/test/ui/sepcomp/sepcomp-fns.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-lib-lto.rs b/src/test/ui/sepcomp/sepcomp-lib-lto.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-lib-lto.rs rename to src/test/ui/sepcomp/sepcomp-lib-lto.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-lib.rs b/src/test/ui/sepcomp/sepcomp-lib.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-lib.rs rename to src/test/ui/sepcomp/sepcomp-lib.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-statics.rs b/src/test/ui/sepcomp/sepcomp-statics.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-statics.rs rename to src/test/ui/sepcomp/sepcomp-statics.rs diff --git a/src/test/run-pass/sepcomp/sepcomp-unwind.rs b/src/test/ui/sepcomp/sepcomp-unwind.rs similarity index 100% rename from src/test/run-pass/sepcomp/sepcomp-unwind.rs rename to src/test/ui/sepcomp/sepcomp-unwind.rs diff --git a/src/test/run-pass/seq-compare.rs b/src/test/ui/seq-compare.rs similarity index 100% rename from src/test/run-pass/seq-compare.rs rename to src/test/ui/seq-compare.rs diff --git a/src/test/run-pass/shadow.rs b/src/test/ui/shadow.rs similarity index 100% rename from src/test/run-pass/shadow.rs rename to src/test/ui/shadow.rs diff --git a/src/test/run-pass/shadowed-use-visibility.rs b/src/test/ui/shadowed-use-visibility.rs similarity index 100% rename from src/test/run-pass/shadowed-use-visibility.rs rename to src/test/ui/shadowed-use-visibility.rs diff --git a/src/test/run-pass/shebang.rs b/src/test/ui/shebang.rs similarity index 100% rename from src/test/run-pass/shebang.rs rename to src/test/ui/shebang.rs diff --git a/src/test/run-pass/signal-alternate-stack-cleanup.rs b/src/test/ui/signal-alternate-stack-cleanup.rs similarity index 100% rename from src/test/run-pass/signal-alternate-stack-cleanup.rs rename to src/test/ui/signal-alternate-stack-cleanup.rs diff --git a/src/test/run-pass/signal-exit-status.rs b/src/test/ui/signal-exit-status.rs similarity index 100% rename from src/test/run-pass/signal-exit-status.rs rename to src/test/ui/signal-exit-status.rs diff --git a/src/test/run-pass/sigpipe-should-be-ignored.rs b/src/test/ui/sigpipe-should-be-ignored.rs similarity index 100% rename from src/test/run-pass/sigpipe-should-be-ignored.rs rename to src/test/ui/sigpipe-should-be-ignored.rs diff --git a/src/test/run-pass/simd/simd-generics.rs b/src/test/ui/simd/simd-generics.rs similarity index 100% rename from src/test/run-pass/simd/simd-generics.rs rename to src/test/ui/simd/simd-generics.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-float-math.rs b/src/test/ui/simd/simd-intrinsic-float-math.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-float-math.rs rename to src/test/ui/simd/simd-intrinsic-float-math.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-float-minmax.rs b/src/test/ui/simd/simd-intrinsic-float-minmax.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-float-minmax.rs rename to src/test/ui/simd/simd-intrinsic-float-minmax.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-arithmetic-saturating.rs b/src/test/ui/simd/simd-intrinsic-generic-arithmetic-saturating.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-arithmetic-saturating.rs rename to src/test/ui/simd/simd-intrinsic-generic-arithmetic-saturating.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-arithmetic.rs b/src/test/ui/simd/simd-intrinsic-generic-arithmetic.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-arithmetic.rs rename to src/test/ui/simd/simd-intrinsic-generic-arithmetic.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-bitmask.rs b/src/test/ui/simd/simd-intrinsic-generic-bitmask.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-bitmask.rs rename to src/test/ui/simd/simd-intrinsic-generic-bitmask.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-cast.rs b/src/test/ui/simd/simd-intrinsic-generic-cast.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-cast.rs rename to src/test/ui/simd/simd-intrinsic-generic-cast.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-comparison.rs b/src/test/ui/simd/simd-intrinsic-generic-comparison.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-comparison.rs rename to src/test/ui/simd/simd-intrinsic-generic-comparison.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-elements.rs b/src/test/ui/simd/simd-intrinsic-generic-elements.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-elements.rs rename to src/test/ui/simd/simd-intrinsic-generic-elements.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-gather.rs b/src/test/ui/simd/simd-intrinsic-generic-gather.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-gather.rs rename to src/test/ui/simd/simd-intrinsic-generic-gather.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-reduction.rs b/src/test/ui/simd/simd-intrinsic-generic-reduction.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-reduction.rs rename to src/test/ui/simd/simd-intrinsic-generic-reduction.rs diff --git a/src/test/run-pass/simd/simd-intrinsic-generic-select.rs b/src/test/ui/simd/simd-intrinsic-generic-select.rs similarity index 100% rename from src/test/run-pass/simd/simd-intrinsic-generic-select.rs rename to src/test/ui/simd/simd-intrinsic-generic-select.rs diff --git a/src/test/run-pass/simd/simd-size-align.rs b/src/test/ui/simd/simd-size-align.rs similarity index 100% rename from src/test/run-pass/simd/simd-size-align.rs rename to src/test/ui/simd/simd-size-align.rs diff --git a/src/test/run-pass/simd/simd-target-feature-mixup.rs b/src/test/ui/simd/simd-target-feature-mixup.rs similarity index 100% rename from src/test/run-pass/simd/simd-target-feature-mixup.rs rename to src/test/ui/simd/simd-target-feature-mixup.rs diff --git a/src/test/run-pass/simd/simd-type.rs b/src/test/ui/simd/simd-type.rs similarity index 100% rename from src/test/run-pass/simd/simd-type.rs rename to src/test/ui/simd/simd-type.rs diff --git a/src/test/run-pass/simple-infer.rs b/src/test/ui/simple-infer.rs similarity index 100% rename from src/test/run-pass/simple-infer.rs rename to src/test/ui/simple-infer.rs diff --git a/src/test/run-pass/simple_global_asm.rs b/src/test/ui/simple_global_asm.rs similarity index 100% rename from src/test/run-pass/simple_global_asm.rs rename to src/test/ui/simple_global_asm.rs diff --git a/src/test/run-pass/size-and-align.rs b/src/test/ui/size-and-align.rs similarity index 100% rename from src/test/run-pass/size-and-align.rs rename to src/test/ui/size-and-align.rs diff --git a/src/test/run-pass/sized-borrowed-pointer.rs b/src/test/ui/sized-borrowed-pointer.rs similarity index 100% rename from src/test/run-pass/sized-borrowed-pointer.rs rename to src/test/ui/sized-borrowed-pointer.rs diff --git a/src/test/run-pass/sized-owned-pointer.rs b/src/test/ui/sized-owned-pointer.rs similarity index 100% rename from src/test/run-pass/sized-owned-pointer.rs rename to src/test/ui/sized-owned-pointer.rs diff --git a/src/test/run-pass/sleep.rs b/src/test/ui/sleep.rs similarity index 100% rename from src/test/run-pass/sleep.rs rename to src/test/ui/sleep.rs diff --git a/src/test/run-pass/slowparse-bstring.rs b/src/test/ui/slowparse-bstring.rs similarity index 100% rename from src/test/run-pass/slowparse-bstring.rs rename to src/test/ui/slowparse-bstring.rs diff --git a/src/test/run-pass/slowparse-string.rs b/src/test/ui/slowparse-string.rs similarity index 100% rename from src/test/run-pass/slowparse-string.rs rename to src/test/ui/slowparse-string.rs diff --git a/src/test/run-pass/specialization/assoc-ty-graph-cycle.rs b/src/test/ui/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/specialization/assoc-ty-graph-cycle.rs diff --git a/src/test/run-pass/specialization/auxiliary/cross_crates_defaults.rs b/src/test/ui/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/specialization/auxiliary/cross_crates_defaults.rs diff --git a/src/test/run-pass/specialization/auxiliary/go_trait.rs b/src/test/ui/specialization/auxiliary/go_trait.rs similarity index 100% rename from src/test/run-pass/specialization/auxiliary/go_trait.rs rename to src/test/ui/specialization/auxiliary/go_trait.rs diff --git a/src/test/run-pass/specialization/auxiliary/specialization_cross_crate.rs b/src/test/ui/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/specialization/auxiliary/specialization_cross_crate.rs diff --git a/src/test/run-pass/specialization/cross-crate-defaults.rs b/src/test/ui/specialization/cross-crate-defaults.rs similarity index 100% rename from src/test/run-pass/specialization/cross-crate-defaults.rs rename to src/test/ui/specialization/cross-crate-defaults.rs diff --git a/src/test/run-pass/specialization/defaultimpl/allowed-cross-crate.rs b/src/test/ui/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/specialization/defaultimpl/allowed-cross-crate.rs diff --git a/src/test/run-pass/specialization/defaultimpl/auxiliary/go_trait.rs b/src/test/ui/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/specialization/defaultimpl/auxiliary/go_trait.rs diff --git a/src/test/run-pass/specialization/defaultimpl/out-of-order.rs b/src/test/ui/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/specialization/defaultimpl/out-of-order.rs diff --git a/src/test/run-pass/specialization/defaultimpl/overlap-projection.rs b/src/test/ui/specialization/defaultimpl/overlap-projection.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/overlap-projection.rs rename to src/test/ui/specialization/defaultimpl/overlap-projection.rs diff --git a/src/test/run-pass/specialization/defaultimpl/projection.rs b/src/test/ui/specialization/defaultimpl/projection.rs similarity index 100% rename from src/test/run-pass/specialization/defaultimpl/projection.rs rename to src/test/ui/specialization/defaultimpl/projection.rs diff --git a/src/test/run-pass/specialization/issue-50452.rs b/src/test/ui/specialization/issue-50452.rs similarity index 100% rename from src/test/run-pass/specialization/issue-50452.rs rename to src/test/ui/specialization/issue-50452.rs diff --git a/src/test/run-pass/specialization/specialization-allowed-cross-crate.rs b/src/test/ui/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/specialization/specialization-allowed-cross-crate.rs diff --git a/src/test/run-pass/specialization/specialization-assoc-fns.rs b/src/test/ui/specialization/specialization-assoc-fns.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-assoc-fns.rs rename to src/test/ui/specialization/specialization-assoc-fns.rs diff --git a/src/test/run-pass/specialization/specialization-basics.rs b/src/test/ui/specialization/specialization-basics.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-basics.rs rename to src/test/ui/specialization/specialization-basics.rs diff --git a/src/test/run-pass/specialization/specialization-cross-crate-no-gate.rs b/src/test/ui/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/specialization/specialization-cross-crate-no-gate.rs diff --git a/src/test/run-pass/specialization/specialization-cross-crate.rs b/src/test/ui/specialization/specialization-cross-crate.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-cross-crate.rs rename to src/test/ui/specialization/specialization-cross-crate.rs diff --git a/src/test/run-pass/specialization/specialization-default-methods.rs b/src/test/ui/specialization/specialization-default-methods.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-default-methods.rs rename to src/test/ui/specialization/specialization-default-methods.rs diff --git a/src/test/run-pass/specialization/specialization-on-projection.rs b/src/test/ui/specialization/specialization-on-projection.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-on-projection.rs rename to src/test/ui/specialization/specialization-on-projection.rs diff --git a/src/test/run-pass/specialization/specialization-out-of-order.rs b/src/test/ui/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/specialization/specialization-out-of-order.rs diff --git a/src/test/run-pass/specialization/specialization-overlap-projection.rs b/src/test/ui/specialization/specialization-overlap-projection.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-overlap-projection.rs rename to src/test/ui/specialization/specialization-overlap-projection.rs diff --git a/src/test/run-pass/specialization/specialization-projection-alias.rs b/src/test/ui/specialization/specialization-projection-alias.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-projection-alias.rs rename to src/test/ui/specialization/specialization-projection-alias.rs diff --git a/src/test/run-pass/specialization/specialization-projection.rs b/src/test/ui/specialization/specialization-projection.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-projection.rs rename to src/test/ui/specialization/specialization-projection.rs diff --git a/src/test/run-pass/specialization/specialization-super-traits.rs b/src/test/ui/specialization/specialization-super-traits.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-super-traits.rs rename to src/test/ui/specialization/specialization-super-traits.rs diff --git a/src/test/run-pass/specialization/specialization-translate-projections-with-lifetimes.rs b/src/test/ui/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/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/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/specialization/specialization-translate-projections-with-params.rs diff --git a/src/test/run-pass/specialization/specialization-translate-projections.rs b/src/test/ui/specialization/specialization-translate-projections.rs similarity index 100% rename from src/test/run-pass/specialization/specialization-translate-projections.rs rename to src/test/ui/specialization/specialization-translate-projections.rs diff --git a/src/test/run-pass/sse2.rs b/src/test/ui/sse2.rs similarity index 100% rename from src/test/run-pass/sse2.rs rename to src/test/ui/sse2.rs diff --git a/src/test/run-pass/stable-addr-of.rs b/src/test/ui/stable-addr-of.rs similarity index 100% rename from src/test/run-pass/stable-addr-of.rs rename to src/test/ui/stable-addr-of.rs diff --git a/src/test/run-pass/stack-probes-lto.rs b/src/test/ui/stack-probes-lto.rs similarity index 100% rename from src/test/run-pass/stack-probes-lto.rs rename to src/test/ui/stack-probes-lto.rs diff --git a/src/test/run-pass/stack-probes.rs b/src/test/ui/stack-probes.rs similarity index 100% rename from src/test/run-pass/stack-probes.rs rename to src/test/ui/stack-probes.rs diff --git a/src/test/run-pass/statics/auxiliary/static-function-pointer-aux.rs b/src/test/ui/statics/auxiliary/static-function-pointer-aux.rs similarity index 100% rename from src/test/run-pass/statics/auxiliary/static-function-pointer-aux.rs rename to src/test/ui/statics/auxiliary/static-function-pointer-aux.rs diff --git a/src/test/run-pass/statics/auxiliary/static-methods-crate.rs b/src/test/ui/statics/auxiliary/static-methods-crate.rs similarity index 100% rename from src/test/run-pass/statics/auxiliary/static-methods-crate.rs rename to src/test/ui/statics/auxiliary/static-methods-crate.rs diff --git a/src/test/run-pass/statics/auxiliary/static_fn_inline_xc_aux.rs b/src/test/ui/statics/auxiliary/static_fn_inline_xc_aux.rs similarity index 100% rename from src/test/run-pass/statics/auxiliary/static_fn_inline_xc_aux.rs rename to src/test/ui/statics/auxiliary/static_fn_inline_xc_aux.rs diff --git a/src/test/run-pass/statics/auxiliary/static_fn_trait_xc_aux.rs b/src/test/ui/statics/auxiliary/static_fn_trait_xc_aux.rs similarity index 100% rename from src/test/run-pass/statics/auxiliary/static_fn_trait_xc_aux.rs rename to src/test/ui/statics/auxiliary/static_fn_trait_xc_aux.rs diff --git a/src/test/run-pass/statics/auxiliary/static_mut_xc.rs b/src/test/ui/statics/auxiliary/static_mut_xc.rs similarity index 100% rename from src/test/run-pass/statics/auxiliary/static_mut_xc.rs rename to src/test/ui/statics/auxiliary/static_mut_xc.rs diff --git a/src/test/run-pass/statics/static-fn-inline-xc.rs b/src/test/ui/statics/static-fn-inline-xc.rs similarity index 100% rename from src/test/run-pass/statics/static-fn-inline-xc.rs rename to src/test/ui/statics/static-fn-inline-xc.rs diff --git a/src/test/run-pass/statics/static-fn-trait-xc.rs b/src/test/ui/statics/static-fn-trait-xc.rs similarity index 100% rename from src/test/run-pass/statics/static-fn-trait-xc.rs rename to src/test/ui/statics/static-fn-trait-xc.rs diff --git a/src/test/run-pass/statics/static-function-pointer-xc.rs b/src/test/ui/statics/static-function-pointer-xc.rs similarity index 100% rename from src/test/run-pass/statics/static-function-pointer-xc.rs rename to src/test/ui/statics/static-function-pointer-xc.rs diff --git a/src/test/run-pass/statics/static-function-pointer.rs b/src/test/ui/statics/static-function-pointer.rs similarity index 100% rename from src/test/run-pass/statics/static-function-pointer.rs rename to src/test/ui/statics/static-function-pointer.rs diff --git a/src/test/run-pass/statics/static-impl.rs b/src/test/ui/statics/static-impl.rs similarity index 100% rename from src/test/run-pass/statics/static-impl.rs rename to src/test/ui/statics/static-impl.rs diff --git a/src/test/run-pass/statics/static-method-in-trait-with-tps-intracrate.rs b/src/test/ui/statics/static-method-in-trait-with-tps-intracrate.rs similarity index 100% rename from src/test/run-pass/statics/static-method-in-trait-with-tps-intracrate.rs rename to src/test/ui/statics/static-method-in-trait-with-tps-intracrate.rs diff --git a/src/test/run-pass/statics/static-method-xcrate.rs b/src/test/ui/statics/static-method-xcrate.rs similarity index 100% rename from src/test/run-pass/statics/static-method-xcrate.rs rename to src/test/ui/statics/static-method-xcrate.rs diff --git a/src/test/run-pass/statics/static-methods-in-traits.rs b/src/test/ui/statics/static-methods-in-traits.rs similarity index 100% rename from src/test/run-pass/statics/static-methods-in-traits.rs rename to src/test/ui/statics/static-methods-in-traits.rs diff --git a/src/test/run-pass/statics/static-methods-in-traits2.rs b/src/test/ui/statics/static-methods-in-traits2.rs similarity index 100% rename from src/test/run-pass/statics/static-methods-in-traits2.rs rename to src/test/ui/statics/static-methods-in-traits2.rs diff --git a/src/test/run-pass/statics/static-mut-foreign.rs b/src/test/ui/statics/static-mut-foreign.rs similarity index 100% rename from src/test/run-pass/statics/static-mut-foreign.rs rename to src/test/ui/statics/static-mut-foreign.rs diff --git a/src/test/run-pass/statics/static-mut-xc.rs b/src/test/ui/statics/static-mut-xc.rs similarity index 100% rename from src/test/run-pass/statics/static-mut-xc.rs rename to src/test/ui/statics/static-mut-xc.rs diff --git a/src/test/run-pass/statics/static-recursive.rs b/src/test/ui/statics/static-recursive.rs similarity index 100% rename from src/test/run-pass/statics/static-recursive.rs rename to src/test/ui/statics/static-recursive.rs diff --git a/src/test/run-pass/stdio-is-blocking.rs b/src/test/ui/stdio-is-blocking.rs similarity index 100% rename from src/test/run-pass/stdio-is-blocking.rs rename to src/test/ui/stdio-is-blocking.rs diff --git a/src/test/run-pass/str-concat.rs b/src/test/ui/str-concat.rs similarity index 100% rename from src/test/run-pass/str-concat.rs rename to src/test/ui/str-concat.rs diff --git a/src/test/run-pass/str-multiline.rs b/src/test/ui/str-multiline.rs similarity index 100% rename from src/test/run-pass/str-multiline.rs rename to src/test/ui/str-multiline.rs diff --git a/src/test/run-pass/string-box-error.rs b/src/test/ui/string-box-error.rs similarity index 100% rename from src/test/run-pass/string-box-error.rs rename to src/test/ui/string-box-error.rs diff --git a/src/test/run-pass/string-escapes.rs b/src/test/ui/string-escapes.rs similarity index 100% rename from src/test/run-pass/string-escapes.rs rename to src/test/ui/string-escapes.rs diff --git a/src/test/run-pass/struct-ctor-mangling.rs b/src/test/ui/struct-ctor-mangling.rs similarity index 100% rename from src/test/run-pass/struct-ctor-mangling.rs rename to src/test/ui/struct-ctor-mangling.rs diff --git a/src/test/run-pass/structs-enums/align-enum.rs b/src/test/ui/structs-enums/align-enum.rs similarity index 100% rename from src/test/run-pass/structs-enums/align-enum.rs rename to src/test/ui/structs-enums/align-enum.rs diff --git a/src/test/run-pass/structs-enums/align-struct.rs b/src/test/ui/structs-enums/align-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/align-struct.rs rename to src/test/ui/structs-enums/align-struct.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class.rs b/src/test/ui/structs-enums/auxiliary/cci_class.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class.rs rename to src/test/ui/structs-enums/auxiliary/cci_class.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class_2.rs b/src/test/ui/structs-enums/auxiliary/cci_class_2.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class_2.rs rename to src/test/ui/structs-enums/auxiliary/cci_class_2.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class_3.rs b/src/test/ui/structs-enums/auxiliary/cci_class_3.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class_3.rs rename to src/test/ui/structs-enums/auxiliary/cci_class_3.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class_4.rs b/src/test/ui/structs-enums/auxiliary/cci_class_4.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class_4.rs rename to src/test/ui/structs-enums/auxiliary/cci_class_4.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class_6.rs b/src/test/ui/structs-enums/auxiliary/cci_class_6.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class_6.rs rename to src/test/ui/structs-enums/auxiliary/cci_class_6.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class_cast.rs b/src/test/ui/structs-enums/auxiliary/cci_class_cast.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class_cast.rs rename to src/test/ui/structs-enums/auxiliary/cci_class_cast.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/cci_class_trait.rs b/src/test/ui/structs-enums/auxiliary/cci_class_trait.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/cci_class_trait.rs rename to src/test/ui/structs-enums/auxiliary/cci_class_trait.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/empty-struct.rs b/src/test/ui/structs-enums/auxiliary/empty-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/empty-struct.rs rename to src/test/ui/structs-enums/auxiliary/empty-struct.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/namespaced_enum_emulate_flat.rs b/src/test/ui/structs-enums/auxiliary/namespaced_enum_emulate_flat.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/namespaced_enum_emulate_flat.rs rename to src/test/ui/structs-enums/auxiliary/namespaced_enum_emulate_flat.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/namespaced_enums.rs b/src/test/ui/structs-enums/auxiliary/namespaced_enums.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/namespaced_enums.rs rename to src/test/ui/structs-enums/auxiliary/namespaced_enums.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/newtype_struct_xc.rs b/src/test/ui/structs-enums/auxiliary/newtype_struct_xc.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/newtype_struct_xc.rs rename to src/test/ui/structs-enums/auxiliary/newtype_struct_xc.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/struct_destructuring_cross_crate.rs b/src/test/ui/structs-enums/auxiliary/struct_destructuring_cross_crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/struct_destructuring_cross_crate.rs rename to src/test/ui/structs-enums/auxiliary/struct_destructuring_cross_crate.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/struct_variant_xc_aux.rs b/src/test/ui/structs-enums/auxiliary/struct_variant_xc_aux.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/struct_variant_xc_aux.rs rename to src/test/ui/structs-enums/auxiliary/struct_variant_xc_aux.rs diff --git a/src/test/run-pass/structs-enums/auxiliary/xcrate_struct_aliases.rs b/src/test/ui/structs-enums/auxiliary/xcrate_struct_aliases.rs similarity index 100% rename from src/test/run-pass/structs-enums/auxiliary/xcrate_struct_aliases.rs rename to src/test/ui/structs-enums/auxiliary/xcrate_struct_aliases.rs diff --git a/src/test/run-pass/structs-enums/borrow-tuple-fields.rs b/src/test/ui/structs-enums/borrow-tuple-fields.rs similarity index 100% rename from src/test/run-pass/structs-enums/borrow-tuple-fields.rs rename to src/test/ui/structs-enums/borrow-tuple-fields.rs diff --git a/src/test/run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs b/src/test/ui/structs-enums/class-cast-to-trait-cross-crate-2.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-cast-to-trait-cross-crate-2.rs rename to src/test/ui/structs-enums/class-cast-to-trait-cross-crate-2.rs diff --git a/src/test/run-pass/structs-enums/class-cast-to-trait-multiple-types.rs b/src/test/ui/structs-enums/class-cast-to-trait-multiple-types.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-cast-to-trait-multiple-types.rs rename to src/test/ui/structs-enums/class-cast-to-trait-multiple-types.rs diff --git a/src/test/run-pass/structs-enums/class-cast-to-trait.rs b/src/test/ui/structs-enums/class-cast-to-trait.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-cast-to-trait.rs rename to src/test/ui/structs-enums/class-cast-to-trait.rs diff --git a/src/test/run-pass/structs-enums/class-dtor.rs b/src/test/ui/structs-enums/class-dtor.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-dtor.rs rename to src/test/ui/structs-enums/class-dtor.rs diff --git a/src/test/run-pass/structs-enums/class-exports.rs b/src/test/ui/structs-enums/class-exports.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-exports.rs rename to src/test/ui/structs-enums/class-exports.rs diff --git a/src/test/run-pass/structs-enums/class-impl-very-parameterized-trait.rs b/src/test/ui/structs-enums/class-impl-very-parameterized-trait.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-impl-very-parameterized-trait.rs rename to src/test/ui/structs-enums/class-impl-very-parameterized-trait.rs diff --git a/src/test/run-pass/structs-enums/class-implement-trait-cross-crate.rs b/src/test/ui/structs-enums/class-implement-trait-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-implement-trait-cross-crate.rs rename to src/test/ui/structs-enums/class-implement-trait-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/class-implement-traits.rs b/src/test/ui/structs-enums/class-implement-traits.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-implement-traits.rs rename to src/test/ui/structs-enums/class-implement-traits.rs diff --git a/src/test/run-pass/structs-enums/class-method-cross-crate.rs b/src/test/ui/structs-enums/class-method-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-method-cross-crate.rs rename to src/test/ui/structs-enums/class-method-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/class-methods-cross-crate.rs b/src/test/ui/structs-enums/class-methods-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-methods-cross-crate.rs rename to src/test/ui/structs-enums/class-methods-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/class-methods.rs b/src/test/ui/structs-enums/class-methods.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-methods.rs rename to src/test/ui/structs-enums/class-methods.rs diff --git a/src/test/run-pass/structs-enums/class-poly-methods-cross-crate.rs b/src/test/ui/structs-enums/class-poly-methods-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-poly-methods-cross-crate.rs rename to src/test/ui/structs-enums/class-poly-methods-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/class-poly-methods.rs b/src/test/ui/structs-enums/class-poly-methods.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-poly-methods.rs rename to src/test/ui/structs-enums/class-poly-methods.rs diff --git a/src/test/run-pass/structs-enums/class-separate-impl.rs b/src/test/ui/structs-enums/class-separate-impl.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-separate-impl.rs rename to src/test/ui/structs-enums/class-separate-impl.rs diff --git a/src/test/run-pass/structs-enums/class-str-field.rs b/src/test/ui/structs-enums/class-str-field.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-str-field.rs rename to src/test/ui/structs-enums/class-str-field.rs diff --git a/src/test/run-pass/structs-enums/class-typarams.rs b/src/test/ui/structs-enums/class-typarams.rs similarity index 100% rename from src/test/run-pass/structs-enums/class-typarams.rs rename to src/test/ui/structs-enums/class-typarams.rs diff --git a/src/test/run-pass/structs-enums/classes-cross-crate.rs b/src/test/ui/structs-enums/classes-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/classes-cross-crate.rs rename to src/test/ui/structs-enums/classes-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/classes-self-referential.rs b/src/test/ui/structs-enums/classes-self-referential.rs similarity index 100% rename from src/test/run-pass/structs-enums/classes-self-referential.rs rename to src/test/ui/structs-enums/classes-self-referential.rs diff --git a/src/test/run-pass/structs-enums/classes-simple-cross-crate.rs b/src/test/ui/structs-enums/classes-simple-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/classes-simple-cross-crate.rs rename to src/test/ui/structs-enums/classes-simple-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/classes-simple-method.rs b/src/test/ui/structs-enums/classes-simple-method.rs similarity index 100% rename from src/test/run-pass/structs-enums/classes-simple-method.rs rename to src/test/ui/structs-enums/classes-simple-method.rs diff --git a/src/test/run-pass/structs-enums/classes-simple.rs b/src/test/ui/structs-enums/classes-simple.rs similarity index 100% rename from src/test/run-pass/structs-enums/classes-simple.rs rename to src/test/ui/structs-enums/classes-simple.rs diff --git a/src/test/run-pass/structs-enums/classes.rs b/src/test/ui/structs-enums/classes.rs similarity index 100% rename from src/test/run-pass/structs-enums/classes.rs rename to src/test/ui/structs-enums/classes.rs diff --git a/src/test/run-pass/structs-enums/codegen-tag-static-padding.rs b/src/test/ui/structs-enums/codegen-tag-static-padding.rs similarity index 100% rename from src/test/run-pass/structs-enums/codegen-tag-static-padding.rs rename to src/test/ui/structs-enums/codegen-tag-static-padding.rs diff --git a/src/test/run-pass/structs-enums/compare-generic-enums.rs b/src/test/ui/structs-enums/compare-generic-enums.rs similarity index 100% rename from src/test/run-pass/structs-enums/compare-generic-enums.rs rename to src/test/ui/structs-enums/compare-generic-enums.rs diff --git a/src/test/run-pass/structs-enums/discrim-explicit-23030.rs b/src/test/ui/structs-enums/discrim-explicit-23030.rs similarity index 100% rename from src/test/run-pass/structs-enums/discrim-explicit-23030.rs rename to src/test/ui/structs-enums/discrim-explicit-23030.rs diff --git a/src/test/run-pass/structs-enums/empty-struct-braces.rs b/src/test/ui/structs-enums/empty-struct-braces.rs similarity index 100% rename from src/test/run-pass/structs-enums/empty-struct-braces.rs rename to src/test/ui/structs-enums/empty-struct-braces.rs diff --git a/src/test/run-pass/structs-enums/empty-tag.rs b/src/test/ui/structs-enums/empty-tag.rs similarity index 100% rename from src/test/run-pass/structs-enums/empty-tag.rs rename to src/test/ui/structs-enums/empty-tag.rs diff --git a/src/test/run-pass/structs-enums/enum-alignment.rs b/src/test/ui/structs-enums/enum-alignment.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-alignment.rs rename to src/test/ui/structs-enums/enum-alignment.rs diff --git a/src/test/run-pass/structs-enums/enum-clike-ffi-as-int.rs b/src/test/ui/structs-enums/enum-clike-ffi-as-int.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-clike-ffi-as-int.rs rename to src/test/ui/structs-enums/enum-clike-ffi-as-int.rs diff --git a/src/test/run-pass/structs-enums/enum-discr.rs b/src/test/ui/structs-enums/enum-discr.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-discr.rs rename to src/test/ui/structs-enums/enum-discr.rs diff --git a/src/test/run-pass/structs-enums/enum-discrim-autosizing.rs b/src/test/ui/structs-enums/enum-discrim-autosizing.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-discrim-autosizing.rs rename to src/test/ui/structs-enums/enum-discrim-autosizing.rs diff --git a/src/test/run-pass/structs-enums/enum-discrim-manual-sizing.rs b/src/test/ui/structs-enums/enum-discrim-manual-sizing.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-discrim-manual-sizing.rs rename to src/test/ui/structs-enums/enum-discrim-manual-sizing.rs diff --git a/src/test/run-pass/structs-enums/enum-discrim-range-overflow.rs b/src/test/ui/structs-enums/enum-discrim-range-overflow.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-discrim-range-overflow.rs rename to src/test/ui/structs-enums/enum-discrim-range-overflow.rs diff --git a/src/test/run-pass/structs-enums/enum-discrim-width-stuff.rs b/src/test/ui/structs-enums/enum-discrim-width-stuff.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-discrim-width-stuff.rs rename to src/test/ui/structs-enums/enum-discrim-width-stuff.rs diff --git a/src/test/run-pass/structs-enums/enum-disr-val-pretty.rs b/src/test/ui/structs-enums/enum-disr-val-pretty.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-disr-val-pretty.rs rename to src/test/ui/structs-enums/enum-disr-val-pretty.rs diff --git a/src/test/run-pass/structs-enums/enum-export-inheritance.rs b/src/test/ui/structs-enums/enum-export-inheritance.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-export-inheritance.rs rename to src/test/ui/structs-enums/enum-export-inheritance.rs diff --git a/src/test/run-pass/structs-enums/enum-layout-optimization.rs b/src/test/ui/structs-enums/enum-layout-optimization.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-layout-optimization.rs rename to src/test/ui/structs-enums/enum-layout-optimization.rs diff --git a/src/test/run-pass/structs-enums/enum-non-c-like-repr-c-and-int.rs b/src/test/ui/structs-enums/enum-non-c-like-repr-c-and-int.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-non-c-like-repr-c-and-int.rs rename to src/test/ui/structs-enums/enum-non-c-like-repr-c-and-int.rs diff --git a/src/test/run-pass/structs-enums/enum-non-c-like-repr-c.rs b/src/test/ui/structs-enums/enum-non-c-like-repr-c.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-non-c-like-repr-c.rs rename to src/test/ui/structs-enums/enum-non-c-like-repr-c.rs diff --git a/src/test/run-pass/structs-enums/enum-non-c-like-repr-int.rs b/src/test/ui/structs-enums/enum-non-c-like-repr-int.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-non-c-like-repr-int.rs rename to src/test/ui/structs-enums/enum-non-c-like-repr-int.rs diff --git a/src/test/run-pass/structs-enums/enum-null-pointer-opt.rs b/src/test/ui/structs-enums/enum-null-pointer-opt.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-null-pointer-opt.rs rename to src/test/ui/structs-enums/enum-null-pointer-opt.rs diff --git a/src/test/run-pass/structs-enums/enum-nullable-const-null-with-fields.rs b/src/test/ui/structs-enums/enum-nullable-const-null-with-fields.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-nullable-const-null-with-fields.rs rename to src/test/ui/structs-enums/enum-nullable-const-null-with-fields.rs diff --git a/src/test/run-pass/structs-enums/enum-nullable-simplifycfg-misopt.rs b/src/test/ui/structs-enums/enum-nullable-simplifycfg-misopt.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-nullable-simplifycfg-misopt.rs rename to src/test/ui/structs-enums/enum-nullable-simplifycfg-misopt.rs diff --git a/src/test/run-pass/structs-enums/enum-univariant-repr.rs b/src/test/ui/structs-enums/enum-univariant-repr.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-univariant-repr.rs rename to src/test/ui/structs-enums/enum-univariant-repr.rs diff --git a/src/test/run-pass/structs-enums/enum-variants.rs b/src/test/ui/structs-enums/enum-variants.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-variants.rs rename to src/test/ui/structs-enums/enum-variants.rs diff --git a/src/test/run-pass/structs-enums/enum-vec-initializer.rs b/src/test/ui/structs-enums/enum-vec-initializer.rs similarity index 100% rename from src/test/run-pass/structs-enums/enum-vec-initializer.rs rename to src/test/ui/structs-enums/enum-vec-initializer.rs diff --git a/src/test/run-pass/structs-enums/export-abstract-tag.rs b/src/test/ui/structs-enums/export-abstract-tag.rs similarity index 100% rename from src/test/run-pass/structs-enums/export-abstract-tag.rs rename to src/test/ui/structs-enums/export-abstract-tag.rs diff --git a/src/test/run-pass/structs-enums/export-tag-variant.rs b/src/test/ui/structs-enums/export-tag-variant.rs similarity index 100% rename from src/test/run-pass/structs-enums/export-tag-variant.rs rename to src/test/ui/structs-enums/export-tag-variant.rs diff --git a/src/test/run-pass/structs-enums/expr-if-struct.rs b/src/test/ui/structs-enums/expr-if-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/expr-if-struct.rs rename to src/test/ui/structs-enums/expr-if-struct.rs diff --git a/src/test/run-pass/structs-enums/expr-match-struct.rs b/src/test/ui/structs-enums/expr-match-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/expr-match-struct.rs rename to src/test/ui/structs-enums/expr-match-struct.rs diff --git a/src/test/run-pass/structs-enums/field-destruction-order.rs b/src/test/ui/structs-enums/field-destruction-order.rs similarity index 100% rename from src/test/run-pass/structs-enums/field-destruction-order.rs rename to src/test/ui/structs-enums/field-destruction-order.rs diff --git a/src/test/run-pass/structs-enums/foreign-struct.rs b/src/test/ui/structs-enums/foreign-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/foreign-struct.rs rename to src/test/ui/structs-enums/foreign-struct.rs diff --git a/src/test/run-pass/structs-enums/functional-struct-upd.rs b/src/test/ui/structs-enums/functional-struct-upd.rs similarity index 100% rename from src/test/run-pass/structs-enums/functional-struct-upd.rs rename to src/test/ui/structs-enums/functional-struct-upd.rs diff --git a/src/test/run-pass/structs-enums/ivec-tag.rs b/src/test/ui/structs-enums/ivec-tag.rs similarity index 100% rename from src/test/run-pass/structs-enums/ivec-tag.rs rename to src/test/ui/structs-enums/ivec-tag.rs diff --git a/src/test/run-pass/structs-enums/module-qualified-struct-destructure.rs b/src/test/ui/structs-enums/module-qualified-struct-destructure.rs similarity index 100% rename from src/test/run-pass/structs-enums/module-qualified-struct-destructure.rs rename to src/test/ui/structs-enums/module-qualified-struct-destructure.rs diff --git a/src/test/run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs b/src/test/ui/structs-enums/namespaced-enum-emulate-flat-xc.rs similarity index 100% rename from src/test/run-pass/structs-enums/namespaced-enum-emulate-flat-xc.rs rename to src/test/ui/structs-enums/namespaced-enum-emulate-flat-xc.rs diff --git a/src/test/run-pass/structs-enums/namespaced-enum-emulate-flat.rs b/src/test/ui/structs-enums/namespaced-enum-emulate-flat.rs similarity index 100% rename from src/test/run-pass/structs-enums/namespaced-enum-emulate-flat.rs rename to src/test/ui/structs-enums/namespaced-enum-emulate-flat.rs diff --git a/src/test/run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs b/src/test/ui/structs-enums/namespaced-enum-glob-import-xcrate.rs similarity index 100% rename from src/test/run-pass/structs-enums/namespaced-enum-glob-import-xcrate.rs rename to src/test/ui/structs-enums/namespaced-enum-glob-import-xcrate.rs diff --git a/src/test/run-pass/structs-enums/namespaced-enum-glob-import.rs b/src/test/ui/structs-enums/namespaced-enum-glob-import.rs similarity index 100% rename from src/test/run-pass/structs-enums/namespaced-enum-glob-import.rs rename to src/test/ui/structs-enums/namespaced-enum-glob-import.rs diff --git a/src/test/run-pass/structs-enums/namespaced-enums-xcrate.rs b/src/test/ui/structs-enums/namespaced-enums-xcrate.rs similarity index 100% rename from src/test/run-pass/structs-enums/namespaced-enums-xcrate.rs rename to src/test/ui/structs-enums/namespaced-enums-xcrate.rs diff --git a/src/test/run-pass/structs-enums/namespaced-enums.rs b/src/test/ui/structs-enums/namespaced-enums.rs similarity index 100% rename from src/test/run-pass/structs-enums/namespaced-enums.rs rename to src/test/ui/structs-enums/namespaced-enums.rs diff --git a/src/test/run-pass/structs-enums/nested-enum-same-names.rs b/src/test/ui/structs-enums/nested-enum-same-names.rs similarity index 100% rename from src/test/run-pass/structs-enums/nested-enum-same-names.rs rename to src/test/ui/structs-enums/nested-enum-same-names.rs diff --git a/src/test/run-pass/structs-enums/newtype-struct-drop-run.rs b/src/test/ui/structs-enums/newtype-struct-drop-run.rs similarity index 100% rename from src/test/run-pass/structs-enums/newtype-struct-drop-run.rs rename to src/test/ui/structs-enums/newtype-struct-drop-run.rs diff --git a/src/test/run-pass/structs-enums/newtype-struct-with-dtor.rs b/src/test/ui/structs-enums/newtype-struct-with-dtor.rs similarity index 100% rename from src/test/run-pass/structs-enums/newtype-struct-with-dtor.rs rename to src/test/ui/structs-enums/newtype-struct-with-dtor.rs diff --git a/src/test/run-pass/structs-enums/newtype-struct-xc-2.rs b/src/test/ui/structs-enums/newtype-struct-xc-2.rs similarity index 100% rename from src/test/run-pass/structs-enums/newtype-struct-xc-2.rs rename to src/test/ui/structs-enums/newtype-struct-xc-2.rs diff --git a/src/test/run-pass/structs-enums/newtype-struct-xc.rs b/src/test/ui/structs-enums/newtype-struct-xc.rs similarity index 100% rename from src/test/run-pass/structs-enums/newtype-struct-xc.rs rename to src/test/ui/structs-enums/newtype-struct-xc.rs diff --git a/src/test/run-pass/structs-enums/nonzero-enum.rs b/src/test/ui/structs-enums/nonzero-enum.rs similarity index 100% rename from src/test/run-pass/structs-enums/nonzero-enum.rs rename to src/test/ui/structs-enums/nonzero-enum.rs diff --git a/src/test/run-pass/structs-enums/numeric-fields.rs b/src/test/ui/structs-enums/numeric-fields.rs similarity index 100% rename from src/test/run-pass/structs-enums/numeric-fields.rs rename to src/test/ui/structs-enums/numeric-fields.rs diff --git a/src/test/run-pass/structs-enums/object-lifetime-default-from-ref-struct.rs b/src/test/ui/structs-enums/object-lifetime-default-from-ref-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/object-lifetime-default-from-ref-struct.rs rename to src/test/ui/structs-enums/object-lifetime-default-from-ref-struct.rs diff --git a/src/test/run-pass/structs-enums/object-lifetime-default-from-rptr-struct.rs b/src/test/ui/structs-enums/object-lifetime-default-from-rptr-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/object-lifetime-default-from-rptr-struct.rs rename to src/test/ui/structs-enums/object-lifetime-default-from-rptr-struct.rs diff --git a/src/test/run-pass/structs-enums/rec-align-u32.rs b/src/test/ui/structs-enums/rec-align-u32.rs similarity index 100% rename from src/test/run-pass/structs-enums/rec-align-u32.rs rename to src/test/ui/structs-enums/rec-align-u32.rs diff --git a/src/test/run-pass/structs-enums/rec-align-u64.rs b/src/test/ui/structs-enums/rec-align-u64.rs similarity index 100% rename from src/test/run-pass/structs-enums/rec-align-u64.rs rename to src/test/ui/structs-enums/rec-align-u64.rs diff --git a/src/test/run-pass/structs-enums/rec-auto.rs b/src/test/ui/structs-enums/rec-auto.rs similarity index 100% rename from src/test/run-pass/structs-enums/rec-auto.rs rename to src/test/ui/structs-enums/rec-auto.rs diff --git a/src/test/run-pass/structs-enums/rec-extend.rs b/src/test/ui/structs-enums/rec-extend.rs similarity index 100% rename from src/test/run-pass/structs-enums/rec-extend.rs rename to src/test/ui/structs-enums/rec-extend.rs diff --git a/src/test/run-pass/structs-enums/rec-tup.rs b/src/test/ui/structs-enums/rec-tup.rs similarity index 100% rename from src/test/run-pass/structs-enums/rec-tup.rs rename to src/test/ui/structs-enums/rec-tup.rs diff --git a/src/test/run-pass/structs-enums/rec.rs b/src/test/ui/structs-enums/rec.rs similarity index 100% rename from src/test/run-pass/structs-enums/rec.rs rename to src/test/ui/structs-enums/rec.rs diff --git a/src/test/run-pass/structs-enums/record-pat.rs b/src/test/ui/structs-enums/record-pat.rs similarity index 100% rename from src/test/run-pass/structs-enums/record-pat.rs rename to src/test/ui/structs-enums/record-pat.rs diff --git a/src/test/run-pass/structs-enums/resource-in-struct.rs b/src/test/ui/structs-enums/resource-in-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/resource-in-struct.rs rename to src/test/ui/structs-enums/resource-in-struct.rs diff --git a/src/test/run-pass/structs-enums/simple-generic-tag.rs b/src/test/ui/structs-enums/simple-generic-tag.rs similarity index 100% rename from src/test/run-pass/structs-enums/simple-generic-tag.rs rename to src/test/ui/structs-enums/simple-generic-tag.rs diff --git a/src/test/run-pass/structs-enums/simple-match-generic-tag.rs b/src/test/ui/structs-enums/simple-match-generic-tag.rs similarity index 100% rename from src/test/run-pass/structs-enums/simple-match-generic-tag.rs rename to src/test/ui/structs-enums/simple-match-generic-tag.rs diff --git a/src/test/run-pass/structs-enums/small-enum-range-edge.rs b/src/test/ui/structs-enums/small-enum-range-edge.rs similarity index 100% rename from src/test/run-pass/structs-enums/small-enum-range-edge.rs rename to src/test/ui/structs-enums/small-enum-range-edge.rs diff --git a/src/test/run-pass/structs-enums/small-enums-with-fields.rs b/src/test/ui/structs-enums/small-enums-with-fields.rs similarity index 100% rename from src/test/run-pass/structs-enums/small-enums-with-fields.rs rename to src/test/ui/structs-enums/small-enums-with-fields.rs diff --git a/src/test/run-pass/structs-enums/struct-aliases-xcrate.rs b/src/test/ui/structs-enums/struct-aliases-xcrate.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-aliases-xcrate.rs rename to src/test/ui/structs-enums/struct-aliases-xcrate.rs diff --git a/src/test/run-pass/structs-enums/struct-aliases.rs b/src/test/ui/structs-enums/struct-aliases.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-aliases.rs rename to src/test/ui/structs-enums/struct-aliases.rs diff --git a/src/test/run-pass/structs-enums/struct-destructuring-cross-crate.rs b/src/test/ui/structs-enums/struct-destructuring-cross-crate.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-destructuring-cross-crate.rs rename to src/test/ui/structs-enums/struct-destructuring-cross-crate.rs diff --git a/src/test/run-pass/structs-enums/struct-field-shorthand.rs b/src/test/ui/structs-enums/struct-field-shorthand.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-field-shorthand.rs rename to src/test/ui/structs-enums/struct-field-shorthand.rs diff --git a/src/test/run-pass/structs-enums/struct-like-variant-construct.rs b/src/test/ui/structs-enums/struct-like-variant-construct.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-like-variant-construct.rs rename to src/test/ui/structs-enums/struct-like-variant-construct.rs diff --git a/src/test/run-pass/structs-enums/struct-like-variant-match.rs b/src/test/ui/structs-enums/struct-like-variant-match.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-like-variant-match.rs rename to src/test/ui/structs-enums/struct-like-variant-match.rs diff --git a/src/test/run-pass/structs-enums/struct-lit-functional-no-fields.rs b/src/test/ui/structs-enums/struct-lit-functional-no-fields.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-lit-functional-no-fields.rs rename to src/test/ui/structs-enums/struct-lit-functional-no-fields.rs diff --git a/src/test/run-pass/structs-enums/struct-literal-dtor.rs b/src/test/ui/structs-enums/struct-literal-dtor.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-literal-dtor.rs rename to src/test/ui/structs-enums/struct-literal-dtor.rs diff --git a/src/test/run-pass/structs-enums/struct-new-as-field-name.rs b/src/test/ui/structs-enums/struct-new-as-field-name.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-new-as-field-name.rs rename to src/test/ui/structs-enums/struct-new-as-field-name.rs diff --git a/src/test/run-pass/structs-enums/struct-order-of-eval-1.rs b/src/test/ui/structs-enums/struct-order-of-eval-1.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-order-of-eval-1.rs rename to src/test/ui/structs-enums/struct-order-of-eval-1.rs diff --git a/src/test/run-pass/structs-enums/struct-order-of-eval-2.rs b/src/test/ui/structs-enums/struct-order-of-eval-2.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-order-of-eval-2.rs rename to src/test/ui/structs-enums/struct-order-of-eval-2.rs diff --git a/src/test/run-pass/structs-enums/struct-order-of-eval-3.rs b/src/test/ui/structs-enums/struct-order-of-eval-3.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-order-of-eval-3.rs rename to src/test/ui/structs-enums/struct-order-of-eval-3.rs diff --git a/src/test/run-pass/structs-enums/struct-order-of-eval-4.rs b/src/test/ui/structs-enums/struct-order-of-eval-4.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-order-of-eval-4.rs rename to src/test/ui/structs-enums/struct-order-of-eval-4.rs diff --git a/src/test/run-pass/structs-enums/struct-partial-move-1.rs b/src/test/ui/structs-enums/struct-partial-move-1.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-partial-move-1.rs rename to src/test/ui/structs-enums/struct-partial-move-1.rs diff --git a/src/test/run-pass/structs-enums/struct-partial-move-2.rs b/src/test/ui/structs-enums/struct-partial-move-2.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-partial-move-2.rs rename to src/test/ui/structs-enums/struct-partial-move-2.rs diff --git a/src/test/run-pass/structs-enums/struct-path-associated-type.rs b/src/test/ui/structs-enums/struct-path-associated-type.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-path-associated-type.rs rename to src/test/ui/structs-enums/struct-path-associated-type.rs diff --git a/src/test/run-pass/structs-enums/struct-path-self.rs b/src/test/ui/structs-enums/struct-path-self.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-path-self.rs rename to src/test/ui/structs-enums/struct-path-self.rs diff --git a/src/test/run-pass/structs-enums/struct-pattern-matching.rs b/src/test/ui/structs-enums/struct-pattern-matching.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-pattern-matching.rs rename to src/test/ui/structs-enums/struct-pattern-matching.rs diff --git a/src/test/run-pass/structs-enums/struct-return.rs b/src/test/ui/structs-enums/struct-return.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-return.rs rename to src/test/ui/structs-enums/struct-return.rs diff --git a/src/test/run-pass/structs-enums/struct-variant-field-visibility.rs b/src/test/ui/structs-enums/struct-variant-field-visibility.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct-variant-field-visibility.rs rename to src/test/ui/structs-enums/struct-variant-field-visibility.rs diff --git a/src/test/run-pass/structs-enums/struct_variant_xc.rs b/src/test/ui/structs-enums/struct_variant_xc.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct_variant_xc.rs rename to src/test/ui/structs-enums/struct_variant_xc.rs diff --git a/src/test/run-pass/structs-enums/struct_variant_xc_match.rs b/src/test/ui/structs-enums/struct_variant_xc_match.rs similarity index 100% rename from src/test/run-pass/structs-enums/struct_variant_xc_match.rs rename to src/test/ui/structs-enums/struct_variant_xc_match.rs diff --git a/src/test/run-pass/structs-enums/tag-align-dyn-u64.rs b/src/test/ui/structs-enums/tag-align-dyn-u64.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-align-dyn-u64.rs rename to src/test/ui/structs-enums/tag-align-dyn-u64.rs diff --git a/src/test/run-pass/structs-enums/tag-align-dyn-variants.rs b/src/test/ui/structs-enums/tag-align-dyn-variants.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-align-dyn-variants.rs rename to src/test/ui/structs-enums/tag-align-dyn-variants.rs diff --git a/src/test/run-pass/structs-enums/tag-align-shape.rs b/src/test/ui/structs-enums/tag-align-shape.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-align-shape.rs rename to src/test/ui/structs-enums/tag-align-shape.rs diff --git a/src/test/run-pass/structs-enums/tag-align-u64.rs b/src/test/ui/structs-enums/tag-align-u64.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-align-u64.rs rename to src/test/ui/structs-enums/tag-align-u64.rs diff --git a/src/test/run-pass/structs-enums/tag-disr-val-shape.rs b/src/test/ui/structs-enums/tag-disr-val-shape.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-disr-val-shape.rs rename to src/test/ui/structs-enums/tag-disr-val-shape.rs diff --git a/src/test/run-pass/structs-enums/tag-exports.rs b/src/test/ui/structs-enums/tag-exports.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-exports.rs rename to src/test/ui/structs-enums/tag-exports.rs diff --git a/src/test/run-pass/structs-enums/tag-in-block.rs b/src/test/ui/structs-enums/tag-in-block.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-in-block.rs rename to src/test/ui/structs-enums/tag-in-block.rs diff --git a/src/test/run-pass/structs-enums/tag-variant-disr-type-mismatch.rs b/src/test/ui/structs-enums/tag-variant-disr-type-mismatch.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-variant-disr-type-mismatch.rs rename to src/test/ui/structs-enums/tag-variant-disr-type-mismatch.rs diff --git a/src/test/run-pass/structs-enums/tag-variant-disr-val.rs b/src/test/ui/structs-enums/tag-variant-disr-val.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag-variant-disr-val.rs rename to src/test/ui/structs-enums/tag-variant-disr-val.rs diff --git a/src/test/run-pass/structs-enums/tag.rs b/src/test/ui/structs-enums/tag.rs similarity index 100% rename from src/test/run-pass/structs-enums/tag.rs rename to src/test/ui/structs-enums/tag.rs diff --git a/src/test/run-pass/structs-enums/tuple-struct-construct.rs b/src/test/ui/structs-enums/tuple-struct-construct.rs similarity index 100% rename from src/test/run-pass/structs-enums/tuple-struct-construct.rs rename to src/test/ui/structs-enums/tuple-struct-construct.rs diff --git a/src/test/run-pass/structs-enums/tuple-struct-constructor-pointer.rs b/src/test/ui/structs-enums/tuple-struct-constructor-pointer.rs similarity index 100% rename from src/test/run-pass/structs-enums/tuple-struct-constructor-pointer.rs rename to src/test/ui/structs-enums/tuple-struct-constructor-pointer.rs diff --git a/src/test/run-pass/structs-enums/tuple-struct-destructuring.rs b/src/test/ui/structs-enums/tuple-struct-destructuring.rs similarity index 100% rename from src/test/run-pass/structs-enums/tuple-struct-destructuring.rs rename to src/test/ui/structs-enums/tuple-struct-destructuring.rs diff --git a/src/test/run-pass/structs-enums/tuple-struct-matching.rs b/src/test/ui/structs-enums/tuple-struct-matching.rs similarity index 100% rename from src/test/run-pass/structs-enums/tuple-struct-matching.rs rename to src/test/ui/structs-enums/tuple-struct-matching.rs diff --git a/src/test/run-pass/structs-enums/tuple-struct-trivial.rs b/src/test/ui/structs-enums/tuple-struct-trivial.rs similarity index 100% rename from src/test/run-pass/structs-enums/tuple-struct-trivial.rs rename to src/test/ui/structs-enums/tuple-struct-trivial.rs diff --git a/src/test/run-pass/structs-enums/uninstantiable-struct.rs b/src/test/ui/structs-enums/uninstantiable-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/uninstantiable-struct.rs rename to src/test/ui/structs-enums/uninstantiable-struct.rs diff --git a/src/test/run-pass/structs-enums/unit-like-struct-drop-run.rs b/src/test/ui/structs-enums/unit-like-struct-drop-run.rs similarity index 100% rename from src/test/run-pass/structs-enums/unit-like-struct-drop-run.rs rename to src/test/ui/structs-enums/unit-like-struct-drop-run.rs diff --git a/src/test/run-pass/structs-enums/unit-like-struct.rs b/src/test/ui/structs-enums/unit-like-struct.rs similarity index 100% rename from src/test/run-pass/structs-enums/unit-like-struct.rs rename to src/test/ui/structs-enums/unit-like-struct.rs diff --git a/src/test/run-pass/structs-enums/variant-structs-trivial.rs b/src/test/ui/structs-enums/variant-structs-trivial.rs similarity index 100% rename from src/test/run-pass/structs-enums/variant-structs-trivial.rs rename to src/test/ui/structs-enums/variant-structs-trivial.rs diff --git a/src/test/run-pass/structured-compare.rs b/src/test/ui/structured-compare.rs similarity index 100% rename from src/test/run-pass/structured-compare.rs rename to src/test/ui/structured-compare.rs diff --git a/src/test/run-pass/super-fast-paren-parsing.rs b/src/test/ui/super-fast-paren-parsing.rs similarity index 100% rename from src/test/run-pass/super-fast-paren-parsing.rs rename to src/test/ui/super-fast-paren-parsing.rs diff --git a/src/test/run-pass/super.rs b/src/test/ui/super.rs similarity index 100% rename from src/test/run-pass/super.rs rename to src/test/ui/super.rs diff --git a/src/test/run-pass/supported-cast.rs b/src/test/ui/supported-cast.rs similarity index 100% rename from src/test/run-pass/supported-cast.rs rename to src/test/ui/supported-cast.rs diff --git a/src/test/run-pass/svh-add-nothing.rs b/src/test/ui/svh-add-nothing.rs similarity index 100% rename from src/test/run-pass/svh-add-nothing.rs rename to src/test/ui/svh-add-nothing.rs diff --git a/src/test/run-pass/swap-1.rs b/src/test/ui/swap-1.rs similarity index 100% rename from src/test/run-pass/swap-1.rs rename to src/test/ui/swap-1.rs diff --git a/src/test/run-pass/swap-2.rs b/src/test/ui/swap-2.rs similarity index 100% rename from src/test/run-pass/swap-2.rs rename to src/test/ui/swap-2.rs diff --git a/src/test/run-pass/swap-overlapping.rs b/src/test/ui/swap-overlapping.rs similarity index 100% rename from src/test/run-pass/swap-overlapping.rs rename to src/test/ui/swap-overlapping.rs diff --git a/src/test/run-pass/tail-call-arg-leak.rs b/src/test/ui/tail-call-arg-leak.rs similarity index 100% rename from src/test/run-pass/tail-call-arg-leak.rs rename to src/test/ui/tail-call-arg-leak.rs diff --git a/src/test/run-pass/tail-cps.rs b/src/test/ui/tail-cps.rs similarity index 100% rename from src/test/run-pass/tail-cps.rs rename to src/test/ui/tail-cps.rs diff --git a/src/test/run-pass/tail-direct.rs b/src/test/ui/tail-direct.rs similarity index 100% rename from src/test/run-pass/tail-direct.rs rename to src/test/ui/tail-direct.rs diff --git a/src/test/run-pass/tcp-stress.rs b/src/test/ui/tcp-stress.rs similarity index 100% rename from src/test/run-pass/tcp-stress.rs rename to src/test/ui/tcp-stress.rs diff --git a/src/test/run-pass/terminate-in-initializer.rs b/src/test/ui/terminate-in-initializer.rs similarity index 100% rename from src/test/run-pass/terminate-in-initializer.rs rename to src/test/ui/terminate-in-initializer.rs diff --git a/src/test/run-pass/test-allow-dead-extern-static-no-warning.rs b/src/test/ui/test-allow-dead-extern-static-no-warning.rs similarity index 100% rename from src/test/run-pass/test-allow-dead-extern-static-no-warning.rs rename to src/test/ui/test-allow-dead-extern-static-no-warning.rs diff --git a/src/test/run-pass/test-allow-fail-attr.rs b/src/test/ui/test-allow-fail-attr.rs similarity index 100% rename from src/test/run-pass/test-allow-fail-attr.rs rename to src/test/ui/test-allow-fail-attr.rs diff --git a/src/test/run-pass/test-fn-signature-verification-for-explicit-return-type.rs b/src/test/ui/test-fn-signature-verification-for-explicit-return-type.rs similarity index 100% rename from src/test/run-pass/test-fn-signature-verification-for-explicit-return-type.rs rename to src/test/ui/test-fn-signature-verification-for-explicit-return-type.rs diff --git a/src/test/run-pass/test-main-not-dead-attr.rs b/src/test/ui/test-main-not-dead-attr.rs similarity index 100% rename from src/test/run-pass/test-main-not-dead-attr.rs rename to src/test/ui/test-main-not-dead-attr.rs diff --git a/src/test/run-pass/test-main-not-dead.rs b/src/test/ui/test-main-not-dead.rs similarity index 100% rename from src/test/run-pass/test-main-not-dead.rs rename to src/test/ui/test-main-not-dead.rs diff --git a/src/test/run-pass/test-runner-hides-buried-main.rs b/src/test/ui/test-runner-hides-buried-main.rs similarity index 100% rename from src/test/run-pass/test-runner-hides-buried-main.rs rename to src/test/ui/test-runner-hides-buried-main.rs diff --git a/src/test/run-pass/test-runner-hides-main.rs b/src/test/ui/test-runner-hides-main.rs similarity index 100% rename from src/test/run-pass/test-runner-hides-main.rs rename to src/test/ui/test-runner-hides-main.rs diff --git a/src/test/run-pass/test-runner-hides-start.rs b/src/test/ui/test-runner-hides-start.rs similarity index 100% rename from src/test/run-pass/test-runner-hides-start.rs rename to src/test/ui/test-runner-hides-start.rs diff --git a/src/test/run-pass/test-should-fail-good-message.rs b/src/test/ui/test-should-fail-good-message.rs similarity index 100% rename from src/test/run-pass/test-should-fail-good-message.rs rename to src/test/ui/test-should-fail-good-message.rs diff --git a/src/test/run-pass/test-vs-cfg-test.rs b/src/test/ui/test-vs-cfg-test.rs similarity index 100% rename from src/test/run-pass/test-vs-cfg-test.rs rename to src/test/ui/test-vs-cfg-test.rs diff --git a/src/test/run-pass/thin-lto-global-allocator.rs b/src/test/ui/thin-lto-global-allocator.rs similarity index 100% rename from src/test/run-pass/thin-lto-global-allocator.rs rename to src/test/ui/thin-lto-global-allocator.rs diff --git a/src/test/run-pass/thinlto/all-crates.rs b/src/test/ui/thinlto/all-crates.rs similarity index 100% rename from src/test/run-pass/thinlto/all-crates.rs rename to src/test/ui/thinlto/all-crates.rs diff --git a/src/test/run-pass/thinlto/auxiliary/dylib.rs b/src/test/ui/thinlto/auxiliary/dylib.rs similarity index 100% rename from src/test/run-pass/thinlto/auxiliary/dylib.rs rename to src/test/ui/thinlto/auxiliary/dylib.rs diff --git a/src/test/run-pass/thinlto/auxiliary/msvc-imp-present.rs b/src/test/ui/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/thinlto/auxiliary/msvc-imp-present.rs diff --git a/src/test/run-pass/thinlto/auxiliary/thin-lto-inlines-aux.rs b/src/test/ui/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/thinlto/auxiliary/thin-lto-inlines-aux.rs diff --git a/src/test/run-pass/thinlto/dylib-works.rs b/src/test/ui/thinlto/dylib-works.rs similarity index 100% rename from src/test/run-pass/thinlto/dylib-works.rs rename to src/test/ui/thinlto/dylib-works.rs diff --git a/src/test/run-pass/thinlto/msvc-imp-present.rs b/src/test/ui/thinlto/msvc-imp-present.rs similarity index 100% rename from src/test/run-pass/thinlto/msvc-imp-present.rs rename to src/test/ui/thinlto/msvc-imp-present.rs diff --git a/src/test/run-pass/thinlto/thin-lto-inlines.rs b/src/test/ui/thinlto/thin-lto-inlines.rs similarity index 100% rename from src/test/run-pass/thinlto/thin-lto-inlines.rs rename to src/test/ui/thinlto/thin-lto-inlines.rs diff --git a/src/test/run-pass/thinlto/thin-lto-inlines2.rs b/src/test/ui/thinlto/thin-lto-inlines2.rs similarity index 100% rename from src/test/run-pass/thinlto/thin-lto-inlines2.rs rename to src/test/ui/thinlto/thin-lto-inlines2.rs diff --git a/src/test/run-pass/thinlto/weak-works.rs b/src/test/ui/thinlto/weak-works.rs similarity index 100% rename from src/test/run-pass/thinlto/weak-works.rs rename to src/test/ui/thinlto/weak-works.rs diff --git a/src/test/run-pass/thread-local-not-in-prelude.rs b/src/test/ui/thread-local-not-in-prelude.rs similarity index 100% rename from src/test/run-pass/thread-local-not-in-prelude.rs rename to src/test/ui/thread-local-not-in-prelude.rs diff --git a/src/test/run-pass/threads-sendsync/auxiliary/thread-local-extern-static.rs b/src/test/ui/threads-sendsync/auxiliary/thread-local-extern-static.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/auxiliary/thread-local-extern-static.rs rename to src/test/ui/threads-sendsync/auxiliary/thread-local-extern-static.rs diff --git a/src/test/run-pass/threads-sendsync/comm.rs b/src/test/ui/threads-sendsync/comm.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/comm.rs rename to src/test/ui/threads-sendsync/comm.rs diff --git a/src/test/run-pass/threads-sendsync/send-is-not-static-par-for.rs b/src/test/ui/threads-sendsync/send-is-not-static-par-for.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/send-is-not-static-par-for.rs rename to src/test/ui/threads-sendsync/send-is-not-static-par-for.rs diff --git a/src/test/run-pass/threads-sendsync/send-resource.rs b/src/test/ui/threads-sendsync/send-resource.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/send-resource.rs rename to src/test/ui/threads-sendsync/send-resource.rs diff --git a/src/test/run-pass/threads-sendsync/send-type-inference.rs b/src/test/ui/threads-sendsync/send-type-inference.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/send-type-inference.rs rename to src/test/ui/threads-sendsync/send-type-inference.rs diff --git a/src/test/run-pass/threads-sendsync/send_str_hashmap.rs b/src/test/ui/threads-sendsync/send_str_hashmap.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/send_str_hashmap.rs rename to src/test/ui/threads-sendsync/send_str_hashmap.rs diff --git a/src/test/run-pass/threads-sendsync/send_str_treemap.rs b/src/test/ui/threads-sendsync/send_str_treemap.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/send_str_treemap.rs rename to src/test/ui/threads-sendsync/send_str_treemap.rs diff --git a/src/test/run-pass/threads-sendsync/sendable-class.rs b/src/test/ui/threads-sendsync/sendable-class.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sendable-class.rs rename to src/test/ui/threads-sendsync/sendable-class.rs diff --git a/src/test/run-pass/threads-sendsync/sendfn-is-a-block.rs b/src/test/ui/threads-sendsync/sendfn-is-a-block.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sendfn-is-a-block.rs rename to src/test/ui/threads-sendsync/sendfn-is-a-block.rs diff --git a/src/test/run-pass/threads-sendsync/sendfn-spawn-with-fn-arg.rs b/src/test/ui/threads-sendsync/sendfn-spawn-with-fn-arg.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sendfn-spawn-with-fn-arg.rs rename to src/test/ui/threads-sendsync/sendfn-spawn-with-fn-arg.rs diff --git a/src/test/run-pass/threads-sendsync/spawn-fn.rs b/src/test/ui/threads-sendsync/spawn-fn.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/spawn-fn.rs rename to src/test/ui/threads-sendsync/spawn-fn.rs diff --git a/src/test/run-pass/threads-sendsync/spawn-types.rs b/src/test/ui/threads-sendsync/spawn-types.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/spawn-types.rs rename to src/test/ui/threads-sendsync/spawn-types.rs diff --git a/src/test/run-pass/threads-sendsync/spawn.rs b/src/test/ui/threads-sendsync/spawn.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/spawn.rs rename to src/test/ui/threads-sendsync/spawn.rs diff --git a/src/test/run-pass/threads-sendsync/spawn2.rs b/src/test/ui/threads-sendsync/spawn2.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/spawn2.rs rename to src/test/ui/threads-sendsync/spawn2.rs diff --git a/src/test/run-pass/threads-sendsync/spawning-with-debug.rs b/src/test/ui/threads-sendsync/spawning-with-debug.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/spawning-with-debug.rs rename to src/test/ui/threads-sendsync/spawning-with-debug.rs diff --git a/src/test/run-pass/threads-sendsync/std-sync-right-kind-impls.rs b/src/test/ui/threads-sendsync/std-sync-right-kind-impls.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/std-sync-right-kind-impls.rs rename to src/test/ui/threads-sendsync/std-sync-right-kind-impls.rs diff --git a/src/test/run-pass/threads-sendsync/sync-send-atomics.rs b/src/test/ui/threads-sendsync/sync-send-atomics.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sync-send-atomics.rs rename to src/test/ui/threads-sendsync/sync-send-atomics.rs diff --git a/src/test/run-pass/threads-sendsync/sync-send-in-std.rs b/src/test/ui/threads-sendsync/sync-send-in-std.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sync-send-in-std.rs rename to src/test/ui/threads-sendsync/sync-send-in-std.rs diff --git a/src/test/run-pass/threads-sendsync/sync-send-iterators-in-libcollections.rs b/src/test/ui/threads-sendsync/sync-send-iterators-in-libcollections.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sync-send-iterators-in-libcollections.rs rename to src/test/ui/threads-sendsync/sync-send-iterators-in-libcollections.rs diff --git a/src/test/run-pass/threads-sendsync/sync-send-iterators-in-libcore.rs b/src/test/ui/threads-sendsync/sync-send-iterators-in-libcore.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/sync-send-iterators-in-libcore.rs rename to src/test/ui/threads-sendsync/sync-send-iterators-in-libcore.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-0.rs b/src/test/ui/threads-sendsync/task-comm-0.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-0.rs rename to src/test/ui/threads-sendsync/task-comm-0.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-1.rs b/src/test/ui/threads-sendsync/task-comm-1.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-1.rs rename to src/test/ui/threads-sendsync/task-comm-1.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-10.rs b/src/test/ui/threads-sendsync/task-comm-10.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-10.rs rename to src/test/ui/threads-sendsync/task-comm-10.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-11.rs b/src/test/ui/threads-sendsync/task-comm-11.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-11.rs rename to src/test/ui/threads-sendsync/task-comm-11.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-12.rs b/src/test/ui/threads-sendsync/task-comm-12.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-12.rs rename to src/test/ui/threads-sendsync/task-comm-12.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-13.rs b/src/test/ui/threads-sendsync/task-comm-13.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-13.rs rename to src/test/ui/threads-sendsync/task-comm-13.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-14.rs b/src/test/ui/threads-sendsync/task-comm-14.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-14.rs rename to src/test/ui/threads-sendsync/task-comm-14.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-15.rs b/src/test/ui/threads-sendsync/task-comm-15.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-15.rs rename to src/test/ui/threads-sendsync/task-comm-15.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-16.rs b/src/test/ui/threads-sendsync/task-comm-16.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-16.rs rename to src/test/ui/threads-sendsync/task-comm-16.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-17.rs b/src/test/ui/threads-sendsync/task-comm-17.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-17.rs rename to src/test/ui/threads-sendsync/task-comm-17.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-3.rs b/src/test/ui/threads-sendsync/task-comm-3.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-3.rs rename to src/test/ui/threads-sendsync/task-comm-3.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-4.rs b/src/test/ui/threads-sendsync/task-comm-4.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-4.rs rename to src/test/ui/threads-sendsync/task-comm-4.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-5.rs b/src/test/ui/threads-sendsync/task-comm-5.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-5.rs rename to src/test/ui/threads-sendsync/task-comm-5.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-6.rs b/src/test/ui/threads-sendsync/task-comm-6.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-6.rs rename to src/test/ui/threads-sendsync/task-comm-6.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-7.rs b/src/test/ui/threads-sendsync/task-comm-7.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-7.rs rename to src/test/ui/threads-sendsync/task-comm-7.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-9.rs b/src/test/ui/threads-sendsync/task-comm-9.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-9.rs rename to src/test/ui/threads-sendsync/task-comm-9.rs diff --git a/src/test/run-pass/threads-sendsync/task-comm-chan-nil.rs b/src/test/ui/threads-sendsync/task-comm-chan-nil.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-comm-chan-nil.rs rename to src/test/ui/threads-sendsync/task-comm-chan-nil.rs diff --git a/src/test/run-pass/threads-sendsync/task-life-0.rs b/src/test/ui/threads-sendsync/task-life-0.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-life-0.rs rename to src/test/ui/threads-sendsync/task-life-0.rs diff --git a/src/test/run-pass/threads-sendsync/task-spawn-move-and-copy.rs b/src/test/ui/threads-sendsync/task-spawn-move-and-copy.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-spawn-move-and-copy.rs rename to src/test/ui/threads-sendsync/task-spawn-move-and-copy.rs diff --git a/src/test/run-pass/threads-sendsync/task-stderr.rs b/src/test/ui/threads-sendsync/task-stderr.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/task-stderr.rs rename to src/test/ui/threads-sendsync/task-stderr.rs diff --git a/src/test/run-pass/threads-sendsync/thread-local-extern-static.rs b/src/test/ui/threads-sendsync/thread-local-extern-static.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/thread-local-extern-static.rs rename to src/test/ui/threads-sendsync/thread-local-extern-static.rs diff --git a/src/test/run-pass/threads-sendsync/thread-local-syntax.rs b/src/test/ui/threads-sendsync/thread-local-syntax.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/thread-local-syntax.rs rename to src/test/ui/threads-sendsync/thread-local-syntax.rs diff --git a/src/test/run-pass/threads-sendsync/threads.rs b/src/test/ui/threads-sendsync/threads.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/threads.rs rename to src/test/ui/threads-sendsync/threads.rs diff --git a/src/test/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs b/src/test/ui/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs rename to src/test/ui/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs diff --git a/src/test/run-pass/threads-sendsync/tls-init-on-init.rs b/src/test/ui/threads-sendsync/tls-init-on-init.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/tls-init-on-init.rs rename to src/test/ui/threads-sendsync/tls-init-on-init.rs diff --git a/src/test/run-pass/threads-sendsync/tls-try-with.rs b/src/test/ui/threads-sendsync/tls-try-with.rs similarity index 100% rename from src/test/run-pass/threads-sendsync/tls-try-with.rs rename to src/test/ui/threads-sendsync/tls-try-with.rs diff --git a/src/test/run-pass/tool_attributes.rs b/src/test/ui/tool_attributes.rs similarity index 100% rename from src/test/run-pass/tool_attributes.rs rename to src/test/ui/tool_attributes.rs diff --git a/src/test/run-pass/tool_lints_2018_preview.rs b/src/test/ui/tool_lints_2018_preview.rs similarity index 100% rename from src/test/run-pass/tool_lints_2018_preview.rs rename to src/test/ui/tool_lints_2018_preview.rs diff --git a/src/test/run-pass/trailing-comma.rs b/src/test/ui/trailing-comma.rs similarity index 100% rename from src/test/run-pass/trailing-comma.rs rename to src/test/ui/trailing-comma.rs diff --git a/src/test/run-pass/traits/anon-trait-static-method.rs b/src/test/ui/traits/anon-trait-static-method.rs similarity index 100% rename from src/test/run-pass/traits/anon-trait-static-method.rs rename to src/test/ui/traits/anon-trait-static-method.rs diff --git a/src/test/run-pass/traits/anon_trait_static_method_exe.rs b/src/test/ui/traits/anon_trait_static_method_exe.rs similarity index 100% rename from src/test/run-pass/traits/anon_trait_static_method_exe.rs rename to src/test/ui/traits/anon_trait_static_method_exe.rs diff --git a/src/test/run-pass/traits/assignability-trait.rs b/src/test/ui/traits/assignability-trait.rs similarity index 100% rename from src/test/run-pass/traits/assignability-trait.rs rename to src/test/ui/traits/assignability-trait.rs diff --git a/src/test/run-pass/traits/astconv-cycle-between-trait-and-type.rs b/src/test/ui/traits/astconv-cycle-between-trait-and-type.rs similarity index 100% rename from src/test/run-pass/traits/astconv-cycle-between-trait-and-type.rs rename to src/test/ui/traits/astconv-cycle-between-trait-and-type.rs diff --git a/src/test/run-pass/traits/augmented-assignments-trait.rs b/src/test/ui/traits/augmented-assignments-trait.rs similarity index 100% rename from src/test/run-pass/traits/augmented-assignments-trait.rs rename to src/test/ui/traits/augmented-assignments-trait.rs diff --git a/src/test/run-pass/traits/auto-traits.rs b/src/test/ui/traits/auto-traits.rs similarity index 100% rename from src/test/run-pass/traits/auto-traits.rs rename to src/test/ui/traits/auto-traits.rs diff --git a/src/test/run-pass/traits/auxiliary/anon_trait_static_method_lib.rs b/src/test/ui/traits/auxiliary/anon_trait_static_method_lib.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/anon_trait_static_method_lib.rs rename to src/test/ui/traits/auxiliary/anon_trait_static_method_lib.rs diff --git a/src/test/run-pass/traits/auxiliary/go_trait.rs b/src/test/ui/traits/auxiliary/go_trait.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/go_trait.rs rename to src/test/ui/traits/auxiliary/go_trait.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_alias.rs b/src/test/ui/traits/auxiliary/trait_alias.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_alias.rs rename to src/test/ui/traits/auxiliary/trait_alias.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_default_method_xc_aux.rs b/src/test/ui/traits/auxiliary/trait_default_method_xc_aux.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_default_method_xc_aux.rs rename to src/test/ui/traits/auxiliary/trait_default_method_xc_aux.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_default_method_xc_aux_2.rs b/src/test/ui/traits/auxiliary/trait_default_method_xc_aux_2.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_default_method_xc_aux_2.rs rename to src/test/ui/traits/auxiliary/trait_default_method_xc_aux_2.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_inheritance_auto_xc_2_aux.rs b/src/test/ui/traits/auxiliary/trait_inheritance_auto_xc_2_aux.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_inheritance_auto_xc_2_aux.rs rename to src/test/ui/traits/auxiliary/trait_inheritance_auto_xc_2_aux.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_inheritance_auto_xc_aux.rs b/src/test/ui/traits/auxiliary/trait_inheritance_auto_xc_aux.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_inheritance_auto_xc_aux.rs rename to src/test/ui/traits/auxiliary/trait_inheritance_auto_xc_aux.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_inheritance_overloading_xc.rs b/src/test/ui/traits/auxiliary/trait_inheritance_overloading_xc.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_inheritance_overloading_xc.rs rename to src/test/ui/traits/auxiliary/trait_inheritance_overloading_xc.rs diff --git a/src/test/run-pass/traits/auxiliary/trait_xc_call_aux.rs b/src/test/ui/traits/auxiliary/trait_xc_call_aux.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/trait_xc_call_aux.rs rename to src/test/ui/traits/auxiliary/trait_xc_call_aux.rs diff --git a/src/test/run-pass/traits/auxiliary/traitimpl.rs b/src/test/ui/traits/auxiliary/traitimpl.rs similarity index 100% rename from src/test/run-pass/traits/auxiliary/traitimpl.rs rename to src/test/ui/traits/auxiliary/traitimpl.rs diff --git a/src/test/run-pass/traits/cycle-trait-type-trait.rs b/src/test/ui/traits/cycle-trait-type-trait.rs similarity index 100% rename from src/test/run-pass/traits/cycle-trait-type-trait.rs rename to src/test/ui/traits/cycle-trait-type-trait.rs diff --git a/src/test/run-pass/traits/default-method-supertrait-vtable.rs b/src/test/ui/traits/default-method-supertrait-vtable.rs similarity index 100% rename from src/test/run-pass/traits/default-method-supertrait-vtable.rs rename to src/test/ui/traits/default-method-supertrait-vtable.rs diff --git a/src/test/run-pass/traits/dyn-trait.rs b/src/test/ui/traits/dyn-trait.rs similarity index 100% rename from src/test/run-pass/traits/dyn-trait.rs rename to src/test/ui/traits/dyn-trait.rs diff --git a/src/test/run-pass/traits/fmt-pointer-trait.rs b/src/test/ui/traits/fmt-pointer-trait.rs similarity index 100% rename from src/test/run-pass/traits/fmt-pointer-trait.rs rename to src/test/ui/traits/fmt-pointer-trait.rs diff --git a/src/test/run-pass/traits/impl-implicit-trait.rs b/src/test/ui/traits/impl-implicit-trait.rs similarity index 100% rename from src/test/run-pass/traits/impl-implicit-trait.rs rename to src/test/ui/traits/impl-implicit-trait.rs diff --git a/src/test/run-pass/traits/impl-inherent-prefer-over-trait.rs b/src/test/ui/traits/impl-inherent-prefer-over-trait.rs similarity index 100% rename from src/test/run-pass/traits/impl-inherent-prefer-over-trait.rs rename to src/test/ui/traits/impl-inherent-prefer-over-trait.rs diff --git a/src/test/run-pass/traits/infer-from-object-trait-issue-26952.rs b/src/test/ui/traits/infer-from-object-trait-issue-26952.rs similarity index 100% rename from src/test/run-pass/traits/infer-from-object-trait-issue-26952.rs rename to src/test/ui/traits/infer-from-object-trait-issue-26952.rs diff --git a/src/test/run-pass/traits/inherent-trait-method-order.rs b/src/test/ui/traits/inherent-trait-method-order.rs similarity index 100% rename from src/test/run-pass/traits/inherent-trait-method-order.rs rename to src/test/ui/traits/inherent-trait-method-order.rs diff --git a/src/test/run-pass/traits/kindck-owned-trait-contains-1.rs b/src/test/ui/traits/kindck-owned-trait-contains-1.rs similarity index 100% rename from src/test/run-pass/traits/kindck-owned-trait-contains-1.rs rename to src/test/ui/traits/kindck-owned-trait-contains-1.rs diff --git a/src/test/run-pass/traits/multiple-trait-bounds.rs b/src/test/ui/traits/multiple-trait-bounds.rs similarity index 100% rename from src/test/run-pass/traits/multiple-trait-bounds.rs rename to src/test/ui/traits/multiple-trait-bounds.rs diff --git a/src/test/run-pass/traits/object-one-type-two-traits.rs b/src/test/ui/traits/object-one-type-two-traits.rs similarity index 100% rename from src/test/run-pass/traits/object-one-type-two-traits.rs rename to src/test/ui/traits/object-one-type-two-traits.rs diff --git a/src/test/run-pass/traits/overlap-permitted-for-marker-traits-neg.rs b/src/test/ui/traits/overlap-permitted-for-marker-traits-neg.rs similarity index 100% rename from src/test/run-pass/traits/overlap-permitted-for-marker-traits-neg.rs rename to src/test/ui/traits/overlap-permitted-for-marker-traits-neg.rs diff --git a/src/test/run-pass/traits/overlap-permitted-for-marker-traits.rs b/src/test/ui/traits/overlap-permitted-for-marker-traits.rs similarity index 100% rename from src/test/run-pass/traits/overlap-permitted-for-marker-traits.rs rename to src/test/ui/traits/overlap-permitted-for-marker-traits.rs diff --git a/src/test/run-pass/traits/parameterized-trait-with-bounds.rs b/src/test/ui/traits/parameterized-trait-with-bounds.rs similarity index 100% rename from src/test/run-pass/traits/parameterized-trait-with-bounds.rs rename to src/test/ui/traits/parameterized-trait-with-bounds.rs diff --git a/src/test/run-pass/traits/principal-less-trait-objects.rs b/src/test/ui/traits/principal-less-trait-objects.rs similarity index 100% rename from src/test/run-pass/traits/principal-less-trait-objects.rs rename to src/test/ui/traits/principal-less-trait-objects.rs diff --git a/src/test/run-pass/traits/supertrait-default-generics.rs b/src/test/ui/traits/supertrait-default-generics.rs similarity index 100% rename from src/test/run-pass/traits/supertrait-default-generics.rs rename to src/test/ui/traits/supertrait-default-generics.rs diff --git a/src/test/run-pass/traits/syntax-trait-polarity.rs b/src/test/ui/traits/syntax-trait-polarity.rs similarity index 100% rename from src/test/run-pass/traits/syntax-trait-polarity.rs rename to src/test/ui/traits/syntax-trait-polarity.rs diff --git a/src/test/run-pass/traits/trait-alias-import-cross-crate.rs b/src/test/ui/traits/trait-alias-import-cross-crate.rs similarity index 100% rename from src/test/run-pass/traits/trait-alias-import-cross-crate.rs rename to src/test/ui/traits/trait-alias-import-cross-crate.rs diff --git a/src/test/run-pass/traits/trait-alias-import.rs b/src/test/ui/traits/trait-alias-import.rs similarity index 100% rename from src/test/run-pass/traits/trait-alias-import.rs rename to src/test/ui/traits/trait-alias-import.rs diff --git a/src/test/run-pass/traits/trait-bounds-basic.rs b/src/test/ui/traits/trait-bounds-basic.rs similarity index 100% rename from src/test/run-pass/traits/trait-bounds-basic.rs rename to src/test/ui/traits/trait-bounds-basic.rs diff --git a/src/test/run-pass/traits/trait-bounds-impl-comparison-duplicates.rs b/src/test/ui/traits/trait-bounds-impl-comparison-duplicates.rs similarity index 100% rename from src/test/run-pass/traits/trait-bounds-impl-comparison-duplicates.rs rename to src/test/ui/traits/trait-bounds-impl-comparison-duplicates.rs diff --git a/src/test/run-pass/traits/trait-bounds-in-arc.rs b/src/test/ui/traits/trait-bounds-in-arc.rs similarity index 100% rename from src/test/run-pass/traits/trait-bounds-in-arc.rs rename to src/test/ui/traits/trait-bounds-in-arc.rs diff --git a/src/test/run-pass/traits/trait-bounds-recursion.rs b/src/test/ui/traits/trait-bounds-recursion.rs similarity index 100% rename from src/test/run-pass/traits/trait-bounds-recursion.rs rename to src/test/ui/traits/trait-bounds-recursion.rs diff --git a/src/test/run-pass/traits/trait-bounds.rs b/src/test/ui/traits/trait-bounds.rs similarity index 100% rename from src/test/run-pass/traits/trait-bounds.rs rename to src/test/ui/traits/trait-bounds.rs diff --git a/src/test/run-pass/traits/trait-cache-issue-18209.rs b/src/test/ui/traits/trait-cache-issue-18209.rs similarity index 100% rename from src/test/run-pass/traits/trait-cache-issue-18209.rs rename to src/test/ui/traits/trait-cache-issue-18209.rs diff --git a/src/test/run-pass/traits/trait-coercion-generic.rs b/src/test/ui/traits/trait-coercion-generic.rs similarity index 100% rename from src/test/run-pass/traits/trait-coercion-generic.rs rename to src/test/ui/traits/trait-coercion-generic.rs diff --git a/src/test/run-pass/traits/trait-coercion.rs b/src/test/ui/traits/trait-coercion.rs similarity index 100% rename from src/test/run-pass/traits/trait-coercion.rs rename to src/test/ui/traits/trait-coercion.rs diff --git a/src/test/run-pass/traits/trait-composition-trivial.rs b/src/test/ui/traits/trait-composition-trivial.rs similarity index 100% rename from src/test/run-pass/traits/trait-composition-trivial.rs rename to src/test/ui/traits/trait-composition-trivial.rs diff --git a/src/test/run-pass/traits/trait-copy-guessing.rs b/src/test/ui/traits/trait-copy-guessing.rs similarity index 100% rename from src/test/run-pass/traits/trait-copy-guessing.rs rename to src/test/ui/traits/trait-copy-guessing.rs diff --git a/src/test/run-pass/traits/trait-default-method-bound-subst.rs b/src/test/ui/traits/trait-default-method-bound-subst.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-bound-subst.rs rename to src/test/ui/traits/trait-default-method-bound-subst.rs diff --git a/src/test/run-pass/traits/trait-default-method-bound-subst2.rs b/src/test/ui/traits/trait-default-method-bound-subst2.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-bound-subst2.rs rename to src/test/ui/traits/trait-default-method-bound-subst2.rs diff --git a/src/test/run-pass/traits/trait-default-method-bound-subst3.rs b/src/test/ui/traits/trait-default-method-bound-subst3.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-bound-subst3.rs rename to src/test/ui/traits/trait-default-method-bound-subst3.rs diff --git a/src/test/run-pass/traits/trait-default-method-bound-subst4.rs b/src/test/ui/traits/trait-default-method-bound-subst4.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-bound-subst4.rs rename to src/test/ui/traits/trait-default-method-bound-subst4.rs diff --git a/src/test/run-pass/traits/trait-default-method-bound.rs b/src/test/ui/traits/trait-default-method-bound.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-bound.rs rename to src/test/ui/traits/trait-default-method-bound.rs diff --git a/src/test/run-pass/traits/trait-default-method-xc-2.rs b/src/test/ui/traits/trait-default-method-xc-2.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-xc-2.rs rename to src/test/ui/traits/trait-default-method-xc-2.rs diff --git a/src/test/run-pass/traits/trait-default-method-xc.rs b/src/test/ui/traits/trait-default-method-xc.rs similarity index 100% rename from src/test/run-pass/traits/trait-default-method-xc.rs rename to src/test/ui/traits/trait-default-method-xc.rs diff --git a/src/test/run-pass/traits/trait-false-ambiguity-where-clause-builtin-bound.rs b/src/test/ui/traits/trait-false-ambiguity-where-clause-builtin-bound.rs similarity index 100% rename from src/test/run-pass/traits/trait-false-ambiguity-where-clause-builtin-bound.rs rename to src/test/ui/traits/trait-false-ambiguity-where-clause-builtin-bound.rs diff --git a/src/test/run-pass/traits/trait-generic.rs b/src/test/ui/traits/trait-generic.rs similarity index 100% rename from src/test/run-pass/traits/trait-generic.rs rename to src/test/ui/traits/trait-generic.rs diff --git a/src/test/run-pass/traits/trait-impl-2.rs b/src/test/ui/traits/trait-impl-2.rs similarity index 100% rename from src/test/run-pass/traits/trait-impl-2.rs rename to src/test/ui/traits/trait-impl-2.rs diff --git a/src/test/run-pass/traits/trait-impl.rs b/src/test/ui/traits/trait-impl.rs similarity index 100% rename from src/test/run-pass/traits/trait-impl.rs rename to src/test/ui/traits/trait-impl.rs diff --git a/src/test/run-pass/traits/trait-inheritance-auto-xc-2.rs b/src/test/ui/traits/trait-inheritance-auto-xc-2.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-auto-xc-2.rs rename to src/test/ui/traits/trait-inheritance-auto-xc-2.rs diff --git a/src/test/run-pass/traits/trait-inheritance-auto-xc.rs b/src/test/ui/traits/trait-inheritance-auto-xc.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-auto-xc.rs rename to src/test/ui/traits/trait-inheritance-auto-xc.rs diff --git a/src/test/run-pass/traits/trait-inheritance-auto.rs b/src/test/ui/traits/trait-inheritance-auto.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-auto.rs rename to src/test/ui/traits/trait-inheritance-auto.rs diff --git a/src/test/run-pass/traits/trait-inheritance-call-bound-inherited.rs b/src/test/ui/traits/trait-inheritance-call-bound-inherited.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-call-bound-inherited.rs rename to src/test/ui/traits/trait-inheritance-call-bound-inherited.rs diff --git a/src/test/run-pass/traits/trait-inheritance-call-bound-inherited2.rs b/src/test/ui/traits/trait-inheritance-call-bound-inherited2.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-call-bound-inherited2.rs rename to src/test/ui/traits/trait-inheritance-call-bound-inherited2.rs diff --git a/src/test/run-pass/traits/trait-inheritance-cast-without-call-to-supertrait.rs b/src/test/ui/traits/trait-inheritance-cast-without-call-to-supertrait.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-cast-without-call-to-supertrait.rs rename to src/test/ui/traits/trait-inheritance-cast-without-call-to-supertrait.rs diff --git a/src/test/run-pass/traits/trait-inheritance-cast.rs b/src/test/ui/traits/trait-inheritance-cast.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-cast.rs rename to src/test/ui/traits/trait-inheritance-cast.rs diff --git a/src/test/run-pass/traits/trait-inheritance-cross-trait-call-xc.rs b/src/test/ui/traits/trait-inheritance-cross-trait-call-xc.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-cross-trait-call-xc.rs rename to src/test/ui/traits/trait-inheritance-cross-trait-call-xc.rs diff --git a/src/test/run-pass/traits/trait-inheritance-cross-trait-call.rs b/src/test/ui/traits/trait-inheritance-cross-trait-call.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-cross-trait-call.rs rename to src/test/ui/traits/trait-inheritance-cross-trait-call.rs diff --git a/src/test/run-pass/traits/trait-inheritance-diamond.rs b/src/test/ui/traits/trait-inheritance-diamond.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-diamond.rs rename to src/test/ui/traits/trait-inheritance-diamond.rs diff --git a/src/test/run-pass/traits/trait-inheritance-multiple-inheritors.rs b/src/test/ui/traits/trait-inheritance-multiple-inheritors.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-multiple-inheritors.rs rename to src/test/ui/traits/trait-inheritance-multiple-inheritors.rs diff --git a/src/test/run-pass/traits/trait-inheritance-multiple-params.rs b/src/test/ui/traits/trait-inheritance-multiple-params.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-multiple-params.rs rename to src/test/ui/traits/trait-inheritance-multiple-params.rs diff --git a/src/test/run-pass/traits/trait-inheritance-num.rs b/src/test/ui/traits/trait-inheritance-num.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-num.rs rename to src/test/ui/traits/trait-inheritance-num.rs diff --git a/src/test/run-pass/traits/trait-inheritance-num0.rs b/src/test/ui/traits/trait-inheritance-num0.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-num0.rs rename to src/test/ui/traits/trait-inheritance-num0.rs diff --git a/src/test/run-pass/traits/trait-inheritance-num1.rs b/src/test/ui/traits/trait-inheritance-num1.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-num1.rs rename to src/test/ui/traits/trait-inheritance-num1.rs diff --git a/src/test/run-pass/traits/trait-inheritance-num2.rs b/src/test/ui/traits/trait-inheritance-num2.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-num2.rs rename to src/test/ui/traits/trait-inheritance-num2.rs diff --git a/src/test/run-pass/traits/trait-inheritance-num3.rs b/src/test/ui/traits/trait-inheritance-num3.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-num3.rs rename to src/test/ui/traits/trait-inheritance-num3.rs diff --git a/src/test/run-pass/traits/trait-inheritance-num5.rs b/src/test/ui/traits/trait-inheritance-num5.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-num5.rs rename to src/test/ui/traits/trait-inheritance-num5.rs diff --git a/src/test/run-pass/traits/trait-inheritance-overloading-simple.rs b/src/test/ui/traits/trait-inheritance-overloading-simple.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-overloading-simple.rs rename to src/test/ui/traits/trait-inheritance-overloading-simple.rs diff --git a/src/test/run-pass/traits/trait-inheritance-overloading-xc-exe.rs b/src/test/ui/traits/trait-inheritance-overloading-xc-exe.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-overloading-xc-exe.rs rename to src/test/ui/traits/trait-inheritance-overloading-xc-exe.rs diff --git a/src/test/run-pass/traits/trait-inheritance-overloading.rs b/src/test/ui/traits/trait-inheritance-overloading.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-overloading.rs rename to src/test/ui/traits/trait-inheritance-overloading.rs diff --git a/src/test/run-pass/traits/trait-inheritance-self-in-supertype.rs b/src/test/ui/traits/trait-inheritance-self-in-supertype.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-self-in-supertype.rs rename to src/test/ui/traits/trait-inheritance-self-in-supertype.rs diff --git a/src/test/run-pass/traits/trait-inheritance-self.rs b/src/test/ui/traits/trait-inheritance-self.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-self.rs rename to src/test/ui/traits/trait-inheritance-self.rs diff --git a/src/test/run-pass/traits/trait-inheritance-simple.rs b/src/test/ui/traits/trait-inheritance-simple.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-simple.rs rename to src/test/ui/traits/trait-inheritance-simple.rs diff --git a/src/test/run-pass/traits/trait-inheritance-static.rs b/src/test/ui/traits/trait-inheritance-static.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-static.rs rename to src/test/ui/traits/trait-inheritance-static.rs diff --git a/src/test/run-pass/traits/trait-inheritance-static2.rs b/src/test/ui/traits/trait-inheritance-static2.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-static2.rs rename to src/test/ui/traits/trait-inheritance-static2.rs diff --git a/src/test/run-pass/traits/trait-inheritance-subst.rs b/src/test/ui/traits/trait-inheritance-subst.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-subst.rs rename to src/test/ui/traits/trait-inheritance-subst.rs diff --git a/src/test/run-pass/traits/trait-inheritance-subst2.rs b/src/test/ui/traits/trait-inheritance-subst2.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-subst2.rs rename to src/test/ui/traits/trait-inheritance-subst2.rs diff --git a/src/test/run-pass/traits/trait-inheritance-visibility.rs b/src/test/ui/traits/trait-inheritance-visibility.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance-visibility.rs rename to src/test/ui/traits/trait-inheritance-visibility.rs diff --git a/src/test/run-pass/traits/trait-inheritance2.rs b/src/test/ui/traits/trait-inheritance2.rs similarity index 100% rename from src/test/run-pass/traits/trait-inheritance2.rs rename to src/test/ui/traits/trait-inheritance2.rs diff --git a/src/test/run-pass/traits/trait-item-inside-macro.rs b/src/test/ui/traits/trait-item-inside-macro.rs similarity index 100% rename from src/test/run-pass/traits/trait-item-inside-macro.rs rename to src/test/ui/traits/trait-item-inside-macro.rs diff --git a/src/test/run-pass/traits/trait-object-auto-dedup.rs b/src/test/ui/traits/trait-object-auto-dedup.rs similarity index 100% rename from src/test/run-pass/traits/trait-object-auto-dedup.rs rename to src/test/ui/traits/trait-object-auto-dedup.rs diff --git a/src/test/run-pass/traits/trait-object-exclusion.rs b/src/test/ui/traits/trait-object-exclusion.rs similarity index 100% rename from src/test/run-pass/traits/trait-object-exclusion.rs rename to src/test/ui/traits/trait-object-exclusion.rs diff --git a/src/test/run-pass/traits/trait-object-generics.rs b/src/test/ui/traits/trait-object-generics.rs similarity index 100% rename from src/test/run-pass/traits/trait-object-generics.rs rename to src/test/ui/traits/trait-object-generics.rs diff --git a/src/test/run-pass/traits/trait-object-lifetime-first.rs b/src/test/ui/traits/trait-object-lifetime-first.rs similarity index 100% rename from src/test/run-pass/traits/trait-object-lifetime-first.rs rename to src/test/ui/traits/trait-object-lifetime-first.rs diff --git a/src/test/run-pass/traits/trait-object-with-lifetime-bound.rs b/src/test/ui/traits/trait-object-with-lifetime-bound.rs similarity index 100% rename from src/test/run-pass/traits/trait-object-with-lifetime-bound.rs rename to src/test/ui/traits/trait-object-with-lifetime-bound.rs diff --git a/src/test/run-pass/traits/trait-region-pointer-simple.rs b/src/test/ui/traits/trait-region-pointer-simple.rs similarity index 100% rename from src/test/run-pass/traits/trait-region-pointer-simple.rs rename to src/test/ui/traits/trait-region-pointer-simple.rs diff --git a/src/test/run-pass/traits/trait-safety-ok-cc.rs b/src/test/ui/traits/trait-safety-ok-cc.rs similarity index 100% rename from src/test/run-pass/traits/trait-safety-ok-cc.rs rename to src/test/ui/traits/trait-safety-ok-cc.rs diff --git a/src/test/run-pass/traits/trait-safety-ok.rs b/src/test/ui/traits/trait-safety-ok.rs similarity index 100% rename from src/test/run-pass/traits/trait-safety-ok.rs rename to src/test/ui/traits/trait-safety-ok.rs diff --git a/src/test/run-pass/traits/trait-static-method-overwriting.rs b/src/test/ui/traits/trait-static-method-overwriting.rs similarity index 100% rename from src/test/run-pass/traits/trait-static-method-overwriting.rs rename to src/test/ui/traits/trait-static-method-overwriting.rs diff --git a/src/test/run-pass/traits/trait-to-str.rs b/src/test/ui/traits/trait-to-str.rs similarity index 100% rename from src/test/run-pass/traits/trait-to-str.rs rename to src/test/ui/traits/trait-to-str.rs diff --git a/src/test/run-pass/traits/trait-where-clause-vs-impl.rs b/src/test/ui/traits/trait-where-clause-vs-impl.rs similarity index 100% rename from src/test/run-pass/traits/trait-where-clause-vs-impl.rs rename to src/test/ui/traits/trait-where-clause-vs-impl.rs diff --git a/src/test/run-pass/traits/trait-with-bounds-default.rs b/src/test/ui/traits/trait-with-bounds-default.rs similarity index 100% rename from src/test/run-pass/traits/trait-with-bounds-default.rs rename to src/test/ui/traits/trait-with-bounds-default.rs diff --git a/src/test/run-pass/traits/traits-assoc-type-in-supertrait.rs b/src/test/ui/traits/traits-assoc-type-in-supertrait.rs similarity index 100% rename from src/test/run-pass/traits/traits-assoc-type-in-supertrait.rs rename to src/test/ui/traits/traits-assoc-type-in-supertrait.rs diff --git a/src/test/run-pass/traits/traits-conditional-dispatch.rs b/src/test/ui/traits/traits-conditional-dispatch.rs similarity index 100% rename from src/test/run-pass/traits/traits-conditional-dispatch.rs rename to src/test/ui/traits/traits-conditional-dispatch.rs diff --git a/src/test/run-pass/traits/traits-conditional-model-fn.rs b/src/test/ui/traits/traits-conditional-model-fn.rs similarity index 100% rename from src/test/run-pass/traits/traits-conditional-model-fn.rs rename to src/test/ui/traits/traits-conditional-model-fn.rs diff --git a/src/test/run-pass/traits/traits-default-method-macro.rs b/src/test/ui/traits/traits-default-method-macro.rs similarity index 100% rename from src/test/run-pass/traits/traits-default-method-macro.rs rename to src/test/ui/traits/traits-default-method-macro.rs diff --git a/src/test/run-pass/traits/traits-default-method-mut.rs b/src/test/ui/traits/traits-default-method-mut.rs similarity index 100% rename from src/test/run-pass/traits/traits-default-method-mut.rs rename to src/test/ui/traits/traits-default-method-mut.rs diff --git a/src/test/run-pass/traits/traits-default-method-self.rs b/src/test/ui/traits/traits-default-method-self.rs similarity index 100% rename from src/test/run-pass/traits/traits-default-method-self.rs rename to src/test/ui/traits/traits-default-method-self.rs diff --git a/src/test/run-pass/traits/traits-default-method-trivial.rs b/src/test/ui/traits/traits-default-method-trivial.rs similarity index 100% rename from src/test/run-pass/traits/traits-default-method-trivial.rs rename to src/test/ui/traits/traits-default-method-trivial.rs diff --git a/src/test/run-pass/traits/traits-elaborate-type-region.rs b/src/test/ui/traits/traits-elaborate-type-region.rs similarity index 100% rename from src/test/run-pass/traits/traits-elaborate-type-region.rs rename to src/test/ui/traits/traits-elaborate-type-region.rs diff --git a/src/test/run-pass/traits/traits-impl-object-overlap-issue-23853.rs b/src/test/ui/traits/traits-impl-object-overlap-issue-23853.rs similarity index 100% rename from src/test/run-pass/traits/traits-impl-object-overlap-issue-23853.rs rename to src/test/ui/traits/traits-impl-object-overlap-issue-23853.rs diff --git a/src/test/run-pass/traits/traits-issue-22019.rs b/src/test/ui/traits/traits-issue-22019.rs similarity index 100% rename from src/test/run-pass/traits/traits-issue-22019.rs rename to src/test/ui/traits/traits-issue-22019.rs diff --git a/src/test/run-pass/traits/traits-issue-22110.rs b/src/test/ui/traits/traits-issue-22110.rs similarity index 100% rename from src/test/run-pass/traits/traits-issue-22110.rs rename to src/test/ui/traits/traits-issue-22110.rs diff --git a/src/test/run-pass/traits/traits-issue-22655.rs b/src/test/ui/traits/traits-issue-22655.rs similarity index 100% rename from src/test/run-pass/traits/traits-issue-22655.rs rename to src/test/ui/traits/traits-issue-22655.rs diff --git a/src/test/run-pass/traits/traits-issue-23003.rs b/src/test/ui/traits/traits-issue-23003.rs similarity index 100% rename from src/test/run-pass/traits/traits-issue-23003.rs rename to src/test/ui/traits/traits-issue-23003.rs diff --git a/src/test/run-pass/traits/traits-issue-26339.rs b/src/test/ui/traits/traits-issue-26339.rs similarity index 100% rename from src/test/run-pass/traits/traits-issue-26339.rs rename to src/test/ui/traits/traits-issue-26339.rs diff --git a/src/test/run-pass/traits/traits-multidispatch-infer-convert-target.rs b/src/test/ui/traits/traits-multidispatch-infer-convert-target.rs similarity index 100% rename from src/test/run-pass/traits/traits-multidispatch-infer-convert-target.rs rename to src/test/ui/traits/traits-multidispatch-infer-convert-target.rs diff --git a/src/test/run-pass/traits/traits-repeated-supertrait.rs b/src/test/ui/traits/traits-repeated-supertrait.rs similarity index 100% rename from src/test/run-pass/traits/traits-repeated-supertrait.rs rename to src/test/ui/traits/traits-repeated-supertrait.rs diff --git a/src/test/run-pass/traits/ufcs-trait-object.rs b/src/test/ui/traits/ufcs-trait-object.rs similarity index 100% rename from src/test/run-pass/traits/ufcs-trait-object.rs rename to src/test/ui/traits/ufcs-trait-object.rs diff --git a/src/test/run-pass/traits/use-trait-before-def.rs b/src/test/ui/traits/use-trait-before-def.rs similarity index 100% rename from src/test/run-pass/traits/use-trait-before-def.rs rename to src/test/ui/traits/use-trait-before-def.rs diff --git a/src/test/run-pass/transmute-non-immediate-to-immediate.rs b/src/test/ui/transmute-non-immediate-to-immediate.rs similarity index 100% rename from src/test/run-pass/transmute-non-immediate-to-immediate.rs rename to src/test/ui/transmute-non-immediate-to-immediate.rs diff --git a/src/test/run-pass/transmute-specialization.rs b/src/test/ui/transmute-specialization.rs similarity index 100% rename from src/test/run-pass/transmute-specialization.rs rename to src/test/ui/transmute-specialization.rs diff --git a/src/test/run-pass/trivial-message.rs b/src/test/ui/trivial-message.rs similarity index 100% rename from src/test/run-pass/trivial-message.rs rename to src/test/ui/trivial-message.rs diff --git a/src/test/run-pass/try-block.rs b/src/test/ui/try-block.rs similarity index 100% rename from src/test/run-pass/try-block.rs rename to src/test/ui/try-block.rs diff --git a/src/test/run-pass/try-from-int-error-partial-eq.rs b/src/test/ui/try-from-int-error-partial-eq.rs similarity index 100% rename from src/test/run-pass/try-from-int-error-partial-eq.rs rename to src/test/ui/try-from-int-error-partial-eq.rs diff --git a/src/test/run-pass/try-is-identifier-edition2015.rs b/src/test/ui/try-is-identifier-edition2015.rs similarity index 100% rename from src/test/run-pass/try-is-identifier-edition2015.rs rename to src/test/ui/try-is-identifier-edition2015.rs diff --git a/src/test/run-pass/try-operator-custom.rs b/src/test/ui/try-operator-custom.rs similarity index 100% rename from src/test/run-pass/try-operator-custom.rs rename to src/test/ui/try-operator-custom.rs diff --git a/src/test/run-pass/try-operator-hygiene.rs b/src/test/ui/try-operator-hygiene.rs similarity index 100% rename from src/test/run-pass/try-operator-hygiene.rs rename to src/test/ui/try-operator-hygiene.rs diff --git a/src/test/run-pass/try-operator.rs b/src/test/ui/try-operator.rs similarity index 100% rename from src/test/run-pass/try-operator.rs rename to src/test/ui/try-operator.rs diff --git a/src/test/run-pass/try-wait.rs b/src/test/ui/try-wait.rs similarity index 100% rename from src/test/run-pass/try-wait.rs rename to src/test/ui/try-wait.rs diff --git a/src/test/run-pass/try_from.rs b/src/test/ui/try_from.rs similarity index 100% rename from src/test/run-pass/try_from.rs rename to src/test/ui/try_from.rs diff --git a/src/test/run-pass/tup.rs b/src/test/ui/tup.rs similarity index 100% rename from src/test/run-pass/tup.rs rename to src/test/ui/tup.rs diff --git a/src/test/run-pass/tuple-index-fat-types.rs b/src/test/ui/tuple-index-fat-types.rs similarity index 100% rename from src/test/run-pass/tuple-index-fat-types.rs rename to src/test/ui/tuple-index-fat-types.rs diff --git a/src/test/run-pass/tuple-index.rs b/src/test/ui/tuple-index.rs similarity index 100% rename from src/test/run-pass/tuple-index.rs rename to src/test/ui/tuple-index.rs diff --git a/src/test/run-pass/tydesc-name.rs b/src/test/ui/tydesc-name.rs similarity index 100% rename from src/test/run-pass/tydesc-name.rs rename to src/test/ui/tydesc-name.rs diff --git a/src/test/run-pass/type-ascription.rs b/src/test/ui/type-ascription.rs similarity index 100% rename from src/test/run-pass/type-ascription.rs rename to src/test/ui/type-ascription.rs diff --git a/src/test/run-pass/type-id-higher-rank-2.rs b/src/test/ui/type-id-higher-rank-2.rs similarity index 100% rename from src/test/run-pass/type-id-higher-rank-2.rs rename to src/test/ui/type-id-higher-rank-2.rs diff --git a/src/test/run-pass/type-id-higher-rank.rs b/src/test/ui/type-id-higher-rank.rs similarity index 100% rename from src/test/run-pass/type-id-higher-rank.rs rename to src/test/ui/type-id-higher-rank.rs diff --git a/src/test/run-pass/type-in-nested-module.rs b/src/test/ui/type-in-nested-module.rs similarity index 100% rename from src/test/run-pass/type-in-nested-module.rs rename to src/test/ui/type-in-nested-module.rs diff --git a/src/test/run-pass/type-infer-generalize-ty-var.rs b/src/test/ui/type-infer-generalize-ty-var.rs similarity index 100% rename from src/test/run-pass/type-infer-generalize-ty-var.rs rename to src/test/ui/type-infer-generalize-ty-var.rs diff --git a/src/test/run-pass/type-namespace.rs b/src/test/ui/type-namespace.rs similarity index 100% rename from src/test/run-pass/type-namespace.rs rename to src/test/ui/type-namespace.rs diff --git a/src/test/run-pass/type-param-constraints.rs b/src/test/ui/type-param-constraints.rs similarity index 100% rename from src/test/run-pass/type-param-constraints.rs rename to src/test/ui/type-param-constraints.rs diff --git a/src/test/run-pass/type-param.rs b/src/test/ui/type-param.rs similarity index 100% rename from src/test/run-pass/type-param.rs rename to src/test/ui/type-param.rs diff --git a/src/test/run-pass/type-params-in-for-each.rs b/src/test/ui/type-params-in-for-each.rs similarity index 100% rename from src/test/run-pass/type-params-in-for-each.rs rename to src/test/ui/type-params-in-for-each.rs diff --git a/src/test/run-pass/type-ptr.rs b/src/test/ui/type-ptr.rs similarity index 100% rename from src/test/run-pass/type-ptr.rs rename to src/test/ui/type-ptr.rs diff --git a/src/test/run-pass/type-sizes.rs b/src/test/ui/type-sizes.rs similarity index 100% rename from src/test/run-pass/type-sizes.rs rename to src/test/ui/type-sizes.rs diff --git a/src/test/run-pass/type-use-i1-versus-i8.rs b/src/test/ui/type-use-i1-versus-i8.rs similarity index 100% rename from src/test/run-pass/type-use-i1-versus-i8.rs rename to src/test/ui/type-use-i1-versus-i8.rs diff --git a/src/test/run-pass/typeck-closure-to-unsafe-fn-ptr.rs b/src/test/ui/typeck-closure-to-unsafe-fn-ptr.rs similarity index 100% rename from src/test/run-pass/typeck-closure-to-unsafe-fn-ptr.rs rename to src/test/ui/typeck-closure-to-unsafe-fn-ptr.rs diff --git a/src/test/run-pass/typeck-fn-to-unsafe-fn-ptr.rs b/src/test/ui/typeck-fn-to-unsafe-fn-ptr.rs similarity index 100% rename from src/test/run-pass/typeck-fn-to-unsafe-fn-ptr.rs rename to src/test/ui/typeck-fn-to-unsafe-fn-ptr.rs diff --git a/src/test/run-pass/typeck_type_placeholder_1.rs b/src/test/ui/typeck_type_placeholder_1.rs similarity index 100% rename from src/test/run-pass/typeck_type_placeholder_1.rs rename to src/test/ui/typeck_type_placeholder_1.rs diff --git a/src/test/run-pass/typeclasses-eq-example-static.rs b/src/test/ui/typeclasses-eq-example-static.rs similarity index 100% rename from src/test/run-pass/typeclasses-eq-example-static.rs rename to src/test/ui/typeclasses-eq-example-static.rs diff --git a/src/test/run-pass/typeclasses-eq-example.rs b/src/test/ui/typeclasses-eq-example.rs similarity index 100% rename from src/test/run-pass/typeclasses-eq-example.rs rename to src/test/ui/typeclasses-eq-example.rs diff --git a/src/test/run-pass/typeid-intrinsic.rs b/src/test/ui/typeid-intrinsic.rs similarity index 100% rename from src/test/run-pass/typeid-intrinsic.rs rename to src/test/ui/typeid-intrinsic.rs diff --git a/src/test/run-pass/typestate-cfg-nesting.rs b/src/test/ui/typestate-cfg-nesting.rs similarity index 100% rename from src/test/run-pass/typestate-cfg-nesting.rs rename to src/test/ui/typestate-cfg-nesting.rs diff --git a/src/test/run-pass/typestate-multi-decl.rs b/src/test/ui/typestate-multi-decl.rs similarity index 100% rename from src/test/run-pass/typestate-multi-decl.rs rename to src/test/ui/typestate-multi-decl.rs diff --git a/src/test/run-pass/ufcs-polymorphic-paths.rs b/src/test/ui/ufcs-polymorphic-paths.rs similarity index 100% rename from src/test/run-pass/ufcs-polymorphic-paths.rs rename to src/test/ui/ufcs-polymorphic-paths.rs diff --git a/src/test/run-pass/ufcs-type-params.rs b/src/test/ui/ufcs-type-params.rs similarity index 100% rename from src/test/run-pass/ufcs-type-params.rs rename to src/test/ui/ufcs-type-params.rs diff --git a/src/test/run-pass/unary-minus-suffix-inference.rs b/src/test/ui/unary-minus-suffix-inference.rs similarity index 100% rename from src/test/run-pass/unary-minus-suffix-inference.rs rename to src/test/ui/unary-minus-suffix-inference.rs diff --git a/src/test/run-pass/unboxed-closures/auxiliary/unboxed-closures-cross-crate.rs b/src/test/ui/unboxed-closures/auxiliary/unboxed-closures-cross-crate.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/auxiliary/unboxed-closures-cross-crate.rs rename to src/test/ui/unboxed-closures/auxiliary/unboxed-closures-cross-crate.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-all-traits.rs b/src/test/ui/unboxed-closures/unboxed-closures-all-traits.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-all-traits.rs rename to src/test/ui/unboxed-closures/unboxed-closures-all-traits.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-blanket-fn-mut.rs b/src/test/ui/unboxed-closures/unboxed-closures-blanket-fn-mut.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-blanket-fn-mut.rs rename to src/test/ui/unboxed-closures/unboxed-closures-blanket-fn-mut.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-blanket-fn.rs b/src/test/ui/unboxed-closures/unboxed-closures-blanket-fn.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-blanket-fn.rs rename to src/test/ui/unboxed-closures/unboxed-closures-blanket-fn.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-boxed.rs b/src/test/ui/unboxed-closures/unboxed-closures-boxed.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-boxed.rs rename to src/test/ui/unboxed-closures/unboxed-closures-boxed.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-by-ref.rs b/src/test/ui/unboxed-closures/unboxed-closures-by-ref.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-by-ref.rs rename to src/test/ui/unboxed-closures/unboxed-closures-by-ref.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-call-fn-autoderef.rs b/src/test/ui/unboxed-closures/unboxed-closures-call-fn-autoderef.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-call-fn-autoderef.rs rename to src/test/ui/unboxed-closures/unboxed-closures-call-fn-autoderef.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs b/src/test/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs rename to src/test/ui/unboxed-closures/unboxed-closures-call-sugar-autoderef.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs b/src/test/ui/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs rename to src/test/ui/unboxed-closures/unboxed-closures-call-sugar-object-autoderef.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-call-sugar-object.rs b/src/test/ui/unboxed-closures/unboxed-closures-call-sugar-object.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-call-sugar-object.rs rename to src/test/ui/unboxed-closures/unboxed-closures-call-sugar-object.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-counter-not-moved.rs b/src/test/ui/unboxed-closures/unboxed-closures-counter-not-moved.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-counter-not-moved.rs rename to src/test/ui/unboxed-closures/unboxed-closures-counter-not-moved.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-cross-crate.rs b/src/test/ui/unboxed-closures/unboxed-closures-cross-crate.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-cross-crate.rs rename to src/test/ui/unboxed-closures/unboxed-closures-cross-crate.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-direct-sugary-call.rs b/src/test/ui/unboxed-closures/unboxed-closures-direct-sugary-call.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-direct-sugary-call.rs rename to src/test/ui/unboxed-closures/unboxed-closures-direct-sugary-call.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-drop.rs b/src/test/ui/unboxed-closures/unboxed-closures-drop.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-drop.rs rename to src/test/ui/unboxed-closures/unboxed-closures-drop.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-extern-fn-hr.rs b/src/test/ui/unboxed-closures/unboxed-closures-extern-fn-hr.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-extern-fn-hr.rs rename to src/test/ui/unboxed-closures/unboxed-closures-extern-fn-hr.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-extern-fn.rs b/src/test/ui/unboxed-closures/unboxed-closures-extern-fn.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-extern-fn.rs rename to src/test/ui/unboxed-closures/unboxed-closures-extern-fn.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs b/src/test/ui/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs rename to src/test/ui/unboxed-closures/unboxed-closures-fn-as-fnmut-and-fnonce.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs b/src/test/ui/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs rename to src/test/ui/unboxed-closures/unboxed-closures-fnmut-as-fnonce.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-generic.rs b/src/test/ui/unboxed-closures/unboxed-closures-generic.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-generic.rs rename to src/test/ui/unboxed-closures/unboxed-closures-generic.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-bound.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-arg-types-from-expected-object-type.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-arg-types-w-bound-regs-from-expected-bound.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-explicit-call-early.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-fnmut-calling-fnmut.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-move.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-fnmut-move.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnmut-move.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-fnmut-move.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnmut.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-fnmut.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnmut.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-fnmut.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnonce-move.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-fnonce-move.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnonce-move.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-fnonce-move.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnonce.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-fnonce.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-fnonce.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-fnonce.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-kind.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-kind.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-kind.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-kind.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-recursive-fn.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-recursive-fn.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-recursive-fn.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-recursive-fn.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-infer-upvar.rs b/src/test/ui/unboxed-closures/unboxed-closures-infer-upvar.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-infer-upvar.rs rename to src/test/ui/unboxed-closures/unboxed-closures-infer-upvar.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-manual-impl.rs b/src/test/ui/unboxed-closures/unboxed-closures-manual-impl.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-manual-impl.rs rename to src/test/ui/unboxed-closures/unboxed-closures-manual-impl.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-monomorphization.rs b/src/test/ui/unboxed-closures/unboxed-closures-monomorphization.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-monomorphization.rs rename to src/test/ui/unboxed-closures/unboxed-closures-monomorphization.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs b/src/test/ui/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs rename to src/test/ui/unboxed-closures/unboxed-closures-move-from-projection-issue-30046.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-move-mutable.rs b/src/test/ui/unboxed-closures/unboxed-closures-move-mutable.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-move-mutable.rs rename to src/test/ui/unboxed-closures/unboxed-closures-move-mutable.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs b/src/test/ui/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs rename to src/test/ui/unboxed-closures/unboxed-closures-move-some-upvars-in-by-ref-closure.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-prelude.rs b/src/test/ui/unboxed-closures/unboxed-closures-prelude.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-prelude.rs rename to src/test/ui/unboxed-closures/unboxed-closures-prelude.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-simple.rs b/src/test/ui/unboxed-closures/unboxed-closures-simple.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-simple.rs rename to src/test/ui/unboxed-closures/unboxed-closures-simple.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-single-word-env.rs b/src/test/ui/unboxed-closures/unboxed-closures-single-word-env.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-single-word-env.rs rename to src/test/ui/unboxed-closures/unboxed-closures-single-word-env.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-static-call-fn-once.rs b/src/test/ui/unboxed-closures/unboxed-closures-static-call-fn-once.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-static-call-fn-once.rs rename to src/test/ui/unboxed-closures/unboxed-closures-static-call-fn-once.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-sugar-object.rs b/src/test/ui/unboxed-closures/unboxed-closures-sugar-object.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-sugar-object.rs rename to src/test/ui/unboxed-closures/unboxed-closures-sugar-object.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs b/src/test/ui/unboxed-closures/unboxed-closures-unique-type-id.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-unique-type-id.rs rename to src/test/ui/unboxed-closures/unboxed-closures-unique-type-id.rs diff --git a/src/test/run-pass/unboxed-closures/unboxed-closures-zero-args.rs b/src/test/ui/unboxed-closures/unboxed-closures-zero-args.rs similarity index 100% rename from src/test/run-pass/unboxed-closures/unboxed-closures-zero-args.rs rename to src/test/ui/unboxed-closures/unboxed-closures-zero-args.rs diff --git a/src/test/run-pass/underscore-lifetimes.rs b/src/test/ui/underscore-lifetimes.rs similarity index 100% rename from src/test/run-pass/underscore-lifetimes.rs rename to src/test/ui/underscore-lifetimes.rs diff --git a/src/test/run-pass/underscore-method-after-integer.rs b/src/test/ui/underscore-method-after-integer.rs similarity index 100% rename from src/test/run-pass/underscore-method-after-integer.rs rename to src/test/ui/underscore-method-after-integer.rs diff --git a/src/test/run-pass/uniform-paths/auxiliary/issue-53691.rs b/src/test/ui/uniform-paths/auxiliary/issue-53691.rs similarity index 100% rename from src/test/run-pass/uniform-paths/auxiliary/issue-53691.rs rename to src/test/ui/uniform-paths/auxiliary/issue-53691.rs diff --git a/src/test/run-pass/uniform-paths/basic-nested.rs b/src/test/ui/uniform-paths/basic-nested.rs similarity index 100% rename from src/test/run-pass/uniform-paths/basic-nested.rs rename to src/test/ui/uniform-paths/basic-nested.rs diff --git a/src/test/run-pass/uniform-paths/basic.rs b/src/test/ui/uniform-paths/basic.rs similarity index 100% rename from src/test/run-pass/uniform-paths/basic.rs rename to src/test/ui/uniform-paths/basic.rs diff --git a/src/test/run-pass/uniform-paths/issue-53691.rs b/src/test/ui/uniform-paths/issue-53691.rs similarity index 100% rename from src/test/run-pass/uniform-paths/issue-53691.rs rename to src/test/ui/uniform-paths/issue-53691.rs diff --git a/src/test/run-pass/uniform-paths/macros-nested.rs b/src/test/ui/uniform-paths/macros-nested.rs similarity index 100% rename from src/test/run-pass/uniform-paths/macros-nested.rs rename to src/test/ui/uniform-paths/macros-nested.rs diff --git a/src/test/run-pass/uniform-paths/macros.rs b/src/test/ui/uniform-paths/macros.rs similarity index 100% rename from src/test/run-pass/uniform-paths/macros.rs rename to src/test/ui/uniform-paths/macros.rs diff --git a/src/test/run-pass/uniform-paths/same-crate.rs b/src/test/ui/uniform-paths/same-crate.rs similarity index 100% rename from src/test/run-pass/uniform-paths/same-crate.rs rename to src/test/ui/uniform-paths/same-crate.rs diff --git a/src/test/run-pass/unify-return-ty.rs b/src/test/ui/unify-return-ty.rs similarity index 100% rename from src/test/run-pass/unify-return-ty.rs rename to src/test/ui/unify-return-ty.rs diff --git a/src/test/run-pass/uninit-empty-types.rs b/src/test/ui/uninit-empty-types.rs similarity index 100% rename from src/test/run-pass/uninit-empty-types.rs rename to src/test/ui/uninit-empty-types.rs diff --git a/src/test/run-pass/union/auxiliary/union.rs b/src/test/ui/union/auxiliary/union.rs similarity index 100% rename from src/test/run-pass/union/auxiliary/union.rs rename to src/test/ui/union/auxiliary/union.rs diff --git a/src/test/run-pass/union/union-align.rs b/src/test/ui/union/union-align.rs similarity index 100% rename from src/test/run-pass/union/union-align.rs rename to src/test/ui/union/union-align.rs diff --git a/src/test/run-pass/union/union-backcomp.rs b/src/test/ui/union/union-backcomp.rs similarity index 100% rename from src/test/run-pass/union/union-backcomp.rs rename to src/test/ui/union/union-backcomp.rs diff --git a/src/test/run-pass/union/union-basic.rs b/src/test/ui/union/union-basic.rs similarity index 100% rename from src/test/run-pass/union/union-basic.rs rename to src/test/ui/union/union-basic.rs diff --git a/src/test/run-pass/union/union-c-interop.rs b/src/test/ui/union/union-c-interop.rs similarity index 100% rename from src/test/run-pass/union/union-c-interop.rs rename to src/test/ui/union/union-c-interop.rs diff --git a/src/test/run-pass/union/union-const-codegen.rs b/src/test/ui/union/union-const-codegen.rs similarity index 100% rename from src/test/run-pass/union/union-const-codegen.rs rename to src/test/ui/union/union-const-codegen.rs diff --git a/src/test/run-pass/union/union-const-eval-field.rs b/src/test/ui/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/union/union-const-eval-field.rs diff --git a/src/test/run-pass/union/union-drop-assign.rs b/src/test/ui/union/union-drop-assign.rs similarity index 100% rename from src/test/run-pass/union/union-drop-assign.rs rename to src/test/ui/union/union-drop-assign.rs diff --git a/src/test/run-pass/union/union-drop.rs b/src/test/ui/union/union-drop.rs similarity index 100% rename from src/test/run-pass/union/union-drop.rs rename to src/test/ui/union/union-drop.rs diff --git a/src/test/run-pass/union/union-inherent-method.rs b/src/test/ui/union/union-inherent-method.rs similarity index 100% rename from src/test/run-pass/union/union-inherent-method.rs rename to src/test/ui/union/union-inherent-method.rs diff --git a/src/test/run-pass/union/union-macro.rs b/src/test/ui/union/union-macro.rs similarity index 100% rename from src/test/run-pass/union/union-macro.rs rename to src/test/ui/union/union-macro.rs diff --git a/src/test/run-pass/union/union-nodrop.rs b/src/test/ui/union/union-nodrop.rs similarity index 100% rename from src/test/run-pass/union/union-nodrop.rs rename to src/test/ui/union/union-nodrop.rs diff --git a/src/test/run-pass/union/union-nonzero.rs b/src/test/ui/union/union-nonzero.rs similarity index 100% rename from src/test/run-pass/union/union-nonzero.rs rename to src/test/ui/union/union-nonzero.rs diff --git a/src/test/run-pass/union/union-overwrite.rs b/src/test/ui/union/union-overwrite.rs similarity index 100% rename from src/test/run-pass/union/union-overwrite.rs rename to src/test/ui/union/union-overwrite.rs diff --git a/src/test/run-pass/union/union-packed.rs b/src/test/ui/union/union-packed.rs similarity index 100% rename from src/test/run-pass/union/union-packed.rs rename to src/test/ui/union/union-packed.rs diff --git a/src/test/run-pass/union/union-pat-refutability.rs b/src/test/ui/union/union-pat-refutability.rs similarity index 100% rename from src/test/run-pass/union/union-pat-refutability.rs rename to src/test/ui/union/union-pat-refutability.rs diff --git a/src/test/run-pass/union/union-trait-impl.rs b/src/test/ui/union/union-trait-impl.rs similarity index 100% rename from src/test/run-pass/union/union-trait-impl.rs rename to src/test/ui/union/union-trait-impl.rs diff --git a/src/test/run-pass/union/union-transmute.rs b/src/test/ui/union/union-transmute.rs similarity index 100% rename from src/test/run-pass/union/union-transmute.rs rename to src/test/ui/union/union-transmute.rs diff --git a/src/test/run-pass/unique/unique-assign-copy.rs b/src/test/ui/unique/unique-assign-copy.rs similarity index 100% rename from src/test/run-pass/unique/unique-assign-copy.rs rename to src/test/ui/unique/unique-assign-copy.rs diff --git a/src/test/run-pass/unique/unique-assign-drop.rs b/src/test/ui/unique/unique-assign-drop.rs similarity index 100% rename from src/test/run-pass/unique/unique-assign-drop.rs rename to src/test/ui/unique/unique-assign-drop.rs diff --git a/src/test/run-pass/unique/unique-assign-generic.rs b/src/test/ui/unique/unique-assign-generic.rs similarity index 100% rename from src/test/run-pass/unique/unique-assign-generic.rs rename to src/test/ui/unique/unique-assign-generic.rs diff --git a/src/test/run-pass/unique/unique-assign.rs b/src/test/ui/unique/unique-assign.rs similarity index 100% rename from src/test/run-pass/unique/unique-assign.rs rename to src/test/ui/unique/unique-assign.rs diff --git a/src/test/run-pass/unique/unique-autoderef-field.rs b/src/test/ui/unique/unique-autoderef-field.rs similarity index 100% rename from src/test/run-pass/unique/unique-autoderef-field.rs rename to src/test/ui/unique/unique-autoderef-field.rs diff --git a/src/test/run-pass/unique/unique-autoderef-index.rs b/src/test/ui/unique/unique-autoderef-index.rs similarity index 100% rename from src/test/run-pass/unique/unique-autoderef-index.rs rename to src/test/ui/unique/unique-autoderef-index.rs diff --git a/src/test/run-pass/unique/unique-cmp.rs b/src/test/ui/unique/unique-cmp.rs similarity index 100% rename from src/test/run-pass/unique/unique-cmp.rs rename to src/test/ui/unique/unique-cmp.rs diff --git a/src/test/run-pass/unique/unique-containing-tag.rs b/src/test/ui/unique/unique-containing-tag.rs similarity index 100% rename from src/test/run-pass/unique/unique-containing-tag.rs rename to src/test/ui/unique/unique-containing-tag.rs diff --git a/src/test/run-pass/unique/unique-create.rs b/src/test/ui/unique/unique-create.rs similarity index 100% rename from src/test/run-pass/unique/unique-create.rs rename to src/test/ui/unique/unique-create.rs diff --git a/src/test/run-pass/unique/unique-decl-init-copy.rs b/src/test/ui/unique/unique-decl-init-copy.rs similarity index 100% rename from src/test/run-pass/unique/unique-decl-init-copy.rs rename to src/test/ui/unique/unique-decl-init-copy.rs diff --git a/src/test/run-pass/unique/unique-decl-init.rs b/src/test/ui/unique/unique-decl-init.rs similarity index 100% rename from src/test/run-pass/unique/unique-decl-init.rs rename to src/test/ui/unique/unique-decl-init.rs diff --git a/src/test/run-pass/unique/unique-decl-move.rs b/src/test/ui/unique/unique-decl-move.rs similarity index 100% rename from src/test/run-pass/unique/unique-decl-move.rs rename to src/test/ui/unique/unique-decl-move.rs diff --git a/src/test/run-pass/unique/unique-decl.rs b/src/test/ui/unique/unique-decl.rs similarity index 100% rename from src/test/run-pass/unique/unique-decl.rs rename to src/test/ui/unique/unique-decl.rs diff --git a/src/test/run-pass/unique/unique-deref.rs b/src/test/ui/unique/unique-deref.rs similarity index 100% rename from src/test/run-pass/unique/unique-deref.rs rename to src/test/ui/unique/unique-deref.rs diff --git a/src/test/run-pass/unique/unique-destructure.rs b/src/test/ui/unique/unique-destructure.rs similarity index 100% rename from src/test/run-pass/unique/unique-destructure.rs rename to src/test/ui/unique/unique-destructure.rs diff --git a/src/test/run-pass/unique/unique-drop-complex.rs b/src/test/ui/unique/unique-drop-complex.rs similarity index 100% rename from src/test/run-pass/unique/unique-drop-complex.rs rename to src/test/ui/unique/unique-drop-complex.rs diff --git a/src/test/run-pass/unique/unique-ffi-symbols.rs b/src/test/ui/unique/unique-ffi-symbols.rs similarity index 100% rename from src/test/run-pass/unique/unique-ffi-symbols.rs rename to src/test/ui/unique/unique-ffi-symbols.rs diff --git a/src/test/run-pass/unique/unique-fn-arg-move.rs b/src/test/ui/unique/unique-fn-arg-move.rs similarity index 100% rename from src/test/run-pass/unique/unique-fn-arg-move.rs rename to src/test/ui/unique/unique-fn-arg-move.rs diff --git a/src/test/run-pass/unique/unique-fn-arg-mut.rs b/src/test/ui/unique/unique-fn-arg-mut.rs similarity index 100% rename from src/test/run-pass/unique/unique-fn-arg-mut.rs rename to src/test/ui/unique/unique-fn-arg-mut.rs diff --git a/src/test/run-pass/unique/unique-fn-arg.rs b/src/test/ui/unique/unique-fn-arg.rs similarity index 100% rename from src/test/run-pass/unique/unique-fn-arg.rs rename to src/test/ui/unique/unique-fn-arg.rs diff --git a/src/test/run-pass/unique/unique-fn-ret.rs b/src/test/ui/unique/unique-fn-ret.rs similarity index 100% rename from src/test/run-pass/unique/unique-fn-ret.rs rename to src/test/ui/unique/unique-fn-ret.rs diff --git a/src/test/run-pass/unique/unique-generic-assign.rs b/src/test/ui/unique/unique-generic-assign.rs similarity index 100% rename from src/test/run-pass/unique/unique-generic-assign.rs rename to src/test/ui/unique/unique-generic-assign.rs diff --git a/src/test/run-pass/unique/unique-in-tag.rs b/src/test/ui/unique/unique-in-tag.rs similarity index 100% rename from src/test/run-pass/unique/unique-in-tag.rs rename to src/test/ui/unique/unique-in-tag.rs diff --git a/src/test/run-pass/unique/unique-in-vec-copy.rs b/src/test/ui/unique/unique-in-vec-copy.rs similarity index 100% rename from src/test/run-pass/unique/unique-in-vec-copy.rs rename to src/test/ui/unique/unique-in-vec-copy.rs diff --git a/src/test/run-pass/unique/unique-in-vec.rs b/src/test/ui/unique/unique-in-vec.rs similarity index 100% rename from src/test/run-pass/unique/unique-in-vec.rs rename to src/test/ui/unique/unique-in-vec.rs diff --git a/src/test/run-pass/unique/unique-init.rs b/src/test/ui/unique/unique-init.rs similarity index 100% rename from src/test/run-pass/unique/unique-init.rs rename to src/test/ui/unique/unique-init.rs diff --git a/src/test/run-pass/unique/unique-kinds.rs b/src/test/ui/unique/unique-kinds.rs similarity index 100% rename from src/test/run-pass/unique/unique-kinds.rs rename to src/test/ui/unique/unique-kinds.rs diff --git a/src/test/run-pass/unique/unique-log.rs b/src/test/ui/unique/unique-log.rs similarity index 100% rename from src/test/run-pass/unique/unique-log.rs rename to src/test/ui/unique/unique-log.rs diff --git a/src/test/run-pass/unique/unique-match-discrim.rs b/src/test/ui/unique/unique-match-discrim.rs similarity index 100% rename from src/test/run-pass/unique/unique-match-discrim.rs rename to src/test/ui/unique/unique-match-discrim.rs diff --git a/src/test/run-pass/unique/unique-move-drop.rs b/src/test/ui/unique/unique-move-drop.rs similarity index 100% rename from src/test/run-pass/unique/unique-move-drop.rs rename to src/test/ui/unique/unique-move-drop.rs diff --git a/src/test/run-pass/unique/unique-move-temp.rs b/src/test/ui/unique/unique-move-temp.rs similarity index 100% rename from src/test/run-pass/unique/unique-move-temp.rs rename to src/test/ui/unique/unique-move-temp.rs diff --git a/src/test/run-pass/unique/unique-move.rs b/src/test/ui/unique/unique-move.rs similarity index 100% rename from src/test/run-pass/unique/unique-move.rs rename to src/test/ui/unique/unique-move.rs diff --git a/src/test/run-pass/unique/unique-mutable.rs b/src/test/ui/unique/unique-mutable.rs similarity index 100% rename from src/test/run-pass/unique/unique-mutable.rs rename to src/test/ui/unique/unique-mutable.rs diff --git a/src/test/run-pass/unique/unique-object-move.rs b/src/test/ui/unique/unique-object-move.rs similarity index 100% rename from src/test/run-pass/unique/unique-object-move.rs rename to src/test/ui/unique/unique-object-move.rs diff --git a/src/test/run-pass/unique/unique-pat-2.rs b/src/test/ui/unique/unique-pat-2.rs similarity index 100% rename from src/test/run-pass/unique/unique-pat-2.rs rename to src/test/ui/unique/unique-pat-2.rs diff --git a/src/test/run-pass/unique/unique-pat-3.rs b/src/test/ui/unique/unique-pat-3.rs similarity index 100% rename from src/test/run-pass/unique/unique-pat-3.rs rename to src/test/ui/unique/unique-pat-3.rs diff --git a/src/test/run-pass/unique/unique-pat.rs b/src/test/ui/unique/unique-pat.rs similarity index 100% rename from src/test/run-pass/unique/unique-pat.rs rename to src/test/ui/unique/unique-pat.rs diff --git a/src/test/run-pass/unique/unique-rec.rs b/src/test/ui/unique/unique-rec.rs similarity index 100% rename from src/test/run-pass/unique/unique-rec.rs rename to src/test/ui/unique/unique-rec.rs diff --git a/src/test/run-pass/unique/unique-send-2.rs b/src/test/ui/unique/unique-send-2.rs similarity index 100% rename from src/test/run-pass/unique/unique-send-2.rs rename to src/test/ui/unique/unique-send-2.rs diff --git a/src/test/run-pass/unique/unique-send.rs b/src/test/ui/unique/unique-send.rs similarity index 100% rename from src/test/run-pass/unique/unique-send.rs rename to src/test/ui/unique/unique-send.rs diff --git a/src/test/run-pass/unique/unique-swap.rs b/src/test/ui/unique/unique-swap.rs similarity index 100% rename from src/test/run-pass/unique/unique-swap.rs rename to src/test/ui/unique/unique-swap.rs diff --git a/src/test/run-pass/unit.rs b/src/test/ui/unit.rs similarity index 100% rename from src/test/run-pass/unit.rs rename to src/test/ui/unit.rs diff --git a/src/test/run-pass/unnamed_argument_mode.rs b/src/test/ui/unnamed_argument_mode.rs similarity index 100% rename from src/test/run-pass/unnamed_argument_mode.rs rename to src/test/ui/unnamed_argument_mode.rs diff --git a/src/test/run-pass/unreachable-code-1.rs b/src/test/ui/unreachable-code-1.rs similarity index 100% rename from src/test/run-pass/unreachable-code-1.rs rename to src/test/ui/unreachable-code-1.rs diff --git a/src/test/run-pass/unreachable-code.rs b/src/test/ui/unreachable-code.rs similarity index 100% rename from src/test/run-pass/unreachable-code.rs rename to src/test/ui/unreachable-code.rs diff --git a/src/test/run-pass/unsafe-coercion.rs b/src/test/ui/unsafe-coercion.rs similarity index 100% rename from src/test/run-pass/unsafe-coercion.rs rename to src/test/ui/unsafe-coercion.rs diff --git a/src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs b/src/test/ui/unsafe-fn-called-from-unsafe-blk.rs similarity index 100% rename from src/test/run-pass/unsafe-fn-called-from-unsafe-blk.rs rename to src/test/ui/unsafe-fn-called-from-unsafe-blk.rs diff --git a/src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs b/src/test/ui/unsafe-fn-called-from-unsafe-fn.rs similarity index 100% rename from src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs rename to src/test/ui/unsafe-fn-called-from-unsafe-fn.rs diff --git a/src/test/run-pass/unsafe-pointer-assignability.rs b/src/test/ui/unsafe-pointer-assignability.rs similarity index 100% rename from src/test/run-pass/unsafe-pointer-assignability.rs rename to src/test/ui/unsafe-pointer-assignability.rs diff --git a/src/test/run-pass/unsized-locals/autoderef.rs b/src/test/ui/unsized-locals/autoderef.rs similarity index 100% rename from src/test/run-pass/unsized-locals/autoderef.rs rename to src/test/ui/unsized-locals/autoderef.rs diff --git a/src/test/run-pass/unsized-locals/box-fnonce.rs b/src/test/ui/unsized-locals/box-fnonce.rs similarity index 100% rename from src/test/run-pass/unsized-locals/box-fnonce.rs rename to src/test/ui/unsized-locals/box-fnonce.rs diff --git a/src/test/run-pass/unsized-locals/by-value-trait-object-safety-withdefault.rs b/src/test/ui/unsized-locals/by-value-trait-object-safety-withdefault.rs similarity index 100% rename from src/test/run-pass/unsized-locals/by-value-trait-object-safety-withdefault.rs rename to src/test/ui/unsized-locals/by-value-trait-object-safety-withdefault.rs diff --git a/src/test/run-pass/unsized-locals/reference-unsized-locals.rs b/src/test/ui/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/unsized-locals/reference-unsized-locals.rs diff --git a/src/test/run-pass/unsized-locals/simple-unsized-locals.rs b/src/test/ui/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/unsized-locals/simple-unsized-locals.rs diff --git a/src/test/run-pass/unsized-locals/unsized-parameters.rs b/src/test/ui/unsized-locals/unsized-parameters.rs similarity index 100% rename from src/test/run-pass/unsized-locals/unsized-parameters.rs rename to src/test/ui/unsized-locals/unsized-parameters.rs diff --git a/src/test/run-pass/unsized-tuple-impls.rs b/src/test/ui/unsized-tuple-impls.rs similarity index 100% rename from src/test/run-pass/unsized-tuple-impls.rs rename to src/test/ui/unsized-tuple-impls.rs diff --git a/src/test/run-pass/unsized.rs b/src/test/ui/unsized.rs similarity index 100% rename from src/test/run-pass/unsized.rs rename to src/test/ui/unsized.rs diff --git a/src/test/run-pass/unsized2.rs b/src/test/ui/unsized2.rs similarity index 100% rename from src/test/run-pass/unsized2.rs rename to src/test/ui/unsized2.rs diff --git a/src/test/run-pass/unused-move-capture.rs b/src/test/ui/unused-move-capture.rs similarity index 100% rename from src/test/run-pass/unused-move-capture.rs rename to src/test/ui/unused-move-capture.rs diff --git a/src/test/run-pass/unused-move.rs b/src/test/ui/unused-move.rs similarity index 100% rename from src/test/run-pass/unused-move.rs rename to src/test/ui/unused-move.rs diff --git a/src/test/run-pass/unwind-resource.rs b/src/test/ui/unwind-resource.rs similarity index 100% rename from src/test/run-pass/unwind-resource.rs rename to src/test/ui/unwind-resource.rs diff --git a/src/test/run-pass/unwind-unique.rs b/src/test/ui/unwind-unique.rs similarity index 100% rename from src/test/run-pass/unwind-unique.rs rename to src/test/ui/unwind-unique.rs diff --git a/src/test/run-pass/use-crate-name-alias.rs b/src/test/ui/use-crate-name-alias.rs similarity index 100% rename from src/test/run-pass/use-crate-name-alias.rs rename to src/test/ui/use-crate-name-alias.rs diff --git a/src/test/run-pass/use-import-export.rs b/src/test/ui/use-import-export.rs similarity index 100% rename from src/test/run-pass/use-import-export.rs rename to src/test/ui/use-import-export.rs diff --git a/src/test/run-pass/use-keyword-2.rs b/src/test/ui/use-keyword-2.rs similarity index 100% rename from src/test/run-pass/use-keyword-2.rs rename to src/test/ui/use-keyword-2.rs diff --git a/src/test/run-pass/use-mod.rs b/src/test/ui/use-mod.rs similarity index 100% rename from src/test/run-pass/use-mod.rs rename to src/test/ui/use-mod.rs diff --git a/src/test/run-pass/use-nested-groups.rs b/src/test/ui/use-nested-groups.rs similarity index 100% rename from src/test/run-pass/use-nested-groups.rs rename to src/test/ui/use-nested-groups.rs diff --git a/src/test/run-pass/use.rs b/src/test/ui/use.rs similarity index 100% rename from src/test/run-pass/use.rs rename to src/test/ui/use.rs diff --git a/src/test/run-pass/use_inline_dtor.rs b/src/test/ui/use_inline_dtor.rs similarity index 100% rename from src/test/run-pass/use_inline_dtor.rs rename to src/test/ui/use_inline_dtor.rs diff --git a/src/test/run-pass/using-target-feature-unstable.rs b/src/test/ui/using-target-feature-unstable.rs similarity index 100% rename from src/test/run-pass/using-target-feature-unstable.rs rename to src/test/ui/using-target-feature-unstable.rs diff --git a/src/test/run-pass/utf8-bom.rs b/src/test/ui/utf8-bom.rs similarity index 100% rename from src/test/run-pass/utf8-bom.rs rename to src/test/ui/utf8-bom.rs diff --git a/src/test/run-pass/utf8.rs b/src/test/ui/utf8.rs similarity index 100% rename from src/test/run-pass/utf8.rs rename to src/test/ui/utf8.rs diff --git a/src/test/run-pass/utf8_chars.rs b/src/test/ui/utf8_chars.rs similarity index 100% rename from src/test/run-pass/utf8_chars.rs rename to src/test/ui/utf8_chars.rs diff --git a/src/test/run-pass/variadic-ffi.rs b/src/test/ui/variadic-ffi.rs similarity index 100% rename from src/test/run-pass/variadic-ffi.rs rename to src/test/ui/variadic-ffi.rs diff --git a/src/test/run-pass/variance-intersection-of-ref-and-opt-ref.rs b/src/test/ui/variance-intersection-of-ref-and-opt-ref.rs similarity index 100% rename from src/test/run-pass/variance-intersection-of-ref-and-opt-ref.rs rename to src/test/ui/variance-intersection-of-ref-and-opt-ref.rs diff --git a/src/test/run-pass/variance-iterators-in-libcore.rs b/src/test/ui/variance-iterators-in-libcore.rs similarity index 100% rename from src/test/run-pass/variance-iterators-in-libcore.rs rename to src/test/ui/variance-iterators-in-libcore.rs diff --git a/src/test/run-pass/volatile-fat-ptr.rs b/src/test/ui/volatile-fat-ptr.rs similarity index 100% rename from src/test/run-pass/volatile-fat-ptr.rs rename to src/test/ui/volatile-fat-ptr.rs diff --git a/src/test/run-pass/wait-forked-but-failed-child.rs b/src/test/ui/wait-forked-but-failed-child.rs similarity index 100% rename from src/test/run-pass/wait-forked-but-failed-child.rs rename to src/test/ui/wait-forked-but-failed-child.rs diff --git a/src/test/run-pass/warn-ctypes-inhibit.rs b/src/test/ui/warn-ctypes-inhibit.rs similarity index 100% rename from src/test/run-pass/warn-ctypes-inhibit.rs rename to src/test/ui/warn-ctypes-inhibit.rs diff --git a/src/test/run-pass/weak-lang-item.rs b/src/test/ui/weak-lang-item.rs similarity index 100% rename from src/test/run-pass/weak-lang-item.rs rename to src/test/ui/weak-lang-item.rs diff --git a/src/test/run-pass/weak-new-uninhabited-issue-48493.rs b/src/test/ui/weak-new-uninhabited-issue-48493.rs similarity index 100% rename from src/test/run-pass/weak-new-uninhabited-issue-48493.rs rename to src/test/ui/weak-new-uninhabited-issue-48493.rs diff --git a/src/test/run-pass/weird-exit-code.rs b/src/test/ui/weird-exit-code.rs similarity index 100% rename from src/test/run-pass/weird-exit-code.rs rename to src/test/ui/weird-exit-code.rs diff --git a/src/test/run-pass/weird-exprs.rs b/src/test/ui/weird-exprs.rs similarity index 100% rename from src/test/run-pass/weird-exprs.rs rename to src/test/ui/weird-exprs.rs diff --git a/src/test/run-pass/wf-bound-region-in-object-type.rs b/src/test/ui/wf-bound-region-in-object-type.rs similarity index 100% rename from src/test/run-pass/wf-bound-region-in-object-type.rs rename to src/test/ui/wf-bound-region-in-object-type.rs diff --git a/src/test/run-pass/where-clauses/auxiliary/where_clauses_xc.rs b/src/test/ui/where-clauses/auxiliary/where_clauses_xc.rs similarity index 100% rename from src/test/run-pass/where-clauses/auxiliary/where_clauses_xc.rs rename to src/test/ui/where-clauses/auxiliary/where_clauses_xc.rs diff --git a/src/test/run-pass/where-clauses/where-clause-bounds-inconsistency.rs b/src/test/ui/where-clauses/where-clause-bounds-inconsistency.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clause-bounds-inconsistency.rs rename to src/test/ui/where-clauses/where-clause-bounds-inconsistency.rs diff --git a/src/test/run-pass/where-clauses/where-clause-early-bound-lifetimes.rs b/src/test/ui/where-clauses/where-clause-early-bound-lifetimes.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clause-early-bound-lifetimes.rs rename to src/test/ui/where-clauses/where-clause-early-bound-lifetimes.rs diff --git a/src/test/run-pass/where-clauses/where-clause-region-outlives.rs b/src/test/ui/where-clauses/where-clause-region-outlives.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clause-region-outlives.rs rename to src/test/ui/where-clauses/where-clause-region-outlives.rs diff --git a/src/test/run-pass/where-clauses/where-clauses-cross-crate.rs b/src/test/ui/where-clauses/where-clauses-cross-crate.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clauses-cross-crate.rs rename to src/test/ui/where-clauses/where-clauses-cross-crate.rs diff --git a/src/test/run-pass/where-clauses/where-clauses-lifetimes.rs b/src/test/ui/where-clauses/where-clauses-lifetimes.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clauses-lifetimes.rs rename to src/test/ui/where-clauses/where-clauses-lifetimes.rs diff --git a/src/test/run-pass/where-clauses/where-clauses-method.rs b/src/test/ui/where-clauses/where-clauses-method.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clauses-method.rs rename to src/test/ui/where-clauses/where-clauses-method.rs diff --git a/src/test/run-pass/where-clauses/where-clauses-unboxed-closures.rs b/src/test/ui/where-clauses/where-clauses-unboxed-closures.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clauses-unboxed-closures.rs rename to src/test/ui/where-clauses/where-clauses-unboxed-closures.rs diff --git a/src/test/run-pass/where-clauses/where-clauses.rs b/src/test/ui/where-clauses/where-clauses.rs similarity index 100% rename from src/test/run-pass/where-clauses/where-clauses.rs rename to src/test/ui/where-clauses/where-clauses.rs diff --git a/src/test/run-pass/wrapping-int-api.rs b/src/test/ui/wrapping-int-api.rs similarity index 100% rename from src/test/run-pass/wrapping-int-api.rs rename to src/test/ui/wrapping-int-api.rs diff --git a/src/test/run-pass/write-fmt-errors.rs b/src/test/ui/write-fmt-errors.rs similarity index 100% rename from src/test/run-pass/write-fmt-errors.rs rename to src/test/ui/write-fmt-errors.rs diff --git a/src/test/run-pass/writealias.rs b/src/test/ui/writealias.rs similarity index 100% rename from src/test/run-pass/writealias.rs rename to src/test/ui/writealias.rs diff --git a/src/test/run-pass/wrong-hashset-issue-42918.rs b/src/test/ui/wrong-hashset-issue-42918.rs similarity index 100% rename from src/test/run-pass/wrong-hashset-issue-42918.rs rename to src/test/ui/wrong-hashset-issue-42918.rs diff --git a/src/test/run-pass/x86stdcall.rs b/src/test/ui/x86stdcall.rs similarity index 100% rename from src/test/run-pass/x86stdcall.rs rename to src/test/ui/x86stdcall.rs diff --git a/src/test/run-pass/x86stdcall2.rs b/src/test/ui/x86stdcall2.rs similarity index 100% rename from src/test/run-pass/x86stdcall2.rs rename to src/test/ui/x86stdcall2.rs diff --git a/src/test/run-pass/yield.rs b/src/test/ui/yield.rs similarity index 100% rename from src/test/run-pass/yield.rs rename to src/test/ui/yield.rs diff --git a/src/test/run-pass/yield1.rs b/src/test/ui/yield1.rs similarity index 100% rename from src/test/run-pass/yield1.rs rename to src/test/ui/yield1.rs diff --git a/src/test/run-pass/yield2.rs b/src/test/ui/yield2.rs similarity index 100% rename from src/test/run-pass/yield2.rs rename to src/test/ui/yield2.rs diff --git a/src/test/run-pass/z-crate-attr.rs b/src/test/ui/z-crate-attr.rs similarity index 100% rename from src/test/run-pass/z-crate-attr.rs rename to src/test/ui/z-crate-attr.rs diff --git a/src/test/run-pass/zero-sized/zero-size-type-destructors.rs b/src/test/ui/zero-sized/zero-size-type-destructors.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-size-type-destructors.rs rename to src/test/ui/zero-sized/zero-size-type-destructors.rs diff --git a/src/test/run-pass/zero-sized/zero-sized-binary-heap-push.rs b/src/test/ui/zero-sized/zero-sized-binary-heap-push.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-sized-binary-heap-push.rs rename to src/test/ui/zero-sized/zero-sized-binary-heap-push.rs diff --git a/src/test/run-pass/zero-sized/zero-sized-btreemap-insert.rs b/src/test/ui/zero-sized/zero-sized-btreemap-insert.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-sized-btreemap-insert.rs rename to src/test/ui/zero-sized/zero-sized-btreemap-insert.rs diff --git a/src/test/run-pass/zero-sized/zero-sized-linkedlist-push.rs b/src/test/ui/zero-sized/zero-sized-linkedlist-push.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-sized-linkedlist-push.rs rename to src/test/ui/zero-sized/zero-sized-linkedlist-push.rs diff --git a/src/test/run-pass/zero-sized/zero-sized-tuple-struct.rs b/src/test/ui/zero-sized/zero-sized-tuple-struct.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-sized-tuple-struct.rs rename to src/test/ui/zero-sized/zero-sized-tuple-struct.rs diff --git a/src/test/run-pass/zero-sized/zero-sized-vec-deque-push.rs b/src/test/ui/zero-sized/zero-sized-vec-deque-push.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-sized-vec-deque-push.rs rename to src/test/ui/zero-sized/zero-sized-vec-deque-push.rs diff --git a/src/test/run-pass/zero-sized/zero-sized-vec-push.rs b/src/test/ui/zero-sized/zero-sized-vec-push.rs similarity index 100% rename from src/test/run-pass/zero-sized/zero-sized-vec-push.rs rename to src/test/ui/zero-sized/zero-sized-vec-push.rs