rust/src/test
Aaron Hill 482a67d20f
Properly handle SyntaxContext of dummy spans in incr comp
Fixes #80336

Due to macro expansion, we may end up with spans with an invalid
location and non-root `SyntaxContext`. This commits preserves the
`SyntaxContext` of such spans in the incremental cache, and ensures
that we always hash the `SyntaxContext` when computing the `Fingerprint`
of a `Span`

Previously, we would discard the `SyntaxContext` during serialization to
the incremental cache, causing the span's `Fingerprint` to change across
compilation sessions.
2021-01-13 15:20:29 -05:00
..
assembly Add wasm32 support to inline asm 2020-12-01 12:18:21 -06:00
auxiliary
codegen Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
codegen-units simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
debuginfo Update tests for extern block linting 2021-01-13 07:49:16 -05:00
incremental Properly handle SyntaxContext of dummy spans in incr comp 2021-01-13 15:20:29 -05:00
mir-opt Keep an unoptimized duplicate of const fn around 2021-01-04 21:40:38 +00:00
pretty test for issue 80832 2021-01-11 10:44:46 -08:00
run-make Update tests for extern block linting 2021-01-13 07:49:16 -05:00
run-make-fulldeps Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
run-pass-valgrind Update tests for extern block linting 2021-01-13 07:49:16 -05:00
rustdoc Update tests for extern block linting 2021-01-13 07:49:16 -05:00
rustdoc-js Add more rustdoc-js test cases 2020-12-03 14:11:37 -08:00
rustdoc-js-std
rustdoc-json Use true ID for def_id. 2020-12-05 22:38:57 +00:00
rustdoc-ui Update tests for extern block linting 2021-01-13 07:49:16 -05:00
rustfix
ui Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
ui-fulldeps Update tests for extern block linting 2021-01-13 07:49:16 -05:00
COMPILER_TESTS.md