rust/tests/ui/traits
bors 6fc0273b5a Auto merge of #112320 - compiler-errors:do-not-impl-via-obj, r=lcnr
Add `implement_via_object` to `rustc_deny_explicit_impl` to control object candidate assembly

Some built-in traits are special, since they are used to prove facts about the program that are important for later phases of compilation such as codegen and CTFE. For example, the `Unsize` trait is used to assert to the compiler that we are able to unsize a type into another type. It doesn't have any methods because it doesn't actually *instruct* the compiler how to do this unsizing, but this is later used (alongside an exhaustive match of combinations of unsizeable types) during codegen to generate unsize coercion code.

Due to this, these built-in traits are incompatible with the type erasure provided by object types. For example, the existence of `dyn Unsize<T>` does not mean that the compiler is able to unsize `Box<dyn Unsize<T>>` into `Box<T>`, since `Unsize` is a *witness* to the fact that a type can be unsized, and it doesn't actually encode that unsizing operation in its vtable as mentioned above.

The old trait solver gets around this fact by having complex control flow that never considers object bounds for certain built-in traits:
2f896da247/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs (L61-L132)

However, candidate assembly in the new solver is much more lovely, and I'd hate to add this list of opt-out cases into the new solver. Instead of maintaining this complex and hard-coded control flow, instead we can make this a property of the trait via a built-in attribute. We already have such a build attribute that's applied to every single trait that we care about: `rustc_deny_explicit_impl`. This PR adds `implement_via_object` as a meta-item to that attribute that allows us to opt a trait out of object-bound candidate assembly as well.

r? `@lcnr`
2023-06-20 08:42:37 +00:00
..
alias Allow the elaborator to only filter to real supertraits 2023-04-11 17:45:42 +00:00
associated_type_bound Use smart-resolve when checking for trait in RHS of UFCS 2023-04-07 05:33:52 +00:00
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bound Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
default-method Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inductive-overflow Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
inheritance Move /src/test to /tests 2023-01-11 09:32:08 +00:00
negative-bounds Don't compute trait super bounds unless they're positive 2023-05-04 17:24:13 +00:00
negative-impls rustc_middle: Fix opt_item_ident for non-local def ids 2023-05-03 20:09:10 +03:00
new-solver Rollup merge of #112443 - compiler-errors:next-solver-opportunistically-resolve-regions, r=lcnr 2023-06-16 14:46:15 +05:30
non_lifetime_binders Don't ICE on bound var in reject_fn_ptr_impls 2023-06-19 02:52:03 +00:00
object Add a test for -Zprint-vtable-sizes 2023-06-13 15:16:48 +00:00
reservation-impl new solver cleanup + coherence 2023-03-21 16:27:25 +01:00
solver-cycles add test 2023-05-19 10:44:38 +02:00
suggest-deferences Refine error span for trait error into borrowed expression 2023-02-19 21:27:04 -08:00
trait-upcasting Note base types of coercion 2023-05-12 00:10:52 +00:00
vtable Tweak E0597 2023-01-15 19:46:20 +00:00
wf-object Move /src/test to /tests 2023-01-11 09:32:08 +00:00
alignment-gep-tup-like-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anon_trait_static_method_exe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anon-static-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
as-struct-constructor.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
as-struct-constructor.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assignability-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-superbad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-superbad.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-in-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
astconv-cycle-between-and-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
augmented-assignments-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-method-typaram-kind.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-method-typaram-kind.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-sized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-sized.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bug-7183-generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bug-7295.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cache-issue-18209.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cache-reached-depth-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cache-reached-depth-ice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion-generic-bad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion-generic-bad.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
coercion-generic-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion-generic-regions.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
coercion-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
composition-trivial.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conditional-dispatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conditional-model-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conservative_impl_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-guessing.rs Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
copy-guessing.stderr do not allow inference in pred_known_to_hold_modulo_regions 2023-05-12 18:47:45 +00:00
copy-impl-cannot-normalize.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-impl-cannot-normalize.stderr Delay normalization bugs instead of reporting them 2023-01-13 23:19:36 +00:00
copy-is-not-modulo-regions.not_static.stderr may not => cannot 2023-03-08 00:00:18 +00:00
copy-is-not-modulo-regions.rs may not => cannot 2023-03-08 00:00:18 +00:00
copy-requires-self-wf.rs Rebase and move UI tests 2023-01-13 23:06:29 +00:00
cycle-cache-err-60010.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cycle-cache-err-60010.stderr add test 2023-05-19 10:44:38 +02:00
cycle-generic-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cycle-type-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deny-builtin-object-impl.current.stderr Merge attrs, better validation 2023-06-20 04:38:55 +00:00
deny-builtin-object-impl.next.stderr Merge attrs, better validation 2023-06-20 04:38:55 +00:00
deny-builtin-object-impl.rs Merge attrs, better validation 2023-06-20 04:38:55 +00:00
do-not-mention-type-params-by-name-in-suggestion-issue-96292.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
do-not-mention-type-params-by-name-in-suggestion-issue-96292.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-methods.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-methods.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-trait.rs remove invalid ignore-pretty 2023-04-03 09:24:11 +02:00
early-vtbl-resolution.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elaborate-type-region.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
false-ambiguity-where-clause-builtin-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fmt-pointer-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-trait-cast-diagnostic.rs Add note when FnPtr vs. FnDef impl trait 2023-01-14 10:37:56 +00:00
fn-trait-cast-diagnostic.stderr Add note when FnPtr vs. FnDef impl trait 2023-01-14 10:37:56 +00:00
generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ignore-err-impls.rs Filter impl and where-clause candidates that reference errors 2023-01-11 20:03:29 +00:00
ignore-err-impls.stderr Render missing generics suggestion verbosely 2023-01-12 22:04:30 +00:00
impl_trait_as_trait_return_position.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-bounds-checking.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-bounds-checking.stderr Point at impl self type for impl wf obligations 2023-01-12 20:44:47 +00:00
impl-can-not-have-untraitful-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-can-not-have-untraitful-items.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-different-num-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-different-num-params.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-evaluation-order.rs Rename drop_copy lint to dropping_copy_types 2023-05-21 13:37:32 +02:00
impl-for-module.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-for-module.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-implicit-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-inherent-prefer-over-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-method-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-method-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-object-overlap-issue-23853.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-of-supertrait-has-wrong-lifetime-parameters.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-of-supertrait-has-wrong-lifetime-parameters.stderr Point at impl self type for impl wf obligations 2023-01-12 20:44:47 +00:00
impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
infer-from-object-issue-26952.rs vars are ? 2023-04-25 19:53:09 +00:00
inherent-method-order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_operator_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_operator_trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3683.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3973.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3973.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-4107.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-6128.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-6334.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-7013.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-7013.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-8153.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-8153.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-9394-inherited-calls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18400.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18400.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
issue-18412.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20692.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-20692.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-22019.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-22110.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-22384.rs Move test files 2023-04-20 15:06:17 -03:00
issue-22384.stderr Move test files 2023-04-20 15:06:17 -03:00
issue-22655.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23003-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23003.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23825.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-24010.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-26339.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28576.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28576.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32963.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32963.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140-hack-boundaries.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140-hack-boundaries.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33140.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35869.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35869.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38033.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38404.rs Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
issue-38404.stderr Don't use implied trait predicates in gather_explicit_predicates_of 2023-05-01 15:45:28 +00:00
issue-38604.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38604.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
issue-43132.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43784-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43784-supertrait.stderr Keep obligation chain when elaborating obligations 2023-01-13 18:20:23 +00:00
issue-50480.rs may not => cannot 2023-03-08 00:00:18 +00:00
issue-50480.stderr may not => cannot 2023-03-08 00:00:18 +00:00
issue-52893.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-52893.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
issue-56202.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-56488.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59029-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59029-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59029-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65284-suggest-generic-trait-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65284-suggest-generic-trait-bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65673.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65673.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68295.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68295.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-70944.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71036.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71036.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71136.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71136.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
issue-72410.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72410.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-72455.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75627.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75627.stderr Render missing generics suggestion verbosely 2023-01-12 22:04:30 +00:00
issue-77982.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-77982.stderr Adapt issue-77982.stderr to new rustc error 2023-02-26 13:50:10 +01:00
issue-78372.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78372.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-78632.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79458.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79458.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82830.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83538-tainted-cache-after-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83538-tainted-cache-after-cycle.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84399-bad-fresh-caching.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85360-eval-obligation-ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85360-eval-obligation-ice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85735.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85735.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87558.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87558.stderr feat: implement better error for manual impl of Fn* traits 2023-03-10 20:32:24 +13:00
issue-89119.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90195-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90195.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90662-projection-caching.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91594.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91594.stderr Point at HIR types when impl trait ref doesn't normalize 2023-01-12 20:44:47 +00:00
issue-91949-hangs-on-recursion.rs Ignore tests that hang in new solver 2023-06-09 21:57:37 +00:00
issue-91949-hangs-on-recursion.stderr Ignore tests that hang in new solver 2023-06-09 21:57:37 +00:00
issue-92292.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95311.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95898.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95898.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96664.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96665.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97576.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97576.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-97695-double-trivial-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99875.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99875.stderr Add note when FnPtr vs. FnDef impl trait 2023-01-14 10:37:56 +00:00
issue-102989.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102989.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103563.rs fix: Unexpected trait bound not satisfied in HRTB 2023-02-13 19:39:44 +08:00
issue-104322.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105231.rs fix: inline predicate_may_hold_fatal 2023-06-16 11:09:53 +08:00
issue-105231.stderr fix: inline predicate_may_hold_fatal 2023-06-16 11:09:53 +08:00
issue-106072.rs Emits E0599 when meeting MyTrait::missing_method 2023-05-17 16:59:39 +08:00
issue-106072.stderr Emits E0599 when meeting MyTrait::missing_method 2023-05-17 16:59:39 +08:00
item-inside-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-privacy.rs diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
item-privacy.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
kindck-owned-contains-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
map-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
map-types.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
matching-lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
matching-lifetimes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-private.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
monad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
monomorphized-callees-with-ty-params-3314.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-bad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-bad.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-conditional-impl-not-considered.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-convert-ambig-dest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multidispatch-convert-ambig-dest.stderr Specify what 'this' actually is 2023-02-21 05:21:07 +00:00
multidispatch-infer-convert-target.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutual-recursion-issue-75860.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutual-recursion-issue-75860.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-fallback-multiple-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-fallback-multiple-impls.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
normalize-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-suggest-non-existing-fully-qualified-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-suggest-non-existing-fully-qualified-path.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
object-does-not-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-does-not-impl-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-one-type-two-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
objects-owned-object-borrowed-method-headerless.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
operator-overloading-issue-52025.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlap-not-permitted-for-builtin-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlap-not-permitted-for-builtin-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlap-permitted-for-marker-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
param-without-lifetime-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
param-without-lifetime-constraint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parameterized-with-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-deduction.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-tail-is-generic-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-tail-is-generic-errors.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pointee-tail-is-generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
principal-less-objects.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
privacy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
project-modulo-regions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
project-modulo-regions.with_clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
project-modulo-regions.without_clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
region-pointer-simple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolution-in-overloaded-op.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolution-in-overloaded-op.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-fn-body.mir.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-fn-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-fn-body.thir.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-inherent-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-inherent-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-ok-cc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-ok.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl-cc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl-cc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
safety-trait-impl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-without-lifetime-constraint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-without-lifetime-constraint.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-method-generic-inference.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-method-generic-inference.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-method-overwriting.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-outlives-a-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
staticness-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
staticness-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-closure.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-path-with-adjustment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-path-with-adjustment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-path-without-adjustment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-fully-qualified-path-without-adjustment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-where-clause.stderr change std::marker::Sized to just Sized 2023-06-15 12:01:38 +02:00
superdefault-generics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-polarity.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-trait-polarity.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax-trait-polarity.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-2.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
test-2.stderr Note base types of coercion 2023-05-12 00:10:52 +00:00
test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
to-str.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
track-obligations.rs Add tests 2023-01-13 18:20:24 +00:00
track-obligations.stderr Add tests 2023-01-13 18:20:24 +00:00
trait-or-new-type-instead.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-or-new-type-instead.stderr Tighter spans for bad inherent impl types 2023-02-13 18:41:18 +00:00
typeclasses-eq-example-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
typeclasses-eq-example.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ufcs-object.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsend-future.rs fix: evaluate with wrong obligation stack 2023-03-08 20:12:46 +08:00
unsend-future.stderr Tweak await span 2023-04-27 17:18:11 +00:00
unspecified-self-in-trait-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unspecified-self-in-trait-ref.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-before-def.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
vtable-res-trait-param.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
vtable-res-trait-param.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where-clause-vs-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
with-bounds-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
with-dst.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-mul-method-signature.rs Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00
wrong-mul-method-signature.stderr Move some UI tests into subdirectories 2023-04-02 19:42:30 -04:00