summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/raw-ptr-const-param.min.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/raw-ptr-const-param.min.stderr')
-rw-r--r--tests/ui/const-generics/raw-ptr-const-param.min.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/const-generics/raw-ptr-const-param.min.stderr b/tests/ui/const-generics/raw-ptr-const-param.min.stderr
index 310422aaf..13fbc34e5 100644
--- a/tests/ui/const-generics/raw-ptr-const-param.min.stderr
+++ b/tests/ui/const-generics/raw-ptr-const-param.min.stderr
@@ -3,6 +3,8 @@ error: using raw pointers as const generic parameters is forbidden
|
LL | struct Const<const P: *const u32>;
| ^^^^^^^^^^
+ |
+ = note: the only supported types are integers, `bool` and `char`
error: aborting due to previous error