debug_stub_derive
debug_stub_derive copied to clipboard
Doesn't work with Rust 2018 edition `dyn` traits
If you have a struct that uses the new Rust 2018 dyn
trait syntax, the custom derive panics:
pub trait Foo {
}
#[derive(DebugStub)]
pub struct Bar {
#[debug_stub = "foo"]
foo: Arc<dyn Foo>
}
Any chance for this to be looked at? :)