Skip to content

Commit 1335be3

Browse files
committed
=BG= change definition to use 'statics' as well as 'constants'
1 parent 8933253 commit 1335be3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ enum Method { GET, POST }
337337
"##,
338338

339339
E0265: r##"
340-
This error indicates that a constant references itself.
341-
All constants need to resolve to a value in an acyclic manner.
340+
This error indicates that a static or constant references itself.
341+
All statics and constants need to resolve to a value in an acyclic manner.
342342
343343
For example, neither of the following can be sensibly compiled:
344344

0 commit comments

Comments
 (0)