rust/src/test/ui/impl-trait
2021-01-16 19:46:54 -03:00
..
auxiliary tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issues Add two regression tests 2020-11-16 23:13:45 +00:00
multiple-lifetimes Update tests 2020-05-22 18:03:08 +01:00
associated-impl-trait-type-generic-trait.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
associated-impl-trait-type-trivial.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
associated-impl-trait-type.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
auto-trait-leak-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
auto-trait-leak.rs Treat selection error as ambiguous when error type is present 2020-06-04 21:09:31 -04:00
auto-trait-leak.stderr Move from {{closure}}#0 syntax to {closure#0} for (def) path components 2020-09-25 22:46:14 +01:00
auto-trait-leak2.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
auto-trait-leak2.stderr pretty.rs: Update Closure and Generator print 2020-09-28 01:27:19 -04:00
auto-trait.rs Stop special casing top level TAIT 2020-06-11 16:24:01 +01:00
auto-trait.stderr Stop special casing top level TAIT 2020-06-11 16:24:01 +01:00
binding-without-value.rs Expand "recursive opaque type" diagnostic 2020-06-15 11:08:43 -07:00
binding-without-value.stderr review comments 2020-06-15 12:11:28 -07:00
bindings-opaque.rs adjust tests 2020-05-09 14:40:17 +02:00
bindings-opaque.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
bindings.rs adjust tests 2020-05-09 14:40:17 +02:00
bindings.stderr Use correct span for structured suggestion 2021-01-07 16:52:44 -08:00
bound-normalization-fail.rs compiletest: error if compile-fail header in ui test. 2020-02-02 02:08:30 -05:00
bound-normalization-fail.stderr Check opaque types satisfy their bounds 2020-10-06 11:19:30 +01:00
bound-normalization-pass.default.stderr Use its own TypeckResults to avoid ICE 2020-10-25 18:35:24 +09:00
bound-normalization-pass.rs Use its own TypeckResults to avoid ICE 2020-10-25 18:35:24 +09:00
bound-normalization-pass.sa.stderr Use its own TypeckResults to avoid ICE 2020-10-25 18:35:24 +09:00
bounds_regression.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
can-return-unconstrained-closure.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
closure-calling-parent-fn.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
closure-in-impl-trait-arg.rs arg position 2020-10-07 10:19:04 +02:00
closure-in-impl-trait.rs do not lower patterns in impl Trait 2020-10-07 10:19:04 +02:00
deprecated_annotation.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
does-not-live-long-enough.rs Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
does-not-live-long-enough.stderr Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
dyn-trait-elided-two-inputs-assoc.rs distinguish object-lifetime-default elision from other elision 2019-08-19 13:50:42 -04:00
dyn-trait-elided-two-inputs-param.rs distinguish object-lifetime-default elision from other elision 2019-08-19 13:50:42 -04:00
dyn-trait-elided-two-inputs-ref-assoc.rs use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
dyn-trait-elided-two-inputs-ref-param.rs distinguish object-lifetime-default elision from other elision 2019-08-19 13:50:42 -04:00
dyn-trait-return-should-be-impl-trait.rs Ensure tail expression will have a Ty for E0746 2020-04-20 11:17:03 -07:00
dyn-trait-return-should-be-impl-trait.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
equal-hidden-lifetimes.rs Handle equal regions in opaque type inference 2020-02-14 22:40:03 +00:00
equal-hidden-lifetimes.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
equality-rpass.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality-rpass.stderr Suggest minimal subset features in incomplete_features lint 2020-10-17 02:01:08 +09:00
equality.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality.stderr Suggest minimal subset features in incomplete_features lint 2020-10-17 02:01:08 +09:00
equality2.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
equality2.stderr Suggest minimal subset features in incomplete_features lint 2020-10-17 02:01:08 +09:00
example-calendar.rs Update to chalk 0.31. Implement some unimplemented. Ignore some tests in compare mode chalk don't finish. 2020-10-06 14:14:25 -04:00
example-st.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
extra-item.rs
extra-item.stderr Update tests 2019-03-11 23:10:26 +03:00
hidden-lifetimes.rs Add better tests for hidden lifetimes in impl trait 2019-05-18 13:16:45 +01:00
hidden-lifetimes.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
impl-generic-mismatch-ab.rs
impl-generic-mismatch-ab.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
impl-generic-mismatch.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
impl-generic-mismatch.stderr mv std libs to library/ 2020-07-27 19:51:13 -05:00
impl-trait-plus-priority.rs Remove unecessary -Z continue-parse-after-error from tests 2019-05-30 18:57:17 -07:00
impl-trait-plus-priority.stderr
impl_trait_projections.rs
impl_trait_projections.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-55872-1.rs Call type_of for opaque types later in compilation 2020-09-26 17:56:03 +01:00
issue-55872-1.stderr Check opaque types satisfy their bounds 2020-10-06 11:19:30 +01:00
issue-55872-2.rs Update to chalk 0.31. Implement some unimplemented. Ignore some tests in compare mode chalk don't finish. 2020-10-06 14:14:25 -04:00
issue-55872-2.stderr Update to chalk 0.31. Implement some unimplemented. Ignore some tests in compare mode chalk don't finish. 2020-10-06 14:14:25 -04:00
issue-55872.rs Update to chalk 0.31. Implement some unimplemented. Ignore some tests in compare mode chalk don't finish. 2020-10-06 14:14:25 -04:00
issue-55872.stderr Update to chalk 0.31. Implement some unimplemented. Ignore some tests in compare mode chalk don't finish. 2020-10-06 14:14:25 -04:00
issue-56445.rs make ConstEvaluatable more strict 2020-09-08 16:39:12 +02:00
issue-57200.rs Add FIXMEs 2020-03-09 16:50:46 +09:00
issue-57200.stderr Add FIXMEs 2020-03-09 16:50:46 +09:00
issue-57201.rs Add FIXMEs 2020-03-09 16:50:46 +09:00
issue-57201.stderr Add FIXMEs 2020-03-09 16:50:46 +09:00
issue-60473.rs Forbid lifetime elision in let position impl Trait 2020-06-11 16:24:01 +01:00
issue-60473.stderr Forbid lifetime elision in let position impl Trait 2020-06-11 16:24:01 +01:00
issue-67166.rs Forbid lifetime elision in let position impl Trait 2020-06-11 16:24:01 +01:00
issue-67166.stderr Forbid lifetime elision in let position impl Trait 2020-06-11 16:24:01 +01:00
issue-68532.rs Add test for #68532 2020-05-27 00:48:37 +09:00
issue-69840.rs Add test for issue-69840 2020-06-23 17:52:51 +09:00
issue-72911.rs Add test for issue-72911 2020-07-26 18:54:54 +09:00
issue-72911.stderr Rollup merge of #75984 - kornelski:typeormodule, r=matthewjasper 2020-09-09 15:05:45 -07:00
lifetimes.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
method-suggestion-no-duplication.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
method-suggestion-no-duplication.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
multiple-lifetimes.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
must_outlive_least_region_or_bound.nll.stderr Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
must_outlive_least_region_or_bound.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
must_outlive_least_region_or_bound.stderr Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
needs_least_region_or_bound.rs Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
negative-reasoning.rs Stop special casing top level TAIT 2020-06-11 16:24:01 +01:00
negative-reasoning.stderr Stop special casing top level TAIT 2020-06-11 16:24:01 +01:00
nested-return-type.rs Fix and test nested impl Trait 2020-02-14 22:40:03 +00:00
nested_impl_trait.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
nested_impl_trait.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
nesting.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
no-method-suggested-traits.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
no-method-suggested-traits.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
no-trait.rs
no-trait.stderr Update tests 2019-03-11 23:10:26 +03:00
object-unsafe-trait-in-return-position-dyn-trait.rs Account for object safety when suggesting Box<dyn Trait> 2020-01-16 09:49:14 -08:00
object-unsafe-trait-in-return-position-dyn-trait.stderr review comments 2020-10-20 09:26:15 -07:00
object-unsafe-trait-in-return-position-impl-trait.rs Account for object safety when suggesting Box<dyn Trait> 2020-01-16 09:49:14 -08:00
object-unsafe-trait-in-return-position-impl-trait.stderr Make suggestion more complete 2020-09-11 17:05:18 -07:00
point-to-type-err-cause-on-impl-trait-return.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
point-to-type-err-cause-on-impl-trait-return.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
recursive-impl-trait-type-direct.rs Update tests 2020-02-14 22:40:03 +00:00
recursive-impl-trait-type-direct.stderr review comments 2020-06-15 12:11:28 -07:00
recursive-impl-trait-type-indirect.rs Update tests 2020-02-14 22:40:03 +00:00
recursive-impl-trait-type-indirect.stderr pretty.rs: Update Closure and Generator print 2020-09-28 01:27:19 -04:00
recursive-impl-trait-type-through-non-recursive.rs Expand "recursive opaque type" diagnostic 2020-06-15 11:08:43 -07:00
recursive-impl-trait-type-through-non-recursive.stderr review comments 2020-06-15 12:11:28 -07:00
region-escape-via-bound-contravariant-closure.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
region-escape-via-bound-contravariant.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
region-escape-via-bound.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
region-escape-via-bound.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
return-position-impl-trait-minimal.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
static-return-lifetime-infered.nll.stderr Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
static-return-lifetime-infered.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
static-return-lifetime-infered.stderr Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
trait_type.rs
trait_type.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
type-alias-generic-param.rs Fix opaque types resulting from projections in function signature 2019-11-24 14:37:23 -05:00
type-alias-impl-trait-in-fn-body.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
type_parameters_captured.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
type_parameters_captured.rs
type_parameters_captured.stderr Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
universal-mismatched-type.rs
universal-mismatched-type.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
universal-two-impl-traits.rs
universal-two-impl-traits.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
universal_hrtb_anon.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
universal_hrtb_named.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
universal_in_adt_in_parameters.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
universal_in_impl_trait_in_parameters.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
universal_in_trait_defn_parameters.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
universal_multiple_bounds.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
universal_wrong_bounds.rs resolve: Attempt to resolve unresolved paths in macro namespace 2019-07-18 13:42:45 +03:00
universal_wrong_bounds.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
unsafety-checking-cycle.rs Call is_freeze less in unsafety-checking 2020-02-14 20:12:46 +00:00
wf-eval-order.rs Fix bugs in evaluating WellFormed predicates 2020-10-06 11:19:31 +01:00
where-allowed-2.rs Expand "recursive opaque type" diagnostic 2020-06-15 11:08:43 -07:00
where-allowed-2.stderr review comments 2020-06-15 12:11:28 -07:00
where-allowed.rs Call type_of for opaque types later in compilation 2020-09-26 17:56:03 +01:00
where-allowed.stderr Call type_of for opaque types later in compilation 2020-09-26 17:56:03 +01:00
xcrate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
xcrate_simple.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00