rust/src/test/ui/traits
Yuki Okushi 5e910373f1
Rollup merge of #88883 - c410-f3r:tests, r=petrochenkov
Move some tests to more reasonable directories - 7

cc #73494
r? ``@petrochenkov``
2021-09-17 14:09:48 +09:00
..
alias Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
associated_type_bound Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
auxiliary Organize trait test files 2021-02-09 14:19:35 +01:00
bound Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
default-method Organize trait test files 2021-02-09 14:19:35 +01:00
inductive-overflow Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
inheritance Modify structured suggestion output 2021-08-11 09:46:24 +00:00
negative-impls Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
object Modify structured suggestion output 2021-08-11 09:46:24 +00:00
reservation-impl Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
suggest-deferences Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
trait-upcasting Auto merge of #88135 - crlf0710:trait_upcasting_part_3, r=nikomatsakis 2021-08-21 21:14:07 +00:00
vtable Stop allocating vtable entries for non-object-safe methods 2021-09-05 18:13:32 +01:00
wf-object Organize trait test files 2021-02-09 14:19:35 +01:00
anon-static-method.rs Organize trait test files 2021-02-09 14:19:35 +01:00
anon_trait_static_method_exe.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
as-struct-constructor.rs Organize trait test files 2021-02-09 14:19:35 +01:00
as-struct-constructor.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
assignability-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
assoc-type-in-superbad.rs Organize trait test files 2021-02-09 14:19:35 +01:00
assoc-type-in-superbad.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
assoc-type-in-supertrait.rs Organize trait test files 2021-02-09 14:19:35 +01:00
astconv-cycle-between-and-type.rs Organize trait test files 2021-02-09 14:19:35 +01:00
augmented-assignments-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
bad-method-typaram-kind.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-method-typaram-kind.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
bad-sized.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-sized.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
bug-7183-generics.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
cache-issue-18209.rs Organize trait test files 2021-02-09 14:19:35 +01:00
cache-reached-depth-ice.rs have on_completion record subcycles 2021-05-13 05:58:21 -04:00
cache-reached-depth-ice.stderr have on_completion record subcycles 2021-05-13 05:58:21 -04:00
coercion-generic-bad.rs Organize trait test files 2021-02-09 14:19:35 +01:00
coercion-generic-bad.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
coercion-generic-regions.rs Organize trait test files 2021-02-09 14:19:35 +01:00
coercion-generic-regions.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
coercion-generic.rs Organize trait test files 2021-02-09 14:19:35 +01:00
coercion.rs Organize trait test files 2021-02-09 14:19:35 +01:00
composition-trivial.rs Organize trait test files 2021-02-09 14:19:35 +01:00
conditional-dispatch.rs Organize trait test files 2021-02-09 14:19:35 +01:00
conditional-model-fn.rs Organize trait test files 2021-02-09 14:19:35 +01:00
conservative_impl_trait.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
copy-guessing.rs Organize trait test files 2021-02-09 14:19:35 +01:00
cycle-cache-err-60010.rs Report cycle error using 'deepest' obligation in the cycle 2021-09-02 11:49:32 -05:00
cycle-cache-err-60010.stderr Report cycle error using 'deepest' obligation in the cycle 2021-09-02 11:49:32 -05:00
cycle-type-trait.rs Organize trait test files 2021-02-09 14:19:35 +01:00
duplicate-methods.rs Organize trait test files 2021-02-09 14:19:35 +01:00
duplicate-methods.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
dyn-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
elaborate-type-region.rs Organize trait test files 2021-02-09 14:19:35 +01:00
false-ambiguity-where-clause-builtin-bound.rs Organize trait test files 2021-02-09 14:19:35 +01:00
fmt-pointer-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
generic.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-1.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-1.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
impl-2.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-bounds-checking.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
impl-bounds-checking.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
impl-can-not-have-untraitful-items.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-can-not-have-untraitful-items.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
impl-different-num-params.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-different-num-params.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
impl-evaluation-order.rs Revert change to evaluation order 2020-12-17 20:16:10 +00:00
impl-for-module.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-for-module.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
impl-implicit-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
impl-inherent-prefer-over-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
impl-method-mismatch.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-method-mismatch.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
impl-object-overlap-issue-23853.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-of-supertrait-has-wrong-lifetime-parameters.rs Organize trait test files 2021-02-09 14:19:35 +01:00
impl-of-supertrait-has-wrong-lifetime-parameters.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
impl.rs Fix use of bare trait objects everywhere 2021-03-18 02:18:58 +03:00
impl_trait_as_trait_return_position.rs Add test for #59023 2020-04-03 18:31:04 +02:00
infer-from-object-issue-26952.rs Organize trait test files 2021-02-09 14:19:35 +01:00
inherent-method-order.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-3683.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-6128.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-6334.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-9394-inherited-calls.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-20692.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-20692.stderr Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-22019.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-22110.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-22655.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-23003-overflow.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-23003.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-23825.rs Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
issue-26339.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-28576.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-28576.stderr Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-33140-hack-boundaries.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-33140-hack-boundaries.stderr Remove trailing : from E0119 message 2021-04-06 18:16:11 -07:00
issue-33140.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00
issue-33140.stderr Remove trailing : from E0119 message 2021-04-06 18:16:11 -07:00
issue-56202.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-56488.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-59029-2.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-65284-suggest-generic-trait-bound.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-65284-suggest-generic-trait-bound.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-65673.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-65673.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
issue-70944.rs Add test for issue-70944 2020-10-18 07:57:24 +09:00
issue-71136.rs Organize trait test files 2021-02-09 14:19:35 +01:00
issue-71136.stderr Remove unnecessary label 2021-09-16 12:12:28 +00:00
issue-72410.rs Fix debug assertion in typeck 2020-07-18 12:20:51 +09:00
issue-72410.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-75627.rs Remove error message in specific case 2020-08-30 19:39:51 +00:00
issue-75627.stderr Suggest adding a type parameter for impls 2021-05-05 18:59:37 +02:00
issue-77982.rs don't assume trait ambiguity happens in Self 2020-10-19 21:11:40 +01:00
issue-77982.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
issue-78372.rs Move some tests to more reasonable directories - 5 2021-03-20 11:41:24 -03:00
issue-78372.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-78632.rs add regression test for issue #78632 2021-06-15 21:32:13 -07:00
issue-79458.rs Add regression test for #79458 2020-12-01 13:30:09 -06:00
issue-79458.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
issue-83538-tainted-cache-after-cycle.rs Return EvaluatedToOk when type in outlives predicate is global 2021-06-29 19:21:13 -05:00
issue-83538-tainted-cache-after-cycle.stderr Return EvaluatedToOk when type in outlives predicate is global 2021-06-29 19:21:13 -05:00
issue-84399-bad-fresh-caching.rs Add regression test 2021-05-01 17:55:19 -04:00
issue-85735.rs Remove invalid suggestion involving Fn trait bound 2021-08-03 21:31:34 +02:00
issue-85735.stderr Don't use guess_head_span in predicates_of for foreign span 2021-08-27 23:19:49 -05:00
item-inside-macro.rs Organize trait test files 2021-02-09 14:19:35 +01:00
item-privacy.rs Fix use of bare trait objects everywhere 2021-03-18 02:18:58 +03:00
item-privacy.stderr Move object safety suggestions to the end of the error 2021-09-15 14:48:53 +00:00
kindck-owned-contains-1.rs Organize trait test files 2021-02-09 14:19:35 +01:00
matching-lifetimes.rs Organize trait test files 2021-02-09 14:19:35 +01:00
matching-lifetimes.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
method-private.rs Organize trait test files 2021-02-09 14:19:35 +01:00
method-private.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
multidispatch-bad.rs Organize trait test files 2021-02-09 14:19:35 +01:00
multidispatch-bad.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
multidispatch-convert-ambig-dest.rs Organize trait test files 2021-02-09 14:19:35 +01:00
multidispatch-convert-ambig-dest.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
multidispatch-infer-convert-target.rs Organize trait test files 2021-02-09 14:19:35 +01:00
mutual-recursion-issue-75860.rs Add regr. test for mutual recursion 2020-12-29 05:22:25 +00:00
mutual-recursion-issue-75860.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
normalize-super-trait.rs Normalize when finding trait object candidates 2020-10-22 08:18:29 +01:00
object-one-type-two-traits.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
operator-overloading-issue-52025.rs add regression test for issue #52025 2021-06-22 02:03:52 -07:00
overlap-not-permitted-for-builtin-trait.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
overlap-not-permitted-for-builtin-trait.stderr Remove trailing : from E0119 message 2021-04-06 18:16:11 -07:00
overlap-permitted-for-marker-traits.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
param-without-lifetime-constraint.rs Organize trait test files 2021-02-09 14:19:35 +01:00
param-without-lifetime-constraint.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
parameterized-with-bounds.rs Organize trait test files 2021-02-09 14:19:35 +01:00
principal-less-objects.rs Organize trait test files 2021-02-09 14:19:35 +01:00
privacy.rs Organize trait test files 2021-02-09 14:19:35 +01:00
region-pointer-simple.rs Organize trait test files 2021-02-09 14:19:35 +01:00
resolution-in-overloaded-op.rs Organize trait test files 2021-02-09 14:19:35 +01:00
resolution-in-overloaded-op.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
safety-fn-body.mir.stderr Check for raw pointer dereference in THIR unsafeck 2021-05-20 00:01:05 +02:00
safety-fn-body.rs Check for raw pointer dereference in THIR unsafeck 2021-05-20 00:01:05 +02:00
safety-fn-body.thir.stderr Replace more "NULL" with "null" 2021-05-24 12:59:33 +02:00
safety-inherent-impl.rs Organize trait test files 2021-02-09 14:19:35 +01:00
safety-inherent-impl.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
safety-ok-cc.rs Organize trait test files 2021-02-09 14:19:35 +01:00
safety-ok.rs Organize trait test files 2021-02-09 14:19:35 +01:00
safety-trait-impl-cc.rs Organize trait test files 2021-02-09 14:19:35 +01:00
safety-trait-impl-cc.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
safety-trait-impl.rs Organize trait test files 2021-02-09 14:19:35 +01:00
safety-trait-impl.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
self-without-lifetime-constraint.rs Account for Self as a type param 2020-05-28 10:36:21 -07:00
self-without-lifetime-constraint.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
static-method-generic-inference.rs Organize trait test files 2021-02-09 14:19:35 +01:00
static-method-generic-inference.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
static-method-overwriting.rs Organize trait test files 2021-02-09 14:19:35 +01:00
static-outlives-a-where-clause.rs Organize trait test files 2021-02-09 14:19:35 +01:00
suggest-where-clause.rs Organize trait test files 2021-02-09 14:19:35 +01:00
suggest-where-clause.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
superdefault-generics.rs Organize trait test files 2021-02-09 14:19:35 +01:00
syntax-polarity.rs Organize trait test files 2021-02-09 14:19:35 +01:00
test-2.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
test-2.stderr Move object safety suggestions to the end of the error 2021-09-15 14:48:53 +00:00
test.rs Organize trait test files 2021-02-09 14:19:35 +01:00
test.stderr Organize trait test files 2021-02-09 14:19:35 +01:00
to-str.rs Organize trait test files 2021-02-09 14:19:35 +01:00
trait-or-new-type-instead.rs
trait-or-new-type-instead.stderr
ufcs-object.rs Organize trait test files 2021-02-09 14:19:35 +01:00
use-before-def.rs Organize trait test files 2021-02-09 14:19:35 +01:00
where-clause-vs-impl.rs Organize trait test files 2021-02-09 14:19:35 +01:00
with-bounds-default.rs Organize trait test files 2021-02-09 14:19:35 +01:00
with-dst.rs Organize trait test files 2021-02-09 14:19:35 +01:00