commit | 9b0268a43b0a5b58f50c96ded25364037c019a61 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Sun Jun 01 10:59:38 2025 +0000 |
committer | bors <bors@rust-lang.org> | Sun Jun 01 10:59:38 2025 +0000 |
tree | 55b03e4ef3a2a5284a4dd3fd2f1d386c4871f3a8 | |
parent | ba55b7ce3cd931af7123e334647584f6fbdb3c20 [diff] | |
parent | f1da2885578519b3f5ad1d584bcb9fb0a22e9403 [diff] |
Auto merge of #141731 - compiler-errors:tweak-fast-path-trait, r=lcnr Tweak fast path trait handling (1.) Make it more sound by considering polarity (lol) (2.) Make it more general, by considering higher-ranked size/copy/clone (2.) Make it less observable, by only doing copy/clone fast path if there are no regions involved r? lcnr
Website | Getting started | Learn | Documentation | Contributing
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages.
Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.
Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo), auto-formatter (rustfmt), linter (Clippy) and editor support (rust-analyzer).
Read “Installation” from The Book.
If you really want to install from source (though this is not recommended), see INSTALL.md.
See https://www.rust-lang.org/community for a list of chat platforms and forums.
See CONTRIBUTING.md.
Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the “Rust Trademarks”).
If you want to use these names or brands, please read the Rust language trademark policy.
Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.