summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-non-camel-case-with-trailing-underscores.rs
blob: b832e4bcd62232a71091cc144bed378c470341a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() { }