rust/tests/ui/diagnostic_namespace
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
..
auxiliary
do_not_recommend Allows #[diagnostic::do_not_recommend] to supress trait impls in suggestions as well 2024-07-11 08:14:28 +02:00
on_unimplemented
can_use_the_diagnostic_name_in_other_places.rs
deny_malformed_attribute.rs
deny_malformed_attribute.stderr
existing_proc_macros.rs
malformed_foreign_on_unimplemented.rs
malformed_foreign_on_unimplemented.stderr
non_existing_attributes_accepted.rs
non_existing_attributes_accepted.stderr
requires_path.rs
requires_path.stderr
suggest_typos.rs
suggest_typos.stderr