rust/tests/ui/resolve/issue-23305.stderr

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