]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-23305.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / resolve / issue-23305.stderr
1 error: `Self` is not valid in the self type of an impl block
2   --> $DIR/issue-23305.rs:5:16
3    |
4 LL | impl dyn ToNbt<Self> {}
5    |                ^^^^
6    |
7    = note: replace `Self` with a different type
8
9 error: aborting due to previous error
10