rust/compiler/rustc_resolve
Matthias Krüger 69ebe39cea
Rollup merge of #141876 - compiler-errors:missing-let-ty, r=SparrowLii
Don't declare variables in `ExprKind::Let` in invalid positions

Handle `let` expressions in invalid positions specially during resolve in order to avoid making destructuring-assignment expressions that reference (invalid) variables that have not yet been delcared yet.

See further explanation in test and comment in the source.

Fixes rust-lang/rust#141844
2025-06-03 07:03:44 +02:00
..
src Rollup merge of #141876 - compiler-errors:missing-let-ty, r=SparrowLii 2025-06-03 07:03:44 +02:00
Cargo.toml Remove rustc_attr_data_structures re-export from rustc_attr_parsing 2025-05-18 18:14:43 +02:00
messages.ftl resolve: Support imports of associated types and glob imports from traits 2025-05-02 15:59:38 +03:00