]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-non-camel-case-with-trailing-underscores.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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() { }