fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
591 B20 linesraw
1error: type does not implement `fmt::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: lint level defined here
8  --> $DIR/missing_debug_impls.rs:2:9
9   |
10LL | #![deny(missing_debug_implementations)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: type does not implement `fmt::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