diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2020-02-24 11:15:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-24 11:15:34 +0100 |
| commit | 1cfb6c2ab0988ec3b6bfe423d02ad775bc60c405 (patch) | |
| tree | 2bfa51ada207def5dde6220254a95869a50ffb22 /src/librustc_error_codes | |
| parent | c293ac9503bd7c5055b0d37ccee4d061fc28f61c (diff) | |
| parent | 78e4bd1c758b59593c02e2785e8024dbec6069f4 (diff) | |
Rollup merge of #69394 - GuillaumeGomez:clean-up-0367, r=Dylan-DPC
Clean up E0367 explanation r? @Dylan-DPC
Diffstat (limited to 'src/librustc_error_codes')
| -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 |
