blob: 8775bd19e1f98c3dbefdd338c05ab69570c2d6ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(inherent_associated_types)]
#![allow(incomplete_features, dead_code)]
#![deny(non_camel_case_types)]
struct S;
impl S {
type typ = ();
//~^ ERROR associated type `typ` should have an upper camel case name
}
fn main() {}
|