-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Use the return value of a function to infer a type for the "ret" statement #170
Labels
A-type-system
Area: Type system
Comments
WONTFIX (not required for bootstrapping, should work in rustc already; reopen if not) |
oli-obk
added a commit
to oli-obk/rust
that referenced
this issue
Jul 19, 2017
update for upstream changes with ty::ParamEnv
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
unix: Add sendfile to platforms that support it
dlrobertson
pushed a commit
to dlrobertson/rust
that referenced
this issue
Nov 29, 2018
Fix integer suffix typos
djtech-dev
pushed a commit
to djtech-dev/rust
that referenced
this issue
Dec 9, 2021
Err for invalid memcpy/memmove alignmen
antoyo
added a commit
to antoyo/rust
that referenced
this issue
Jun 7, 2022
Use the provided pointee type in `<Builder as BuilderMethods>::load`
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
celinval
added a commit
to celinval/rust-dev
that referenced
this issue
Nov 20, 2024
Use default target folder instead of using a temporary folder. Users are still able to customize the folder using Kani argument. Avoid needless updates when Kani dependencies are already up-to-date. Fixes rust-lang#170
celinval
added a commit
to celinval/rust-dev
that referenced
this issue
Nov 22, 2024
Use default target folder instead of using a temporary folder. Users are still able to customize the folder using Kani argument. Avoid needless updates when Kani dependencies are already up-to-date. Fixes rust-lang#170
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, statements like "ret none;" don't work because the typechecker isn't smart enough to infer the type parameter from the explicit function signature.
The text was updated successfully, but these errors were encountered: