rust/tests/ui/resolve/explicit-self-lowercase-param.stderr

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

9 lines
255 B
Plaintext
Raw Normal View History

2023-05-11 06:25:01 -05:00
error: attempt to use a non-constant value in a constant
--> $DIR/explicit-self-lowercase-param.rs:4:29
|
LL | fn do_nothing(self: Box<self>) {}
| ^^^^ help: try using `Self`
error: aborting due to previous error