about summary refs log tree commit diff
path: root/src/rt/rust_run_program.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-11 00:43:51 -0700
committerbors <bors@rust-lang.org>2013-05-11 00:43:51 -0700
commit18a47f9580c0757f76d6b56081931d10a7859b18 (patch)
treee860694d1ab5c3d494453be925cfbb9e87c78720 /src/rt/rust_run_program.cpp
parentd43d3e538c42798db0706983ba7696b44f6764eb (diff)
parent1e241ce52bbba72e1641f44f83ced0bfea4717f9 (diff)
downloadrust-18a47f9580c0757f76d6b56081931d10a7859b18.tar.gz
rust-18a47f9580c0757f76d6b56081931d10a7859b18.zip
auto merge of #6384 : thomaslee/rust/issue-4202, r=catamorphism
This fixes the issue described in #4202.

From what I understood of the code, when we reexport a trait in a submodule using e.g. "pub use foo::SomeTrait", we were not previously making an effort to reexport the static methods on that trait.

I'm new to the Rust code base (and the Rust language itself) so my approach may not be kosher, but this patch works by changing the encoder to include the static methods associated with traits.

I couldn't see any tests for this area of the code, so I didn't really have any examples to go by. If tests are needed, I'm happy to work through that if I can get some assistance to do so.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions