rust/compiler
bors 282445a288 Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnr
use precise spans for recursive const evaluation

This fixes https://github.com/rust-lang/rust/issues/73283 by using a `TyCtxtAt` with a more precise span when the interpreter recursively calls itself. Hopefully such calls are sufficiently rare that this does not cost us too much performance.

(In theory, cycles can also arise through layout computation, as layout can depend on consts -- but layout computation happens all the time so we'd have to do something to not make this terrible for performance.)
2022-06-09 01:52:15 +00:00
..
rustc Auto merge of #96737 - ChrisDenton:win-manifest, r=wesleywiser 2022-06-02 07:58:29 +00:00
rustc_apfloat Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_arena
rustc_ast Rollup merge of #97856 - compiler-errors:bad-let-suggestions, r=estebank 2022-06-08 13:32:20 -07:00
rustc_ast_lowering Extract lower_generic_and_bounds function 2022-06-07 18:29:07 -03:00
rustc_ast_passes Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr 2022-06-07 08:12:45 +00:00
rustc_ast_pretty Revert #96682. 2022-06-02 11:22:16 +10:00
rustc_attr RFC3239: Implement compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
rustc_borrowck Auto merge of #97081 - oli-obk:outlives_query_fast_path, r=jackh726 2022-06-07 21:44:40 +00:00
rustc_builtin_macros Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_codegen_cranelift Auto merge of #97825 - Dylan-DPC:rollup-ya51k1k, r=Dylan-DPC 2022-06-07 11:08:58 +00:00
rustc_codegen_gcc Remove unused macro rule 2022-06-07 08:50:13 -04:00
rustc_codegen_llvm Rollup merge of #97846 - pcwalton:align-bits, r=michaelwoerister 2022-06-08 13:43:19 +02:00
rustc_codegen_ssa Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_const_eval Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnr 2022-06-09 01:52:15 +00:00
rustc_data_structures Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_driver Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakis 2022-06-07 05:04:14 +00:00
rustc_error_codes Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakis 2022-06-07 05:04:14 +00:00
rustc_error_messages migrate check_for_for_in_in_typo diagnostic 2022-05-31 16:28:05 -05:00
rustc_errors Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakis 2022-06-07 05:04:14 +00:00
rustc_expand Fix typo: fo->for 2022-06-08 16:40:02 +03:00
rustc_feature Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr 2022-06-07 08:12:45 +00:00
rustc_fs_util
rustc_graphviz Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_hir Don't suggest adding let in certain if conditions 2022-06-07 21:02:58 -07:00
rustc_hir_pretty Compute lifetimes in scope at diagnostic time. 2022-06-04 15:28:15 +02:00
rustc_incremental Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_index Use delayed error handling for Encodable and Encoder infallible. 2022-06-08 07:01:26 +10:00
rustc_infer Auto merge of #97447 - nnethercote:improve-folding, r=jackh726 2022-06-08 05:36:40 +00:00
rustc_interface Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_lexer
rustc_lint Folding revamp. 2022-06-08 09:24:03 +10:00
rustc_lint_defs Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
rustc_llvm RustWrapper: adapt to APInt API changes in LLVM 15 2022-06-07 14:47:57 -04:00
rustc_log clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_macros Auto merge of #94732 - nnethercote:infallible-encoder, r=bjorn3 2022-06-08 10:24:12 +00:00
rustc_metadata Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_middle Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnr 2022-06-09 01:52:15 +00:00
rustc_mir_build Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-aman 2022-06-07 17:25:43 +02:00
rustc_mir_dataflow Rollup merge of #97597 - tmiasko:simplify-locals-side-effects, r=RalfJung,JakobDegen 2022-06-08 07:37:30 +02:00
rustc_mir_transform Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnr 2022-06-09 01:52:15 +00:00
rustc_monomorphize Folding revamp. 2022-06-08 09:24:03 +10:00
rustc_parse Rollup merge of #97857 - ChayimFriedman2:box-identifier-help, r=compiler-errors 2022-06-08 13:32:21 -07:00
rustc_parse_format
rustc_passes Rollup merge of #97301 - semicoleon:unstable-reexport, r=petrochenkov 2022-06-07 11:41:07 +02:00
rustc_plugin_impl Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_privacy Folding revamp. 2022-06-08 09:24:03 +10:00
rustc_query_impl Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_query_system Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_resolve Don't suggest adding let in certain if conditions 2022-06-07 21:02:58 -07:00
rustc_save_analysis Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_serialize Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_session bye BorrowckMode 2022-06-08 10:46:52 +02:00
rustc_span Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_symbol_mangling Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_target Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr 2022-06-07 08:12:45 +00:00
rustc_trait_selection Auto merge of #97860 - Dylan-DPC:rollup-t3vxos8, r=Dylan-DPC 2022-06-08 08:05:47 +00:00
rustc_traits Folding revamp. 2022-06-08 09:24:03 +10:00
rustc_ty_utils Auto merge of #97860 - Dylan-DPC:rollup-t3vxos8, r=Dylan-DPC 2022-06-08 08:05:47 +00:00
rustc_type_ir Rename rustc_serialize::opaque::Encoder as MemEncoder. 2022-06-08 09:50:44 +10:00
rustc_typeck Rollup merge of #97856 - compiler-errors:bad-let-suggestions, r=estebank 2022-06-08 13:32:20 -07:00