debug_stub_derive icon indicating copy to clipboard operation
debug_stub_derive copied to clipboard

Doesn't work with Rust 2018 edition `dyn` traits

Open thomaseizinger opened this issue 6 years ago • 1 comments

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>
}

thomaseizinger avatar Nov 09 '18 00:11 thomaseizinger

Any chance for this to be looked at? :)

D4nte avatar Dec 11 '18 01:12 D4nte