]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-23305.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[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