1 error[E0277]: `NotDebug` doesn't implement `Debug`
2 --> $DIR/dbg-macro-requires-debug.rs:6:23
4 LL | let _: NotDebug = dbg!(NotDebug);
5 | ^^^^^^^^^^^^^^ `NotDebug` cannot be formatted using `{:?}`
7 = help: the trait `Debug` is not implemented for `NotDebug`
8 = note: add `#[derive(Debug)]` or manually implement `Debug`
9 = note: required because of the requirements on the impl of `Debug` for `&NotDebug`
10 = note: required by `std::fmt::Debug::fmt`
11 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.