]> git.lizzy.rs Git - rust.git/blob - tests/ui/missing_debug_impls.stderr
Rollup merge of #106960 - estebank:parse-anon-enums, r=cjgillot
[rust.git] / tests / ui / missing_debug_impls.stderr
1 error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
2   --> $DIR/missing_debug_impls.rs:7:1
3    |
4 LL | pub enum A {}
5    | ^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/missing_debug_impls.rs:2:9
9    |
10 LL | #![deny(missing_debug_implementations)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
14   --> $DIR/missing_debug_impls.rs:20:1
15    |
16 LL | pub struct Foo;
17    | ^^^^^^^^^^^^^^^
18
19 error: aborting due to 2 previous errors
20