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

Add a lint to catch clashing extern fn declarations. #70946

Merged
merged 4 commits into from
Jun 21, 2020

Commits on Jun 20, 2020

  1. Configuration menu
    Copy the full SHA
    a540b1b View commit details
    Browse the repository at this point in the history
  2. Add ClashingExternDecl lint.

    This lint checks that all declarations for extern fns of the same name
    are declared with the same types.
    jumbatm committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    6b74e3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f07952 View commit details
    Browse the repository at this point in the history
  4. Update existing test cases.

    - Allow ClashingExternDecl for lint-dead-code-3
    - Update test case for rust-lang#5791
    - Update test case for rust-lang#1866
    - Update extern-abi-from-macro test case
    jumbatm committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    556b7ba View commit details
    Browse the repository at this point in the history