rust/tests/ui/diagnostic_namespace/do_not_recommend
Georg Semmler 27d5db166e
Allows #[diagnostic::do_not_recommend] to supress trait impls in suggestions as well
This commit changes the error reporting mechanism for not implemented
traits to skip impl marked as `#[diagnostic::do_not_recommend]` in the
help part of the error message ("the following other types implement
trait `Foo`:"). The main use case here is to allow crate authors to skip
non-meaningful confusing suggestions. A common example for this are
fully generic impls on tuples.
2024-07-11 08:14:28 +02:00
..
as_expression.current.stderr
as_expression.next.stderr Actually report normalization-based type errors correctly for alias-relate obligations in new solver 2024-07-02 16:39:57 -04:00
as_expression.rs eagerly normalize when adding goals 2024-05-28 04:54:05 +00:00
feature-gate-do_not_recommend.rs Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
feature-gate-do_not_recommend.stderr Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
incorrect-locations.rs Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
incorrect-locations.stderr Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
simple.current.stderr
simple.next.stderr
simple.rs Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
stacked.current.stderr
stacked.next.stderr
stacked.rs Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
supress_suggestions_in_help.current.stderr Allows #[diagnostic::do_not_recommend] to supress trait impls in suggestions as well 2024-07-11 08:14:28 +02:00
supress_suggestions_in_help.next.stderr Allows #[diagnostic::do_not_recommend] to supress trait impls in suggestions as well 2024-07-11 08:14:28 +02:00
supress_suggestions_in_help.rs Allows #[diagnostic::do_not_recommend] to supress trait impls in suggestions as well 2024-07-11 08:14:28 +02:00
type_mismatch.current.stderr Refactor #[diagnostic::do_not_recommend] support 2024-05-29 22:59:53 +02:00
type_mismatch.next.stderr Refactor #[diagnostic::do_not_recommend] support 2024-05-29 22:59:53 +02:00
type_mismatch.rs Refactor #[diagnostic::do_not_recommend] support 2024-05-29 22:59:53 +02:00
unstable-feature.rs Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00
unstable-feature.stderr Move #[do_not_recommend] to the #[diagnostic] namespace 2024-05-21 13:14:41 +02:00