We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Simplest test case:
// bindgen-flags: -- --std=c++14 template <typename T> using always_int = int;
Generates:
/* automatically generated by rust-bindgen */ pub type always_int<T> = ::std::os::raw::c_int;
Which rustc rejects with:
rustc
error[E0091]: type parameter `T` is unused --> /home/fitzgen/scratch/always_int.rs:3:21 | 3 | pub type always_int<T> = ::std::os::raw::c_int; | ^ unused type parameter
The text was updated successfully, but these errors were encountered:
This is fixed in #544
Sorry, something went wrong.
No branches or pull requests
Simplest test case:
Generates:
Which
rustc
rejects with:The text was updated successfully, but these errors were encountered: