ruff/crates/ty
Matthew Mckee f9a0e1e3f6
[ty] Fix panic introduced in #22076 (#22112)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

Was looking over that PR and this looked wrong.

panic introduced in #22076 

## Test Plan

Before running:

```bash
cargo run -p ty check test.py --force-exclude --no-progress 
```

would result in a panic

```text
thread 'main' (162713) panicked at crates/ty/src/args.rs:459:17:
internal error: entered unreachable code: Clap should make this impossible
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

Now it does not.
2025-12-20 07:53:45 -08:00
..
docs [ty] Add `--force-exclude` option (#22076) 2025-12-20 10:03:41 +01:00
src [ty] Fix panic introduced in #22076 (#22112) 2025-12-20 07:53:45 -08:00
tests [ty] Add `--force-exclude` option (#22076) 2025-12-20 10:03:41 +01:00
CONTRIBUTING.md Fix link typo in ty's CONTRIBUTING.md (#18923) 2025-06-24 20:23:31 +00:00
Cargo.toml [ty] Use jemalloc on linux (#21975) 2025-12-15 16:04:34 +01:00
README.md Update README to remove production warning (#21899) 2025-12-10 17:25:41 +01:00
build.rs [ty] Fix server version (#19284) 2025-07-14 09:06:34 +02:00

README.md

ty

ty is an extremely fast type checker.

The Rust code for ty lives in this repository; see CONTRIBUTING.md for more information on contributing to ty.

See the ty repo for ty documentation and releases.