]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fmt/ifmt-unknown-trait.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / fmt / ifmt-unknown-trait.stderr
1 error: unknown format trait `notimplemented`
2   --> $DIR/ifmt-unknown-trait.rs:2:16
3    |
4 LL |     format!("{:notimplemented}", "3");
5    |                ^^^^^^^^^^^^^^
6    |
7    = note: the only appropriate formatting traits are:
8            - ``, which uses the `Display` trait
9            - `?`, which uses the `Debug` trait
10            - `e`, which uses the `LowerExp` trait
11            - `E`, which uses the `UpperExp` trait
12            - `o`, which uses the `Octal` trait
13            - `p`, which uses the `Pointer` trait
14            - `b`, which uses the `Binary` trait
15            - `x`, which uses the `LowerHex` trait
16            - `X`, which uses the `UpperHex` trait
17
18 error: aborting due to previous error
19