rust/compiler/rustc_resolve/src
Zachary S bfde43c84b Suggest using :: instead of . for enums in some cases.
Suggest replacing `.` with `::` when encountering "expected value, found enum":
- in a method-call expression and the method has the same name as a tuple variant
- in a field-access expression and the field has the same name as a unit or tuple variant
2025-02-18 13:11:37 -06:00
..
late Suggest using :: instead of . for enums in some cases. 2025-02-18 13:11:37 -06:00
build_reduced_graph.rs Rustfmt 2025-02-08 22:12:13 +00:00
check_unused.rs Run clippy --fix for unnecessary_map_or lint 2025-01-19 19:15:00 +00:00
def_collector.rs Rustfmt 2025-02-08 22:12:13 +00:00
diagnostics.rs Rollup merge of #135677 - yotamofek:resolve-cleanups2, r=compiler-errors 2025-02-11 18:04:28 +01:00
effective_visibilities.rs rustc_resolve: reduce rightwards drift with let..else 👉💨 2025-01-21 13:42:32 +00:00
errors.rs Use identifiers in diagnostics more often 2025-01-27 01:23:34 +00:00
ident.rs Rustfmt 2025-02-08 22:12:13 +00:00
imports.rs Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrum 2025-02-09 15:44:16 +00:00
late.rs Add a TyPat in the AST to reuse the generic arg lowering logic 2025-02-11 08:51:05 +00:00
lib.rs Small resolve refactor 2025-02-08 10:46:46 +01:00
macros.rs Rustfmt 2025-02-08 22:12:13 +00:00
rustdoc.rs rustdoc: improve refdef handling in the unresolved link lint 2025-02-15 12:21:35 -07:00