diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2019-12-20 16:50:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-20 16:50:20 +0530 |
| commit | 7f0741db9e521355ab732601f4ab53d586748ad1 (patch) | |
| tree | 5355c003649865f06668772d95bf9f79d9efe011 /src/librustc_error_codes/error_codes | |
| parent | 94d207f4b27ba45b8d33e7e73d0829074a02117d (diff) | |
| download | rust-7f0741db9e521355ab732601f4ab53d586748ad1.tar.gz rust-7f0741db9e521355ab732601f4ab53d586748ad1.zip | |
Update E0120.md
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0120.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0120.md b/src/librustc_error_codes/error_codes/E0120.md index 4861ed8e897..dc7258d8731 100644 --- a/src/librustc_error_codes/error_codes/E0120.md +++ b/src/librustc_error_codes/error_codes/E0120.md @@ -1,4 +1,4 @@ -The Drop was implemented on a trait, which is not allowed: only structs and +Drop was implemented on a trait, which is not allowed: only structs and enums can implement Drop. Erroneous code example: |
