Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows #[diagnostic::do_not_recommend] to supress trait impls in suggestions as well #127598

Merged

Commits on Jul 11, 2024

  1. Allows #[diagnostic::do_not_recommend] to supress trait impls in su…

    …ggestions 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.
    weiznich committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    27d5db1 View commit details
    Browse the repository at this point in the history