diff options
Diffstat (limited to 'src/test/ui/borrowck/issue-88434-removal-index-should-be-less.rs')
-rw-r--r-- | src/test/ui/borrowck/issue-88434-removal-index-should-be-less.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/borrowck/issue-88434-removal-index-should-be-less.rs b/src/test/ui/borrowck/issue-88434-removal-index-should-be-less.rs index b1fc1615e..a99c5b76a 100644 --- a/src/test/ui/borrowck/issue-88434-removal-index-should-be-less.rs +++ b/src/test/ui/borrowck/issue-88434-removal-index-should-be-less.rs @@ -1,8 +1,7 @@ // Regression test for issue 88434 const _CONST: &[u8] = &f(&[], |_| {}); -//~^ ERROR any use of this value will cause an error -//~| WARNING this was previously +//~^ ERROR constant const fn f<F>(_: &[u8], _: F) -> &[u8] where |