diff options
| author | bors <bors@rust-lang.org> | 2015-07-27 04:20:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-27 04:20:27 +0000 |
| commit | 0469be1eb70404a57dcc558aa8f53ab529aede47 (patch) | |
| tree | 4a54f929c96dca4291ff03843bc1d33e95ca9daf /src | |
| parent | 184267cac6488c2f164dba469df5ef85533e148f (diff) | |
| parent | 6a9f4dbc611d0e35e5513bf6eef8101142906aee (diff) | |
| download | rust-0469be1eb70404a57dcc558aa8f53ab529aede47.tar.gz rust-0469be1eb70404a57dcc558aa8f53ab529aede47.zip | |
Auto merge of #26876 - liigo:patch-3, r=Gankro
Diffstat (limited to 'src')
| -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 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::<u32>, not Option::<u32>::None). "##, E0110: r##" |
