I'm not sure if it should be reported here though.
Input C/C++ Header
Bindgen Invocation
use bindgen::CargoCallbacks;
// ^^^^^^^^^^^^^^
bindgen::Builder::default()
.header("input.h")
.parse_callbacks(Box::new(CargoCallbacks::new()))
.generate()
.unwrap()
Actual Results
error: use of deprecated constant `bindgen::CargoCallbacks`: Use `CargoCallbacks::new()` instead. Please, check the documentation for further information.
Hmm yeah, that's rather unfortunate. Regression from #2653 I guess. I guess we could just do a breaking bump and remove the deprecated item. @pvdrz thoughts?
I'm not sure if it should be reported here though.
Input C/C++ Header
Bindgen Invocation
Actual Results
Expected Results
No warnings.