rust/compiler/rustc_resolve/src
bors dac91a82e1 Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber
Improve invalid let expression handling

- Move all of the checks for valid let expression positions to parsing.
- Add a field to ExprKind::Let in AST/HIR to mark whether it's in a valid location.
- Suppress some later errors and MIR construction for invalid let expressions.
- Fix a (drop) scope issue that was also responsible for #104172.

Fixes #104172
Fixes #104868
2023-09-14 19:56:55 +00:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late fix: not insert missing lifetime for ConstParamTy 2023-08-08 14:48:17 +08:00
build_reduced_graph.rs resolve: determined binding after parent module macro expand 2023-09-13 16:38:05 +08:00
check_unused.rs inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00
def_collector.rs Remove the NodeId of ast::ExprKind::Async 2023-03-19 19:01:31 +01:00
diagnostics.rs Rollup merge of #115744 - fmease:fix-e0401, r=compiler-errors 2023-09-11 17:03:32 +02:00
effective_visibilities.rs fix(resolve): update def if binding is warning ambiguity 2023-08-31 20:00:04 +08:00
errors.rs Rollup merge of #115744 - fmease:fix-e0401, r=compiler-errors 2023-09-11 17:03:32 +02:00
ident.rs resolve: determined binding after parent module macro expand 2023-09-13 16:38:05 +08:00
imports.rs resolve: determined binding after parent module macro expand 2023-09-13 16:38:05 +08:00
late.rs Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naber 2023-09-14 19:56:55 +00:00
lib.rs resolve: determined binding after parent module macro expand 2023-09-13 16:38:05 +08:00
macros.rs resolve: derive diag for undetermined macro resolution 2023-09-04 09:29:26 +08:00
rustdoc.rs Reuse rustdoc's doc comment handling in Clippy 2023-09-08 23:42:57 +00:00