summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issue-93647.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/issue-93647.rs')
-rw-r--r--src/test/ui/const-generics/issue-93647.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-generics/issue-93647.rs b/src/test/ui/const-generics/issue-93647.rs
index c1a6bf6e3..806540e17 100644
--- a/src/test/ui/const-generics/issue-93647.rs
+++ b/src/test/ui/const-generics/issue-93647.rs
@@ -1,6 +1,6 @@
struct X<const N: usize = {
(||1usize)()
- //~^ ERROR cannot call
+ //~^ ERROR cannot call non-const closure
}>;
fn main() {}