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 Add more ICEs due to malformed diagnostic::on_unimplemented 2024-05-07 23:13:44 -04:00
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 Make `#[diagnostic::on_unimplemented]` format string parsing more robust 2024-03-21 08:27:26 +01:00
can_use_the_diagnostic_name_in_other_places.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
deny_malformed_attribute.rs Ungate the `UNKNOWN_OR_MALFORMED_DIAGNOSTIC_ATTRIBUTES` lint 2024-03-14 10:49:28 +01:00
deny_malformed_attribute.stderr Ungate the `UNKNOWN_OR_MALFORMED_DIAGNOSTIC_ATTRIBUTES` lint 2024-03-14 10:49:28 +01:00
existing_proc_macros.rs Stabilize the `#[diagnostic]` namespace and `#[diagnostic::on_unimplemented]` attribute 2024-02-27 08:50:56 +01:00
malformed_foreign_on_unimplemented.rs Add more ICEs due to malformed diagnostic::on_unimplemented 2024-05-07 23:13:44 -04:00
malformed_foreign_on_unimplemented.stderr Fix ICEs in diagnostic::on_unimplemented 2024-05-07 23:13:44 -04:00
non_existing_attributes_accepted.rs Stabilize the `#[diagnostic]` namespace and `#[diagnostic::on_unimplemented]` attribute 2024-02-27 08:50:56 +01:00
non_existing_attributes_accepted.stderr Stabilize the `#[diagnostic]` namespace and `#[diagnostic::on_unimplemented]` attribute 2024-02-27 08:50:56 +01:00
requires_path.rs Stabilize the `#[diagnostic]` namespace and `#[diagnostic::on_unimplemented]` attribute 2024-02-27 08:50:56 +01:00
requires_path.stderr Stabilize the `#[diagnostic]` namespace and `#[diagnostic::on_unimplemented]` attribute 2024-02-27 08:50:56 +01:00
suggest_typos.rs Add `on_unimplemented" typo suggestions 2024-05-15 00:49:33 +02:00
suggest_typos.stderr Add `on_unimplemented" typo suggestions 2024-05-15 00:49:33 +02:00