| ... | ... | @@ -703,10 +703,7 @@ pub fn formatType( |
| 703 | 703 | } |
| 704 | 704 | try writer.writeAll(" }"); |
| 705 | 705 | }, |
| 706 | | .Fn => { |
| 707 | | if (actual_fmt.len != 0) invalidFmtError(fmt, value); |
| 708 | | return format(writer, "{s}@{x}", .{ @typeName(T), @ptrToInt(value) }); |
| 709 | | }, |
| 706 | .Fn => @compileError("unable to format function body type, use '*const " ++ @typeName(T) ++ "' for a function pointer type"), |
| 710 | 707 | .Type => { |
| 711 | 708 | if (actual_fmt.len != 0) invalidFmtError(fmt, value); |
| 712 | 709 | return formatBuf(@typeName(value), options, writer); |