From c183c3f4d167121fb6dc5bff7587647217a2ec75 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 4 Jun 2020 13:03:50 +0200 Subject: [PATCH] Clean up E0642 explanation --- src/librustc_error_codes/error_codes/E0642.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_error_codes/error_codes/E0642.md b/src/librustc_error_codes/error_codes/E0642.md index 592ada6ecadc7..c790aa154bde9 100644 --- a/src/librustc_error_codes/error_codes/E0642.md +++ b/src/librustc_error_codes/error_codes/E0642.md @@ -1,6 +1,6 @@ Trait methods currently cannot take patterns as arguments. -Example of erroneous code: +Erroneous code example: ```compile_fail,E0642 trait Foo {