rust/tests/ui/suggestions/assoc-const-without-self.stderr

15 lines
390 B
Plaintext
Raw Normal View History

error[E0425]: cannot find value `A_CONST` in this scope
--> $DIR/assoc-const-without-self.rs:7:9
|
LL | A_CONST
| ^^^^^^^ not found in this scope
|
2023-09-22 20:54:05 -05:00
help: consider using the associated constant on `Self`
|
LL | Self::A_CONST
| ++++++
error: aborting due to previous error
For more information about this error, try `rustc --explain E0425`.