mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
27d5db166e
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. |
||
---|---|---|
.. | ||
as_expression.current.stderr | ||
as_expression.next.stderr | ||
as_expression.rs | ||
feature-gate-do_not_recommend.rs | ||
feature-gate-do_not_recommend.stderr | ||
incorrect-locations.rs | ||
incorrect-locations.stderr | ||
simple.current.stderr | ||
simple.next.stderr | ||
simple.rs | ||
stacked.current.stderr | ||
stacked.next.stderr | ||
stacked.rs | ||
supress_suggestions_in_help.current.stderr | ||
supress_suggestions_in_help.next.stderr | ||
supress_suggestions_in_help.rs | ||
type_mismatch.current.stderr | ||
type_mismatch.next.stderr | ||
type_mismatch.rs | ||
unstable-feature.rs | ||
unstable-feature.stderr |