fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `Dummy` doesn't implement `Debug` 2 --> $DIR/issue-107649.rs:105:5 3 | 4105 | dbg!(lib::Dummy); 5 | ^^^^^^^^^^^^^^^^ `Dummy` cannot be formatted using `{:?}` 6 | 7 = help: the trait `Debug` is not implemented for `Dummy` 8 = note: add `#[derive(Debug)]` to `Dummy` or manually `impl Debug for Dummy` 9 = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) 10help: consider annotating `Dummy` with `#[derive(Debug)]` 11 --> $DIR/auxiliary/dummy_lib.rs:2:1 12 | 132 + #[derive(Debug)] 143 | pub struct Dummy; 15 | 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0277`.