]> git.proxmox.com Git - rustc.git/blob - src/test/ui/if/ifmt-unknown-trait.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / if / 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