interpret: do not make const-eval query result depend on tcx.sess
This commit is contained in:
parent
22572d0994
commit
7a290fce90
8 changed files with 70 additions and 62 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue