1
Fork 0
rust/compiler/rustc_const_eval/src/const_eval
Nilstrieb 3e34be004e
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.
2023-05-16 11:39:39 +02:00
..
error.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
eval_queries.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
fn_queries.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
machine.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
mod.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
valtrees.rs interpret: fail more gracefully on uninit unsized locals 2023-04-28 14:42:03 +02:00