Files
rust/compiler/rustc_error_codes/src/error_codes
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
..
…
…
…
…
…
…
…
2024-09-26 13:21:15 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-02-12 15:46:35 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-02-12 15:46:35 +09:00
2024-02-12 15:46:35 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-02-12 15:46:35 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-07-06 09:13:14 +03:00
…
…
…
…
…
…
…
…
2024-09-09 19:39:43 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-05-02 19:42:31 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-12-02 23:56:24 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-12-13 00:04:56 +00:00
…
…
…
…
…
…
2024-03-01 17:31:02 -06:00
…
…
2024-03-08 20:56:25 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2024-07-16 22:06:34 +02:00
…
…
…
…
…
2024-08-18 19:46:53 +02:00
…
…
…
…
…
2024-12-06 22:09:17 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
2024-09-15 09:51:32 +02:00
…
…
…
…
…
…
…
…
…
2024-09-21 13:05:21 +02:00
…
…
…
…
…
…
…
…
…
…
2024-10-06 18:12:25 +02:00
…
…
…
2024-10-09 10:28:16 -07:00
2024-02-12 15:46:35 +09:00
2024-07-29 17:50:12 +01:00
…
2024-07-27 12:55:39 +02:00
2024-10-30 10:48:08 +00:00