mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
246 B
Plaintext
11 lines
246 B
Plaintext
error: `Self` is not valid in the self type of an impl block
|
|
--> $DIR/issue-23305.rs:5:16
|
|
|
|
|
LL | impl dyn ToNbt<Self> {}
|
|
| ^^^^
|
|
|
|
|
= note: replace `Self` with a different type
|
|
|
|
error: aborting due to 1 previous error
|
|
|