about summary refs log tree commit diff
path: root/tests/ui/consts/const-block-const-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-block-const-bound.rs')
-rw-r--r--tests/ui/consts/const-block-const-bound.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-block-const-bound.rs b/tests/ui/consts/const-block-const-bound.rs
index b4b89a93e75..1847c880a39 100644
--- a/tests/ui/consts/const-block-const-bound.rs
+++ b/tests/ui/consts/const-block-const-bound.rs
@@ -3,7 +3,7 @@
 
 use std::marker::Destruct;
 
-const fn f<T: ~const Destruct>(x: T) {}
+const fn f<T: [const] Destruct>(x: T) {}
 
 struct UnconstDrop;