Rollup of 14 pull requests
Successful merges:
- #72617 (Add a fast path for `std::thread::panicking`.)
- #72738 (Self contained linking option)
- #72770 (Implement mixed script confusable lint.)
- #73418 (Add unstable `core::mem::variant_count` intrinsic)
- #73460 (Emit line info for generator variants)
- #73534 (Provide suggestions for some moved value errors)
- #73538 (make commented examples use valid syntax, and be more consistent )
- #73581 (Create 0766 error code)
- #73619 (Document the mod keyword)
- #73621 (Document the mut keyword)
- #73648 (Document the return keyword)
- #73673 (Fix ptr doc warnings.)
- #73674 (Tweak binop errors)
- #73687 (Clean up E0701 explanation)
Failed merges:
- #73708 (Explain move errors that occur due to method calls involving `self` (take two))
r? @ghost