Commit a5a44b8
committed
Do not warn about large stack arrays without having a valid span
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.1 parent d227bf4 commit a5a44b8
1 file changed
Lines changed: 9 additions & 0 deletions
| 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