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

Make pointer_structural_match normal and warn #110166

Closed
wants to merge 2 commits into from

Commits on May 9, 2023

  1. Turn pointer_structural_match forward compat lint into normal lint

    This commit removes the pointer_structural_match forward compat lint
    from the forward compatibility warning mechanism, as there is no concrete
    plan for removal of matching on function pointers.
    
    It also turns the lint from allow-by-default to warn-by-default,
    as the behaviour might be surprising to users and they should specifically
    opt into the dangers.
    As the lint is recognized on older compilers, users can easily allow it
    after having made the descision on whether they want to keep it in their
    code or not.
    est31 committed May 9, 2023
    Configuration menu
    Copy the full SHA
    86b8a21 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Also mention vtables

    Co-authored-by: Ralf Jung <post@ralfj.de>
    est31 and RalfJung committed May 20, 2023
    Configuration menu
    Copy the full SHA
    e8f39a4 View commit details
    Browse the repository at this point in the history