Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

[BUG] tests/check_gir.rs fails to build #768

Open
phodina opened this issue Aug 18, 2022 · 0 comments
Open

[BUG] tests/check_gir.rs fails to build #768

phodina opened this issue Aug 18, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@phodina
Copy link

phodina commented Aug 18, 2022

Bug description
Attempting to build also the tests results in error as the trait std::fmt::Display is not impleented.

Backtrace

Compiling gtk v0.15.5 (/tmp/guix-build-rust-gtk-0.15.5.drv-0/gtk-0.15.5)
error[E0277]: `Errors` doesn't implement `std::fmt::Display`
 --> tests/check_gir.rs:6:20
  |
6 |     println!("{}", res);
  |                    ^^^ `Errors` cannot be formatted with the default formatter
  |
  = help: the trait `std::fmt::Display` is not implemented for `Errors`
  = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
  = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
@phodina phodina added the bug Something isn't working label Aug 18, 2022
@bilelmoussaoui bilelmoussaoui added this to the 0.16 milestone Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants