diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 3dbc80d352d15..e2ce0fe34ec64 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -375,6 +375,9 @@ Example: ``` type X = u32; // ok! ``` + +Note that type parameters for enum-variant constructors go after the variant, +not after the enum (Option::None::, not Option::::None). "##, E0110: r##"