rust/tests/ui/recursion
bors bd1ae282f1 Auto merge of #113893 - mdibaiee:type-name-spill-flag, r=compiler-errors
new unstable option: -Zwrite-long-types-to-disk

This option guards the logic of writing long type names in files and instead using short forms in error messages in rustc_middle/ty/error behind a flag. The main motivation for this change is to disable this behaviour when running ui tests.

This logic can be triggered by running tests in a directory that has a long enough path, e.g. /my/very-long-path/where/rust-codebase/exists/

This means ui tests can fail depending on how long the path to their file is.

Some ui tests actually rely on this behaviour for their assertions, so for those we enable the flag manually.
2023-07-26 00:46:06 +00:00
..
auxiliary
instantiable.rs
issue-26548-recursion-via-normalize.rs
issue-26548-recursion-via-normalize.stderr
issue-38591-non-regular-dropck-recursion.polonius.stderr
issue-38591-non-regular-dropck-recursion.rs
issue-38591-non-regular-dropck-recursion.stderr
issue-83150.rs write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
issue-83150.stderr write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
issue-86784.rs
issue-95134.rs
recursion.polonius.stderr
recursion.rs
recursion.stderr
recursive-enum.rs
recursive-enum.stderr
recursive-reexports.rs
recursive-reexports.stderr
recursive-requirements.rs
recursive-requirements.stderr
recursive-static-definition.rs
recursive-static-definition.stderr
recursive-types-are-not-uninhabited.rs
recursive-types-are-not-uninhabited.stderr