mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
257 B
Plaintext
9 lines
257 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 1 previous error
|
|
|