about summary refs log tree commit diff
path: root/tests/ui/recursion/issue-38591-non-regular-dropck-recursion.stderr
AgeCommit message (Collapse)AuthorLines
2025-08-07Use `tcx.short_string()` in more diagnosticsEsteban Küber-2/+4
`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.
2024-11-05Tweak E0320 overflow error wordingEsteban Küber-2/+2
Surrount type with backticks as we should in every error.
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+11