summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/alias/style_lint.stderr
blob: 91e2ea90eb9e8177d5c9dbd53ec0342e1f0919e1 (plain)
1
2
3
4
5
6
7
8
9
10
warning: trait alias `bar` should have an upper camel case name
  --> $DIR/style_lint.rs:6:7
   |
LL | trait bar = std::fmt::Display + std::fmt::Debug;
   |       ^^^ help: convert the identifier to upper camel case: `Bar`
   |
   = note: `#[warn(non_camel_case_types)]` on by default

warning: 1 warning emitted