1error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
2  --> $DIR/missing_debug_impls.rs:7:1
3   |
4LL | pub enum A {}
5   | ^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/missing_debug_impls.rs:2:9
9   |
10LL | #![deny(missing_debug_implementations)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
14  --> $DIR/missing_debug_impls.rs:20:1
15   |
16LL | pub struct Foo;
17   | ^^^^^^^^^^^^^^^
18
19error: aborting due to 2 previous errors
20
21