]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/nested.stderr
Rollup merge of #92917 - jackh726:issue-91762-2, r=nikomatsakis
[rust.git] / src / test / ui / type-alias-impl-trait / nested.stderr
1 error[E0277]: `Bar` doesn't implement `Debug`
2   --> $DIR/nested.rs:15:22
3    |
4 LL |     println!("{:?}", bar());
5    |                      ^^^^^ `Bar` cannot be formatted using `{:?}` because it doesn't implement `Debug`
6    |
7    = help: the trait `Debug` is not implemented for `Bar`
8    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.