rust/compiler/rustc_resolve/src
Matthias Krüger fb691b470a
Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errors
Add `&pin (mut|const) T` type position sugar

This adds parser support for `&pin mut T` and `&pin const T` references. These are desugared to `Pin<&mut T>` and `Pin<&T>` in the AST lowering phases.

This PR currently includes #130526 since that one is in the commit queue. Only the most recent commits (bd450027eb4a94b814a7dd9c0fa29102e6361149 and following) are new.

Tracking:

- #130494

r? `@compiler-errors`
2024-10-15 05:12:34 +02:00
..
late Add sugar for &pin (const|mut) types 2024-10-07 11:15:04 -07:00
build_reduced_graph.rs Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiser 2024-10-11 13:11:13 +00:00
check_unused.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
def_collector.rs Remove anon struct and union types 2024-10-01 13:55:46 -04:00
diagnostics.rs Rename NestedMetaItem to MetaItemInner 2024-10-06 23:28:30 +09:00
effective_visibilities.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
errors.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ident.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
imports.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
late.rs Add sugar for &pin (const|mut) types 2024-10-07 11:15:04 -07:00
lib.rs rustdoc: prevent ctors from resolving 2024-10-03 22:01:23 -07:00
macros.rs Rename nested_meta to meta_item_inner 2024-10-07 15:22:03 +09:00
rustdoc.rs Handle librustdoc cases of rustc::potential_query_instability lint 2024-10-06 10:39:03 +03:00