mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
9 lines
255 B
Plaintext
9 lines
255 B
Plaintext
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
|
|
|