about summary refs log tree commit diff
path: root/tests/ui/lint/missing-debug-implementations-lint.stderr
blob: 288ab981034e931459f9916066b100099dc2e866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
  --> $DIR/missing-debug-implementations-lint.rs:11:1
   |
LL | pub enum A {}
   | ^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/missing-debug-implementations-lint.rs:6:9
   |
LL | #![deny(missing_debug_implementations)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
  --> $DIR/missing-debug-implementations-lint.rs:23:1
   |
LL | pub struct Foo;
   | ^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors