1warning: unused import: `displaydoc::Display` 2 --> $DIR/without.rs:20:5 3 | 420 | use displaydoc::Display; 5 | ^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `#[warn(unused_imports)]` on by default 8 9error[E0277]: `FakeType` doesn't implement `std::fmt::Display` 10 --> $DIR/without.rs:25:37 11 | 1225 | static_assertions::assert_impl_all!(FakeType: core::fmt::Display); 13 | ^^^^^^^^ `FakeType` cannot be formatted with the default formatter 14 | 15 = help: the trait `std::fmt::Display` is not implemented for `FakeType` 16 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead 17note: required by a bound in `assert_impl_all` 18 --> $DIR/without.rs:25:1 19 | 2025 | static_assertions::assert_impl_all!(FakeType: core::fmt::Display); 21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` 22 = note: this error originates in the macro `static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) 23