Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// build-pass
// compile-flags:-Zpolymorphize=on -Csymbol-mangling-version=v0
fn y_uses_f(f: impl Fn()) {
let x = |_: ()| ();
let y = || {
f();
x(());
};
y();
}
fn x_uses_f(f: impl Fn()) {
let x = |_: ()| { f(); };
let y = || x(());
fn entry_a() {
x_uses_f(|| ());
y_uses_f(|| ());
fn entry_b() {
fn main() {
entry_a();
entry_b();