about summary refs log tree commit diff
path: root/tests/ui/traits/alias/style_lint.rs
blob: 51c3a5aa77329c0263728bbfb10e2aff8f434812 (plain)
1
2
3
4
5
6
7
8
//@ check-pass

#![feature(trait_alias)]

trait Foo = std::fmt::Display + std::fmt::Debug;
trait bar = std::fmt::Display + std::fmt::Debug; //~WARN trait alias `bar` should have an upper camel case name

fn main() {}