summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/assoc-const-without-self.stderr
blob: 5a9fba8a0e47bb8e04e6e2edaef1e1eef81b2525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
   |
help: consider using the associated constant on `Self`
   |
LL |         Self::A_CONST
   |         ++++++

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0425`.