summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-15 21:17:34 +0100
committerGitHub <noreply@github.com>2023-01-15 21:17:34 +0100
commit5610231454f81d09f0a21f7fbdf58ad44898759c (patch)
tree51cfa0c21ff266245319e5bfb889bd9b11fa76aa /tests/rustdoc-js-std/parser-errors.js
parent72180b348b95f3df16f245ff90524b23d7f4bd0c (diff)
parent92ced4a12e60811b67ed98c79c77c151581b7e07 (diff)
downloadrust-5610231454f81d09f0a21f7fbdf58ad44898759c.tar.gz
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
suggest `is_empty` for collections when casting to `bool` Fixes #106883 Matches on slices, `String` and `str`. It would be nice to do this with something like `Deref<Target=str>` as well, but AFAIK it's not possible in this part of the compiler.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions