Update src/librustc_typeck/error_codes.rs

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
Simon Sapin 2019-07-04 15:52:48 +02:00 committed by Oliver Scherer
parent 8c5ae86496
commit 0301eafd32

View file

@ -4864,7 +4864,7 @@ assert_eq!(1, discriminant(&Enum::Struct{a: 7, b: 11}));
"##,
E0740: r##"
A `union` can not have fields with destructors.
A `union` cannot have fields with destructors.
"##,
E0733: r##"