about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-27 21:42:24 +0200
committerGitHub <noreply@github.com>2022-09-27 21:42:24 +0200
commite1fb698c44d3c14d7eea1013a3a456bce95d1393 (patch)
treedb2309d0ee49006dd75a36ee8dfd11e83d3f0ac5 /tests/rustdoc-js-std/parser-errors.js
parentb32ce95911bfa2c0d972b292d7d5f76bf9c51bc9 (diff)
parent35adb367798476eb49d3e77d44999b5f8ce8fa34 (diff)
downloadrust-e1fb698c44d3c14d7eea1013a3a456bce95d1393.tar.gz
rust-e1fb698c44d3c14d7eea1013a3a456bce95d1393.zip
Rollup merge of #102337 - cuviper:llvm-optional-bool, r=nikic
Avoid LLVM-deprecated `Optional::hasValue`

LLVM 15 added `Optional::has_value`, and LLVM `main` (16) has deprecated
`hasValue`. However, its `explicit operator bool` does the same thing,
and was added long ago, so we can use that across our full LLVM range of
compatibility.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions