Files
rust/tests/ui/lint/missing-debug-implementations-lint.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
634 B
Plaintext
Raw Permalink Normal View History

error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
2025-06-28 22:59:17 +05:00
--> $DIR/missing-debug-implementations-lint.rs:11:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | pub enum A {}
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2025-06-28 22:59:17 +05:00
--> $DIR/missing-debug-implementations-lint.rs:6:9
2018-08-08 14:28:26 +02:00
|
LL | #![deny(missing_debug_implementations)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation
2025-06-28 22:59:17 +05:00
--> $DIR/missing-debug-implementations-lint.rs:23:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | pub struct Foo;
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors