]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #61056 - euclio:custom-discriminant-error, r=estebank
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 23 May 2019 23:30:21 +0000 (01:30 +0200)
committerGitHub <noreply@github.com>
Thu, 23 May 2019 23:30:21 +0000 (01:30 +0200)
tweak discriminant on non-nullary enum diagnostic

Adds notes pointing at the non-nullary variants, and uses "custom
discriminant" language to be consistent with the Reference.

Fixes #61039.

r? @estebank

1  2 
src/libsyntax/parse/parser.rs

Simple merge