os-rust/compiler
bors aeb5067967 Auto merge of #100315 - compiler-errors:norm-ct-in-proj, r=lcnr
Keep going if normalized projection has unevaluated consts in `QueryNormalizer`

#100312 was the wrong approach, I think this is the right one.

When normalizing a type, if we see that it's a projection, we currently defer to `tcx.normalize_projection_ty`, which normalizes the projections away but doesn't touch the unevaluated constants. So now we just continue to fold the type if it has unevaluated constants so we make sure to evaluate those too, if we can.

Fixes #100217
Fixes #83972
Fixes #84669
Fixes #86710
Fixes #82268
Fixes #73298
2022-08-11 10:47:48 +00:00
..
rustc Don't rerun the build script for the compiler each time on linux 2022-07-10 23:57:25 -05:00
rustc_apfloat Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rustc_arena Rollup merge of #97711 - Nilstrieb:rustc-arena-ub, r=wesleywiser 2022-07-07 18:06:49 +05:30
rustc_ast Move LifetimeCollectVisitor to rustc_ast_lowering 2022-08-04 11:26:54 -03:00
rustc_ast_lowering Add docs for get_remapped_def_id 2022-08-09 16:39:02 -03:00
rustc_ast_passes Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_ast_pretty Enable unused_parens for match arms 2022-08-04 07:16:39 -04:00
rustc_attr Panic when checking an unknown stability attribute 2022-07-31 16:02:45 +04:00
rustc_borrowck don't normalize wf predicates 2022-08-09 12:54:32 +02:00
rustc_builtin_macros Rollup merge of #100058 - TaKO8Ki:suggest-positional-formatting-argument-instead-of-format-args-capture, r=estebank 2022-08-04 22:25:01 +02:00
rustc_codegen_cranelift also update anyhow in codegen_cranelift 2022-08-08 09:04:26 -04:00
rustc_codegen_gcc Introduce an ArchiveBuilderBuilder 2022-07-28 09:08:47 +00:00
rustc_codegen_llvm Rollup merge of #99844 - bjorn3:archive_builder_interface_refactor, r=nagisa 2022-07-31 17:36:42 +05:30
rustc_codegen_ssa Add support for link-flavor rust-lld for macOS 2022-08-09 11:04:48 +02:00
rustc_const_eval Rollup merge of #100181 - RalfJung:alloc-ref-mutability, r=jackh726 2022-08-09 17:34:52 +05:30
rustc_data_structures remove some manual hash stable impls 2022-07-29 12:48:28 +02:00
rustc_driver Error on broken pipe but do not ICE 2022-08-02 01:08:50 +01:00
rustc_error_codes region_outlives_predicate no snapshot 2022-07-21 13:09:01 +02:00
rustc_error_messages link_ordinal is available for foreign static 2022-08-04 09:28:59 +08:00
rustc_errors Rollup merge of #99573 - tbodt:stabilize-backtrace, r=yaahc 2022-08-10 07:21:33 +02:00
rustc_expand Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_feature Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_fs_util
rustc_graphviz Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rustc_hir Do not collect lifetimes with Infer resolution 2022-08-04 12:40:00 -03:00
rustc_hir_pretty use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering path 2022-07-17 04:58:38 +00:00
rustc_incremental Remove trait_of_item query. 2022-08-01 21:39:26 +02:00
rustc_index Auto merge of #99052 - tmiasko:bitset-clone-from, r=Mark-Simulacrum 2022-07-31 21:40:21 +00:00
rustc_infer don't normalize wf predicates 2022-08-09 12:54:32 +02:00
rustc_interface Rollup merge of #99519 - Urgau:check-cfg-implicit, r=petrochenkov 2022-07-31 23:39:38 +02:00
rustc_lexer Shrink Token. 2022-08-01 08:53:04 +10:00
rustc_lint Do not manually craft a span pointing inside a multibyte character. 2022-08-07 13:12:54 +02:00
rustc_lint_defs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rustc_llvm RustWrapper: update for TypedPointerType in LLVM 2022-08-04 11:31:57 -04:00
rustc_log clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_macros dedupe 'annotate-snippets' crate versions 2022-08-02 21:07:01 +03:00
rustc_metadata Add error if link_ordinal used without raw-dylib 2022-08-09 11:02:41 -07:00
rustc_middle Rollup merge of #100359 - b-naber:valtrees-pretty-print-ice, r=lcnr 2022-08-10 09:28:24 -07:00
rustc_mir_build Rollup merge of #100240 - cjgillot:noice-structural-match, r=davidtwco 2022-08-10 00:00:30 +02:00
rustc_mir_dataflow Remove redundant TransferWrapper struct 2022-08-01 17:08:19 +02:00
rustc_mir_transform Add option to mir::MutVisitor to not invalidate CFG. 2022-08-09 01:51:10 -07:00
rustc_monomorphize Use LocalDefId for closures more 2022-07-30 15:59:17 -05:00
rustc_parse suggest a missing semicolon before an array 2022-08-10 02:29:28 +09:00
rustc_parse_format add a comment about what we can parse now 2022-08-04 20:43:35 +09:00
rustc_passes Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_plugin_impl remove currently unused deps 2022-06-13 22:20:51 +03:00
rustc_privacy move DiagnosticArgFromDisplay into rustc_errors 2022-08-05 16:44:01 +00:00
rustc_query_impl Use LocalDefId for closures more 2022-07-30 15:59:17 -05:00
rustc_query_system Remove useless closure. 2022-07-29 22:11:23 +02:00
rustc_resolve Rollup merge of #100228 - luqmana:suggestion-ice, r=estebank 2022-08-09 17:34:55 +05:30
rustc_save_analysis Remove DefId from AssocItemContainer. 2022-08-01 21:38:45 +02:00
rustc_serialize Upgrade indexmap and thorin-dwp to use hashbrown 0.12 2022-07-17 07:05:58 -07:00
rustc_session Rollup merge of #99620 - hudson-ayers:fix-location-detail, r=davidtwco 2022-07-31 23:39:40 +02:00
rustc_smir Rustfmt 2022-06-02 10:29:00 +00:00
rustc_span Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_symbol_mangling Auto merge of #95548 - rcvalle:rust-cfi-2, r=nagisa 2022-07-24 01:22:36 +00:00
rustc_target Rollup merge of #100317 - kjetilkjeka:remove-nvptx32-logic, r=eddyb 2022-08-10 09:28:19 -07:00
rustc_trait_selection Auto merge of #100315 - compiler-errors:norm-ct-in-proj, r=lcnr 2022-08-11 10:47:48 +00:00
rustc_traits Rollup merge of #100095 - jackh726:early-binder, r=lcnr 2022-08-04 22:25:04 +02:00
rustc_transmute safe transmute: fix broken intradoc link 2022-08-02 14:44:23 +00:00
rustc_ty_utils Add bound_impl_subject and bound_return_ty 2022-08-03 01:02:46 -04:00
rustc_type_ir Inline DebruijnIndex methods 2022-07-22 17:00:49 +02:00
rustc_typeck Rollup merge of #100349 - TaKO8Ki:remove-type-string-comparison, r=lcnr 2022-08-10 09:28:22 -07:00