From ad35979c50366d6b0fbcda99215f1c4e926e5dab Mon Sep 17 00:00:00 2001 From: Caio Date: Sat, 16 Jan 2021 15:54:05 -0300 Subject: [PATCH] Move some tests to more reasonable directories - 2 Address comments Update limits --- src/test/ui/{issues => abi}/issue-28676.rs | 0 .../issue-15730.rs | 0 .../issue-24338.rs | 0 .../issue-48551.rs | 0 .../issue-50301.rs | 0 .../object-method-numbering.rs | 0 .../issue-76547.nll.stderr | 0 .../ui/{issues => async-await}/issue-76547.rs | 0 .../issue-76547.stderr | 0 .../issue-38940.rs | 0 .../issue-38940.stderr | 0 src/test/ui/{issues => binop}/issue-25916.rs | 0 src/test/ui/{issues => binop}/issue-28837.rs | 0 .../ui/{issues => binop}/issue-28837.stderr | 0 .../ui/{issues => borrowck}/issue-17263.rs | 0 .../ui/{issues => borrowck}/issue-17545.rs | 0 .../{issues => borrowck}/issue-17545.stderr | 0 .../ui/{issues => borrowck}/issue-20801.rs | 0 .../{issues => borrowck}/issue-20801.stderr | 0 .../issue-24267-flow-exit.rs | 0 .../issue-24267-flow-exit.stderr | 0 .../ui/{issues => borrowck}/issue-25793.rs | 0 .../{issues => borrowck}/issue-25793.stderr | 0 ...issue-27282-move-match-input-into-guard.rs | 0 ...e-27282-move-match-input-into-guard.stderr | 0 ...sue-27282-mutate-before-diverging-arm-2.rs | 0 ...27282-mutate-before-diverging-arm-2.stderr | 0 .../issue-27282-reborrow-ref-mut-in-guard.rs | 0 ...sue-27282-reborrow-ref-mut-in-guard.stderr | 0 .../ui/{issues => borrowck}/issue-45199.rs | 0 .../{issues => borrowck}/issue-45199.stderr | 0 .../ui/{issues => borrowck}/issue-46471.rs | 0 .../{issues => borrowck}/issue-46471.stderr | 0 .../{issues => const-generics}/issue-73899.rs | 0 .../{issues => const-generics}/issue-75763.rs | 0 .../{ => consts}/check_const-feature-gated.rs | 0 .../ui/{ => consts}/const-suggest-feature.rs | 0 .../{ => consts}/const-suggest-feature.stderr | 0 .../issue-17718-borrow-interior.rs | 0 .../issue-17718-const-bad-values.rs | 0 .../issue-17718-const-bad-values.stderr | 0 .../issue-17718-const-borrow.rs | 0 .../issue-17718-const-borrow.stderr | 0 src/test/ui/{issues => consts}/issue-21562.rs | 0 src/test/ui/{issues => consts}/issue-21721.rs | 0 src/test/ui/{issues => consts}/issue-27890.rs | 0 src/test/ui/{issues => consts}/issue-28113.rs | 0 .../ui/{issues => consts}/issue-28113.stderr | 0 .../ui/{issues => consts}/issue-29914-2.rs | 0 .../ui/{issues => consts}/issue-29914-3.rs | 0 src/test/ui/{issues => consts}/issue-29914.rs | 0 .../ui/{issues => consts}/issue-29927-1.rs | 0 src/test/ui/{issues => consts}/issue-29927.rs | 0 .../ui/{issues => consts}/issue-32829-2.rs | 0 .../{issues => consts}/issue-32829-2.stderr | 0 src/test/ui/{issues => consts}/issue-36163.rs | 0 .../ui/{issues => consts}/issue-36163.stderr | 0 src/test/ui/{issues => consts}/issue-43105.rs | 0 .../ui/{issues => consts}/issue-43105.stderr | 0 src/test/ui/{issues => consts}/issue-47789.rs | 0 .../issue-52023-array-size-pointer-cast.rs | 0 ...issue-52023-array-size-pointer-cast.stderr | 0 .../issue-58435-ice-with-assoc-const.rs | 0 src/test/ui/{issues => consts}/issue-6991.rs | 0 .../{ => consts}/rustc-args-required-const.rs | 0 .../rustc-args-required-const.stderr | 0 .../{issues => drop}/issue-30018-nopanic.rs | 0 .../issue-28498-ugeh-with-lifetime-param.rs | 0 .../issue-28498-ugeh-with-trait-bound.rs | 0 src/test/ui/{issues => dropck}/issue-29844.rs | 0 .../issue-43398.rs | 0 .../issue-43398.stderr | 0 .../{ => feature-gates}/trace_macros-gate.rs | 0 .../trace_macros-gate.stderr | 0 .../ui/{issues => generics}/issue-2936.rs | 0 .../ui/{ => impl-trait}/nested_impl_trait.rs | 0 .../{ => impl-trait}/nested_impl_trait.stderr | 0 ...-to-type-err-cause-on-impl-trait-return.rs | 0 ...type-err-cause-on-impl-trait-return.stderr | 0 .../issue-26873-onefile.rs | 0 .../ui/{issues => imports}/issue-32119.rs | 0 .../ui/{issues => imports}/issue-32222.rs | 0 .../issue-15881-model-lexer-dotdotdot.rs | 38 ------------------ .../ui/{ => lint}/expr_attr_paren_order.rs | 0 .../{ => lint}/expr_attr_paren_order.stderr | 0 .../issue-17718-const-naming.rs | 0 .../issue-17718-const-naming.stderr | 0 src/test/ui/{issues => lint}/issue-30302.rs | 0 .../ui/{issues => lint}/issue-30302.stderr | 0 src/test/ui/{issues => lint}/issue-34798.rs | 0 src/test/ui/{ => lint}/trivial_casts.rs | 0 src/test/ui/{ => lint}/trivial_casts.stderr | 0 .../inline-asm-bad-constraint.rs | 0 .../inline-asm-bad-constraint.stderr | 0 .../{ => llvm-asm}/inline-asm-bad-operand.rs | 0 .../inline-asm-bad-operand.stderr | 0 .../ui/{issues => llvm-asm}/issue-14936.rs | 0 .../auxiliary/issue-40469.rs | 0 src/test/ui/{issues => macros}/issue-26322.rs | 0 src/test/ui/{issues => macros}/issue-40469.rs | 0 src/test/ui/{issues => macros}/issue-41803.rs | 0 src/test/ui/{issues => macros}/issue-5060.rs | 0 src/test/ui/{issues => mir}/issue-66851.rs | 0 .../issue-45696-long-live-borrows-in-boxes.rs | 0 src/test/ui/{issues => nll}/issue-51345-2.rs | 0 src/test/ui/{issues => nll}/issue-51770.rs | 0 src/test/ui/{issues => nll}/issue-54943-3.rs | 0 src/test/ui/{issues => nll}/issue-55511.rs | 0 .../ui/{issues => nll}/issue-55511.stderr | 0 src/test/ui/non-built-in-quote.rs | 8 ---- .../issue-8460-const.noopt.stderr | 0 .../issue-8460-const.opt.stderr | 0 ...8460-const.opt_with_overflow_checks.stderr | 0 .../issue-8460-const.rs | 0 .../issue-8460.rs | 0 .../auxiliary/issue-21146-inc.rs | 0 .../ui/{ => parser}/can-begin-expr-check.rs | 0 .../{ => parser}/can-begin-expr-check.stderr | 0 .../ui/{issues => parser}/issue-20616-1.rs | 0 .../{issues => parser}/issue-20616-1.stderr | 0 .../ui/{issues => parser}/issue-20616-2.rs | 0 .../{issues => parser}/issue-20616-2.stderr | 0 src/test/ui/{issues => parser}/issue-21146.rs | 0 .../ui/{issues => parser}/issue-21146.stderr | 0 .../ui/{issues => parser}/issue-34222-1.rs | 0 .../{issues => parser}/issue-34222-1.stderr | 0 src/test/ui/{issues => parser}/issue-43196.rs | 0 .../ui/{issues => parser}/issue-43196.stderr | 0 src/test/ui/{issues => parser}/issue-44021.rs | 0 .../ui/{issues => parser}/issue-44021.stderr | 0 src/test/ui/{issues => parser}/issue-45296.rs | 0 .../ui/{issues => parser}/issue-45296.stderr | 0 .../ui/{issues => parser}/issue-46186.fixed | 0 src/test/ui/{issues => parser}/issue-46186.rs | 0 .../ui/{issues => parser}/issue-46186.stderr | 0 src/test/ui/{issues => parser}/issue-51602.rs | 0 .../ui/{issues => parser}/issue-51602.stderr | 0 src/test/ui/{issues => parser}/issue-52496.rs | 0 .../ui/{issues => parser}/issue-52496.stderr | 0 .../ui/{issues => parser}/issue-58856-2.rs | 0 .../{issues => parser}/issue-58856-2.stderr | 0 src/test/ui/{issues => parser}/issue-60075.rs | 0 .../ui/{issues => parser}/issue-60075.stderr | 0 src/test/ui/{issues => parser}/issue-62554.rs | 0 .../ui/{issues => parser}/issue-62554.stderr | 0 src/test/ui/{issues => parser}/issue-66473.rs | Bin .../ui/{issues => parser}/issue-66473.stderr | Bin src/test/ui/{issues => parser}/issue-72253.rs | 0 .../ui/{issues => parser}/issue-72253.stderr | 0 src/test/ui/{issues => parser}/issue-72373.rs | 0 .../ui/{issues => parser}/issue-72373.stderr | 0 src/test/ui/{issues => parser}/issue-75599.rs | 0 src/test/ui/{ => parser}/issue-76597.fixed | 0 src/test/ui/{ => parser}/issue-76597.rs | 0 src/test/ui/{ => parser}/issue-76597.stderr | 0 .../lifetime_starts_expressions.rs | 0 .../lifetime_starts_expressions.stderr | 0 .../ui/{issues => pattern}/issue-12582.rs | 0 .../ui/{issues => pattern}/issue-14221.rs | 0 .../ui/{issues => pattern}/issue-14221.stderr | 0 .../ui/{issues => pattern}/issue-22546.rs | 0 src/test/ui/{issues => pattern}/issue-6449.rs | 0 ...67037-pat-tup-scrut-ty-diff-less-fields.rs | 0 ...7-pat-tup-scrut-ty-diff-less-fields.stderr | 0 src/test/ui/{ => pattern}/size-and-align.rs | 0 .../ui/{issues => privacy}/issue-29161.rs | 0 .../ui/{issues => privacy}/issue-29161.stderr | 0 .../ui/{issues => privacy}/issue-30079.rs | 0 .../ui/{issues => privacy}/issue-30079.stderr | 0 .../ui/{ => privacy}/priv-in-bad-locations.rs | 0 .../priv-in-bad-locations.stderr | 0 .../{ => reachable}/unreachable-code-ret.rs | 0 .../unreachable-code-ret.stderr | 0 .../ui/{issues => regions}/issue-12470.rs | 0 .../ui/{issues => regions}/issue-12470.stderr | 0 .../ui/{issues => regions}/issue-24085.rs | 0 src/test/ui/{issues => regions}/issue-2718.rs | 0 .../issue-28848.nll.stderr | 0 .../ui/{issues => regions}/issue-28848.rs | 0 .../ui/{issues => regions}/issue-28848.stderr | 0 src/test/ui/{issues => regions}/issue-5243.rs | 0 .../eprint-on-tls-drop.rs | 0 src/test/ui/{issues => traits}/issue-6334.rs | 0 src/test/ui/{issues => traits}/issue-65673.rs | 0 .../ui/{issues => traits}/issue-65673.stderr | 0 .../issue-9394-inherited-trait-calls.rs | 0 src/test/ui/typestate-cfg-nesting.rs | 20 --------- .../issue-45087-unreachable-unsafe.rs | 0 .../issue-45087-unreachable-unsafe.stderr | 0 src/tools/tidy/src/ui_tests.rs | 6 +-- 190 files changed, 3 insertions(+), 69 deletions(-) rename src/test/ui/{issues => abi}/issue-28676.rs (100%) rename src/test/ui/{issues => array-slice-vec}/issue-15730.rs (100%) rename src/test/ui/{issues => associated-types}/issue-24338.rs (100%) rename src/test/ui/{issues => associated-types}/issue-48551.rs (100%) rename src/test/ui/{issues => associated-types}/issue-50301.rs (100%) rename src/test/ui/{ => associated-types}/object-method-numbering.rs (100%) rename src/test/ui/{issues => async-await}/issue-76547.nll.stderr (100%) rename src/test/ui/{issues => async-await}/issue-76547.rs (100%) rename src/test/ui/{issues => async-await}/issue-76547.stderr (100%) rename src/test/ui/{issues => autoref-autoderef}/issue-38940.rs (100%) rename src/test/ui/{issues => autoref-autoderef}/issue-38940.stderr (100%) rename src/test/ui/{issues => binop}/issue-25916.rs (100%) rename src/test/ui/{issues => binop}/issue-28837.rs (100%) rename src/test/ui/{issues => binop}/issue-28837.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-17263.rs (100%) rename src/test/ui/{issues => borrowck}/issue-17545.rs (100%) rename src/test/ui/{issues => borrowck}/issue-17545.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-20801.rs (100%) rename src/test/ui/{issues => borrowck}/issue-20801.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-24267-flow-exit.rs (100%) rename src/test/ui/{issues => borrowck}/issue-24267-flow-exit.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-25793.rs (100%) rename src/test/ui/{issues => borrowck}/issue-25793.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-27282-move-match-input-into-guard.rs (100%) rename src/test/ui/{issues => borrowck}/issue-27282-move-match-input-into-guard.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-27282-mutate-before-diverging-arm-2.rs (100%) rename src/test/ui/{issues => borrowck}/issue-27282-mutate-before-diverging-arm-2.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-27282-reborrow-ref-mut-in-guard.rs (100%) rename src/test/ui/{issues => borrowck}/issue-27282-reborrow-ref-mut-in-guard.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-45199.rs (100%) rename src/test/ui/{issues => borrowck}/issue-45199.stderr (100%) rename src/test/ui/{issues => borrowck}/issue-46471.rs (100%) rename src/test/ui/{issues => borrowck}/issue-46471.stderr (100%) rename src/test/ui/{issues => const-generics}/issue-73899.rs (100%) rename src/test/ui/{issues => const-generics}/issue-75763.rs (100%) rename src/test/ui/{ => consts}/check_const-feature-gated.rs (100%) rename src/test/ui/{ => consts}/const-suggest-feature.rs (100%) rename src/test/ui/{ => consts}/const-suggest-feature.stderr (100%) rename src/test/ui/{issues => consts}/issue-17718-borrow-interior.rs (100%) rename src/test/ui/{issues => consts}/issue-17718-const-bad-values.rs (100%) rename src/test/ui/{issues => consts}/issue-17718-const-bad-values.stderr (100%) rename src/test/ui/{issues => consts}/issue-17718-const-borrow.rs (100%) rename src/test/ui/{issues => consts}/issue-17718-const-borrow.stderr (100%) rename src/test/ui/{issues => consts}/issue-21562.rs (100%) rename src/test/ui/{issues => consts}/issue-21721.rs (100%) rename src/test/ui/{issues => consts}/issue-27890.rs (100%) rename src/test/ui/{issues => consts}/issue-28113.rs (100%) rename src/test/ui/{issues => consts}/issue-28113.stderr (100%) rename src/test/ui/{issues => consts}/issue-29914-2.rs (100%) rename src/test/ui/{issues => consts}/issue-29914-3.rs (100%) rename src/test/ui/{issues => consts}/issue-29914.rs (100%) rename src/test/ui/{issues => consts}/issue-29927-1.rs (100%) rename src/test/ui/{issues => consts}/issue-29927.rs (100%) rename src/test/ui/{issues => consts}/issue-32829-2.rs (100%) rename src/test/ui/{issues => consts}/issue-32829-2.stderr (100%) rename src/test/ui/{issues => consts}/issue-36163.rs (100%) rename src/test/ui/{issues => consts}/issue-36163.stderr (100%) rename src/test/ui/{issues => consts}/issue-43105.rs (100%) rename src/test/ui/{issues => consts}/issue-43105.stderr (100%) rename src/test/ui/{issues => consts}/issue-47789.rs (100%) rename src/test/ui/{issues => consts}/issue-52023-array-size-pointer-cast.rs (100%) rename src/test/ui/{issues => consts}/issue-52023-array-size-pointer-cast.stderr (100%) rename src/test/ui/{issues => consts}/issue-58435-ice-with-assoc-const.rs (100%) rename src/test/ui/{issues => consts}/issue-6991.rs (100%) rename src/test/ui/{ => consts}/rustc-args-required-const.rs (100%) rename src/test/ui/{ => consts}/rustc-args-required-const.stderr (100%) rename src/test/ui/{issues => drop}/issue-30018-nopanic.rs (100%) rename src/test/ui/{issues => dropck}/issue-28498-ugeh-with-lifetime-param.rs (100%) rename src/test/ui/{issues => dropck}/issue-28498-ugeh-with-trait-bound.rs (100%) rename src/test/ui/{issues => dropck}/issue-29844.rs (100%) rename src/test/ui/{issues => enum-discriminant}/issue-43398.rs (100%) rename src/test/ui/{issues => enum-discriminant}/issue-43398.stderr (100%) rename src/test/ui/{ => feature-gates}/trace_macros-gate.rs (100%) rename src/test/ui/{ => feature-gates}/trace_macros-gate.stderr (100%) rename src/test/ui/{issues => generics}/issue-2936.rs (100%) rename src/test/ui/{ => impl-trait}/nested_impl_trait.rs (100%) rename src/test/ui/{ => impl-trait}/nested_impl_trait.stderr (100%) rename src/test/ui/{ => impl-trait}/point-to-type-err-cause-on-impl-trait-return.rs (100%) rename src/test/ui/{ => impl-trait}/point-to-type-err-cause-on-impl-trait-return.stderr (100%) rename src/test/ui/{issues => imports}/issue-26873-onefile.rs (100%) rename src/test/ui/{issues => imports}/issue-32119.rs (100%) rename src/test/ui/{issues => imports}/issue-32222.rs (100%) delete mode 100644 src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs rename src/test/ui/{ => lint}/expr_attr_paren_order.rs (100%) rename src/test/ui/{ => lint}/expr_attr_paren_order.stderr (100%) rename src/test/ui/{issues => lint}/issue-17718-const-naming.rs (100%) rename src/test/ui/{issues => lint}/issue-17718-const-naming.stderr (100%) rename src/test/ui/{issues => lint}/issue-30302.rs (100%) rename src/test/ui/{issues => lint}/issue-30302.stderr (100%) rename src/test/ui/{issues => lint}/issue-34798.rs (100%) rename src/test/ui/{ => lint}/trivial_casts.rs (100%) rename src/test/ui/{ => lint}/trivial_casts.stderr (100%) rename src/test/ui/{ => llvm-asm}/inline-asm-bad-constraint.rs (100%) rename src/test/ui/{ => llvm-asm}/inline-asm-bad-constraint.stderr (100%) rename src/test/ui/{ => llvm-asm}/inline-asm-bad-operand.rs (100%) rename src/test/ui/{ => llvm-asm}/inline-asm-bad-operand.stderr (100%) rename src/test/ui/{issues => llvm-asm}/issue-14936.rs (100%) rename src/test/ui/{issues => macros}/auxiliary/issue-40469.rs (100%) rename src/test/ui/{issues => macros}/issue-26322.rs (100%) rename src/test/ui/{issues => macros}/issue-40469.rs (100%) rename src/test/ui/{issues => macros}/issue-41803.rs (100%) rename src/test/ui/{issues => macros}/issue-5060.rs (100%) rename src/test/ui/{issues => mir}/issue-66851.rs (100%) rename src/test/ui/{issues => nll}/issue-45696-long-live-borrows-in-boxes.rs (100%) rename src/test/ui/{issues => nll}/issue-51345-2.rs (100%) rename src/test/ui/{issues => nll}/issue-51770.rs (100%) rename src/test/ui/{issues => nll}/issue-54943-3.rs (100%) rename src/test/ui/{issues => nll}/issue-55511.rs (100%) rename src/test/ui/{issues => nll}/issue-55511.stderr (100%) delete mode 100644 src/test/ui/non-built-in-quote.rs rename src/test/ui/{issues => numbers-arithmetic}/issue-8460-const.noopt.stderr (100%) rename src/test/ui/{issues => numbers-arithmetic}/issue-8460-const.opt.stderr (100%) rename src/test/ui/{issues => numbers-arithmetic}/issue-8460-const.opt_with_overflow_checks.stderr (100%) rename src/test/ui/{issues => numbers-arithmetic}/issue-8460-const.rs (100%) rename src/test/ui/{issues => numbers-arithmetic}/issue-8460.rs (100%) rename src/test/ui/{issues => parser}/auxiliary/issue-21146-inc.rs (100%) rename src/test/ui/{ => parser}/can-begin-expr-check.rs (100%) rename src/test/ui/{ => parser}/can-begin-expr-check.stderr (100%) rename src/test/ui/{issues => parser}/issue-20616-1.rs (100%) rename src/test/ui/{issues => parser}/issue-20616-1.stderr (100%) rename src/test/ui/{issues => parser}/issue-20616-2.rs (100%) rename src/test/ui/{issues => parser}/issue-20616-2.stderr (100%) rename src/test/ui/{issues => parser}/issue-21146.rs (100%) rename src/test/ui/{issues => parser}/issue-21146.stderr (100%) rename src/test/ui/{issues => parser}/issue-34222-1.rs (100%) rename src/test/ui/{issues => parser}/issue-34222-1.stderr (100%) rename src/test/ui/{issues => parser}/issue-43196.rs (100%) rename src/test/ui/{issues => parser}/issue-43196.stderr (100%) rename src/test/ui/{issues => parser}/issue-44021.rs (100%) rename src/test/ui/{issues => parser}/issue-44021.stderr (100%) rename src/test/ui/{issues => parser}/issue-45296.rs (100%) rename src/test/ui/{issues => parser}/issue-45296.stderr (100%) rename src/test/ui/{issues => parser}/issue-46186.fixed (100%) rename src/test/ui/{issues => parser}/issue-46186.rs (100%) rename src/test/ui/{issues => parser}/issue-46186.stderr (100%) rename src/test/ui/{issues => parser}/issue-51602.rs (100%) rename src/test/ui/{issues => parser}/issue-51602.stderr (100%) rename src/test/ui/{issues => parser}/issue-52496.rs (100%) rename src/test/ui/{issues => parser}/issue-52496.stderr (100%) rename src/test/ui/{issues => parser}/issue-58856-2.rs (100%) rename src/test/ui/{issues => parser}/issue-58856-2.stderr (100%) rename src/test/ui/{issues => parser}/issue-60075.rs (100%) rename src/test/ui/{issues => parser}/issue-60075.stderr (100%) rename src/test/ui/{issues => parser}/issue-62554.rs (100%) rename src/test/ui/{issues => parser}/issue-62554.stderr (100%) rename src/test/ui/{issues => parser}/issue-66473.rs (100%) rename src/test/ui/{issues => parser}/issue-66473.stderr (100%) rename src/test/ui/{issues => parser}/issue-72253.rs (100%) rename src/test/ui/{issues => parser}/issue-72253.stderr (100%) rename src/test/ui/{issues => parser}/issue-72373.rs (100%) rename src/test/ui/{issues => parser}/issue-72373.stderr (100%) rename src/test/ui/{issues => parser}/issue-75599.rs (100%) rename src/test/ui/{ => parser}/issue-76597.fixed (100%) rename src/test/ui/{ => parser}/issue-76597.rs (100%) rename src/test/ui/{ => parser}/issue-76597.stderr (100%) rename src/test/ui/{ => parser}/lifetime_starts_expressions.rs (100%) rename src/test/ui/{ => parser}/lifetime_starts_expressions.stderr (100%) rename src/test/ui/{issues => pattern}/issue-12582.rs (100%) rename src/test/ui/{issues => pattern}/issue-14221.rs (100%) rename src/test/ui/{issues => pattern}/issue-14221.stderr (100%) rename src/test/ui/{issues => pattern}/issue-22546.rs (100%) rename src/test/ui/{issues => pattern}/issue-6449.rs (100%) rename src/test/ui/{issues => pattern}/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs (100%) rename src/test/ui/{issues => pattern}/issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr (100%) rename src/test/ui/{ => pattern}/size-and-align.rs (100%) rename src/test/ui/{issues => privacy}/issue-29161.rs (100%) rename src/test/ui/{issues => privacy}/issue-29161.stderr (100%) rename src/test/ui/{issues => privacy}/issue-30079.rs (100%) rename src/test/ui/{issues => privacy}/issue-30079.stderr (100%) rename src/test/ui/{ => privacy}/priv-in-bad-locations.rs (100%) rename src/test/ui/{ => privacy}/priv-in-bad-locations.stderr (100%) rename src/test/ui/{ => reachable}/unreachable-code-ret.rs (100%) rename src/test/ui/{ => reachable}/unreachable-code-ret.stderr (100%) rename src/test/ui/{issues => regions}/issue-12470.rs (100%) rename src/test/ui/{issues => regions}/issue-12470.stderr (100%) rename src/test/ui/{issues => regions}/issue-24085.rs (100%) rename src/test/ui/{issues => regions}/issue-2718.rs (100%) rename src/test/ui/{issues => regions}/issue-28848.nll.stderr (100%) rename src/test/ui/{issues => regions}/issue-28848.rs (100%) rename src/test/ui/{issues => regions}/issue-28848.stderr (100%) rename src/test/ui/{issues => regions}/issue-5243.rs (100%) rename src/test/ui/{ => threads-sendsync}/eprint-on-tls-drop.rs (100%) rename src/test/ui/{issues => traits}/issue-6334.rs (100%) rename src/test/ui/{issues => traits}/issue-65673.rs (100%) rename src/test/ui/{issues => traits}/issue-65673.stderr (100%) rename src/test/ui/{issues => traits}/issue-9394-inherited-trait-calls.rs (100%) delete mode 100644 src/test/ui/typestate-cfg-nesting.rs rename src/test/ui/{issues => unsafe}/issue-45087-unreachable-unsafe.rs (100%) rename src/test/ui/{issues => unsafe}/issue-45087-unreachable-unsafe.stderr (100%) diff --git a/src/test/ui/issues/issue-28676.rs b/src/test/ui/abi/issue-28676.rs similarity index 100% rename from src/test/ui/issues/issue-28676.rs rename to src/test/ui/abi/issue-28676.rs diff --git a/src/test/ui/issues/issue-15730.rs b/src/test/ui/array-slice-vec/issue-15730.rs similarity index 100% rename from src/test/ui/issues/issue-15730.rs rename to src/test/ui/array-slice-vec/issue-15730.rs diff --git a/src/test/ui/issues/issue-24338.rs b/src/test/ui/associated-types/issue-24338.rs similarity index 100% rename from src/test/ui/issues/issue-24338.rs rename to src/test/ui/associated-types/issue-24338.rs diff --git a/src/test/ui/issues/issue-48551.rs b/src/test/ui/associated-types/issue-48551.rs similarity index 100% rename from src/test/ui/issues/issue-48551.rs rename to src/test/ui/associated-types/issue-48551.rs diff --git a/src/test/ui/issues/issue-50301.rs b/src/test/ui/associated-types/issue-50301.rs similarity index 100% rename from src/test/ui/issues/issue-50301.rs rename to src/test/ui/associated-types/issue-50301.rs diff --git a/src/test/ui/object-method-numbering.rs b/src/test/ui/associated-types/object-method-numbering.rs similarity index 100% rename from src/test/ui/object-method-numbering.rs rename to src/test/ui/associated-types/object-method-numbering.rs diff --git a/src/test/ui/issues/issue-76547.nll.stderr b/src/test/ui/async-await/issue-76547.nll.stderr similarity index 100% rename from src/test/ui/issues/issue-76547.nll.stderr rename to src/test/ui/async-await/issue-76547.nll.stderr diff --git a/src/test/ui/issues/issue-76547.rs b/src/test/ui/async-await/issue-76547.rs similarity index 100% rename from src/test/ui/issues/issue-76547.rs rename to src/test/ui/async-await/issue-76547.rs diff --git a/src/test/ui/issues/issue-76547.stderr b/src/test/ui/async-await/issue-76547.stderr similarity index 100% rename from src/test/ui/issues/issue-76547.stderr rename to src/test/ui/async-await/issue-76547.stderr diff --git a/src/test/ui/issues/issue-38940.rs b/src/test/ui/autoref-autoderef/issue-38940.rs similarity index 100% rename from src/test/ui/issues/issue-38940.rs rename to src/test/ui/autoref-autoderef/issue-38940.rs diff --git a/src/test/ui/issues/issue-38940.stderr b/src/test/ui/autoref-autoderef/issue-38940.stderr similarity index 100% rename from src/test/ui/issues/issue-38940.stderr rename to src/test/ui/autoref-autoderef/issue-38940.stderr diff --git a/src/test/ui/issues/issue-25916.rs b/src/test/ui/binop/issue-25916.rs similarity index 100% rename from src/test/ui/issues/issue-25916.rs rename to src/test/ui/binop/issue-25916.rs diff --git a/src/test/ui/issues/issue-28837.rs b/src/test/ui/binop/issue-28837.rs similarity index 100% rename from src/test/ui/issues/issue-28837.rs rename to src/test/ui/binop/issue-28837.rs diff --git a/src/test/ui/issues/issue-28837.stderr b/src/test/ui/binop/issue-28837.stderr similarity index 100% rename from src/test/ui/issues/issue-28837.stderr rename to src/test/ui/binop/issue-28837.stderr diff --git a/src/test/ui/issues/issue-17263.rs b/src/test/ui/borrowck/issue-17263.rs similarity index 100% rename from src/test/ui/issues/issue-17263.rs rename to src/test/ui/borrowck/issue-17263.rs diff --git a/src/test/ui/issues/issue-17545.rs b/src/test/ui/borrowck/issue-17545.rs similarity index 100% rename from src/test/ui/issues/issue-17545.rs rename to src/test/ui/borrowck/issue-17545.rs diff --git a/src/test/ui/issues/issue-17545.stderr b/src/test/ui/borrowck/issue-17545.stderr similarity index 100% rename from src/test/ui/issues/issue-17545.stderr rename to src/test/ui/borrowck/issue-17545.stderr diff --git a/src/test/ui/issues/issue-20801.rs b/src/test/ui/borrowck/issue-20801.rs similarity index 100% rename from src/test/ui/issues/issue-20801.rs rename to src/test/ui/borrowck/issue-20801.rs diff --git a/src/test/ui/issues/issue-20801.stderr b/src/test/ui/borrowck/issue-20801.stderr similarity index 100% rename from src/test/ui/issues/issue-20801.stderr rename to src/test/ui/borrowck/issue-20801.stderr diff --git a/src/test/ui/issues/issue-24267-flow-exit.rs b/src/test/ui/borrowck/issue-24267-flow-exit.rs similarity index 100% rename from src/test/ui/issues/issue-24267-flow-exit.rs rename to src/test/ui/borrowck/issue-24267-flow-exit.rs diff --git a/src/test/ui/issues/issue-24267-flow-exit.stderr b/src/test/ui/borrowck/issue-24267-flow-exit.stderr similarity index 100% rename from src/test/ui/issues/issue-24267-flow-exit.stderr rename to src/test/ui/borrowck/issue-24267-flow-exit.stderr diff --git a/src/test/ui/issues/issue-25793.rs b/src/test/ui/borrowck/issue-25793.rs similarity index 100% rename from src/test/ui/issues/issue-25793.rs rename to src/test/ui/borrowck/issue-25793.rs diff --git a/src/test/ui/issues/issue-25793.stderr b/src/test/ui/borrowck/issue-25793.stderr similarity index 100% rename from src/test/ui/issues/issue-25793.stderr rename to src/test/ui/borrowck/issue-25793.stderr diff --git a/src/test/ui/issues/issue-27282-move-match-input-into-guard.rs b/src/test/ui/borrowck/issue-27282-move-match-input-into-guard.rs similarity index 100% rename from src/test/ui/issues/issue-27282-move-match-input-into-guard.rs rename to src/test/ui/borrowck/issue-27282-move-match-input-into-guard.rs diff --git a/src/test/ui/issues/issue-27282-move-match-input-into-guard.stderr b/src/test/ui/borrowck/issue-27282-move-match-input-into-guard.stderr similarity index 100% rename from src/test/ui/issues/issue-27282-move-match-input-into-guard.stderr rename to src/test/ui/borrowck/issue-27282-move-match-input-into-guard.stderr diff --git a/src/test/ui/issues/issue-27282-mutate-before-diverging-arm-2.rs b/src/test/ui/borrowck/issue-27282-mutate-before-diverging-arm-2.rs similarity index 100% rename from src/test/ui/issues/issue-27282-mutate-before-diverging-arm-2.rs rename to src/test/ui/borrowck/issue-27282-mutate-before-diverging-arm-2.rs diff --git a/src/test/ui/issues/issue-27282-mutate-before-diverging-arm-2.stderr b/src/test/ui/borrowck/issue-27282-mutate-before-diverging-arm-2.stderr similarity index 100% rename from src/test/ui/issues/issue-27282-mutate-before-diverging-arm-2.stderr rename to src/test/ui/borrowck/issue-27282-mutate-before-diverging-arm-2.stderr diff --git a/src/test/ui/issues/issue-27282-reborrow-ref-mut-in-guard.rs b/src/test/ui/borrowck/issue-27282-reborrow-ref-mut-in-guard.rs similarity index 100% rename from src/test/ui/issues/issue-27282-reborrow-ref-mut-in-guard.rs rename to src/test/ui/borrowck/issue-27282-reborrow-ref-mut-in-guard.rs diff --git a/src/test/ui/issues/issue-27282-reborrow-ref-mut-in-guard.stderr b/src/test/ui/borrowck/issue-27282-reborrow-ref-mut-in-guard.stderr similarity index 100% rename from src/test/ui/issues/issue-27282-reborrow-ref-mut-in-guard.stderr rename to src/test/ui/borrowck/issue-27282-reborrow-ref-mut-in-guard.stderr diff --git a/src/test/ui/issues/issue-45199.rs b/src/test/ui/borrowck/issue-45199.rs similarity index 100% rename from src/test/ui/issues/issue-45199.rs rename to src/test/ui/borrowck/issue-45199.rs diff --git a/src/test/ui/issues/issue-45199.stderr b/src/test/ui/borrowck/issue-45199.stderr similarity index 100% rename from src/test/ui/issues/issue-45199.stderr rename to src/test/ui/borrowck/issue-45199.stderr diff --git a/src/test/ui/issues/issue-46471.rs b/src/test/ui/borrowck/issue-46471.rs similarity index 100% rename from src/test/ui/issues/issue-46471.rs rename to src/test/ui/borrowck/issue-46471.rs diff --git a/src/test/ui/issues/issue-46471.stderr b/src/test/ui/borrowck/issue-46471.stderr similarity index 100% rename from src/test/ui/issues/issue-46471.stderr rename to src/test/ui/borrowck/issue-46471.stderr diff --git a/src/test/ui/issues/issue-73899.rs b/src/test/ui/const-generics/issue-73899.rs similarity index 100% rename from src/test/ui/issues/issue-73899.rs rename to src/test/ui/const-generics/issue-73899.rs diff --git a/src/test/ui/issues/issue-75763.rs b/src/test/ui/const-generics/issue-75763.rs similarity index 100% rename from src/test/ui/issues/issue-75763.rs rename to src/test/ui/const-generics/issue-75763.rs diff --git a/src/test/ui/check_const-feature-gated.rs b/src/test/ui/consts/check_const-feature-gated.rs similarity index 100% rename from src/test/ui/check_const-feature-gated.rs rename to src/test/ui/consts/check_const-feature-gated.rs diff --git a/src/test/ui/const-suggest-feature.rs b/src/test/ui/consts/const-suggest-feature.rs similarity index 100% rename from src/test/ui/const-suggest-feature.rs rename to src/test/ui/consts/const-suggest-feature.rs diff --git a/src/test/ui/const-suggest-feature.stderr b/src/test/ui/consts/const-suggest-feature.stderr similarity index 100% rename from src/test/ui/const-suggest-feature.stderr rename to src/test/ui/consts/const-suggest-feature.stderr diff --git a/src/test/ui/issues/issue-17718-borrow-interior.rs b/src/test/ui/consts/issue-17718-borrow-interior.rs similarity index 100% rename from src/test/ui/issues/issue-17718-borrow-interior.rs rename to src/test/ui/consts/issue-17718-borrow-interior.rs diff --git a/src/test/ui/issues/issue-17718-const-bad-values.rs b/src/test/ui/consts/issue-17718-const-bad-values.rs similarity index 100% rename from src/test/ui/issues/issue-17718-const-bad-values.rs rename to src/test/ui/consts/issue-17718-const-bad-values.rs diff --git a/src/test/ui/issues/issue-17718-const-bad-values.stderr b/src/test/ui/consts/issue-17718-const-bad-values.stderr similarity index 100% rename from src/test/ui/issues/issue-17718-const-bad-values.stderr rename to src/test/ui/consts/issue-17718-const-bad-values.stderr diff --git a/src/test/ui/issues/issue-17718-const-borrow.rs b/src/test/ui/consts/issue-17718-const-borrow.rs similarity index 100% rename from src/test/ui/issues/issue-17718-const-borrow.rs rename to src/test/ui/consts/issue-17718-const-borrow.rs diff --git a/src/test/ui/issues/issue-17718-const-borrow.stderr b/src/test/ui/consts/issue-17718-const-borrow.stderr similarity index 100% rename from src/test/ui/issues/issue-17718-const-borrow.stderr rename to src/test/ui/consts/issue-17718-const-borrow.stderr diff --git a/src/test/ui/issues/issue-21562.rs b/src/test/ui/consts/issue-21562.rs similarity index 100% rename from src/test/ui/issues/issue-21562.rs rename to src/test/ui/consts/issue-21562.rs diff --git a/src/test/ui/issues/issue-21721.rs b/src/test/ui/consts/issue-21721.rs similarity index 100% rename from src/test/ui/issues/issue-21721.rs rename to src/test/ui/consts/issue-21721.rs diff --git a/src/test/ui/issues/issue-27890.rs b/src/test/ui/consts/issue-27890.rs similarity index 100% rename from src/test/ui/issues/issue-27890.rs rename to src/test/ui/consts/issue-27890.rs diff --git a/src/test/ui/issues/issue-28113.rs b/src/test/ui/consts/issue-28113.rs similarity index 100% rename from src/test/ui/issues/issue-28113.rs rename to src/test/ui/consts/issue-28113.rs diff --git a/src/test/ui/issues/issue-28113.stderr b/src/test/ui/consts/issue-28113.stderr similarity index 100% rename from src/test/ui/issues/issue-28113.stderr rename to src/test/ui/consts/issue-28113.stderr diff --git a/src/test/ui/issues/issue-29914-2.rs b/src/test/ui/consts/issue-29914-2.rs similarity index 100% rename from src/test/ui/issues/issue-29914-2.rs rename to src/test/ui/consts/issue-29914-2.rs diff --git a/src/test/ui/issues/issue-29914-3.rs b/src/test/ui/consts/issue-29914-3.rs similarity index 100% rename from src/test/ui/issues/issue-29914-3.rs rename to src/test/ui/consts/issue-29914-3.rs diff --git a/src/test/ui/issues/issue-29914.rs b/src/test/ui/consts/issue-29914.rs similarity index 100% rename from src/test/ui/issues/issue-29914.rs rename to src/test/ui/consts/issue-29914.rs diff --git a/src/test/ui/issues/issue-29927-1.rs b/src/test/ui/consts/issue-29927-1.rs similarity index 100% rename from src/test/ui/issues/issue-29927-1.rs rename to src/test/ui/consts/issue-29927-1.rs diff --git a/src/test/ui/issues/issue-29927.rs b/src/test/ui/consts/issue-29927.rs similarity index 100% rename from src/test/ui/issues/issue-29927.rs rename to src/test/ui/consts/issue-29927.rs diff --git a/src/test/ui/issues/issue-32829-2.rs b/src/test/ui/consts/issue-32829-2.rs similarity index 100% rename from src/test/ui/issues/issue-32829-2.rs rename to src/test/ui/consts/issue-32829-2.rs diff --git a/src/test/ui/issues/issue-32829-2.stderr b/src/test/ui/consts/issue-32829-2.stderr similarity index 100% rename from src/test/ui/issues/issue-32829-2.stderr rename to src/test/ui/consts/issue-32829-2.stderr diff --git a/src/test/ui/issues/issue-36163.rs b/src/test/ui/consts/issue-36163.rs similarity index 100% rename from src/test/ui/issues/issue-36163.rs rename to src/test/ui/consts/issue-36163.rs diff --git a/src/test/ui/issues/issue-36163.stderr b/src/test/ui/consts/issue-36163.stderr similarity index 100% rename from src/test/ui/issues/issue-36163.stderr rename to src/test/ui/consts/issue-36163.stderr diff --git a/src/test/ui/issues/issue-43105.rs b/src/test/ui/consts/issue-43105.rs similarity index 100% rename from src/test/ui/issues/issue-43105.rs rename to src/test/ui/consts/issue-43105.rs diff --git a/src/test/ui/issues/issue-43105.stderr b/src/test/ui/consts/issue-43105.stderr similarity index 100% rename from src/test/ui/issues/issue-43105.stderr rename to src/test/ui/consts/issue-43105.stderr diff --git a/src/test/ui/issues/issue-47789.rs b/src/test/ui/consts/issue-47789.rs similarity index 100% rename from src/test/ui/issues/issue-47789.rs rename to src/test/ui/consts/issue-47789.rs diff --git a/src/test/ui/issues/issue-52023-array-size-pointer-cast.rs b/src/test/ui/consts/issue-52023-array-size-pointer-cast.rs similarity index 100% rename from src/test/ui/issues/issue-52023-array-size-pointer-cast.rs rename to src/test/ui/consts/issue-52023-array-size-pointer-cast.rs diff --git a/src/test/ui/issues/issue-52023-array-size-pointer-cast.stderr b/src/test/ui/consts/issue-52023-array-size-pointer-cast.stderr similarity index 100% rename from src/test/ui/issues/issue-52023-array-size-pointer-cast.stderr rename to src/test/ui/consts/issue-52023-array-size-pointer-cast.stderr diff --git a/src/test/ui/issues/issue-58435-ice-with-assoc-const.rs b/src/test/ui/consts/issue-58435-ice-with-assoc-const.rs similarity index 100% rename from src/test/ui/issues/issue-58435-ice-with-assoc-const.rs rename to src/test/ui/consts/issue-58435-ice-with-assoc-const.rs diff --git a/src/test/ui/issues/issue-6991.rs b/src/test/ui/consts/issue-6991.rs similarity index 100% rename from src/test/ui/issues/issue-6991.rs rename to src/test/ui/consts/issue-6991.rs diff --git a/src/test/ui/rustc-args-required-const.rs b/src/test/ui/consts/rustc-args-required-const.rs similarity index 100% rename from src/test/ui/rustc-args-required-const.rs rename to src/test/ui/consts/rustc-args-required-const.rs diff --git a/src/test/ui/rustc-args-required-const.stderr b/src/test/ui/consts/rustc-args-required-const.stderr similarity index 100% rename from src/test/ui/rustc-args-required-const.stderr rename to src/test/ui/consts/rustc-args-required-const.stderr diff --git a/src/test/ui/issues/issue-30018-nopanic.rs b/src/test/ui/drop/issue-30018-nopanic.rs similarity index 100% rename from src/test/ui/issues/issue-30018-nopanic.rs rename to src/test/ui/drop/issue-30018-nopanic.rs diff --git a/src/test/ui/issues/issue-28498-ugeh-with-lifetime-param.rs b/src/test/ui/dropck/issue-28498-ugeh-with-lifetime-param.rs similarity index 100% rename from src/test/ui/issues/issue-28498-ugeh-with-lifetime-param.rs rename to src/test/ui/dropck/issue-28498-ugeh-with-lifetime-param.rs diff --git a/src/test/ui/issues/issue-28498-ugeh-with-trait-bound.rs b/src/test/ui/dropck/issue-28498-ugeh-with-trait-bound.rs similarity index 100% rename from src/test/ui/issues/issue-28498-ugeh-with-trait-bound.rs rename to src/test/ui/dropck/issue-28498-ugeh-with-trait-bound.rs diff --git a/src/test/ui/issues/issue-29844.rs b/src/test/ui/dropck/issue-29844.rs similarity index 100% rename from src/test/ui/issues/issue-29844.rs rename to src/test/ui/dropck/issue-29844.rs diff --git a/src/test/ui/issues/issue-43398.rs b/src/test/ui/enum-discriminant/issue-43398.rs similarity index 100% rename from src/test/ui/issues/issue-43398.rs rename to src/test/ui/enum-discriminant/issue-43398.rs diff --git a/src/test/ui/issues/issue-43398.stderr b/src/test/ui/enum-discriminant/issue-43398.stderr similarity index 100% rename from src/test/ui/issues/issue-43398.stderr rename to src/test/ui/enum-discriminant/issue-43398.stderr diff --git a/src/test/ui/trace_macros-gate.rs b/src/test/ui/feature-gates/trace_macros-gate.rs similarity index 100% rename from src/test/ui/trace_macros-gate.rs rename to src/test/ui/feature-gates/trace_macros-gate.rs diff --git a/src/test/ui/trace_macros-gate.stderr b/src/test/ui/feature-gates/trace_macros-gate.stderr similarity index 100% rename from src/test/ui/trace_macros-gate.stderr rename to src/test/ui/feature-gates/trace_macros-gate.stderr diff --git a/src/test/ui/issues/issue-2936.rs b/src/test/ui/generics/issue-2936.rs similarity index 100% rename from src/test/ui/issues/issue-2936.rs rename to src/test/ui/generics/issue-2936.rs diff --git a/src/test/ui/nested_impl_trait.rs b/src/test/ui/impl-trait/nested_impl_trait.rs similarity index 100% rename from src/test/ui/nested_impl_trait.rs rename to src/test/ui/impl-trait/nested_impl_trait.rs diff --git a/src/test/ui/nested_impl_trait.stderr b/src/test/ui/impl-trait/nested_impl_trait.stderr similarity index 100% rename from src/test/ui/nested_impl_trait.stderr rename to src/test/ui/impl-trait/nested_impl_trait.stderr diff --git a/src/test/ui/point-to-type-err-cause-on-impl-trait-return.rs b/src/test/ui/impl-trait/point-to-type-err-cause-on-impl-trait-return.rs similarity index 100% rename from src/test/ui/point-to-type-err-cause-on-impl-trait-return.rs rename to src/test/ui/impl-trait/point-to-type-err-cause-on-impl-trait-return.rs diff --git a/src/test/ui/point-to-type-err-cause-on-impl-trait-return.stderr b/src/test/ui/impl-trait/point-to-type-err-cause-on-impl-trait-return.stderr similarity index 100% rename from src/test/ui/point-to-type-err-cause-on-impl-trait-return.stderr rename to src/test/ui/impl-trait/point-to-type-err-cause-on-impl-trait-return.stderr diff --git a/src/test/ui/issues/issue-26873-onefile.rs b/src/test/ui/imports/issue-26873-onefile.rs similarity index 100% rename from src/test/ui/issues/issue-26873-onefile.rs rename to src/test/ui/imports/issue-26873-onefile.rs diff --git a/src/test/ui/issues/issue-32119.rs b/src/test/ui/imports/issue-32119.rs similarity index 100% rename from src/test/ui/issues/issue-32119.rs rename to src/test/ui/imports/issue-32119.rs diff --git a/src/test/ui/issues/issue-32222.rs b/src/test/ui/imports/issue-32222.rs similarity index 100% rename from src/test/ui/issues/issue-32222.rs rename to src/test/ui/imports/issue-32222.rs diff --git a/src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs b/src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs deleted file mode 100644 index dee7f25d7bb3a..0000000000000 --- a/src/test/ui/issues/issue-15881-model-lexer-dotdotdot.rs +++ /dev/null @@ -1,38 +0,0 @@ -// run-pass -#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620 -#![allow(ellipsis_inclusive_range_patterns)] - -// regression test for the model lexer handling the DOTDOTDOT syntax (#15877) - - -pub fn main() { - match 5_usize { - 1_usize...5_usize => {} - _ => panic!("should match range"), - } - match 5_usize { - 6_usize...7_usize => panic!("shouldn't match range"), - _ => {} - } - match 5_usize { - 1_usize => panic!("should match non-first range"), - 2_usize...6_usize => {} - _ => panic!("math is broken") - } - match 'c' { - 'a'...'z' => {} - _ => panic!("should support char ranges") - } - match -3_isize { - -7...5 => {} - _ => panic!("should match signed range") - } - match 3.0f64 { - 1.0...5.0 => {} - _ => panic!("should match float range") - } - match -1.5f64 { - -3.6...3.6 => {} - _ => panic!("should match negative float range") - } -} diff --git a/src/test/ui/expr_attr_paren_order.rs b/src/test/ui/lint/expr_attr_paren_order.rs similarity index 100% rename from src/test/ui/expr_attr_paren_order.rs rename to src/test/ui/lint/expr_attr_paren_order.rs diff --git a/src/test/ui/expr_attr_paren_order.stderr b/src/test/ui/lint/expr_attr_paren_order.stderr similarity index 100% rename from src/test/ui/expr_attr_paren_order.stderr rename to src/test/ui/lint/expr_attr_paren_order.stderr diff --git a/src/test/ui/issues/issue-17718-const-naming.rs b/src/test/ui/lint/issue-17718-const-naming.rs similarity index 100% rename from src/test/ui/issues/issue-17718-const-naming.rs rename to src/test/ui/lint/issue-17718-const-naming.rs diff --git a/src/test/ui/issues/issue-17718-const-naming.stderr b/src/test/ui/lint/issue-17718-const-naming.stderr similarity index 100% rename from src/test/ui/issues/issue-17718-const-naming.stderr rename to src/test/ui/lint/issue-17718-const-naming.stderr diff --git a/src/test/ui/issues/issue-30302.rs b/src/test/ui/lint/issue-30302.rs similarity index 100% rename from src/test/ui/issues/issue-30302.rs rename to src/test/ui/lint/issue-30302.rs diff --git a/src/test/ui/issues/issue-30302.stderr b/src/test/ui/lint/issue-30302.stderr similarity index 100% rename from src/test/ui/issues/issue-30302.stderr rename to src/test/ui/lint/issue-30302.stderr diff --git a/src/test/ui/issues/issue-34798.rs b/src/test/ui/lint/issue-34798.rs similarity index 100% rename from src/test/ui/issues/issue-34798.rs rename to src/test/ui/lint/issue-34798.rs diff --git a/src/test/ui/trivial_casts.rs b/src/test/ui/lint/trivial_casts.rs similarity index 100% rename from src/test/ui/trivial_casts.rs rename to src/test/ui/lint/trivial_casts.rs diff --git a/src/test/ui/trivial_casts.stderr b/src/test/ui/lint/trivial_casts.stderr similarity index 100% rename from src/test/ui/trivial_casts.stderr rename to src/test/ui/lint/trivial_casts.stderr diff --git a/src/test/ui/inline-asm-bad-constraint.rs b/src/test/ui/llvm-asm/inline-asm-bad-constraint.rs similarity index 100% rename from src/test/ui/inline-asm-bad-constraint.rs rename to src/test/ui/llvm-asm/inline-asm-bad-constraint.rs diff --git a/src/test/ui/inline-asm-bad-constraint.stderr b/src/test/ui/llvm-asm/inline-asm-bad-constraint.stderr similarity index 100% rename from src/test/ui/inline-asm-bad-constraint.stderr rename to src/test/ui/llvm-asm/inline-asm-bad-constraint.stderr diff --git a/src/test/ui/inline-asm-bad-operand.rs b/src/test/ui/llvm-asm/inline-asm-bad-operand.rs similarity index 100% rename from src/test/ui/inline-asm-bad-operand.rs rename to src/test/ui/llvm-asm/inline-asm-bad-operand.rs diff --git a/src/test/ui/inline-asm-bad-operand.stderr b/src/test/ui/llvm-asm/inline-asm-bad-operand.stderr similarity index 100% rename from src/test/ui/inline-asm-bad-operand.stderr rename to src/test/ui/llvm-asm/inline-asm-bad-operand.stderr diff --git a/src/test/ui/issues/issue-14936.rs b/src/test/ui/llvm-asm/issue-14936.rs similarity index 100% rename from src/test/ui/issues/issue-14936.rs rename to src/test/ui/llvm-asm/issue-14936.rs diff --git a/src/test/ui/issues/auxiliary/issue-40469.rs b/src/test/ui/macros/auxiliary/issue-40469.rs similarity index 100% rename from src/test/ui/issues/auxiliary/issue-40469.rs rename to src/test/ui/macros/auxiliary/issue-40469.rs diff --git a/src/test/ui/issues/issue-26322.rs b/src/test/ui/macros/issue-26322.rs similarity index 100% rename from src/test/ui/issues/issue-26322.rs rename to src/test/ui/macros/issue-26322.rs diff --git a/src/test/ui/issues/issue-40469.rs b/src/test/ui/macros/issue-40469.rs similarity index 100% rename from src/test/ui/issues/issue-40469.rs rename to src/test/ui/macros/issue-40469.rs diff --git a/src/test/ui/issues/issue-41803.rs b/src/test/ui/macros/issue-41803.rs similarity index 100% rename from src/test/ui/issues/issue-41803.rs rename to src/test/ui/macros/issue-41803.rs diff --git a/src/test/ui/issues/issue-5060.rs b/src/test/ui/macros/issue-5060.rs similarity index 100% rename from src/test/ui/issues/issue-5060.rs rename to src/test/ui/macros/issue-5060.rs diff --git a/src/test/ui/issues/issue-66851.rs b/src/test/ui/mir/issue-66851.rs similarity index 100% rename from src/test/ui/issues/issue-66851.rs rename to src/test/ui/mir/issue-66851.rs diff --git a/src/test/ui/issues/issue-45696-long-live-borrows-in-boxes.rs b/src/test/ui/nll/issue-45696-long-live-borrows-in-boxes.rs similarity index 100% rename from src/test/ui/issues/issue-45696-long-live-borrows-in-boxes.rs rename to src/test/ui/nll/issue-45696-long-live-borrows-in-boxes.rs diff --git a/src/test/ui/issues/issue-51345-2.rs b/src/test/ui/nll/issue-51345-2.rs similarity index 100% rename from src/test/ui/issues/issue-51345-2.rs rename to src/test/ui/nll/issue-51345-2.rs diff --git a/src/test/ui/issues/issue-51770.rs b/src/test/ui/nll/issue-51770.rs similarity index 100% rename from src/test/ui/issues/issue-51770.rs rename to src/test/ui/nll/issue-51770.rs diff --git a/src/test/ui/issues/issue-54943-3.rs b/src/test/ui/nll/issue-54943-3.rs similarity index 100% rename from src/test/ui/issues/issue-54943-3.rs rename to src/test/ui/nll/issue-54943-3.rs diff --git a/src/test/ui/issues/issue-55511.rs b/src/test/ui/nll/issue-55511.rs similarity index 100% rename from src/test/ui/issues/issue-55511.rs rename to src/test/ui/nll/issue-55511.rs diff --git a/src/test/ui/issues/issue-55511.stderr b/src/test/ui/nll/issue-55511.stderr similarity index 100% rename from src/test/ui/issues/issue-55511.stderr rename to src/test/ui/nll/issue-55511.stderr diff --git a/src/test/ui/non-built-in-quote.rs b/src/test/ui/non-built-in-quote.rs deleted file mode 100644 index 92efa99e3969d..0000000000000 --- a/src/test/ui/non-built-in-quote.rs +++ /dev/null @@ -1,8 +0,0 @@ -// run-pass -// pretty-expanded FIXME #23616 - -macro_rules! quote_tokens { () => (()) } - -pub fn main() { - quote_tokens!(); -} diff --git a/src/test/ui/issues/issue-8460-const.noopt.stderr b/src/test/ui/numbers-arithmetic/issue-8460-const.noopt.stderr similarity index 100% rename from src/test/ui/issues/issue-8460-const.noopt.stderr rename to src/test/ui/numbers-arithmetic/issue-8460-const.noopt.stderr diff --git a/src/test/ui/issues/issue-8460-const.opt.stderr b/src/test/ui/numbers-arithmetic/issue-8460-const.opt.stderr similarity index 100% rename from src/test/ui/issues/issue-8460-const.opt.stderr rename to src/test/ui/numbers-arithmetic/issue-8460-const.opt.stderr diff --git a/src/test/ui/issues/issue-8460-const.opt_with_overflow_checks.stderr b/src/test/ui/numbers-arithmetic/issue-8460-const.opt_with_overflow_checks.stderr similarity index 100% rename from src/test/ui/issues/issue-8460-const.opt_with_overflow_checks.stderr rename to src/test/ui/numbers-arithmetic/issue-8460-const.opt_with_overflow_checks.stderr diff --git a/src/test/ui/issues/issue-8460-const.rs b/src/test/ui/numbers-arithmetic/issue-8460-const.rs similarity index 100% rename from src/test/ui/issues/issue-8460-const.rs rename to src/test/ui/numbers-arithmetic/issue-8460-const.rs diff --git a/src/test/ui/issues/issue-8460.rs b/src/test/ui/numbers-arithmetic/issue-8460.rs similarity index 100% rename from src/test/ui/issues/issue-8460.rs rename to src/test/ui/numbers-arithmetic/issue-8460.rs diff --git a/src/test/ui/issues/auxiliary/issue-21146-inc.rs b/src/test/ui/parser/auxiliary/issue-21146-inc.rs similarity index 100% rename from src/test/ui/issues/auxiliary/issue-21146-inc.rs rename to src/test/ui/parser/auxiliary/issue-21146-inc.rs diff --git a/src/test/ui/can-begin-expr-check.rs b/src/test/ui/parser/can-begin-expr-check.rs similarity index 100% rename from src/test/ui/can-begin-expr-check.rs rename to src/test/ui/parser/can-begin-expr-check.rs diff --git a/src/test/ui/can-begin-expr-check.stderr b/src/test/ui/parser/can-begin-expr-check.stderr similarity index 100% rename from src/test/ui/can-begin-expr-check.stderr rename to src/test/ui/parser/can-begin-expr-check.stderr diff --git a/src/test/ui/issues/issue-20616-1.rs b/src/test/ui/parser/issue-20616-1.rs similarity index 100% rename from src/test/ui/issues/issue-20616-1.rs rename to src/test/ui/parser/issue-20616-1.rs diff --git a/src/test/ui/issues/issue-20616-1.stderr b/src/test/ui/parser/issue-20616-1.stderr similarity index 100% rename from src/test/ui/issues/issue-20616-1.stderr rename to src/test/ui/parser/issue-20616-1.stderr diff --git a/src/test/ui/issues/issue-20616-2.rs b/src/test/ui/parser/issue-20616-2.rs similarity index 100% rename from src/test/ui/issues/issue-20616-2.rs rename to src/test/ui/parser/issue-20616-2.rs diff --git a/src/test/ui/issues/issue-20616-2.stderr b/src/test/ui/parser/issue-20616-2.stderr similarity index 100% rename from src/test/ui/issues/issue-20616-2.stderr rename to src/test/ui/parser/issue-20616-2.stderr diff --git a/src/test/ui/issues/issue-21146.rs b/src/test/ui/parser/issue-21146.rs similarity index 100% rename from src/test/ui/issues/issue-21146.rs rename to src/test/ui/parser/issue-21146.rs diff --git a/src/test/ui/issues/issue-21146.stderr b/src/test/ui/parser/issue-21146.stderr similarity index 100% rename from src/test/ui/issues/issue-21146.stderr rename to src/test/ui/parser/issue-21146.stderr diff --git a/src/test/ui/issues/issue-34222-1.rs b/src/test/ui/parser/issue-34222-1.rs similarity index 100% rename from src/test/ui/issues/issue-34222-1.rs rename to src/test/ui/parser/issue-34222-1.rs diff --git a/src/test/ui/issues/issue-34222-1.stderr b/src/test/ui/parser/issue-34222-1.stderr similarity index 100% rename from src/test/ui/issues/issue-34222-1.stderr rename to src/test/ui/parser/issue-34222-1.stderr diff --git a/src/test/ui/issues/issue-43196.rs b/src/test/ui/parser/issue-43196.rs similarity index 100% rename from src/test/ui/issues/issue-43196.rs rename to src/test/ui/parser/issue-43196.rs diff --git a/src/test/ui/issues/issue-43196.stderr b/src/test/ui/parser/issue-43196.stderr similarity index 100% rename from src/test/ui/issues/issue-43196.stderr rename to src/test/ui/parser/issue-43196.stderr diff --git a/src/test/ui/issues/issue-44021.rs b/src/test/ui/parser/issue-44021.rs similarity index 100% rename from src/test/ui/issues/issue-44021.rs rename to src/test/ui/parser/issue-44021.rs diff --git a/src/test/ui/issues/issue-44021.stderr b/src/test/ui/parser/issue-44021.stderr similarity index 100% rename from src/test/ui/issues/issue-44021.stderr rename to src/test/ui/parser/issue-44021.stderr diff --git a/src/test/ui/issues/issue-45296.rs b/src/test/ui/parser/issue-45296.rs similarity index 100% rename from src/test/ui/issues/issue-45296.rs rename to src/test/ui/parser/issue-45296.rs diff --git a/src/test/ui/issues/issue-45296.stderr b/src/test/ui/parser/issue-45296.stderr similarity index 100% rename from src/test/ui/issues/issue-45296.stderr rename to src/test/ui/parser/issue-45296.stderr diff --git a/src/test/ui/issues/issue-46186.fixed b/src/test/ui/parser/issue-46186.fixed similarity index 100% rename from src/test/ui/issues/issue-46186.fixed rename to src/test/ui/parser/issue-46186.fixed diff --git a/src/test/ui/issues/issue-46186.rs b/src/test/ui/parser/issue-46186.rs similarity index 100% rename from src/test/ui/issues/issue-46186.rs rename to src/test/ui/parser/issue-46186.rs diff --git a/src/test/ui/issues/issue-46186.stderr b/src/test/ui/parser/issue-46186.stderr similarity index 100% rename from src/test/ui/issues/issue-46186.stderr rename to src/test/ui/parser/issue-46186.stderr diff --git a/src/test/ui/issues/issue-51602.rs b/src/test/ui/parser/issue-51602.rs similarity index 100% rename from src/test/ui/issues/issue-51602.rs rename to src/test/ui/parser/issue-51602.rs diff --git a/src/test/ui/issues/issue-51602.stderr b/src/test/ui/parser/issue-51602.stderr similarity index 100% rename from src/test/ui/issues/issue-51602.stderr rename to src/test/ui/parser/issue-51602.stderr diff --git a/src/test/ui/issues/issue-52496.rs b/src/test/ui/parser/issue-52496.rs similarity index 100% rename from src/test/ui/issues/issue-52496.rs rename to src/test/ui/parser/issue-52496.rs diff --git a/src/test/ui/issues/issue-52496.stderr b/src/test/ui/parser/issue-52496.stderr similarity index 100% rename from src/test/ui/issues/issue-52496.stderr rename to src/test/ui/parser/issue-52496.stderr diff --git a/src/test/ui/issues/issue-58856-2.rs b/src/test/ui/parser/issue-58856-2.rs similarity index 100% rename from src/test/ui/issues/issue-58856-2.rs rename to src/test/ui/parser/issue-58856-2.rs diff --git a/src/test/ui/issues/issue-58856-2.stderr b/src/test/ui/parser/issue-58856-2.stderr similarity index 100% rename from src/test/ui/issues/issue-58856-2.stderr rename to src/test/ui/parser/issue-58856-2.stderr diff --git a/src/test/ui/issues/issue-60075.rs b/src/test/ui/parser/issue-60075.rs similarity index 100% rename from src/test/ui/issues/issue-60075.rs rename to src/test/ui/parser/issue-60075.rs diff --git a/src/test/ui/issues/issue-60075.stderr b/src/test/ui/parser/issue-60075.stderr similarity index 100% rename from src/test/ui/issues/issue-60075.stderr rename to src/test/ui/parser/issue-60075.stderr diff --git a/src/test/ui/issues/issue-62554.rs b/src/test/ui/parser/issue-62554.rs similarity index 100% rename from src/test/ui/issues/issue-62554.rs rename to src/test/ui/parser/issue-62554.rs diff --git a/src/test/ui/issues/issue-62554.stderr b/src/test/ui/parser/issue-62554.stderr similarity index 100% rename from src/test/ui/issues/issue-62554.stderr rename to src/test/ui/parser/issue-62554.stderr diff --git a/src/test/ui/issues/issue-66473.rs b/src/test/ui/parser/issue-66473.rs similarity index 100% rename from src/test/ui/issues/issue-66473.rs rename to src/test/ui/parser/issue-66473.rs diff --git a/src/test/ui/issues/issue-66473.stderr b/src/test/ui/parser/issue-66473.stderr similarity index 100% rename from src/test/ui/issues/issue-66473.stderr rename to src/test/ui/parser/issue-66473.stderr diff --git a/src/test/ui/issues/issue-72253.rs b/src/test/ui/parser/issue-72253.rs similarity index 100% rename from src/test/ui/issues/issue-72253.rs rename to src/test/ui/parser/issue-72253.rs diff --git a/src/test/ui/issues/issue-72253.stderr b/src/test/ui/parser/issue-72253.stderr similarity index 100% rename from src/test/ui/issues/issue-72253.stderr rename to src/test/ui/parser/issue-72253.stderr diff --git a/src/test/ui/issues/issue-72373.rs b/src/test/ui/parser/issue-72373.rs similarity index 100% rename from src/test/ui/issues/issue-72373.rs rename to src/test/ui/parser/issue-72373.rs diff --git a/src/test/ui/issues/issue-72373.stderr b/src/test/ui/parser/issue-72373.stderr similarity index 100% rename from src/test/ui/issues/issue-72373.stderr rename to src/test/ui/parser/issue-72373.stderr diff --git a/src/test/ui/issues/issue-75599.rs b/src/test/ui/parser/issue-75599.rs similarity index 100% rename from src/test/ui/issues/issue-75599.rs rename to src/test/ui/parser/issue-75599.rs diff --git a/src/test/ui/issue-76597.fixed b/src/test/ui/parser/issue-76597.fixed similarity index 100% rename from src/test/ui/issue-76597.fixed rename to src/test/ui/parser/issue-76597.fixed diff --git a/src/test/ui/issue-76597.rs b/src/test/ui/parser/issue-76597.rs similarity index 100% rename from src/test/ui/issue-76597.rs rename to src/test/ui/parser/issue-76597.rs diff --git a/src/test/ui/issue-76597.stderr b/src/test/ui/parser/issue-76597.stderr similarity index 100% rename from src/test/ui/issue-76597.stderr rename to src/test/ui/parser/issue-76597.stderr diff --git a/src/test/ui/lifetime_starts_expressions.rs b/src/test/ui/parser/lifetime_starts_expressions.rs similarity index 100% rename from src/test/ui/lifetime_starts_expressions.rs rename to src/test/ui/parser/lifetime_starts_expressions.rs diff --git a/src/test/ui/lifetime_starts_expressions.stderr b/src/test/ui/parser/lifetime_starts_expressions.stderr similarity index 100% rename from src/test/ui/lifetime_starts_expressions.stderr rename to src/test/ui/parser/lifetime_starts_expressions.stderr diff --git a/src/test/ui/issues/issue-12582.rs b/src/test/ui/pattern/issue-12582.rs similarity index 100% rename from src/test/ui/issues/issue-12582.rs rename to src/test/ui/pattern/issue-12582.rs diff --git a/src/test/ui/issues/issue-14221.rs b/src/test/ui/pattern/issue-14221.rs similarity index 100% rename from src/test/ui/issues/issue-14221.rs rename to src/test/ui/pattern/issue-14221.rs diff --git a/src/test/ui/issues/issue-14221.stderr b/src/test/ui/pattern/issue-14221.stderr similarity index 100% rename from src/test/ui/issues/issue-14221.stderr rename to src/test/ui/pattern/issue-14221.stderr diff --git a/src/test/ui/issues/issue-22546.rs b/src/test/ui/pattern/issue-22546.rs similarity index 100% rename from src/test/ui/issues/issue-22546.rs rename to src/test/ui/pattern/issue-22546.rs diff --git a/src/test/ui/issues/issue-6449.rs b/src/test/ui/pattern/issue-6449.rs similarity index 100% rename from src/test/ui/issues/issue-6449.rs rename to src/test/ui/pattern/issue-6449.rs diff --git a/src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs b/src/test/ui/pattern/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs similarity index 100% rename from src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs rename to src/test/ui/pattern/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs diff --git a/src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr b/src/test/ui/pattern/issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr similarity index 100% rename from src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr rename to src/test/ui/pattern/issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr diff --git a/src/test/ui/size-and-align.rs b/src/test/ui/pattern/size-and-align.rs similarity index 100% rename from src/test/ui/size-and-align.rs rename to src/test/ui/pattern/size-and-align.rs diff --git a/src/test/ui/issues/issue-29161.rs b/src/test/ui/privacy/issue-29161.rs similarity index 100% rename from src/test/ui/issues/issue-29161.rs rename to src/test/ui/privacy/issue-29161.rs diff --git a/src/test/ui/issues/issue-29161.stderr b/src/test/ui/privacy/issue-29161.stderr similarity index 100% rename from src/test/ui/issues/issue-29161.stderr rename to src/test/ui/privacy/issue-29161.stderr diff --git a/src/test/ui/issues/issue-30079.rs b/src/test/ui/privacy/issue-30079.rs similarity index 100% rename from src/test/ui/issues/issue-30079.rs rename to src/test/ui/privacy/issue-30079.rs diff --git a/src/test/ui/issues/issue-30079.stderr b/src/test/ui/privacy/issue-30079.stderr similarity index 100% rename from src/test/ui/issues/issue-30079.stderr rename to src/test/ui/privacy/issue-30079.stderr diff --git a/src/test/ui/priv-in-bad-locations.rs b/src/test/ui/privacy/priv-in-bad-locations.rs similarity index 100% rename from src/test/ui/priv-in-bad-locations.rs rename to src/test/ui/privacy/priv-in-bad-locations.rs diff --git a/src/test/ui/priv-in-bad-locations.stderr b/src/test/ui/privacy/priv-in-bad-locations.stderr similarity index 100% rename from src/test/ui/priv-in-bad-locations.stderr rename to src/test/ui/privacy/priv-in-bad-locations.stderr diff --git a/src/test/ui/unreachable-code-ret.rs b/src/test/ui/reachable/unreachable-code-ret.rs similarity index 100% rename from src/test/ui/unreachable-code-ret.rs rename to src/test/ui/reachable/unreachable-code-ret.rs diff --git a/src/test/ui/unreachable-code-ret.stderr b/src/test/ui/reachable/unreachable-code-ret.stderr similarity index 100% rename from src/test/ui/unreachable-code-ret.stderr rename to src/test/ui/reachable/unreachable-code-ret.stderr diff --git a/src/test/ui/issues/issue-12470.rs b/src/test/ui/regions/issue-12470.rs similarity index 100% rename from src/test/ui/issues/issue-12470.rs rename to src/test/ui/regions/issue-12470.rs diff --git a/src/test/ui/issues/issue-12470.stderr b/src/test/ui/regions/issue-12470.stderr similarity index 100% rename from src/test/ui/issues/issue-12470.stderr rename to src/test/ui/regions/issue-12470.stderr diff --git a/src/test/ui/issues/issue-24085.rs b/src/test/ui/regions/issue-24085.rs similarity index 100% rename from src/test/ui/issues/issue-24085.rs rename to src/test/ui/regions/issue-24085.rs diff --git a/src/test/ui/issues/issue-2718.rs b/src/test/ui/regions/issue-2718.rs similarity index 100% rename from src/test/ui/issues/issue-2718.rs rename to src/test/ui/regions/issue-2718.rs diff --git a/src/test/ui/issues/issue-28848.nll.stderr b/src/test/ui/regions/issue-28848.nll.stderr similarity index 100% rename from src/test/ui/issues/issue-28848.nll.stderr rename to src/test/ui/regions/issue-28848.nll.stderr diff --git a/src/test/ui/issues/issue-28848.rs b/src/test/ui/regions/issue-28848.rs similarity index 100% rename from src/test/ui/issues/issue-28848.rs rename to src/test/ui/regions/issue-28848.rs diff --git a/src/test/ui/issues/issue-28848.stderr b/src/test/ui/regions/issue-28848.stderr similarity index 100% rename from src/test/ui/issues/issue-28848.stderr rename to src/test/ui/regions/issue-28848.stderr diff --git a/src/test/ui/issues/issue-5243.rs b/src/test/ui/regions/issue-5243.rs similarity index 100% rename from src/test/ui/issues/issue-5243.rs rename to src/test/ui/regions/issue-5243.rs diff --git a/src/test/ui/eprint-on-tls-drop.rs b/src/test/ui/threads-sendsync/eprint-on-tls-drop.rs similarity index 100% rename from src/test/ui/eprint-on-tls-drop.rs rename to src/test/ui/threads-sendsync/eprint-on-tls-drop.rs diff --git a/src/test/ui/issues/issue-6334.rs b/src/test/ui/traits/issue-6334.rs similarity index 100% rename from src/test/ui/issues/issue-6334.rs rename to src/test/ui/traits/issue-6334.rs diff --git a/src/test/ui/issues/issue-65673.rs b/src/test/ui/traits/issue-65673.rs similarity index 100% rename from src/test/ui/issues/issue-65673.rs rename to src/test/ui/traits/issue-65673.rs diff --git a/src/test/ui/issues/issue-65673.stderr b/src/test/ui/traits/issue-65673.stderr similarity index 100% rename from src/test/ui/issues/issue-65673.stderr rename to src/test/ui/traits/issue-65673.stderr diff --git a/src/test/ui/issues/issue-9394-inherited-trait-calls.rs b/src/test/ui/traits/issue-9394-inherited-trait-calls.rs similarity index 100% rename from src/test/ui/issues/issue-9394-inherited-trait-calls.rs rename to src/test/ui/traits/issue-9394-inherited-trait-calls.rs diff --git a/src/test/ui/typestate-cfg-nesting.rs b/src/test/ui/typestate-cfg-nesting.rs deleted file mode 100644 index 5718e0efd1826..0000000000000 --- a/src/test/ui/typestate-cfg-nesting.rs +++ /dev/null @@ -1,20 +0,0 @@ -// run-pass - -#![allow(dead_code)] -#![allow(unused_assignments)] -#![allow(unknown_lints)] -// pretty-expanded FIXME #23616 - -#![allow(dead_assignment)] -#![allow(unused_variables)] - -fn f() { - let x = 10; let mut y = 11; - if true { match x { _ => { y = x; } } } else { } -} - -pub fn main() { - let x = 10; - let mut y = 11; - if true { while false { y = x; } } else { } -} diff --git a/src/test/ui/issues/issue-45087-unreachable-unsafe.rs b/src/test/ui/unsafe/issue-45087-unreachable-unsafe.rs similarity index 100% rename from src/test/ui/issues/issue-45087-unreachable-unsafe.rs rename to src/test/ui/unsafe/issue-45087-unreachable-unsafe.rs diff --git a/src/test/ui/issues/issue-45087-unreachable-unsafe.stderr b/src/test/ui/unsafe/issue-45087-unreachable-unsafe.stderr similarity index 100% rename from src/test/ui/issues/issue-45087-unreachable-unsafe.stderr rename to src/test/ui/unsafe/issue-45087-unreachable-unsafe.stderr diff --git a/src/tools/tidy/src/ui_tests.rs b/src/tools/tidy/src/ui_tests.rs index bc5e43d8f0a1c..e687901f212b6 100644 --- a/src/tools/tidy/src/ui_tests.rs +++ b/src/tools/tidy/src/ui_tests.rs @@ -7,8 +7,8 @@ use std::path::Path; const ENTRY_LIMIT: usize = 1000; // FIXME: The following limits should be reduced eventually. -const ROOT_ENTRY_LIMIT: usize = 1500; -const ISSUES_ENTRY_LIMIT: usize = 2830; +const ROOT_ENTRY_LIMIT: usize = 1458; +const ISSUES_ENTRY_LIMIT: usize = 2669; fn check_entries(path: &Path, bad: &mut bool) { let dirs = walkdir::WalkDir::new(&path.join("test/ui")) @@ -30,7 +30,7 @@ fn check_entries(path: &Path, bad: &mut bool) { }; let count = std::fs::read_dir(dir_path).unwrap().count(); - if count >= limit { + if count > limit { tidy_error!( bad, "following path contains more than {} entries, \