Skip to content

Commit

Permalink
Allow unnecessary_conversion_for_trait in packaging module
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Mar 13, 2024
1 parent 211f411 commit 4336f4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/src/packaging.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// smoelius: Since the update to `rust_embed` 8.3.0, `unnecessary_conversion_for_trait` started
// firing on `struct Template`. Requiring `!expr.span.from_expansion()` in
// `unnecessary_conversion_for_trait` causes one of its tests to fail. So allow the lint for now.
#![cfg_attr(dylint_lib = "overscoped_allow", allow(overscoped_allow))]
#![cfg_attr(dylint_lib = "supplementary", allow(unnecessary_conversion_for_trait))]

use crate::cargo::{current_metadata, package};
use anyhow::{anyhow, Context, Result};
use rust_embed::RustEmbed;
Expand Down

0 comments on commit 4336f4e

Please sign in to comment.