diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/consts/issue-56164.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/consts/issue-56164.rs b/tests/ui/consts/issue-56164.rs index 22c257d0b..00875c4b5 100644 --- a/tests/ui/consts/issue-56164.rs +++ b/tests/ui/consts/issue-56164.rs @@ -1,5 +1,6 @@ const fn foo() { (||{})() } //~^ ERROR cannot call non-const closure +//~| ERROR the trait bound const fn bad(input: fn()) { input() |