Silecing warnings in struct fields does not work for useless_conversion #5683
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
Uh oh!
There was an error while loading. Please reload this page.
Using
#[allow()]
in struct fields does not work foruseless_conversion
.Can be checked on playground:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=5e438df7bcd3708184a12bc737fe4965
This happens on stable, beta, and nightly.
The text was updated successfully, but these errors were encountered: