]> git.lizzy.rs Git - rust.git/commitdiff
fix E0117 message out of sync
authorYI <uuuuuu@protonmail.com>
Sat, 14 Mar 2020 01:23:59 +0000 (09:23 +0800)
committerYI <uuuuuu@protonmail.com>
Sat, 14 Mar 2020 01:23:59 +0000 (09:23 +0800)
src/librustc_error_codes/error_codes/E0117.md

index 7fa211d4a27d422390db0be84cf7904026477973..0544667cccaea520190599467a214d9e9100e715 100644 (file)
@@ -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: