rust/src/test/ui/impl-trait
2021-08-03 20:29:30 +02:00
..
auxiliary tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
explicit-generic-args-with-impl-trait Implement a explicit_generic_args_with_impl_trait feature gate 2021-08-02 04:17:01 +01:00
issues Remove min_tait and full_tait stderr dangling files 2021-07-27 19:50:14 -03:00
multiple-lifetimes bless trivial polonius diagnostics changes 2021-08-03 20:29:30 +02:00
associated-impl-trait-type-generic-trait.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
associated-impl-trait-type-trivial.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
associated-impl-trait-type.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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 Make mir borrowck's use of opaque types independent of the typeck query's result 2021-07-22 11:20:29 +00:00
auto-trait-leak.stderr Make mir borrowck's use of opaque types independent of the typeck query's result 2021-07-22 11:20:29 +00: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 Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
auto-trait.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
bound-normalization-fail.rs Remove impl_trait_in_bindings feature flag 2021-07-18 09:30:11 -03:00
bound-normalization-fail.stderr Remove impl_trait_in_bindings feature flag 2021-07-18 09:30:11 -03:00
bound-normalization-pass.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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 Use multispan suggestions more often 2021-07-30 09:26:31 -07: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 Use multispan suggestions more often 2021-07-30 09:26:31 -07: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 fix expected/found order on impl trait projection mismatch 2021-03-16 16:55:11 +00:00
example-calendar.rs Unify feature flags as step_trait 2021-05-26 18:07:10 -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 Remove licenses 2018-12-25 21:08:33 -07:00
impl-generic-mismatch-ab.stderr Suggest changing impl parameter types to match trait 2021-04-08 13:50:47 -07: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-in-macro.rs Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01:00
impl-trait-in-macro.stderr Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01: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 Remove licenses 2018-12-25 21:08:33 -07:00
impl_trait_projections.rs Remove licenses 2018-12-25 21:08:33 -07:00
impl_trait_projections.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-55872-1.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-55872-1.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-55872-2.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-55872-2.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-55872.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-55872.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-56445.rs make ConstEvaluatable more strict 2020-09-08 16:39:12 +02:00
issue-68532.rs Add test for #68532 2020-05-27 00:48:37 +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
issue-86465.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
issue-86465.stderr Add a regression test 2021-07-22 11:20:29 +00:00
issue-87450.rs Add regression test for issue #87450. 2021-07-30 18:32:22 +00:00
issue-87450.stderr Add regression test for issue #87450. 2021-07-30 18:32:22 +00: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 Get back the more precise suggestion spans of old regionck 2021-07-20 15:05:51 +00: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 stabilize member constraints 2021-05-26 06:01:53 -04:00
negative-reasoning.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
negative-reasoning.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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 Improve impl trait disallowed context error text 2021-07-19 10:19:58 -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 Tweak suggestion output 2021-04-23 18:57:52 -07:00
no-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
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
projection-mismatch-in-impl-where-clause.rs peel derives when checking normalized is expected 2021-03-16 16:55:11 +00:00
projection-mismatch-in-impl-where-clause.stderr rebase and update tests 2021-04-07 08:31:38 -07: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 print generator witness only in -Zverbose mode 2021-06-12 18:28:17 +02: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 Get back the more precise suggestion spans of old regionck 2021-07-20 15:05:51 +00: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 Remove licenses 2018-12-25 21:08:33 -07:00
trait_type.stderr Suggest changing impl parameter types to match trait 2021-04-08 13:50:47 -07:00
type-alias-generic-param.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
type-alias-impl-trait-in-fn-body.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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 Remove licenses 2018-12-25 21:08:33 -07:00
type_parameters_captured.stderr Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
universal-mismatched-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
universal-mismatched-type.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
universal-two-impl-traits.rs Make def_key and HIR parenting consistent. 2021-03-12 22:48:32 +01:00
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 Improve impl trait disallowed context error text 2021-07-19 10:19:58 -03:00
where-allowed.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03: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