fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
999 B26 linesraw
1error[E0277]: the trait bound `str: UpperHex` is not satisfied
2  --> $DIR/ifmt-unimpl.rs:2:21
3   |
4LL |     format!("{:X}", "3");
5   |              ----   ^^^ the trait `UpperHex` is not implemented for `str`
6   |              |
7   |              required by a bound introduced by this call
8   |
9   = help: the following other types implement trait `UpperHex`:
10             isize
11             i8
12             i16
13             i32
14             i64
15             i128
16             usize
17             u8
18           and 20 others
19   = note: required for `&str` to implement `UpperHex`
20note: required by a bound in `core::fmt::rt::Argument::<'a>::new_upper_hex`
21  --> $SRC_DIR/core/src/fmt/rt.rs:LL:COL
22   = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
23
24error: aborting due to previous error
25
26For more information about this error, try `rustc --explain E0277`.