summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/min_const_generics/forbid-self-no-normalize.stderr
blob: 03c76150010fb43e032cf83c7631d6aea77279fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: generic `Self` types are currently not permitted in anonymous constants
  --> $DIR/forbid-self-no-normalize.rs:12:25
   |
LL |     type ArrayTy = [u8; Self::MAX];
   |                         ^^^^
   |
note: not a concrete type
  --> $DIR/forbid-self-no-normalize.rs:11:27
   |
LL | impl<T> BindsParam<T> for <T as AlwaysApplicable>::Assoc {
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error