Commit 98ced04
authored
Do not warn about large stack arrays without having a valid span (#16347)
The libtest harness generates an array with all the tests on the stack.
However, it is generated with no location information, so we cannot tell
the user anything useful.
This commit is not accompanied by a test, as it would require running
Clippy on the result of libtest harness with a lot of tests, which would
take a very long time. A note has been added to the source to indicate
not to remove the check.
changelog: [`large_stack_arrays`]: do not warn for code auto-generated
by libtest harness
Fixes #137741 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
97 | 106 | | |
98 | 107 | | |
99 | 108 | | |
| |||
0 commit comments