Skip to content

Commit 7ca751d

Browse files
committed
Ignore unused_parens warning in test
warning: unnecessary parentheses around type --> tests/test.rs:904:20 | 904 | impl Trait for (dyn Fn(u8) + Send + Sync) { | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 904 - impl Trait for (dyn Fn(u8) + Send + Sync) { 904 + impl Trait for dyn Fn(u8) + Send + Sync { |
1 parent 2bccfeb commit 7ca751d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ pub mod issue87 {
881881

882882
// https://github.com/dtolnay/async-trait/issues/89
883883
pub mod issue89 {
884-
#![allow(bare_trait_objects)]
884+
#![allow(bare_trait_objects, unused_parens)]
885885

886886
use async_trait::async_trait;
887887

0 commit comments

Comments
 (0)