summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-23305.stderr
blob: aad1b583a3244c8d86dbd97fdd584c987a8cf742 (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 previous error