1 error[E0277]: the trait bound `str: UpperHex` is not satisfied
2 --> $DIR/ifmt-unimpl.rs:2:21
4 LL | format!("{:X}", "3");
5 | ^^^ the trait `UpperHex` is not implemented for `str`
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)
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0277`.