2023-01-22 11:06:23 -06:00
|
|
|
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`
|
2023-01-22 11:06:23 -06:00
|
|
|
|
|
|
|
|
LL | Self::A_CONST
|
|
|
|
| ++++++
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-01-22 11:06:23 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|