rust/tests/ui/traits/alias/style_lint.stderr
2023-01-11 09:32:08 +00:00

11 lines
314 B
Plaintext

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