diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 5b3349aeaa17..6b3920f46ee8 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -337,8 +337,8 @@ enum Method { GET, POST } "##, E0265: r##" -This error indicates that a constant references itself. -All constants need to resolve to a value in an acyclic manner. +This error indicates that a static or constant references itself. +All statics and constants need to resolve to a value in an acyclic manner. For example, neither of the following can be sensibly compiled: