Skip to content

The generated layout tests should pass the borrow_as_ptr clippy lint #2204

Closed
@dlrobertson

Description

@dlrobertson

The generated layout tests should use addr_of and pass the borrow_as_ptr clippy lint.

Steps to reproduce

  1. Generate bindings that contain the layout tests in your build
  2. run cargo clippy -v --tests -D warnings

Actual Results

Tests fail the borrow_as_ptr lint.

Expected Results

All the things pass clippy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions