Description
I recently ran nightly clippy on a project and got the following warning:
error: name `YDBError` contains a capitalized acronym
--> src/simple_api/mod.rs:95:12
|
95 | pub struct YDBError {
| ^^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `YdbError`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
The lint is correct, it's not a false positive. However, fixing it would be a breaking change since YDBError
is public. Maybe this lint should be off by default since it's only a style lint and it can be hard to fix?
I originally just added #[allow(clippy::upper_case_literals)]
, but that gives more warnings on stable until this rides the release trains unless I add allow(unknown_renamed_lints)
, which I'd rather not do.