summaryrefslogtreecommitdiffstats
path: root/tests/ui/fmt/ifmt-unknown-trait.stderr
blob: 459432bf4e4266391843e40de84d7d586d36f399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error: unknown format trait `notimplemented`
  --> $DIR/ifmt-unknown-trait.rs:2:16
   |
LL |     format!("{:notimplemented}", "3");
   |                ^^^^^^^^^^^^^^
   |
   = note: the only appropriate formatting traits are:
           - ``, which uses the `Display` trait
           - `?`, which uses the `Debug` trait
           - `e`, which uses the `LowerExp` trait
           - `E`, which uses the `UpperExp` trait
           - `o`, which uses the `Octal` trait
           - `p`, which uses the `Pointer` trait
           - `b`, which uses the `Binary` trait
           - `x`, which uses the `LowerHex` trait
           - `X`, which uses the `UpperHex` trait

error: aborting due to previous error