about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/no-entry-found-for-key-ice-gce-nlb-113133.stderr
blob: 814022f26b90f3d2648bf777ecc25d7a30bcd798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: late-bound const parameters cannot be used currently
  --> $DIR/no-entry-found-for-key-ice-gce-nlb-113133.rs:9:15
   |
LL |     for<const N: usize = { const fn bar() {} bar(); 1 }> ():,
   |               ^

error: defaults for generic parameters are not allowed in `for<...>` binders
  --> $DIR/no-entry-found-for-key-ice-gce-nlb-113133.rs:9:9
   |
LL |     for<const N: usize = { const fn bar() {} bar(); 1 }> ():,
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors