You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<anon>:5:25: 5:27 error: unary negation of unsigned integers may be removed in the future
<anon>:5 let _d = a<<(1isize+-1);
^~
error: aborting due to previous error
I would expect no error.
I think the error message is coming out of eval_const_expr_with_substs.
The text was updated successfully, but these errors were encountered:
The "hint" mechanism is essentially used as a workaround to compute
types for expressions which have not yet been type-checked. This
commit clarifies that usage, and limits the effects to the places
where it is currently necessary.
Fixesrust-lang#26210.
The "hint" mechanism is essentially used as a workaround to compute
types for expressions which have not yet been type-checked. This
commit clarifies that usage, and limits the effects to the places
where it is currently necessary.
Fixes#26210.
Produces:
I would expect no error.
I think the error message is coming out of
eval_const_expr_with_substs
.The text was updated successfully, but these errors were encountered: