diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-02-23 12:02:32 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-02-23 12:02:32 +0100 |
| commit | 78e4bd1c758b59593c02e2785e8024dbec6069f4 (patch) | |
| tree | d2af0535f65b739d246e4fea2e848bd5a953b22c /src | |
| parent | 01a8b5f26e536a3bcd9449f62fd0b9b68ef3d650 (diff) | |
| download | rust-78e4bd1c758b59593c02e2785e8024dbec6069f4.tar.gz rust-78e4bd1c758b59593c02e2785e8024dbec6069f4.zip | |
Clean up E0367 explanation
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0367.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0367.md b/src/librustc_error_codes/error_codes/E0367.md index 7d661b2f033..cfebeada272 100644 --- a/src/librustc_error_codes/error_codes/E0367.md +++ b/src/librustc_error_codes/error_codes/E0367.md @@ -1,8 +1,9 @@ An attempt was made to implement `Drop` on a specialization of a generic type. -An example is shown below: + +Erroneous code example: ```compile_fail,E0367 -trait Foo{} +trait Foo {} struct MyStruct<T> { t: T |
