correct version attribute for io_other_error (#14282)

r? flip1995

changelog: none
This commit is contained in:
Samuel Tardieu 2025-03-31 23:30:39 +00:00 committed by GitHub
commit d28d2344d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4475,7 +4475,7 @@ declare_clippy_lint! {
/// ```no_run
/// let _ = std::io::Error::other("bad".to_string());
/// ```
#[clippy::version = "1.86.0"]
#[clippy::version = "1.87.0"]
pub IO_OTHER_ERROR,
style,
"calling `std::io::Error::new(std::io::ErrorKind::Other, _)`"