diff options
| author | Esteban Küber <esteban@osdyne.com> | 2025-09-16 11:24:51 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@osdyne.com> | 2025-09-16 11:24:51 -0700 |
| commit | 8306a2f02e6c56447ff05b19b4b73c5c861e34fd (patch) | |
| tree | 828a01b04c67502553ddd9115784a76b94ab9b8e /tests/ui/c-variadic | |
| parent | ed85f9846da9abfad09bb5732bc18d6c39fbc9f9 (diff) | |
| download | rust-8306a2f02e6c56447ff05b19b4b73c5c861e34fd.tar.gz rust-8306a2f02e6c56447ff05b19b4b73c5c861e34fd.zip | |
Reword note
Diffstat (limited to 'tests/ui/c-variadic')
| -rw-r--r-- | tests/ui/c-variadic/no-closure.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/c-variadic/no-closure.stderr b/tests/ui/c-variadic/no-closure.stderr index ad635a29ab4..4b553c21597 100644 --- a/tests/ui/c-variadic/no-closure.stderr +++ b/tests/ui/c-variadic/no-closure.stderr @@ -10,7 +10,7 @@ error: unexpected `...` LL | let f = |...| {}; | ^^^ not a valid pattern | - = note: C-variadic type `...` is not allowed here + = note: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list error[E0743]: C-variadic type `...` may not be nested inside another type --> $DIR/no-closure.rs:13:17 |
