]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/let_unit.rs
New upstream version 1.74.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / let_unit.rs
index 7e8764a482a2044e76b8eeb33d0bc93a0009dd95..6d942ca8908c413e633609e06d37f0d197cdb202 100644 (file)
@@ -1,5 +1,3 @@
-//@run-rustfix
-
 #![feature(lint_reasons)]
 #![warn(clippy::let_unit_value)]
 #![allow(unused, clippy::no_effect, clippy::needless_late_init, path_statements)]
@@ -179,3 +177,5 @@ fn attributes() {
 async fn issue10433() {
     let _pending: () = std::future::pending().await;
 }
+
+pub async fn issue11502(a: ()) {}