| 1 |
error: proc-macro derive panicked |
| 2 |
--> $DIR/enum_prefix_missing.rs:22:10 |
| 3 |
| |
| 4 |
22 | #[derive(Display)] |
| 5 |
| ^^^^^^^ |
| 6 |
| |
| 7 |
= help: message: Missing doc comment on enum with #[prefix_enum_doc_attributes]. Please remove the attribute or add a doc comment to the enum itself. |
| 8 |
|
| 9 |
error[E0277]: `TestType` doesn't implement `std::fmt::Display` |
| 10 |
--> $DIR/enum_prefix_missing.rs:32:37 |
| 11 |
| |
| 12 |
32 | 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/enum_prefix_missing.rs:32:1 |
| 19 |
| |
| 20 |
32 | 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) |