rust/src/test
bors a5b7511a6c Auto merge of #86645 - FabianWolff:issue-82328, r=LeSeulArtichaut
Fix ICE with `-Zunpretty=hir,typed`

This PR fixes #82328. The `-Zunpretty=hir,typed` pretty-printer maintains an `Option` with type-checking results and sets the `Option` to `Some` when entering a body. However, this leads to an ICE if an expression occurs in a function signature (i.e. outside of a body), such as `128` in
```rust
fn foo(-128..=127: i8) {}
```
This PR fixes the ICE by checking (if necessary) whether the expression's owner has a body, and retrieving type-checking results for that on the fly.
2021-06-27 00:15:49 +00:00
..
assembly Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
auxiliary
codegen Auto merge of #86599 - Amanieu:asm_raw, r=nagisa 2021-06-25 20:44:28 +00:00
codegen-units Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
debuginfo Respond to review feedback 2021-06-02 10:23:12 -04:00
incremental Auto merge of #85331 - cjgillot:dirty-dancing, r=Aaron1011 2021-06-01 23:02:52 +00:00
mir-opt Auto merge of #85603 - ogoffart:fix-uninhabited-enum-branching-pass, r=wesleywiser 2021-06-25 15:35:47 +00:00
pretty Auto merge of #86586 - Smittyvb:https-everywhere, r=petrochenkov 2021-06-26 08:24:31 +00:00
run-make Add test showing different KIND parameters change hash 2021-06-21 17:22:35 -07:00
run-make-fulldeps Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
run-pass-valgrind
rustdoc Auto merge of #86449 - Stupremee:render-self-cast-in-type-bound, r=GuillaumeGomez 2021-06-26 16:13:52 +00:00
rustdoc-gui Fixing the test rustdoc by ignoring *[@id="module-item"]//following-sibling::item-right relationship and rustdoc-gui 2021-06-24 16:46:15 +02:00
rustdoc-js Update test cases for intra-doc links in summaries 2021-06-18 17:47:05 -07:00
rustdoc-js-std
rustdoc-json Rename span to source 2021-03-24 19:44:23 +00:00
rustdoc-ui Auto merge of #84867 - pnkfelix:rustdoc-revert-deref-recur, r=jyn514 2021-06-15 00:13:53 +00:00
rustfix
ui Auto merge of #86645 - FabianWolff:issue-82328, r=LeSeulArtichaut 2021-06-27 00:15:49 +00:00
ui-fulldeps Auto merge of #80080 - rylev:qpath-on-struct, r=petrochenkov 2021-06-10 20:32:43 +00:00
COMPILER_TESTS.md