diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/let_unit.fixed')
-rw-r--r-- | src/tools/clippy/tests/ui/let_unit.fixed | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/let_unit.fixed b/src/tools/clippy/tests/ui/let_unit.fixed index 6343cff0f..76ff0645f 100644 --- a/src/tools/clippy/tests/ui/let_unit.fixed +++ b/src/tools/clippy/tests/ui/let_unit.fixed @@ -175,3 +175,7 @@ fn attributes() { #[expect(clippy::let_unit_value)] let _ = f(); } + +async fn issue10433() { + let _pending: () = std::future::pending().await; +} |