]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/issue-47814.stderr
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / associated-consts / issue-47814.stderr
1 error: generic `Self` types are currently not permitted in anonymous constants
2   --> $DIR/issue-47814.rs:8:32
3    |
4 LL |     pub fn to_buffer() -> [u8; Self::LENGTH] {
5    |                                ^^^^
6    |
7 note: not a concrete type
8   --> $DIR/issue-47814.rs:5:10
9    |
10 LL | impl<'a> ArpIPv4<'a> {
11    |          ^^^^^^^^^^^
12
13 error: aborting due to previous error
14