about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-05-16 11:39:39 +0200
committerGitHub <noreply@github.com>2023-05-16 11:39:39 +0200
commit3e34be004ed32411394b8410b7c1ebd5415a2f61 (patch)
treebefdc2c49cab1527cd3fe82a0c9e32523d75df2f /compiler/rustc_mir_transform/src/coverage/tests.rs
parentf6da357016077213c611e1bf229eeafd23aa8b0a (diff)
parent67f455afe1496a46171099b711bf067d7095395b (diff)
downloadrust-3e34be004ed32411394b8410b7c1ebd5415a2f61.tar.gz
rust-3e34be004ed32411394b8410b7c1ebd5415a2f61.zip
Rollup merge of #111602 - tmiasko:erroneous-constant-used, r=oli-obk
Suppress "erroneous constant used" for constants tainted by errors

When constant evaluation fails because its MIR is tainted by errors,
suppress note indicating that erroneous constant was used, since those
errors have to be fixed regardless of the constant being used or not.

Fixes #110891.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions