diff options
| -rw-r--r-- | src/librustc/diagnostics.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 3dbc80d352d..e2ce0fe34ec 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::<u32>, not Option::<u32>::None). "##, E0110: r##" |
