summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-47814.stderr
blob: 2e4ddb81166b404ff621eb97cf57b1e532811ed5 (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/issue-47814.rs:8:32
   |
LL |     pub fn to_buffer() -> [u8; Self::LENGTH] {
   |                                ^^^^
   |
note: not a concrete type
  --> $DIR/issue-47814.rs:5:10
   |
LL | impl<'a> ArpIPv4<'a> {
   |          ^^^^^^^^^^^

error: aborting due to previous error