mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
11 lines
314 B
Plaintext
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
|
|
|