-
Notifications
You must be signed in to change notification settings - Fork 707
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
Introduce ParseCallbacks::header_file
#2653
Introduce ParseCallbacks::header_file
#2653
Conversation
|
||
impl CargoCallbacks { | ||
/// Create a new `CargoCallbacks` value. | ||
pub fn new() -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could make this const, and use new
in the deprecated const as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit conservative with const fn
s as removing the const
in the future will always be a breaking change and I'm not sure if new fields added in the future could be initialized as consts or not.
ParseCallbacks::input_file
ParseCallbacks::header_file
Fix #2643