macros: improve diagnostics on type mismatch (#3766)

This commit is contained in:
Taiki Endo
2021-05-09 18:58:05 +09:00
committed by GitHub
parent 05c3cf3a0a
commit f9ce18a524
8 changed files with 149 additions and 7 deletions
@@ -0,0 +1,8 @@
#![deny(dead_code)]
use tests_build::tokio;
#[tokio::main]
async fn f() {}
fn main() {}