Skip to content

Commit c729c30

Browse files
committed
Re-disable import warnings in derived blocks
1 parent 6c0342c commit c729c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

palette_derive/src/util.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn bundle_impl(
1414

1515
if internal {
1616
quote!{
17-
#[allow(non_snake_case, unused_attributes, unused_qualifications)]
17+
#[allow(non_snake_case, unused_attributes, unused_qualifications, unused_imports)]
1818
mod #const_name {
1919
use float::Float as _FloatTrait;
2020
use super::*;
@@ -23,7 +23,7 @@ pub fn bundle_impl(
2323
}
2424
} else {
2525
quote!{
26-
#[allow(non_snake_case, unused_attributes, unused_qualifications)]
26+
#[allow(non_snake_case, unused_attributes, unused_qualifications, unused_imports)]
2727
mod #const_name {
2828
extern crate palette as _palette;
2929
use self::_palette::float::Float as _FloatTrait;

0 commit comments

Comments
 (0)