diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 879a2d740cb..768f792d269 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -766,6 +766,9 @@ Example: ``` type X = u32; // this compiles ``` + +Note that type parameters for enum-variant constructors go after the variant, +not after the enum (Option::None::, not Option::::None). "##, E0110: r##"