VSCode 1.92.1 code snippet to reproduce: src/lib.rs #[allow(dead_code,non_camel_case_types)]pubmodt1; src/t1.rs typef1=i32;
𝕞𝕖𝕝` should have an upper camel case name --> src/lib.rs:3:8 | 3 | struct 𝕟𝕠𝕥_𝕒_𝕔𝕒𝕞𝕖𝕝; | ^^^ help: convert the identifier to upper camel case: `𝕟𝕠𝕥𝕒𝕔𝕒𝕞𝕖𝕝` | = note: `#[warn(non_camel_case_types)]` on by default It...
Bindings generated by bindgen are not expected to follow Rust naming conventions, so it's a reasonable default to automatically add #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals)] to the generated module.