summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issues/issue-74950.min.stderr
blob: a5dbe10b78a324296480e30a1b781926dce78f88 (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:20:23
   |
LL | struct Outer<const I: Inner>;
   |                       ^^^^^
   |
   = note: the only supported types are integers, `bool` and `char`
   = help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types

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

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

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

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

error: aborting due to 5 previous errors