summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issues/issue-72352.min.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/issues/issue-72352.min.stderr')
-rw-r--r--tests/ui/const-generics/issues/issue-72352.min.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/const-generics/issues/issue-72352.min.stderr b/tests/ui/const-generics/issues/issue-72352.min.stderr
index eedd73c4d..b010996b8 100644
--- a/tests/ui/const-generics/issues/issue-72352.min.stderr
+++ b/tests/ui/const-generics/issues/issue-72352.min.stderr
@@ -3,6 +3,8 @@ error: using function pointers as const generic parameters is forbidden
|
LL | unsafe fn unsafely_do_the_thing<const F: fn(&CStr) -> usize>(ptr: *const i8) -> usize {
| ^^^^^^^^^^^^^^^^^^
+ |
+ = note: the only supported types are integers, `bool` and `char`
error: aborting due to previous error