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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
244 B
Plaintext
Raw Normal View History

2022-10-27 21:18:26 +00:00
error: `Self` is not valid in the self type of an impl block
--> $DIR/issue-23305.rs:5:16
|
2019-05-28 18:46:13 +00:00
LL | impl dyn ToNbt<Self> {}
2022-10-27 21:18:26 +00:00
| ^^^^
|
= note: replace `Self` with a different type
error: aborting due to previous error