| 1 |
error: proc-macro derive panicked |
| 2 |
--> $DIR/multi_line.rs:23:10 |
| 3 |
| |
| 4 |
23 | #[derive(Display)] |
| 5 |
| ^^^^^^^ |
| 6 |
| |
| 7 |
= help: message: Multi-line comments are disabled by default by displaydoc. Please consider using block doc comments (/** */) or adding the #[ignore_extra_doc_attributes] attribute to your type next to the derive. |
| 8 |
|
| 9 |
error[E0277]: `TestType` doesn't implement `std::fmt::Display` |
| 10 |
--> $DIR/multi_line.rs:34:37 |
| 11 |
| |
| 12 |
34 | static_assertions::assert_impl_all!(TestType: core::fmt::Display); |
| 13 |
| ^^^^^^^^ `TestType` cannot be formatted with the default formatter |
| 14 |
| |
| 15 |
= help: the trait `std::fmt::Display` is not implemented for `TestType` |
| 16 |
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead |
| 17 |
note: required by a bound in `assert_impl_all` |
| 18 |
--> $DIR/multi_line.rs:34:1 |
| 19 |
| |
| 20 |
34 | static_assertions::assert_impl_all!(TestType: 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) |