Dylan DPC
078844283c
Rollup merge of #99576 - compiler-errors:foreign-fundamental-drop-is-bad, r=TaKO8Ki
...
Do not allow `Drop` impl on foreign fundamental types
`Drop` should not be implemented on `Pin<T>` even if `T` is local.
This does not trigger regular orphan rules is because `Pin` is `#[fundamental]`... but we don't allow specialized `Drop` impls anyways, so these rules are not sufficient to prevent this impl on stable. Let's just choose even stricter rules, since we shouldn't be implementing `Drop` on a foreign ADT ever.
Fixes #99575
2022-08-19 12:26:38 +05:30
..
2022-08-03 12:17:23 +02:00
2022-08-10 17:22:58 +02:00
2022-08-17 12:32:49 +02:00
2022-08-17 12:32:49 +02:00
2022-08-12 16:28:15 -04:00
2022-08-17 12:32:49 +02:00
2022-08-12 16:28:15 -04:00
2022-08-15 11:20:32 -07:00
2022-08-18 10:11:11 +00:00
2022-08-08 09:04:26 -04:00
2022-08-16 06:05:57 +02:00
2022-08-17 12:32:50 +02:00
2022-08-17 12:32:48 +02:00
2022-08-16 03:46:45 +02:00
2022-08-02 01:08:50 +01:00
2022-08-19 12:26:38 +05:30
2022-08-18 05:10:47 +02:00
2022-08-18 05:10:48 +02:00
2022-08-15 15:57:55 +08:00
2022-08-16 18:16:13 +05:30
2022-08-16 13:41:34 +10:00
2022-08-01 21:39:26 +02:00
2022-08-12 10:53:07 +02:00
2022-08-18 15:41:30 +00:00
2022-08-17 05:07:47 +09:00
2022-08-01 08:53:04 +10:00
2022-08-16 13:41:34 +10:00
2022-08-03 12:17:23 +02:00
2022-08-16 06:05:57 +02:00
2022-08-12 22:26:08 +02:00
2022-08-15 17:56:37 +03:00
2022-08-18 05:10:42 +02:00
2022-08-12 16:28:15 -04:00
2022-08-01 17:08:19 +02:00
2022-08-12 16:28:15 -04:00
2022-08-10 18:30:12 +02:00
2022-08-18 05:10:49 +02:00
2022-08-04 20:43:35 +09:00
2022-08-15 20:11:32 +02:00
2022-08-12 16:28:15 -04:00
2022-08-18 23:53:22 +00:00
2022-08-16 07:54:22 +00:00
2022-08-18 05:10:46 +02:00
2022-08-01 21:38:45 +02:00
2022-08-15 16:24:07 +02:00
2022-08-18 23:53:22 +00:00
2022-08-17 12:32:55 +02:00
2022-08-18 21:08:08 +01:00
2022-08-04 22:25:04 +02:00
2022-08-02 14:44:23 +00:00
2022-08-03 01:02:46 -04:00
2022-08-19 12:26:38 +05:30