]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fmt/ifmt-unimpl.stderr
Allow combining -Cprofile-generate and -Cpanic=unwind when targeting
[rust.git] / src / test / ui / fmt / ifmt-unimpl.stderr
1 error[E0277]: the trait bound `str: UpperHex` is not satisfied
2   --> $DIR/ifmt-unimpl.rs:2:21
3    |
4 LL |     format!("{:X}", "3");
5    |                     ^^^ the trait `UpperHex` is not implemented for `str`
6    |
7    = note: required because of the requirements on the impl of `UpperHex` for `&str`
8    = note: required by `std::fmt::UpperHex::fmt`
9    = note: this error originates in the macro `$crate::__export::format_args` (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`.