]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-non-camel-case-with-trailing-underscores.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / lint-non-camel-case-with-trailing-underscores.rs
1 // check-pass
2
3 #![allow(dead_code)]
4 // This is ok because we often use the trailing underscore to mean 'prime'
5
6 // pretty-expanded FIXME #23616
7
8 #[forbid(non_camel_case_types)]
9 type Foo_ = isize;
10
11 pub fn main() { }