Adjust fn_hints test

This commit is contained in:
Dawer 2021-08-03 12:58:55 +05:00
parent 98ae530f2a
commit d9ec88ea23

View File

@ -924,9 +924,9 @@ fn main() {
let foo = foo5();
// ^^^ &dyn Fn(&dyn Fn(f64, f64) -> u32, f64) -> u32
let foo = foo6();
// ^^^ impl Fn(f64, f64) -> u32 + Sized
// ^^^ impl Fn(f64, f64) -> u32
let foo = foo7();
// ^^^ *const (impl Fn(f64, f64) -> u32 + Sized)
// ^^^ *const impl Fn(f64, f64) -> u32
}
"#,
)