diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-15 02:44:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-15 02:44:22 +0100 |
| commit | 191a7965b17c602d7e219767c6355dcdd1790918 (patch) | |
| tree | 3d4b006002fab81e83440cfe34b1a964fde9bb92 /src | |
| parent | 65f56dad147d622be6ab5f0649ed0ca725f060ce (diff) | |
| parent | 47f6d63e10e7d57e1edffe9277f42babfdafc934 (diff) | |
| download | rust-191a7965b17c602d7e219767c6355dcdd1790918.tar.gz rust-191a7965b17c602d7e219767c6355dcdd1790918.zip | |
Rollup merge of #69991 - contrun:fix-69980, r=Dylan-DPC
fix E0117 message out of sync Closes https://github.com/rust-lang/rust/issues/69980
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0117.md | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
