mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
371 B
Plaintext
15 lines
371 B
Plaintext
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 1 previous error
|
|
|