rust/compiler/rustc_middle/src
Matthias Krüger aff74a1697
Rollup merge of #93810 - matthewjasper:chalk-and-canonical-universes, r=jackh726
Improve chalk integration

- Support subtype bounds in chalk lowering
- Handle universes in canonicalization
- Handle type parameters in chalk responses
- Use `chalk_ir::LifetimeData::Empty` for `ty::ReEmpty`
- Remove `ignore-compare-mode-chalk` for tests that no longer hang (they may still fail or ICE)

This is enough to get a hello world program to compile with `-Zchalk` now. Some of the remaining issues that are needed to get Chalk integration working on larger programs are:

- rust-lang/chalk#234
- rust-lang/chalk#548
- rust-lang/chalk#734
- Generators are handled differently in chalk and rustc

r? `@jackh726`
2022-02-13 06:44:14 +01:00
..
dep_graph Show a more informative panic message when DefPathHash does not exist 2022-01-19 17:36:44 -05:00
hir Make all hir::Map methods consistently by-value 2022-02-10 11:54:06 +01:00
infer Renumber universes when canonicalizing for Chalk 2022-02-11 21:38:17 +00:00
middle Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
mir add tainted_by_errors to mir::Body 2022-02-11 12:45:51 -08:00
query use body.tainted_by_error to skip loading MIR 2022-02-11 12:45:51 -08:00
thir Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
traits Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
ty Auto merge of #93670 - erikdesjardins:noundef, r=nikic 2022-02-13 00:14:52 +00:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
lint.rs update FutureIncompatibilityReason 2022-02-01 09:55:19 +01:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
metadata.rs rustc_middle: Rename Export to ModChild and add some comments 2022-01-09 09:22:07 +08:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Formally implement let chains 2022-01-18 19:38:17 -03:00