-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Int
literals in ghost code
#1251
Comments
One easy way would be to have |
That's only a solution to half the problem, since this will not work in ghost functions that do not use the What about |
Unfortunately this struggles with type inference, even ghost! {
let x: Int = *0u32.into();
}; does not work 😕 ( |
@xldenis where is the Rust RFC with support for custom integer types? |
It never even made it to the stage of an rfc |
There should be an easy way to create an
Int
in ghost code. Currently you can doBut this is very inelegant.
The text was updated successfully, but these errors were encountered: