rust/compiler/rustc_session/src
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
..
config Change process spawning to inherit the parent's signal mask by default 2022-10-20 14:53:38 -07:00
cgu_reuse_tracker.rs Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
code_stats.rs fix couple of clippy findings: 2023-07-23 10:50:14 +02:00
config.rs match on chars instead of &strs for .split() or .strip_prefix() 2023-07-23 10:13:41 +02:00
cstore.rs Do not fetch HIR in native_libs. 2023-07-17 07:37:03 +00:00
errors.rs Add help for crate arg when crate name is invalid 2023-07-26 00:05:00 +08:00
filesearch.rs bump windows crate 0.46 -> 0.48 in workspace 2023-05-09 18:20:13 +03:00
lib.rs Collect VTable stats & add -Zprint-vtable-sizes 2023-06-12 15:58:35 +00:00
options.rs Auto merge of #113893 - mdibaiee:type-name-spill-flag, r=compiler-errors 2023-07-26 00:46:06 +00:00
output.rs Add help for crate arg when crate name is invalid 2023-07-26 00:05:00 +08:00
parse.rs On nightly, dump ICE backtraces to disk 2023-07-19 14:10:07 +00:00
search_paths.rs Provide more context for rustc +nightly -Zunstable-options on stable 2023-06-27 23:23:33 +08:00
session.rs Auto merge of #113707 - sivadeilra:user/ardavis/sha256, r=eholk 2023-07-21 07:24:27 +00:00
utils.rs Add missing documentation for Session::time 2023-07-24 16:50:25 +02:00