summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/alias/style_lint.rs
blob: 33be20054b5d3bba5b6218d9b59fcf3fee191fe4 (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() {}