]> git.lizzy.rs Git - rust.git/commit
Split `new_without_default` and `new_without_default_derive`.
authorAndre Bogus <bogusandre@gmail.com>
Tue, 17 May 2016 06:33:57 +0000 (08:33 +0200)
committerAndre Bogus <bogusandre@gmail.com>
Tue, 24 May 2016 16:22:18 +0000 (18:22 +0200)
commit9cfc42275d400d5b192e10e005d4f7ef772156b7
tree917a152a0af33afa15746249503e54fa2c6ff848
parent84098f56b6d6e89bbbeaa3d70d98f7818dacbfc4
Split `new_without_default` and `new_without_default_derive`.

This is still very slow, because we do a trait lookup for each field.
Perhaps storing the visited types in a set to reuse types would improve
performance somewhat. Also we may want to pre-decide some known types
(e.g. `Vec<T>`, `Option<T>`).
CHANGELOG.md
README.md
src/lib.rs
src/new_without_default.rs
tests/compile-fail/methods.rs
tests/compile-fail/new_without_default.rs