From 631cd5845e8de329d0e227aaa707d7ea228b8f8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:20:29 +0200 Subject: Merging upstream version 1.70.0+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/consts/const-for.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/ui/consts/const-for.rs') diff --git a/tests/ui/consts/const-for.rs b/tests/ui/consts/const-for.rs index 8db248535..ff9c977f7 100644 --- a/tests/ui/consts/const-for.rs +++ b/tests/ui/consts/const-for.rs @@ -5,6 +5,7 @@ const _: () = { for _ in 0..5 {} //~^ error: cannot call //~| error: cannot convert + //~| error: the trait bound }; fn main() {} -- cgit v1.2.3