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 because of the requirements on the impl of `UpperHex` for `&str`
18 note: required by a bound in `ArgumentV1::<'a>::new_upper_hex`
19 --> $SRC_DIR/core/src/fmt/mod.rs:LL:COL
21 LL | arg_new!(new_upper_hex, UpperHex);
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ArgumentV1::<'a>::new_upper_hex`
23 = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info)
25 error: aborting due to previous error
27 For more information about this error, try `rustc --explain E0277`.