summaryrefslogtreecommitdiffstats
path: root/tests/ui/static/issue-18118-2.stderr
blob: 4fc3ca78f961c4e086df6ec297d38f5f22883c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0013]: constants cannot refer to statics
  --> $DIR/issue-18118-2.rs:4:10
   |
LL |         &p
   |          ^
   |
   = help: consider extracting the value of the `static` to a `const`, and referring to that

error: aborting due to previous error

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