From 611cfd5f150101164b42de9532a94b922954d5da Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 12 Mar 2020 13:11:07 +0100 Subject: [PATCH] Clean up E0423 explanation --- src/librustc_error_codes/error_codes/E0423.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustc_error_codes/error_codes/E0423.md b/src/librustc_error_codes/error_codes/E0423.md index 6a7c31f5e0d43..a98ada17a469c 100644 --- a/src/librustc_error_codes/error_codes/E0423.md +++ b/src/librustc_error_codes/error_codes/E0423.md @@ -1,8 +1,7 @@ An identifier was used like a function name or a value was expected and the identifier exists but it belongs to a different namespace. -For (an erroneous) example, here a `struct` variant name were used as a -function: +Erroneous code example: ```compile_fail,E0423 struct Foo { a: bool };