That's where I think things would go too. There are a few other silly errors than can pop up right now, like "you need to implement Clone for a mutable reference", and having the explicit negative impl there seems both good for improving the error message and as a place to write about why that's definitely not ok in the docs. Previous conversation:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Incorrect `Box::clone` doc | 3 | 532 | September 7, 2023 | |
Rebalancing coherence: potential late-breaking change | 7 | 2956 | March 25, 2019 | |
PSA: Copy is becoming opt-in | 5 | 4984 | March 25, 2019 | |
A type that is sometimes Drop and sometimes Copy: is this even theoretically possible? | 2 | 729 | June 9, 2021 | |
[Feature request] Add Cloned trait | 12 | 697 | May 8, 2023 |