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 = help: the following other types implement trait `UpperHex`:
17 = note: required for `&str` to implement `UpperHex`
18 note: required by a bound in `core::fmt::ArgumentV1::<'a>::new_upper_hex`
19 --> $SRC_DIR/core/src/fmt/mod.rs:LL:COL
20 = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `arg_new` (in Nightly builds, run with -Z macro-backtrace for more info)
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0277`.