Skip to content

Use edition = "2024" in the compiler#129636

Closed
compiler-errors wants to merge 6 commits into
rust-lang:masterfrom
compiler-errors:ed2024
Closed

Use edition = "2024" in the compiler#129636
compiler-errors wants to merge 6 commits into
rust-lang:masterfrom
compiler-errors:ed2024

Conversation

@compiler-errors
Copy link
Copy Markdown
Contributor

@compiler-errors compiler-errors commented Aug 27, 2024

Self-explanatory.

This involves changing all of the compiler crates' edition to 2024 (except for codegen_gcc and codegen_cranelift and pattern_analysis), and massively simplifying opaques and their lifetimes. I think the overwhelming majority of functions look significantly better now.

There are some other changes sprinkled in too, such as how env var functions are now unsafe.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-edition-2024 Area: The 2024 edition A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-testsuite Area: The testsuite used to check the correctness of rustc A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-release Relevant to the release subteam, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.