]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/binop/issue-77910-1.stderr
Standardize arg suggestions between typeck and trait selection
[rust.git] / src / test / ui / binop / issue-77910-1.stderr
index 9c7bf6228be6e685ab865bb333f244a9d5d915b3..cacea71ac97d5759e2414a1cd852e862eb97076f 100644 (file)
@@ -19,7 +19,7 @@ LL |     assert_eq!(foo, y);
    |     ^^^^^^^^^^^^^^^^^^ `for<'a> fn(&'a i32) -> &'a i32 {foo}` cannot be formatted using `{:?}` because it doesn't implement `Debug`
    |
    = help: the trait `Debug` is not implemented for fn item `for<'a> fn(&'a i32) -> &'a i32 {foo}`
-   = help: use parentheses to call the function: `foo(s)`
+   = help: use parentheses to call the function: `foo(/* &i32 */)`
    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to 2 previous errors