From baac961fb5e50cdd4f537af75e95e1ad3f358bc9 Mon Sep 17 00:00:00 2001 From: YI Date: Wed, 22 Apr 2020 20:18:22 +0800 Subject: fix error code for E0751 --- src/librustc_error_codes/error_codes/E0751.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc_error_codes/error_codes') 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 { } -- cgit 1.4.1-3-g733a5