diff --git a/dylint/src/library_packages/mod.rs b/dylint/src/library_packages/mod.rs index 09352217f..ad283d52b 100644 --- a/dylint/src/library_packages/mod.rs +++ b/dylint/src/library_packages/mod.rs @@ -417,6 +417,7 @@ fn package_with_root(package_root: &Path) -> Result { fn package_id(package: &MetadataPackage, source_id: SourceId) -> PackageId { PackageId::new( + #[allow(clippy::useless_conversion)] package.name.clone().into(), package.version.clone(), source_id,