rust/src/test
Matthias Krüger 3730485a24
Rollup merge of #90349 - willcrichton:example-analyzer, r=jyn514
Fix rare ICE during typeck in rustdoc scrape_examples

While testing the `--scrape-examples` extension on the [wasmtime](https://github.com/bytecodealliance/wasmtime) repository, I found some additional edge cases. Specifically, when asking to typecheck a body containing a function call, I would sometimes get an ICE if:
* The body doesn't exist
* The function's HIR node didn't have a type

This adds checks for both of those conditions.

(Also this updates a test to check that the sources of a reverse-dependency are correctly generated and linked.)

r? `@jyn514`
2021-11-01 03:33:07 +01:00
..
assembly Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
auxiliary
codegen Auto merge of #89652 - rcvalle:rust-cfi, r=nagisa 2021-10-27 09:19:42 +00:00
codegen-units
debuginfo Fix function-names test for GDB 10.1 2021-10-11 17:20:45 +02:00
incremental Rollup merge of #89895 - camsteffen:for-loop-head-span, r=davidtwco 2021-10-22 19:42:45 +09:00
mir-opt Ignore wasm32 in test. 2021-10-17 16:35:04 +02:00
pretty
run-make Rollup merge of #90349 - willcrichton:example-analyzer, r=jyn514 2021-11-01 03:33:07 +01:00
run-make-fulldeps Auto merge of #90205 - mati865:link-modifiers-in-rustc, r=petrochenkov 2021-10-30 16:22:49 +00:00
run-pass-valgrind
rustdoc Document tests a bit more 2021-10-30 16:30:14 +02:00
rustdoc-gui Hide search bar in noscript.css 2021-10-31 12:41:06 -07:00
rustdoc-js Fix invalid handling of generics 2021-10-29 20:54:15 +02:00
rustdoc-js-std
rustdoc-json Add regression test for #89852 2021-10-14 02:12:18 +02:00
rustdoc-ui Rollup merge of #90183 - GuillaumeGomez:recurse-deref, r=jyn514 2021-10-30 20:30:26 +02:00
ui Feature gate and make must_not_suspend allow-by-default 2021-10-31 21:22:17 -04:00
ui-fulldeps Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00
COMPILER_TESTS.md