]> git.proxmox.com Git - rustc.git/blob - vendor/displaydoc/tests/no_std/without.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / vendor / displaydoc / tests / no_std / without.stderr
1 warning: unused import: `displaydoc::Display`
2 --> $DIR/without.rs:20:5
3 |
4 20 | use displaydoc::Display;
5 | ^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` on by default
8
9 error[E0277]: `FakeType` doesn't implement `Display`
10 --> $DIR/without.rs:25:44
11 |
12 25 | static_assertions::assert_impl_all!(label; FakeType, core::fmt::Display);
13 | -------------------------------------------^^^^^^^^----------------------
14 | | |
15 | | `FakeType` cannot be formatted with the default formatter
16 | required by this bound in `assert_impl_all`
17 |
18 = help: the trait `Display` is not implemented for `FakeType`
19 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead