about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-07-04 15:52:48 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-10-11 10:43:54 +0200
commit0301eafd32a128b31cc7c551d5844f6fce965caa (patch)
tree4e92848440a2ead6631b4945f60f7a59647ed14d
parent8c5ae86496d25ddd9df3486df46bcb671ce619ad (diff)
downloadrust-0301eafd32a128b31cc7c551d5844f6fce965caa.tar.gz
rust-0301eafd32a128b31cc7c551d5844f6fce965caa.zip
Update src/librustc_typeck/error_codes.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
-rw-r--r--src/librustc_typeck/error_codes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/error_codes.rs b/src/librustc_typeck/error_codes.rs
index a92a2c96003..78dedca8027 100644
--- a/src/librustc_typeck/error_codes.rs
+++ b/src/librustc_typeck/error_codes.rs
@@ -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##"