https://github.com/meithecatte/clippy_mvce
A MVCE for a weird behavior in clippy
https://github.com/meithecatte/clippy_mvce
Last synced: 11 months ago
JSON representation
A MVCE for a weird behavior in clippy
- Host: GitHub
- URL: https://github.com/meithecatte/clippy_mvce
- Owner: meithecatte
- Created: 2018-10-28T18:40:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-28T18:41:09.000Z (over 7 years ago)
- Last Synced: 2025-01-30T19:49:17.528Z (about 1 year ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
Checking clippy_mvce v0.1.0 (/home/kuba/dev/clippy_mvce)
error: useless lint attribute
--> src/other_file.rs:3:1
|
3 | #[derive(FromPrimitive, PartialEq, Debug)]
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[deny(clippy::useless_attribute)] on by default
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#useless_attribute
error: aborting due to previous error
error: Could not compile `clippy_mvce`.
To learn more, run the command again with --verbose.
```
Removing `FromPrimitive` from the attribute generates compile errors, obviously.