rust/tests/ui/lint/lint-non-camel-case-with-trailing-underscores.rs
2023-01-11 09:32:08 +00:00

12 lines
215 B
Rust

// check-pass
#![allow(dead_code)]
// This is ok because we often use the trailing underscore to mean 'prime'
// pretty-expanded FIXME #23616
#[forbid(non_camel_case_types)]
type Foo_ = isize;
pub fn main() { }