Closed
Description
Building mocks for bindgen output for inline static functions results in:
warning: attribute should be applied to a foreign function or static
--> bindings.rs:58960:5
|
57180 | #[mockall::automock]
| -------------------- not a foreign function or static
...
58960 | #[link_name = "FooName__extern"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
Metadata
Metadata
Assignees
Labels
No labels