ruff/crates/red_knot_workspace
David Peter 7671a3bbc7
Remove `Type::tuple` in favor of `TupleType::from_elements` (#15218)
## Summary

Remove `Type::tuple` in favor of `TupleType::from_elements`, avoid a few
intermediate `Vec`tors. Resolves an old [review
comment](https://github.com/astral-sh/ruff/pull/14744#discussion_r1867493706).

## Test Plan

New regression test for something I ran into while implementing this.
2025-01-02 17:22:32 +01:00
..
resources/test/corpus Remove `Type::tuple` in favor of `TupleType::from_elements` (#15218) 2025-01-02 17:22:32 +01:00
src `type: ignore[codes]` and `knot: ignore` (#15078) 2024-12-23 10:52:43 +01:00
tests [red-knot] Infer value expr for empty list / tuple target (#15121) 2024-12-23 16:00:35 +05:30
Cargo.toml Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00