]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc-2361-dbg-macro/dbg-macro-requires-debug.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / rfc-2361-dbg-macro / dbg-macro-requires-debug.stderr
1 error[E0277]: `NotDebug` doesn't implement `Debug`
2 --> $DIR/dbg-macro-requires-debug.rs:6:23
3 |
4 LL | let _: NotDebug = dbg!(NotDebug);
5 | ^^^^^^^^^^^^^^ `NotDebug` cannot be formatted using `{:?}`
6 |
7 = help: the trait `Debug` is not implemented for `NotDebug`
8 = note: add `#[derive(Debug)]` to `NotDebug` or manually `impl Debug for NotDebug`
9 = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0277`.