about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorYI <uuuuuu@protonmail.com>2020-04-22 20:18:22 +0800
committerYI <uuuuuu@protonmail.com>2020-04-23 15:46:05 +0800
commitbaac961fb5e50cdd4f537af75e95e1ad3f358bc9 (patch)
treef13183aebc1baacdeb71ab69174b22e917945272 /src/librustc_error_codes/error_codes
parent25f070d1edf3d54d8933e00eeac95ce55ca8eabb (diff)
downloadrust-baac961fb5e50cdd4f537af75e95e1ad3f358bc9.tar.gz
rust-baac961fb5e50cdd4f537af75e95e1ad3f358bc9.zip
fix error code for E0751
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0751.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0751.md b/src/librustc_error_codes/error_codes/E0751.md
index a440f82e4b6..809b888d92a 100644
--- a/src/librustc_error_codes/error_codes/E0751.md
+++ b/src/librustc_error_codes/error_codes/E0751.md
@@ -2,7 +2,7 @@ There are both a positive and negative trait implementation for the same type.
 
 Erroneous code example:
 
-```compile_fail,E0748
+```compile_fail,E0751
 trait MyTrait {}
 impl MyTrait for i32 { }
 impl !MyTrait for i32 { }