[rust-dev] Function Definition Type Inference
explodingmind at gmail.com
Thu Jun 5 09:07:33 PDT 2014
I have a rust program that generates rust source code, including function
I don't yet have much in the way of type inference baked into my code,
relying instead upon on compile time analysis provided by rustc.
This works well, except for when dealing with the type of function
arguments, which cannot be inferred (except via trait bounds) at compile
Is there a mechanism through which I can hand off an ast::Item object with
a FnDecl's Vec<Arg> having TyInfer and get it back with inferred type?
 currently exploring this, but looking for alternatives first
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev