Commit 9306675
authored
Auto merge of #143669 - jieyouxu:fmt-write-bloat, r=<try>
Make sure `fmt-write-bloat` doesn't vacuously pass on no symbols
Previously, the test only checks for the absence of certain panic symbols, but having no symbols was also a possible albeit vacuous way to satisfy this assertion.
Fix this by checking we at least observe the `main` symbol which is always expected to be present.
Noticed in #142841 (comment).
r? `@ChrisDenton`
try-job: x86_64-msvc-*1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
0 commit comments