blob: e522e461efc05a574e2de915bf2d58863a5f46cd (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|