rust/src/tools
Matthias Krüger d6ca388584
Rollup merge of #94235 - Dirbaio:fix-chalk-opaque-debrujin, r=jackh726
chalk: Fix wrong debrujin index in opaque type handling.

A folder in opaque type lowering was substituting all opaque type references with a variable with debrujin index 0 ignoring how many binders deep we are.

This caused an ICE with `Not enough bound vars: ^0 not found in []` ([full logs](https://gist.github.com/Dirbaio/2b9374ff4fce37afb9d665dc9f0000df)) with the following code.

```rust
fn main() -> () {}
async fn foo(x: u32) -> u32 {
    x
}
```

With the fix, it no longer ICEs. It still doesn't typecheck due to generator issues. I've added a "known-bug" test so that at least it doesn't regress back to ICEing.

r? ``@jackh726``
2022-02-26 07:52:43 +01:00
..
build-manifest Update sha1, sha2, and md5 dependencies 2022-02-13 15:29:01 -06:00
bump-stage0 remove "field is never read" warning 2021-10-23 21:55:57 -04:00
cargo@d6cdde584a Update cargo 2022-02-22 23:22:42 -08:00
cargotest Migrate to 2021 2021-09-20 22:21:42 -04:00
clippy Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
compiletest Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
error_index_generator Rollup merge of #89506 - yaymukund:docblock-headings, r=GuillaumeGomez 2021-10-06 12:33:20 -07:00
expand-yaml-anchors Migrate to 2021 2021-09-20 22:21:42 -04:00
html-checker Support early stopping too old pre-installed tidy command for macOS in the HTML checker 2021-11-07 10:25:04 +09:00
jsondocck jsondocck: Improved error messages for invalid json value and failed @count check 2022-02-09 16:10:58 +00:00
linkchecker linkchecker: fix panic on directory symlinks 2022-02-11 10:45:59 +01:00
lint-docs Adjust documentation for compatibility with 2021 2021-09-20 22:21:43 -04:00
lld-wrapper rustdoc: several minor fixes 2022-02-19 03:47:41 +08:00
miri@0db4090376 update miri 2022-02-12 12:46:02 +01:00
remote-test-client Migrate to 2021 2021-09-20 22:21:42 -04:00
remote-test-server Migrate to 2021 2021-09-20 22:21:42 -04:00
rls@3df74381f3 Update rls 2022-02-10 07:47:01 -08:00
rust-analyzer@d6ed146a1c ⬆️ rust-analyzer 2022-02-23 17:11:18 +02:00
rust-demangler mangling_v0: Update tests for the rust-demangler tool 2022-01-08 11:39:34 +08:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Update mdbook 2021-12-03 12:25:07 -08:00
rustc-workspace-hack Update winapi shared features. 2021-10-12 07:14:32 -07:00
rustdoc Migrate to 2021 2021-09-20 22:21:42 -04:00
rustdoc-gui Improve code for rustdoc-gui tester 2021-12-06 10:40:38 +01:00
rustdoc-js Update tester to have FILTER_CRATE set to null if undefined. 2022-02-03 22:59:33 +01:00
rustdoc-themes Migrate to 2021 2021-09-20 22:21:42 -04:00
rustfmt Enable rustc_pass_by_value for Span 2022-02-25 08:00:53 -05:00
tidy Rollup merge of #94235 - Dirbaio:fix-chalk-opaque-debrujin, r=jackh726 2022-02-26 07:52:43 +01:00
tier-check Migrate to 2021 2021-09-20 22:21:42 -04:00
unicode-table-generator Let unicode-table-generator fail gracefully for bitsets 2021-10-06 17:35:49 -07:00
unstable-book-gen Migrate to 2021 2021-09-20 22:21:42 -04:00
x Migrate to 2021 2021-09-20 22:21:42 -04:00
cherry-pick.sh Add cherry-pick.sh convenience script. 2021-08-20 11:58:18 +01:00
publish_toolstate.py Disable validate_maintainers. 2021-09-15 09:25:06 -07:00