]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
b7449926 1error: unknown format trait `notimplemented`
60c5eb7d 2 --> $DIR/ifmt-unknown-trait.rs:2:16
b7449926
XL
3 |
4LL | format!("{:notimplemented}", "3");
60c5eb7d 5 | ^^^^^^^^^^^^^^
416331ca
XL
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
b7449926
XL
17
18error: aborting due to previous error
19