Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Debug not implemented for AgileReference #1982

Closed
LeonarddeR opened this issue Aug 23, 2022 · 2 comments · Fixed by #1986
Closed

Bug: Debug not implemented for AgileReference #1982

LeonarddeR opened this issue Aug 23, 2022 · 2 comments · Fixed by #1986
Labels
enhancement New feature or request

Comments

@LeonarddeR
Copy link

LeonarddeR commented Aug 23, 2022

Which crate is this about?

Windows

Crate version

0.39.0

Summary

The Debug trait is not implemented for AgileReference.

Toolchain version/configuration

Default host: x86_64-pc-windows-msvc
rustup home: C:\Users<user>.rustup

stable-x86_64-pc-windows-msvc (default)
rustc 1.63.0 (4b91a6ea7 2022-08-08)

Reproducible example

#[derive(Debug)]
#[implement(IWTSPlugin)]
pub struct RdPipePlugin(AgileReference<IWTSPlugin>);

Expected behavior

Debug is implemented for AgileReference as it is with many other types, at least com interfaces

Actual behavior

The following error is generated:

error[E0277]: `AgileReference<IWTSPlugin>` doesn't implement `std::fmt::Debug`
@LeonarddeR LeonarddeR added the bug Something isn't working label Aug 23, 2022
@kennykerr kennykerr added enhancement New feature or request and removed bug Something isn't working labels Aug 23, 2022
@kennykerr
Copy link
Collaborator

Here's a fix: #1986

@LeonarddeR
Copy link
Author

thanks for taking this so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants