rust/src/test/ui/traits
2020-02-02 11:53:10 -08:00
..
auxiliary fixup! Add negative tests where the diagnostic message would be wrong 2019-11-24 15:17:16 +01:00
reservation-impls compiletest: error if compile-fail header in ui test. 2020-02-02 02:08:30 -05:00
trait-alias Wording changes to object unsafe trait errors 2020-02-02 11:53:10 -08: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
anon-trait-static-method.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
assignability-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
astconv-cycle-between-trait-and-type.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
augmented-assignments-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
auto-traits.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
conservative_impl_trait.rs
cycle-cache-err-60010.rs Revert "Auto merge of #67362 - Mark-Simulacrum:par-4-default, r=alexcrichton" 2019-12-17 16:28:33 -05:00
cycle-cache-err-60010.stderr Revert "Auto merge of #67362 - Mark-Simulacrum:par-4-default, r=alexcrichton" 2019-12-17 16:28:33 -05:00
cycle-trait-type-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
default-method-supertrait-vtable.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
dyn-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
fmt-pointer-trait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03: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
infer-from-object-trait-issue-26952.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
inherent-trait-method-order.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
kindck-owned-trait-contains-1.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
multiple-trait-bounds.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03: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
overlap-permitted-for-marker-traits-neg.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
overlap-permitted-for-marker-traits.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
parameterized-trait-with-bounds.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
principal-less-trait-objects.rs Aggregation of drive-by cosmetic changes. 2019-11-21 18:50:38 +00:00
supertrait-default-generics.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
syntax-trait-polarity.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-alias-ambiguous.rs
trait-alias-ambiguous.stderr Use structured suggestion for disambiguating method calls 2019-12-11 17:42:28 -08:00
trait-alias-import-cross-crate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-alias-import.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-as-struct-constructor.rs
trait-as-struct-constructor.stderr Update ui tests 2019-10-13 22:10:03 +02:00
trait-bounds-basic.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-bounds-impl-comparison-duplicates.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-bounds-in-arc.rs Address review comments 2019-08-02 02:44:36 +01:00
trait-bounds-not-on-bare-trait.rs
trait-bounds-not-on-bare-trait.stderr
trait-bounds-not-on-struct.rs
trait-bounds-not-on-struct.stderr
trait-bounds-on-structs-and-enums-in-fns.rs
trait-bounds-on-structs-and-enums-in-fns.stderr Point at arguments or output when fn obligations come from them, or ident when they don't 2020-02-02 11:52:33 -08:00
trait-bounds-on-structs-and-enums-in-impls.rs
trait-bounds-on-structs-and-enums-in-impls.stderr Use span label instead of note for cause in E0631 2019-08-31 00:14:23 -07:00
trait-bounds-on-structs-and-enums-locals.rs
trait-bounds-on-structs-and-enums-locals.stderr Use span label instead of note for cause in E0631 2019-08-31 00:14:23 -07:00
trait-bounds-on-structs-and-enums-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
trait-bounds-on-structs-and-enums-static.rs
trait-bounds-on-structs-and-enums-static.stderr Use span label instead of note for cause in E0631 2019-08-31 00:14:23 -07:00
trait-bounds-on-structs-and-enums-xc1.rs
trait-bounds-on-structs-and-enums-xc1.stderr
trait-bounds-on-structs-and-enums-xc.rs
trait-bounds-on-structs-and-enums-xc.stderr Point at arguments or output when fn obligations come from them, or ident when they don't 2020-02-02 11:52:33 -08:00
trait-bounds-on-structs-and-enums.rs
trait-bounds-on-structs-and-enums.stderr Handle more cases 2019-10-15 13:55:43 -07:00
trait-bounds-recursion.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-bounds-same-crate-name.rs Diagnostics should start lowercase 2020-01-12 15:36:40 +00:00
trait-bounds-same-crate-name.stderr Diagnostics should start lowercase 2020-01-12 15:36:40 +00:00
trait-bounds-sugar.rs
trait-bounds-sugar.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
trait-bounds.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-cache-issue-18209.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-coercion-generic-bad.rs
trait-coercion-generic-bad.stderr
trait-coercion-generic-regions.rs
trait-coercion-generic-regions.stderr
trait-coercion-generic.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-coercion.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-composition-trivial.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-copy-guessing.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-bound-subst2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-bound-subst3.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-bound-subst4.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-bound-subst.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-xc-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-default-method-xc.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-duplicate-methods.rs
trait-duplicate-methods.stderr
trait-false-ambiguity-where-clause-builtin-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-generic.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-impl-1.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
trait-impl-1.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
trait-impl-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-impl-can-not-have-untraitful-items.rs
trait-impl-can-not-have-untraitful-items.stderr
trait-impl-different-num-params.rs
trait-impl-different-num-params.stderr
trait-impl-for-module.rs
trait-impl-for-module.stderr Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
trait-impl-method-mismatch.rs Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
trait-impl-method-mismatch.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
trait-impl-of-supertrait-has-wrong-lifetime-parameters.rs
trait-impl-of-supertrait-has-wrong-lifetime-parameters.stderr Include a span in more expected...found notes 2019-12-03 23:13:10 -05:00
trait-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-auto-xc-2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-auto-xc.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-auto.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-call-bound-inherited2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-call-bound-inherited.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-cast-without-call-to-supertrait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-cast.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-cross-trait-call-xc.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-cross-trait-call.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-diamond.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-multiple-inheritors.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-multiple-params.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-num0.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-num1.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-num2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-num3.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-num5.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-num.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-overloading-simple.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-overloading-xc-exe.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-overloading.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-self-in-supertype.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-self.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-simple.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-static2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-static.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-subst2.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-subst.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-inheritance-visibility.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-item-inside-macro.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-item-privacy.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
trait-item-privacy.stderr Wording changes to object unsafe trait errors 2020-02-02 11:53:10 -08:00
trait-matching-lifetimes.rs
trait-matching-lifetimes.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
trait-method-private.rs
trait-method-private.stderr Fixed grammar in one diagnostic and blessed tests. 2019-09-30 01:15:25 +01:00
trait-object-auto-dedup-in-impl.rs
trait-object-auto-dedup-in-impl.stderr
trait-object-auto-dedup.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-object-exclusion.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-object-generics.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-object-lifetime-first.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-object-macro-matcher.rs
trait-object-macro-matcher.stderr Wording changes to object unsafe trait errors 2020-02-02 11:53:10 -08:00
trait-object-safety.rs
trait-object-safety.stderr Wording changes to object unsafe trait errors 2020-02-02 11:53:10 -08:00
trait-object-vs-lifetime-2.rs
trait-object-vs-lifetime-2.stderr
trait-object-vs-lifetime.rs
trait-object-vs-lifetime.stderr
trait-object-with-lifetime-bound.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-object-with-self-in-projection-output-bad.rs Tweak errors for missing associated types and type parameters 2019-12-24 22:02:43 -08:00
trait-object-with-self-in-projection-output-bad.stderr Tweak errors for missing associated types and type parameters 2019-12-24 22:02:43 -08:00
trait-object-with-self-in-projection-output-good.rs
trait-object-with-self-in-projection-output-repeated-supertrait.rs Fix spelling typos 2019-11-26 22:19:54 -05:00
trait-or-new-type-instead.rs
trait-or-new-type-instead.stderr
trait-privacy.rs
trait-region-pointer-simple.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-resolution-in-overloaded-op.rs Update tests 2019-12-12 20:56:14 +01:00
trait-resolution-in-overloaded-op.stderr Update UI test expectations 2019-12-12 20:56:14 +01:00
trait-safety-fn-body.rs
trait-safety-fn-body.stderr
trait-safety-inherent-impl.rs
trait-safety-inherent-impl.stderr
trait-safety-ok-cc.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-safety-ok.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-safety-trait-impl-cc.rs
trait-safety-trait-impl-cc.stderr
trait-safety-trait-impl.rs
trait-safety-trait-impl.stderr
trait-static-method-generic-inference.rs Remove blanket silencing of "type annotation needed" errors 2019-09-24 11:31:14 -07:00
trait-static-method-generic-inference.stderr Deduplicate logic 2019-12-10 12:02:18 -08:00
trait-static-method-overwriting.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-suggest-where-clause.rs Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests 2019-12-28 12:26:48 -08:00
trait-suggest-where-clause.stderr Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests 2019-12-28 12:26:48 -08:00
trait-test-2.rs
trait-test-2.stderr Wording changes to object unsafe trait errors 2020-02-02 11:53:10 -08:00
trait-test.rs
trait-test.stderr
trait-to-str.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-where-clause-vs-impl.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-with-bounds-default.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
trait-with-dst.rs
traits-assoc-type-in-supertrait-bad.rs
traits-assoc-type-in-supertrait-bad.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
traits-assoc-type-in-supertrait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-conditional-dispatch.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-conditional-model-fn.rs Cherry-pick src/test changes with Centril's changes 2019-08-19 22:31:46 +01:00
traits-default-method-macro.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-default-method-mut.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-default-method-self.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-default-method-trivial.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-elaborate-type-region.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-impl-object-overlap-issue-23853.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-inductive-overflow-simultaneous.rs
traits-inductive-overflow-simultaneous.stderr On obligation errors point at the unfulfilled binding when possible 2019-09-22 11:33:12 -07:00
traits-inductive-overflow-supertrait-oibit.rs
traits-inductive-overflow-supertrait-oibit.stderr Update ui tests 2019-10-10 15:56:59 +02:00
traits-inductive-overflow-supertrait.rs
traits-inductive-overflow-supertrait.stderr On obligation errors point at the unfulfilled binding when possible 2019-09-22 11:33:12 -07:00
traits-inductive-overflow-two-traits.rs
traits-inductive-overflow-two-traits.stderr On obligation errors point at the unfulfilled binding when possible 2019-09-22 11:33:12 -07:00
traits-issue-22019.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-issue-22110.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-issue-22655.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-issue-23003-overflow.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
traits-issue-23003.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-issue-26339.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-multidispatch-bad.rs
traits-multidispatch-bad.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
traits-multidispatch-convert-ambig-dest.rs
traits-multidispatch-convert-ambig-dest.stderr Indicate origin of where type parameter for uninferred types 2019-12-14 11:10:21 +01:00
traits-multidispatch-infer-convert-target.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-negative-impls-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
traits-negative-impls.rs Account for rustc_on_unimplemented 2019-11-16 13:23:19 -08:00
traits-negative-impls.stderr Account for rustc_on_unimplemented 2019-11-16 13:23:19 -08:00
traits-repeated-supertrait-ambig.rs
traits-repeated-supertrait-ambig.stderr Use structured suggestion for restricting bounds 2019-10-15 13:55:43 -07:00
traits-repeated-supertrait.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
traits-static-outlives-a-where-clause.rs
ufcs-trait-object.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
use-trait-before-def.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
wf-trait-object-maybe-bound.rs compiletest: error if compile-fail header in ui test. 2020-02-02 02:08:30 -05:00
wf-trait-object-maybe-bound.stderr compiletest: error if compile-fail header in ui test. 2020-02-02 02:08:30 -05:00
wf-trait-object-no-duplicates.rs
wf-trait-object-no-duplicates.stderr
wf-trait-object-only-maybe-bound.rs
wf-trait-object-only-maybe-bound.stderr
wf-trait-object-reverse-order.rs