summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-74950.min.stderr
blob: 729ecc2022c9927c8bc3d6722c8ff0a7dbb16fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
error: `Inner` is forbidden as the type of a const generic parameter
  --> $DIR/issue-74950.rs:17:23
   |
LL | struct Outer<const I: Inner>;
   |                       ^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: more complex types are supported with `#![feature(adt_const_params)]`

error: `Inner` is forbidden as the type of a const generic parameter
  --> $DIR/issue-74950.rs:17:23
   |
LL | struct Outer<const I: Inner>;
   |                       ^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: more complex types are supported with `#![feature(adt_const_params)]`

error: `Inner` is forbidden as the type of a const generic parameter
  --> $DIR/issue-74950.rs:17:23
   |
LL | struct Outer<const I: Inner>;
   |                       ^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: more complex types are supported with `#![feature(adt_const_params)]`

error: `Inner` is forbidden as the type of a const generic parameter
  --> $DIR/issue-74950.rs:17:23
   |
LL | struct Outer<const I: Inner>;
   |                       ^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: more complex types are supported with `#![feature(adt_const_params)]`

error: `Inner` is forbidden as the type of a const generic parameter
  --> $DIR/issue-74950.rs:17:23
   |
LL | struct Outer<const I: Inner>;
   |                       ^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: more complex types are supported with `#![feature(adt_const_params)]`

error: aborting due to 5 previous errors