mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
11 lines
244 B
Plaintext
11 lines
244 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 previous error
|
|
|