rust/tests/ui/associated-item
Taylor Cramer d00d4dfe0d Refactor dyn-compatibility error and suggestions
This CL makes a number of small changes to dyn compatibility errors:
- "object safety" has been renamed to "dyn-compatibility" throughout
- "Convert to enum" suggestions are no longer generated when there
  exists a type-generic impl of the trait or an impl for `dyn OtherTrait`
- Several error messages are reorganized for user readability

Additionally, the dyn compatibility error creation code has been
split out into functions.

cc #132713
cc #133267
2025-01-22 09:20:57 -08:00
..
ambiguous-associated-type-with-generics.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ambiguous-associated-type-with-generics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ambiguous-associated-type-with-generics.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-item-duplicate-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-item-duplicate-bounds.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
associated-item-duplicate-names-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-item-duplicate-names-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-item-duplicate-names-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-item-duplicate-names-3.stderr Unify suggestion wording 2023-10-17 17:33:55 +00:00
associated-item-duplicate-names.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-item-duplicate-names.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-item-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-item-enum.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
associated-item-two-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-duplicate-methods.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-duplicate-methods.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-48027.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-48027.stderr Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
issue-87638.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87638.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87638.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-105449.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00