| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-08-07 | Use `tcx.short_string()` in more diagnostics | Esteban Küber | -1/+2 | |
| `TyCtxt::short_string` ensures that user visible type paths aren't overwhelming on the terminal output, and properly saves the long name to disk as a side-channel. We already use these throughout the compiler and have been using them as needed when users find cases where the output is verbose. This is a proactive search of some cases to use `short_string`. We add support for shortening the path of "trait path only". Every manual use of `short_string` is a bright marker that that error should be using structured diagnostics instead (as they have proper handling of long types without the maintainer having to think abou tthem). When we don't actually print out a shortened type we don't need the "use `--verbose`" note. On E0599 show type identity to avoid expanding the receiver's generic parameters. Unify wording on `long_ty_path` everywhere. | ||||
| 2025-04-09 | re-use sized fast path | David Wood | -1/+1 | |
| There's an existing fast path for the `type_op_prove_predicate` predicate, checking for trivially `Sized` types, which can be re-used when evaluating obligations within queries. This should improve performance, particularly in anticipation of new sizedness traits being added which can take advantage of this. | ||||
| 2024-07-12 | Gate the type length limit check behind a nightly flag | Michael Goulet | -1/+1 | |
| 2024-07-02 | Instance::resolve -> Instance::try_resolve, and other nits | Michael Goulet | -0/+1 | |
| 2024-07-02 | Re-implement a type-size based limit | Michael Goulet | -1/+0 | |
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -1/+1 | |
| 2024-02-14 | Do not report overflow errors on ConstArgHasType goals | Michael Goulet | -0/+28 | |
