macros: fix wrong error messages (#4067)

This commit is contained in:
Fedorenko Dmitrij
2021-08-25 19:59:41 +02:00
committed by GitHub
parent 51f4f0594c
commit 80bda3bf5f
7 changed files with 56 additions and 38 deletions
+7
View File
@@ -0,0 +1,7 @@
#[cfg(feature = "full")]
#[tokio::test]
async fn test_with_semicolon_without_return_type() {
#![deny(clippy::semicolon_if_nothing_returned)]
dbg!(0);
}