diff options
Diffstat (limited to 'tests/ui/consts/const_unsafe_unreachable_ub.rs')
| -rw-r--r-- | tests/ui/consts/const_unsafe_unreachable_ub.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const_unsafe_unreachable_ub.rs b/tests/ui/consts/const_unsafe_unreachable_ub.rs index b418fea617c..705e208b56d 100644 --- a/tests/ui/consts/const_unsafe_unreachable_ub.rs +++ b/tests/ui/consts/const_unsafe_unreachable_ub.rs @@ -1,4 +1,4 @@ -// error-pattern: evaluation of constant value failed +//@ error-pattern: evaluation of constant value failed const unsafe fn foo(x: bool) -> bool { match x { |
