rust/src/test/ui/regions
Felix S. Klock II a2e090624e Removed #[rustc_error] from tests that are all // compile-pass.
I also added `// skip-codegen` to each one, to address potential concerns
that this change would otherwise slow down our test suite spending time
generating code for files that are really just meant to be checks of
compiler diagnostics.

(However, I will say: My preference is to not use `// skip-codegen` if
one can avoid it. We can use all the testing of how we drive LLVM that
we can get...)

(Updated post rebase.)
2018-11-07 13:09:52 +01:00
..
auxiliary
region-borrow-params-issue-29793-big.ast.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
region-borrow-params-issue-29793-big.ast.stderr
region-borrow-params-issue-29793-big.mir.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
region-borrow-params-issue-29793-big.rs Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
region-borrow-params-issue-29793-small.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
region-borrow-params-issue-29793-small.rs
region-borrow-params-issue-29793-small.stderr
region-bound-extra-bound-in-inherent-impl.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
region-bound-on-closure-outlives-call.nll.stderr Auto merge of #54490 - wesleywiser:rewrite_it_in_mir, r=oli-obk 2018-10-25 20:40:31 +00:00
region-bound-on-closure-outlives-call.rs Rewrite the UnconditionalRecursion lint to use MIR 2018-10-03 21:29:07 -04:00
region-bound-on-closure-outlives-call.stderr Rewrite the UnconditionalRecursion lint to use MIR 2018-10-03 21:29:07 -04:00
region-bound-same-bounds-in-trait-and-impl.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
region-bounds-on-objects-and-type-parameters.rs
region-bounds-on-objects-and-type-parameters.stderr
region-invariant-static-error-reporting.rs
region-invariant-static-error-reporting.stderr
region-lifetime-bounds-on-fns-where-clause.rs
region-lifetime-bounds-on-fns-where-clause.stderr
region-multiple-lifetime-bounds-on-fns-where-clause.rs
region-multiple-lifetime-bounds-on-fns-where-clause.stderr
region-object-lifetime-1.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
region-object-lifetime-2.rs
region-object-lifetime-2.stderr apply process_registered_region_obligations at the end of regionck 2018-09-26 09:38:26 -04:00
region-object-lifetime-3.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
region-object-lifetime-4.rs
region-object-lifetime-4.stderr
region-object-lifetime-5.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
region-object-lifetime-5.rs
region-object-lifetime-5.stderr
region-object-lifetime-in-coercion.rs
region-object-lifetime-in-coercion.stderr
regions-addr-of-arg.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-addr-of-arg.rs
regions-addr-of-arg.stderr
regions-addr-of-self.rs
regions-addr-of-self.stderr
regions-addr-of-upvar-self.rs
regions-addr-of-upvar-self.stderr
regions-adjusted-lvalue-op.nll.stderr Clearer later use messages for calls 2018-10-03 20:32:38 +01:00
regions-adjusted-lvalue-op.rs
regions-adjusted-lvalue-op.stderr
regions-assoc-type-in-supertrait-outlives-container.rs Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-assoc-type-in-supertrait-outlives-container.stderr Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-assoc-type-region-bound-in-trait-not-met.rs
regions-assoc-type-region-bound-in-trait-not-met.stderr
regions-assoc-type-static-bound-in-trait-not-met.rs
regions-assoc-type-static-bound-in-trait-not-met.stderr
regions-bounded-by-trait-requiring-static.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-bounded-by-trait-requiring-static.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-bounded-method-type-parameters-cross-crate.rs
regions-bounded-method-type-parameters-cross-crate.stderr
regions-bounded-method-type-parameters-trait-bound.rs
regions-bounded-method-type-parameters-trait-bound.stderr
regions-bounded-method-type-parameters.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-bounded-method-type-parameters.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-bounds.rs
regions-bounds.stderr
regions-close-associated-type-into-object.rs
regions-close-associated-type-into-object.stderr
regions-close-object-into-object-1.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-close-object-into-object-1.rs
regions-close-object-into-object-1.stderr
regions-close-object-into-object-2.rs
regions-close-object-into-object-2.stderr
regions-close-object-into-object-3.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-close-object-into-object-3.rs
regions-close-object-into-object-3.stderr
regions-close-object-into-object-4.rs
regions-close-object-into-object-4.stderr
regions-close-object-into-object-5.rs
regions-close-object-into-object-5.stderr
regions-close-over-type-parameter-1.rs
regions-close-over-type-parameter-1.stderr
regions-close-over-type-parameter-multiple.rs
regions-close-over-type-parameter-multiple.stderr
regions-close-param-into-object.rs
regions-close-param-into-object.stderr
regions-creating-enums3.rs
regions-creating-enums3.stderr
regions-creating-enums4.rs
regions-creating-enums4.stderr
regions-creating-enums.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-creating-enums.rs
regions-creating-enums.stderr
regions-early-bound-error-method.rs
regions-early-bound-error-method.stderr
regions-early-bound-error.rs
regions-early-bound-error.stderr
regions-enum-not-wf.rs
regions-enum-not-wf.stderr
regions-escape-method.rs
regions-escape-method.stderr
regions-escape-via-trait-or-not.rs
regions-escape-via-trait-or-not.stderr
regions-fn-subtyping-return-static.rs
regions-fn-subtyping-return-static.stderr
regions-free-region-ordering-callee-4.rs
regions-free-region-ordering-callee-4.stderr
regions-free-region-ordering-callee.rs
regions-free-region-ordering-callee.stderr
regions-free-region-ordering-caller1.nll.stderr port the relate-types code from NLL type-check into a type-op 2018-10-24 15:12:50 -04:00
regions-free-region-ordering-caller1.rs
regions-free-region-ordering-caller1.stderr
regions-free-region-ordering-caller.rs Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-free-region-ordering-caller.stderr Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-free-region-ordering-incorrect.rs
regions-free-region-ordering-incorrect.stderr
regions-glb-free-free.rs
regions-glb-free-free.stderr
regions-implied-bounds-projection-gap-1.rs Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-implied-bounds-projection-gap-1.stderr Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-implied-bounds-projection-gap-2.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
regions-implied-bounds-projection-gap-3.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
regions-implied-bounds-projection-gap-4.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
regions-implied-bounds-projection-gap-hr-1.rs
regions-implied-bounds-projection-gap-hr-1.stderr
regions-in-enums-anon.rs
regions-in-enums-anon.stderr
regions-in-enums.rs
regions-in-enums.stderr
regions-in-structs-anon.rs
regions-in-structs-anon.stderr
regions-in-structs.rs
regions-in-structs.stderr
regions-infer-at-fn-not-param.rs
regions-infer-at-fn-not-param.stderr
regions-infer-borrow-scope-too-big.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-infer-borrow-scope-too-big.rs
regions-infer-borrow-scope-too-big.stderr
regions-infer-bound-from-trait-self.rs
regions-infer-bound-from-trait-self.stderr
regions-infer-bound-from-trait.rs
regions-infer-bound-from-trait.stderr
regions-infer-call-3.rs
regions-infer-call-3.stderr
regions-infer-contravariance-due-to-decl.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-infer-contravariance-due-to-decl.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-infer-covariance-due-to-decl.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-infer-covariance-due-to-decl.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-infer-invariance-due-to-decl.rs
regions-infer-invariance-due-to-decl.stderr
regions-infer-invariance-due-to-mutability-3.rs
regions-infer-invariance-due-to-mutability-3.stderr
regions-infer-invariance-due-to-mutability-4.rs
regions-infer-invariance-due-to-mutability-4.stderr
regions-infer-not-param.rs
regions-infer-not-param.stderr
regions-infer-paramd-indirect.rs
regions-infer-paramd-indirect.stderr
regions-infer-proc-static-upvar.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-infer-proc-static-upvar.rs
regions-infer-proc-static-upvar.stderr
regions-lifetime-bounds-on-fns.rs
regions-lifetime-bounds-on-fns.stderr
regions-lifetime-of-struct-or-enum-variant.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-lifetime-of-struct-or-enum-variant.rs
regions-lifetime-of-struct-or-enum-variant.stderr
regions-name-duplicated.rs
regions-name-duplicated.stderr
regions-name-static.rs
regions-name-static.stderr
regions-name-undeclared.rs
regions-name-undeclared.stderr
regions-nested-fns-2.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-nested-fns-2.rs
regions-nested-fns-2.stderr
regions-nested-fns.rs
regions-nested-fns.stderr
regions-normalize-in-where-clause-list.rs
regions-normalize-in-where-clause-list.stderr
regions-outlives-nominal-type-enum-region-rev.rs
regions-outlives-nominal-type-enum-region.rs
regions-outlives-nominal-type-enum-type-rev.rs
regions-outlives-nominal-type-enum-type.rs
regions-outlives-nominal-type-struct-region-rev.rs
regions-outlives-nominal-type-struct-region.rs
regions-outlives-nominal-type-struct-type-rev.rs
regions-outlives-nominal-type-struct-type.rs
regions-outlives-projection-container-hrtb.rs remove #[rustc_error] from ui/ tests that remain compile-fail tests. 2018-11-07 13:09:52 +01:00
regions-outlives-projection-container-hrtb.stderr
regions-outlives-projection-container-wc.rs Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-outlives-projection-container-wc.stderr Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-outlives-projection-container.rs Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-outlives-projection-container.stderr Check user types are well-formed in MIR borrow check 2018-10-10 16:23:59 +01:00
regions-outlives-projection-hrtype.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
regions-outlives-projection-trait-def.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
regions-outlives-scalar.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
regions-pattern-typing-issue-19552.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-pattern-typing-issue-19552.rs
regions-pattern-typing-issue-19552.stderr
regions-pattern-typing-issue-19997.ast.nll.stderr
regions-pattern-typing-issue-19997.ast.stderr
regions-pattern-typing-issue-19997.mir.stderr
regions-pattern-typing-issue-19997.rs
regions-proc-bound-capture.rs
regions-proc-bound-capture.stderr
regions-reborrow-from-shorter-mut-ref-mut-ref.rs
regions-reborrow-from-shorter-mut-ref-mut-ref.stderr
regions-reborrow-from-shorter-mut-ref.rs
regions-reborrow-from-shorter-mut-ref.stderr
regions-ref-in-fn-arg.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-ref-in-fn-arg.rs
regions-ref-in-fn-arg.stderr
regions-ret-borrowed-1.rs
regions-ret-borrowed-1.stderr
regions-ret-borrowed.rs
regions-ret-borrowed.stderr
regions-ret.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-ret.rs
regions-ret.stderr
regions-return-ref-to-upvar-issue-17403.rs
regions-return-ref-to-upvar-issue-17403.stderr
regions-return-stack-allocated-vec.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-return-stack-allocated-vec.rs
regions-return-stack-allocated-vec.stderr
regions-static-bound.ll.stderr stop reporting "unsatisfied lifetime bounds" errors after the first 2018-10-22 11:41:46 -04:00
regions-static-bound.nll.stderr stop reporting "unsatisfied lifetime bounds" errors after the first 2018-10-22 11:41:46 -04:00
regions-static-bound.rs stop reporting "unsatisfied lifetime bounds" errors after the first 2018-10-22 11:41:46 -04:00
regions-steal-closure.nll.stderr
regions-steal-closure.rs
regions-steal-closure.stderr
regions-struct-not-wf.rs
regions-struct-not-wf.stderr
regions-trait-1.rs
regions-trait-1.stderr
regions-trait-object-subtyping.rs
regions-trait-object-subtyping.stderr apply process_registered_region_obligations at the end of regionck 2018-09-26 09:38:26 -04:00
regions-trait-variance.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
regions-trait-variance.rs
regions-trait-variance.stderr
regions-undeclared.rs
regions-undeclared.stderr
regions-var-type-out-of-scope.nll.stderr Update E0714 to E0716 in tests output 2018-09-25 16:24:20 +01:00
regions-var-type-out-of-scope.rs
regions-var-type-out-of-scope.stderr
regions-variance-contravariant-use-covariant-in-second-position.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-contravariant-use-covariant-in-second-position.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-contravariant-use-covariant.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-contravariant-use-covariant.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-covariant-use-contravariant.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-covariant-use-contravariant.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-invariant-use-contravariant.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-invariant-use-contravariant.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-invariant-use-covariant.rs Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-variance-invariant-use-covariant.stderr Enable NLL compare mode for more tests 2018-09-27 22:30:04 +01:00
regions-wf-trait-object.rs
regions-wf-trait-object.stderr