You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not an error, it's a warning. Struct names are camel case by convention, but you're free to use something else if you want. You can silence the warning with #[allow(non_camel_case_types)].
rust.0.10.20140312 on Windows
X_Type
XX_Type
xx_Type
pub struct xx_Type {
}
All the above struct names give the error:-
X_Type
should have a camel case identifier, #[warn(non_camel_case_types)] on by defaultThese names didn't give errors in 0.9
struct name aren't required to be camel case.
The bug is with '_' in struct names?
The text was updated successfully, but these errors were encountered: