diff options
Diffstat (limited to 'tests/ui/static/static-reference-to-fn-1.stderr')
| -rw-r--r-- | tests/ui/static/static-reference-to-fn-1.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/static/static-reference-to-fn-1.stderr b/tests/ui/static/static-reference-to-fn-1.stderr index 6bf64974ef5..72036269b29 100644 --- a/tests/ui/static/static-reference-to-fn-1.stderr +++ b/tests/ui/static/static-reference-to-fn-1.stderr @@ -9,8 +9,9 @@ LL | func: &foo, = note: fn items are distinct from fn pointers help: consider casting to a fn pointer | -LL | func: &(foo as fn() -> Option<isize>), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +LL - func: &foo, +LL + func: &(foo as fn() -> Option<isize>), + | error: aborting due to 1 previous error |
