rust/src/test/ui/missing_debug_impls.stderr

21 lines
681 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: type does not implement `fmt::Debug`; consider adding #[derive(Debug)] or a manual implementation
2018-12-25 09:56:47 -06:00
--> $DIR/missing_debug_impls.rs:7:1
2018-08-08 07:28:26 -05:00
|
LL | pub enum A {} //~ ERROR type does not implement `fmt::Debug`
| ^^^^^^^^^^^^^
|
note: lint level defined here
2018-12-25 09:56:47 -06:00
--> $DIR/missing_debug_impls.rs:2:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(missing_debug_implementations)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: type does not implement `fmt::Debug`; consider adding #[derive(Debug)] or a manual implementation
2018-12-25 09:56:47 -06:00
--> $DIR/missing_debug_impls.rs:20:1
2018-08-08 07:28:26 -05:00
|
LL | pub struct Foo; //~ ERROR type does not implement `fmt::Debug`
| ^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors