Skip to content

Commit

Permalink
Touch up PR 184
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 9, 2021
1 parent 9c42e3d commit 076b730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,9 @@ pub mod issue169 {
pub mod issue183 {
#![deny(clippy::shadow_same)]

#[async_trait::async_trait]
use async_trait::async_trait;

#[async_trait]
trait Foo {
async fn foo(_n: i32) {}
}
Expand Down

0 comments on commit 076b730

Please sign in to comment.