rust/tests/ui/resolve/issue-23305.stderr
2023-01-11 09:32:08 +00:00

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