fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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