-
Notifications
You must be signed in to change notification settings - Fork 13.3k
type parameter inference #45
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
Labels
A-type-system
Area: Type system
Comments
Add automatic parameter instantiation. Closed by a7eeeb5. |
mbrubeck
pushed a commit
to mbrubeck/rust
that referenced
this issue
Oct 17, 2011
dlrobertson
pushed a commit
to dlrobertson/rust
that referenced
this issue
Nov 29, 2018
Discuss unambiguous function call syntax
eddyb
pushed a commit
to eddyb/rust
that referenced
this issue
Jun 30, 2020
This is necessary because of crate names containing dashes, as pointed out in rust-lang#45.
bors bot
referenced
this issue
in softdevteam/alloy
Apr 29, 2021
45: Inline allocation calls r=ltratt a=jacob-hughes Co-authored-by: Jake Hughes <[email protected]>
djtech-dev
pushed a commit
to djtech-dev/rust
that referenced
this issue
Dec 9, 2021
Support vector types in math ops, fixes rust-lang#45
tautschnig
added a commit
to jaisnan/rust-dev
that referenced
this issue
Aug 20, 2024
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently if you have a function
f[T](T t)
you have to call it with explicittype parameters, such as
f[int](10)
orf[char]('a')
. This is not generallynecessary given the restricted set of contexts in which we permit type
parameters; the type inference system should be able to infer parameters.
Implement this.
The text was updated successfully, but these errors were encountered: