rust/compiler/rustc_middle/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
..
dep_graph
hir fix the issue of shorthand in suggest_cloning 2023-07-14 07:12:38 +08:00
infer refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
middle Add the no-builtins attribute to functions when no_builtins is applied at the crate level. 2023-07-18 22:15:47 +08:00
mir Auto merge of #113393 - compiler-errors:next-solver-unsize-rhs, r=lcnr 2023-07-25 17:10:31 +00:00
query Auto merge of #113956 - fmease:rustdoc-fix-x-crate-rpitits, r=GuillaumeGomez,compiler-errors 2023-07-24 15:19:00 +00:00
thir refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
traits Make everything builtin! 2023-07-25 16:08:58 +00:00
ty Auto merge of #113893 - mdibaiee:type-name-spill-flag, r=compiler-errors 2023-07-26 00:46:06 +00:00
util refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
arena.rs Migrate predicates_of and caller_bounds to Clause 2023-06-26 23:12:03 +00:00
error.rs Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
lib.rs s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedList 2023-06-14 09:28:54 +02:00
lint.rs Add #[track_caller] to lint related diagnostic functions 2023-07-18 15:48:07 +00:00
macros.rs Make everything builtin! 2023-07-25 16:08:58 +00:00
metadata.rs
tests.rs
thir.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
values.rs Move TyCtxt::mk_x to Ty::new_x where applicable 2023-07-05 20:27:07 +01:00