From 47f6d63e10e7d57e1edffe9277f42babfdafc934 Mon Sep 17 00:00:00 2001 From: YI Date: Sat, 14 Mar 2020 09:23:59 +0800 Subject: [PATCH] fix E0117 message out of sync --- src/librustc_error_codes/error_codes/E0117.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_error_codes/error_codes/E0117.md b/src/librustc_error_codes/error_codes/E0117.md index 7fa211d4a27..0544667ccca 100644 --- a/src/librustc_error_codes/error_codes/E0117.md +++ b/src/librustc_error_codes/error_codes/E0117.md @@ -1,4 +1,4 @@ -The `Drop` trait was implemented on a non-struct type. +Only traits defined in the current crate can be implemented for arbitrary types. Erroneous code example: