fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0277]: `Foo` doesn't implement `std::fmt::Debug` 2 --> $DIR/no-debug.rs:10:27 3 | 4LL | println!("{:?} {:?}", Foo, Bar); 5 | ^^^ `Foo` cannot be formatted using `{:?}` 6 | 7 = help: the trait `std::fmt::Debug` is not implemented for `Foo` 8 = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` 9 = note: required by `std::fmt::Debug::fmt` 10 11error[E0277]: `no_debug::Bar` doesn't implement `std::fmt::Debug` 12 --> $DIR/no-debug.rs:10:32 13 | 14LL | println!("{:?} {:?}", Foo, Bar); 15 | ^^^ `no_debug::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` 16 | 17 = help: the trait `std::fmt::Debug` is not implemented for `no_debug::Bar` 18 = note: required by `std::fmt::Debug::fmt` 19 20error[E0277]: `Foo` doesn't implement `std::fmt::Display` 21 --> $DIR/no-debug.rs:11:23 22 | 23LL | println!("{} {}", Foo, Bar); 24 | ^^^ `Foo` cannot be formatted with the default formatter 25 | 26 = help: the trait `std::fmt::Display` is not implemented for `Foo` 27 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead 28 = note: required by `std::fmt::Display::fmt` 29 30error[E0277]: `no_debug::Bar` doesn't implement `std::fmt::Display` 31 --> $DIR/no-debug.rs:11:28 32 | 33LL | println!("{} {}", Foo, Bar); 34 | ^^^ `no_debug::Bar` cannot be formatted with the default formatter 35 | 36 = help: the trait `std::fmt::Display` is not implemented for `no_debug::Bar` 37 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead 38 = note: required by `std::fmt::Display::fmt` 39 40error: aborting due to 4 previous errors 41 42For more information about this error, try `rustc --explain E0277`.