1 2 3 4 5 6 7 8
error: higher-ranked subtype error --> $DIR/issue-46989.rs:38:5 | LL | assert_foo::<fn(&i32)>(); | ^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error