We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f9298 commit 28669feCopy full SHA for 28669fe
src/lib.rs
@@ -307,6 +307,7 @@ macro_rules! specialize {
307
($trait_fn_id ($trait_fn_ty) ($($trait_fn_bounds)*) ($($trait_fn_where)*) ($($trait_fn_args)*))
308
($($items)*
309
impl<$($trait_impl_bounds)*, $($clause_bounds)*> $trait_id for $trait_impl_id where $($clause_where)* $($trait_impl_where)* {
310
+ #[allow(unused_mut, unused_variables)]
311
default fn $trait_fn_id<
312
$($trait_fn_bounds)*
313
>($($trait_fn_args)*) -> $trait_fn_ty
@@ -338,6 +339,7 @@ macro_rules! specialize {
338
339
) => {
340
specialize! { @items
341
trait $trait_id {
342
+ #[allow(patterns_in_fns_without_body)]
343
fn $trait_fn_id<
344
345
0 commit comments