On Thursday, June 5, 2014, <[email protected]> wrote: > > > I first intended to convert sql! macro to some Iterator<Option<int>>. > However, we don't have typeof(TestTable::a) syntax yet, which means it's > impossible to get the type of "a" column without creating a dummy instance. >
There may be things we could do with the Encodable/Decodable infrastructure here. For example, we could require implementations to provide a schema so that a macro could get the type of a value without creating a dummy value.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
