diff options
Diffstat (limited to 'tests/ui/type/type-check/issue-88577-check-fn-with-more-than-65535-arguments.stderr')
-rw-r--r-- | tests/ui/type/type-check/issue-88577-check-fn-with-more-than-65535-arguments.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/type/type-check/issue-88577-check-fn-with-more-than-65535-arguments.stderr b/tests/ui/type/type-check/issue-88577-check-fn-with-more-than-65535-arguments.stderr new file mode 100644 index 000000000..847bc517e --- /dev/null +++ b/tests/ui/type/type-check/issue-88577-check-fn-with-more-than-65535-arguments.stderr @@ -0,0 +1,13 @@ +error: function can not have more than 65535 arguments + --> $DIR/issue-88577-check-fn-with-more-than-65535-arguments.rs:6:22 + | +LL | fn _f($($t: ()),*) {} + | ^ +... +LL | many_args!{[_]########## ######} + | -------------------------------- in this macro invocation + | + = note: this error originates in the macro `many_args` (in Nightly builds, run with -Z macro-backtrace for more info) + +error: aborting due to previous error + |