rust/compiler/rustc_ast/src
Matthias Krüger 37e0d138cf
Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadrieril
Use `edition = "2024"` in the compiler (redux)

Most of this is binding mode changes, which I fixed by running `x.py fix`.

Also adds some miscellaneous `unsafe` blocks for new unsafe standard library functions (the setenv ones), and a missing `unsafe extern` block in some enzyme codegen code, and fixes some precise capturing lifetime changes (but only when they led to errors).

cc ``@ehuss`` ``@traviscross``
2025-02-22 11:36:43 +01:00
..
attr rustc_ast: replace some len-checks + indexing with slice patterns etc. 🧹 2025-01-26 16:26:52 +00:00
expand remove outdated *First autodiff variants for higher-order ad 2025-02-10 01:35:53 -05:00
util tree-wide: parallel: Fully removed all Lrc, replaced with Arc 2025-02-03 13:25:57 +03:00
ast_traits.rs Remove NtTy. 2025-02-21 15:49:46 +11:00
ast.rs Add a TyPat in the AST to reuse the generic arg lowering logic 2025-02-11 08:51:05 +00:00
entry.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
format.rs Account for format_args in HiddenUnicodeCodepoints lint 2024-12-31 05:03:22 +00:00
lib.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00
mut_visit.rs Remove NtTy. 2025-02-21 15:49:46 +11:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Convert some Into impls into From impls 2024-12-31 01:56:33 +00:00
token.rs Avoid snapshotting the parser in parse_path_inner. 2025-02-21 16:48:01 +11:00
tokenstream.rs Remove NtTy. 2025-02-21 15:49:46 +11:00
visit.rs Fix binding mode problems 2025-02-22 00:13:19 +00:00