Find a file
Matthias Krüger 3afe1cab09
Rollup merge of #146717 - amandasystems:remove-placeholder-hack, r=lcnr
Clean up universe evaluation during type test evaluation

The logic was, as the removed comments suggest, hackish and meant to implement previous logic that was factored out. The new logic does exactly what the comments say, and is much less surprising.

I'm afraid we may want

r? `@lcnr`

for this one too.

I am sorry, but at least it should be easier to review.
2025-09-18 17:20:59 +02:00
.github
compiler Rollup merge of #146717 - amandasystems:remove-placeholder-hack, r=lcnr 2025-09-18 17:20:59 +02:00
library Rollup merge of #146487 - ferrocene:pvdrz/improve-num-coverage, r=joboet 2025-09-18 17:20:57 +02:00
LICENSES
src Auto merge of #146671 - ZuseZ4:update-enzyme-submodule, r=davidtwco 2025-09-18 10:39:43 +00:00
tests Rollup merge of #146622 - aklaiber:91831_add_regression_test, r=jdonszelmann 2025-09-18 17:20:58 +02:00
.clang-format
.editorconfig editorconfig: don't use nonexistant syntax 2025-08-24 10:37:19 -05:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.ignore
.mailmap Switch std::vec::PeekMut::pop from self to this parameter. 2025-09-14 08:16:05 -07:00
bootstrap.example.toml Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded parallel compilation 2025-09-16 17:53:29 +08:00
Cargo.lock Bump rustfix 0.8.1 -> 0.8.7 2025-09-15 10:48:26 -07:00
Cargo.toml Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
CODE_OF_CONDUCT.md
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
license-metadata.json
LICENSE-MIT
package-lock.json Update browser-ui-test version to 0.22.2 2025-09-09 17:19:36 +02:00
package.json Update browser-ui-test version to 0.22.2 2025-09-09 17:19:36 +02:00
README.md
RELEASES.md Add relnotes 1.90 2025-09-15 08:34:06 -04:00
REUSE.toml
rust-bors.toml
rustfmt.toml
triagebot.toml triagebot: warn about #[rustc_intrinsic_const_stable_indirect]; make warnings a bit more noticeable 2025-09-09 08:34:15 +02:00
typos.toml
x
x.ps1
x.py

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

Why Rust?

  • 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).

Quick Start

Read "Installation" from The Book.

Installing from Source

If you really want to install from source (though this is not recommended), see INSTALL.md.

Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

Contributing

See CONTRIBUTING.md.

License

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.

Trademark

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.