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
This doesn't open in the correct browser and is not specific to my configuration
Building without battery feature fails because of an incorrectly sized CONST array. Problem comes from the lines:
battery
#[cfg(feature = "battery")] "battery",
You should be able to build without the feature if the feature is going to exist
error[E0308]: mismatched types --> src/configs/starship_root.rs:14:38 | 14 | pub const PROMPT_ORDER: [&str; 44] = [ | ______________________________________^ 15 | | "username", 16 | | "hostname", 17 | | "singularity", ... | 62 | | "character", 63 | | ]; | |_^ expected an array with a fixed size of 44 elements, found one with 43 elements
Set a CONST for size somewhere before this based on the battery feature. This will probably be useful in the future if more modules become features.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This doesn't open in the correct browser and is not specific to my configuration
Bug Report
Current Behavior
Building without
battery
feature fails because of an incorrectly sized CONST array. Problem comes from the lines:Expected Behavior
You should be able to build without the feature if the feature is going to exist
Additional context/Screenshots
Possible Solution
Set a CONST for size somewhere before this based on the
battery
feature. This will probably be useful in the future if more modules become features.Environment
The text was updated successfully, but these errors were encountered: