about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-14 07:39:02 -0700
committerGitHub <noreply@github.com>2020-07-14 07:39:02 -0700
commitb9a0f5803ecd6dfd66dcd921e31d26a57faa8aad (patch)
tree40ace3824f6b6c659ab10b38a293b5b7011a2234 /src/librustc_error_codes/error_codes.rs
parent79894dfbacf76ba7e670fc5bff2fa7f2f3c06597 (diff)
parent5daedea3dbeb8fb2639d3d142b008135f4fd2b43 (diff)
downloadrust-b9a0f5803ecd6dfd66dcd921e31d26a57faa8aad.tar.gz
rust-b9a0f5803ecd6dfd66dcd921e31d26a57faa8aad.zip
Rollup merge of #74173 - estebank:struct-pat-as-enum, r=petrochenkov
Detect tuple struct incorrectly used as struct pat

Subpart of #74005.

r? @petrochenkov
Diffstat (limited to 'src/librustc_error_codes/error_codes.rs')
-rw-r--r--src/librustc_error_codes/error_codes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes.rs b/src/librustc_error_codes/error_codes.rs
index 136230d52d9..60aa12b0511 100644
--- a/src/librustc_error_codes/error_codes.rs
+++ b/src/librustc_error_codes/error_codes.rs
@@ -451,6 +451,7 @@ E0765: include_str!("./error_codes/E0765.md"),
 E0766: include_str!("./error_codes/E0766.md"),
 E0767: include_str!("./error_codes/E0767.md"),
 E0768: include_str!("./error_codes/E0768.md"),
+E0769: include_str!("./error_codes/E0769.md"),
 ;
 //  E0006, // merged with E0005
 //  E0008, // cannot bind by-move into a pattern guard