summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/feature-attribute-missing-in-dependent-crate-ice.stderr
blob: 5c3306651426b092412825bea5b5359b45f77ff8 (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/feature-attribute-missing-in-dependent-crate-ice.rs:13:33
   |
LL |     fn validate_slice(_: &[[u8; Self::SIZE]]) -> Result<(), aux::Error> {
   |                                 ^^^^
   |
note: not a concrete type
  --> $DIR/feature-attribute-missing-in-dependent-crate-ice.rs:12:41
   |
LL | impl<const F: usize> aux::FromSlice for Wrapper<F> {
   |                                         ^^^^^^^^^^

error: aborting due to 1 previous error