about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-30 16:04:14 +0000
committerbors <bors@rust-lang.org>2022-03-30 16:04:14 +0000
commit0031f69999dc8c5f4d17f5eb6f0d7f1f1358462f (patch)
treeab6a8aa3fce747dc70d3a7f9b1583e09f130ae08 /tests/rustdoc-js-std/parser-errors.js
parente1ddf29ee3e722942653525f58147c5d88e92492 (diff)
parentaf8ed04e094e78316de9f37b926c9c4750bbddab (diff)
downloadrust-0031f69999dc8c5f4d17f5eb6f0d7f1f1358462f.tar.gz
rust-0031f69999dc8c5f4d17f5eb6f0d7f1f1358462f.zip
Auto merge of #8592 - c410-f3r:stuff, r=flip1995
Do not fire `panic` in a constant environment

Let rustc handle panics in constant environments.

Since https://github.com/rust-lang/rust-clippy/issues/8348 I thought that such modification would require a lot of work but thanks to https://github.com/rust-lang/rust-clippy/pull/8588 I now know that it is not the case.

changelog: [`panic`]: No longer lint in constant context. `rustc` already handles this.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions