1
Fork 0

interpret: do not make const-eval query result depend on tcx.sess

This commit is contained in:
Ralf Jung 2024-08-26 17:01:46 +02:00
parent 22572d0994
commit 7a290fce90
8 changed files with 70 additions and 62 deletions

View file

@ -402,9 +402,6 @@ const_eval_unallowed_mutable_refs =
const_eval_unallowed_op_in_const_context =
{$msg}
const_eval_unavailable_target_features_for_fn =
calling a function that requires unavailable target features: {$unavailable_feats}
const_eval_uninhabited_enum_variant_read =
read discriminant of an uninhabited enum variant
const_eval_uninhabited_enum_variant_written =