Closed
Description
pretty printer doesn't know how to print the omitted type _
marker
example:
fn main() {
fn f1(x: i32, y: i32) -> i32 { y }
let f: fn(_, i32) -> i32 = f1;
// ~
// |
// +--- this is pretty-printed badly.
f(13);
}
pretty prints this way:
% ./x86_64-apple-darwin/stage1/bin/rustc --pretty -Z unstable-options pp-1.rs
fn main() {
fn f1(x: i32, y: i32) -> i32 { y }
let f: fn(, i32) -> i32 = f1;
// ~
// |
// +--- this is pretty-printed badly.
f(13);
}
%