summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-56164.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/issue-56164.rs')
-rw-r--r--src/test/ui/consts/issue-56164.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/consts/issue-56164.rs b/src/test/ui/consts/issue-56164.rs
index df3e3bf90..22c257d0b 100644
--- a/src/test/ui/consts/issue-56164.rs
+++ b/src/test/ui/consts/issue-56164.rs
@@ -1,6 +1,5 @@
const fn foo() { (||{})() }
//~^ ERROR cannot call non-const closure
-//~| ERROR erroneous constant used
const fn bad(input: fn()) {
input()